/* =========================================================
   Design tokens
   ========================================================= */
:root {
  /* Palette */
  --forest: #123D35;
  --forest-2: #184A40;
  --charcoal: #182522;
  --paper: #F7F8F4;
  --sage: #DCE8DF;
  --mint: #EAF3EC;
  --beige: #F1EDE4;
  --teal: #4F9B85;
  --teal-soft: #8FD0BA;
  --white: #FFFFFF;

  /* Semantic */
  --ink: var(--charcoal);
  --ink-2: #4A5954;
  --ink-3: #7B8783;
  --line: rgba(24, 37, 34, 0.09);
  --line-2: rgba(24, 37, 34, 0.16);
  --watch: #9A6A2E;
  --watch-bg: #F5EAD9;
  --low: #3C6E8F;
  --low-bg: #E3EDF3;

  /* Type */
  --font-display: "Manrope", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;

  /* Shape */
  --r-xs: 4px;
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 14px;

  /* Elevation: used sparingly */
  --shadow-sm: 0 1px 2px rgba(18, 37, 34, 0.05), 0 4px 12px -6px rgba(18, 37, 34, 0.08);
  --shadow-app: 0 1px 2px rgba(18, 37, 34, 0.04), 0 40px 80px -40px rgba(18, 37, 34, 0.35), 0 0 0 1px rgba(18, 37, 34, 0.06);

  /* Layout */
  --container: 1200px;
  --container-wide: 1320px;
  --gutter: clamp(20px, 4vw, 40px);
  --section: clamp(96px, 11vw, 160px);
  --nav-h: 68px;

  --ease: cubic-bezier(0.22, 0.7, 0.2, 1);
}

/* =========================================================
   Base
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
img, svg { display: block; max-width: 100%; }
p, h1, h2, h3, h4, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; }
input { font: inherit; }
[hidden] { display: none !important; }
section[id], #demo { scroll-margin-top: calc(var(--nav-h) + 8px); }
::selection { background: var(--sage); color: var(--forest); }

:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 100;
  background: var(--forest); color: var(--paper);
  padding: 10px 16px; border-radius: var(--r-sm);
  transition: top .2s;
}
.skip-link:focus { top: 12px; }

.lucide { width: 1em; height: 1em; stroke-width: 1.75; flex: none; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* =========================================================
   Layout & typography
   ========================================================= */
.container { width: 100%; max-width: calc(var(--container) + var(--gutter) * 2); margin: 0 auto; padding: 0 var(--gutter); }
.container--wide { max-width: calc(var(--container-wide) + var(--gutter) * 2); }
.section { padding: var(--section) 0; }

.display, .h2, .h3, .h4, .vision__title, .pivot {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--ink);
  text-wrap: balance;
}
.display {
  font-size: clamp(2.6rem, 5.8vw, 5.25rem);
  line-height: 0.98;
  letter-spacing: -0.045em;
}
.h2 {
  font-size: clamp(2.1rem, 4.4vw, 3.75rem);
  line-height: 1.04;
  letter-spacing: -0.038em;
}
.h2--narrow { max-width: 15ch; }
.h3 {
  font-size: clamp(1.6rem, 2.6vw, 2.25rem);
  line-height: 1.1;
  letter-spacing: -0.03em;
}
.h4 {
  font-size: clamp(1.25rem, 1.8vw, 1.5rem);
  line-height: 1.2;
  letter-spacing: -0.02em;
}
.lead {
  font-size: clamp(1.075rem, 1.4vw, 1.25rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 36ch;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 0.8125rem;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--teal);
  margin-bottom: 22px;
}
.eyebrow::before {
  content: ""; width: 18px; height: 1px; background: currentColor;
}
.eyebrow--light { color: var(--teal-soft); }

.section-head { margin-bottom: clamp(56px, 7vw, 96px); }
.section-head--split {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
  gap: 48px;
  align-items: end;
}
.section-head--split .h2 { max-width: 16ch; }
.section-head__copy { color: var(--ink-2); font-size: 1.0625rem; max-width: 40ch; }

/* =========================================================
   Buttons, tags, small components
   ========================================================= */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 50px; padding: 0 22px;
  border-radius: var(--r-sm);
  font-weight: 500; font-size: 0.975rem; letter-spacing: -0.005em;
  white-space: nowrap;
  transition: background-color .25s var(--ease), color .25s var(--ease), border-color .25s var(--ease), transform .25s var(--ease);
}
.btn .lucide { width: 18px; height: 18px; transition: transform .25s var(--ease); }
.btn:hover .lucide { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--primary { background: var(--forest); color: var(--paper); }
.btn--primary:hover { background: var(--charcoal); }
.btn--ghost { color: var(--ink); box-shadow: inset 0 0 0 1px var(--line-2); }
.btn--ghost:hover { box-shadow: inset 0 0 0 1px var(--ink); }
.btn--sm { height: 40px; padding: 0 16px; font-size: 0.9rem; }

.tag {
  display: inline-flex; align-items: center;
  font-family: var(--font-body); font-style: normal;
  font-size: 0.6875rem; font-weight: 600; letter-spacing: 0.04em; text-transform: uppercase;
  padding: 3px 7px; border-radius: var(--r-xs);
  white-space: nowrap; vertical-align: middle;
}
.tag--planned { background: var(--beige); color: #7A6345; }
.tag--commit { background: var(--mint); color: var(--forest); }
.tag--live { background: var(--forest); color: var(--paper); }

.sample-tag {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.72rem; font-weight: 500;
  color: var(--ink-2);
  background: var(--beige);
  padding: 4px 9px; border-radius: var(--r-xs);
  white-space: nowrap;
}
.sample-tag .lucide { width: 12px; height: 12px; }
.sample-tag--plain { background: transparent; box-shadow: inset 0 0 0 1px var(--line-2); }

.panel {
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-sm), 0 0 0 1px var(--line);
}
.panel--flat { box-shadow: 0 0 0 1px var(--line); }

.flag {
  font-style: normal; font-size: 0.7rem; font-weight: 500;
  padding: 2px 7px; border-radius: var(--r-xs);
  background: rgba(24,37,34,.05); color: var(--ink-2);
  white-space: nowrap;
}
.flag--high { background: var(--watch-bg); color: var(--watch); }
.flag--low { background: var(--low-bg); color: var(--low); }
.flag--ok { background: var(--mint); color: var(--forest); }

.link-btn { color: var(--forest); font-weight: 500; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: var(--line-2); }
.link-btn:hover { text-decoration-color: currentColor; }

/* Messages */
.msg {
  font-size: 0.875rem; line-height: 1.5;
  padding: 10px 14px;
  border-radius: 12px;
  max-width: 92%;
}
.msg p + p { margin-top: 8px; }
.msg--user {
  align-self: flex-end;
  background: var(--forest); color: var(--paper);
  border-bottom-right-radius: 4px;
}
.msg--ai {
  align-self: flex-start;
  background: var(--paper); color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--line);
  border-bottom-left-radius: 4px;
}
.msg--sm { font-size: 0.85rem; }
.msg__action {
  display: flex; align-items: center; gap: 8px;
  margin-top: 12px !important; padding-top: 10px;
  border-top: 1px solid var(--line);
  color: var(--forest); font-weight: 500; font-size: 0.8125rem;
}

/* =========================================================
   Navigation
   ========================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  height: var(--nav-h);
  background: rgba(247, 248, 244, 0);
  border-bottom: 1px solid transparent;
  transition: background-color .3s var(--ease), border-color .3s var(--ease), backdrop-filter .3s;
}
.nav.is-scrolled {
  background: rgba(247, 248, 244, 0.86);
  backdrop-filter: saturate(1.4) blur(14px);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  border-bottom-color: var(--line);
}
.nav__inner { height: 100%; display: flex; align-items: center; gap: 24px; }

.wordmark { display: inline-flex; align-items: center; gap: 10px; color: var(--forest); }
.wordmark__mark { width: 28px; height: 28px; }
.wordmark__name {
  font-family: var(--font-display); font-weight: 700;
  font-size: 1.05rem; letter-spacing: -0.02em; color: var(--ink);
  white-space: nowrap;
}
.wordmark--light { color: var(--paper); }
.wordmark--light .wordmark__name { color: var(--paper); }

.nav__links { display: flex; gap: 32px; margin-left: auto; }
.nav__links a, .nav__signin {
  font-size: 0.9rem; color: var(--ink-2);
  transition: color .2s;
  position: relative;
}
.nav__links a::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 1px;
  background: var(--ink); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav__links a:hover, .nav__links a.is-active, .nav__signin:hover { color: var(--ink); }
.nav__links a.is-active::after { transform: scaleX(1); }
.nav__actions { display: flex; align-items: center; gap: 20px; margin-left: 24px; }
.nav__signin { padding-left: 24px; border-left: 1px solid var(--line-2); line-height: 1.2; }

.nav__toggle { display: none; width: 40px; height: 40px; position: relative; border-radius: var(--r-sm); }
.nav__toggle span {
  position: absolute; left: 11px; right: 11px; height: 1.5px; background: var(--ink);
  transition: transform .3s var(--ease), top .3s var(--ease);
}
.nav__toggle span:first-child { top: 16px; }
.nav__toggle span:last-child { top: 23px; }
.nav__toggle[aria-expanded="true"] span:first-child { top: 19.5px; transform: rotate(45deg); }
.nav__toggle[aria-expanded="true"] span:last-child { top: 19.5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--nav-h) 0 0 0; z-index: 49;
  background: var(--paper);
  padding: 24px var(--gutter) 32px;
  display: flex; flex-direction: column; justify-content: space-between;
  animation: menu-in .3s var(--ease);
}
.mobile-menu nav { display: flex; flex-direction: column; }
.mobile-menu nav a {
  font-family: var(--font-display); font-weight: 600;
  font-size: 1.75rem; letter-spacing: -0.03em;
  padding: 14px 0; border-bottom: 1px solid var(--line);
}
.mobile-menu__foot { display: grid; gap: 12px; }
@keyframes menu-in { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* =========================================================
   Hero
   ========================================================= */
.hero { padding-top: clamp(40px, 6vw, 80px); }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(0, 1fr);
  gap: clamp(32px, 5vw, 80px);
  align-items: end;
}
.hero__head .display { max-width: 12.5ch; }
.hero__aside { padding-bottom: 10px; }
.hero__ctas { display: flex; flex-wrap: wrap; gap: 12px; margin: 32px 0 28px; }
.hero__trust {
  display: flex; gap: 10px; align-items: flex-start;
  font-size: 0.85rem; line-height: 1.5; color: var(--ink-3);
  max-width: 40ch;
  padding-top: 20px; border-top: 1px solid var(--line);
}
.hero__trust .lucide { width: 16px; height: 16px; margin-top: 2px; color: var(--teal); }

/* "scattered" letters settle into place */
.scatter { display: inline-block; color: var(--teal); white-space: nowrap; }
.scatter .ch {
  display: inline-block;
  transform: translate(var(--dx, 0), var(--dy, 0)) rotate(var(--dr, 0));
  transition: transform 1.1s var(--ease);
}
.scatter.is-settled .ch { transform: none; }

.hero__stage { position: relative; margin-top: clamp(48px, 6vw, 72px); }
.hero__plinth {
  position: absolute; left: 0; right: 0; top: 34%; bottom: 0;
  background: linear-gradient(180deg, var(--sage) 0%, var(--mint) 100%);
}
.hero__plinth::after {
  /* faint grid lines to suggest a working surface */
  content: ""; position: absolute; inset: 0;
  background-image:
    linear-gradient(to right, rgba(18,61,53,.05) 1px, transparent 1px);
  background-size: calc(100% / 12) 100%;
  mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
  -webkit-mask-image: linear-gradient(180deg, #000 0%, transparent 85%);
}
.hero__frame { position: relative; padding-bottom: 0; }

.hero__captions {
  position: relative;
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 40px 0 clamp(56px, 7vw, 88px);
  counter-reset: none;
}
.hero__captions li {
  display: flex; gap: 14px; align-items: baseline;
  font-size: 0.95rem; color: var(--forest); font-weight: 500;
  padding-top: 18px; border-top: 1px solid rgba(18,61,53,.18);
}
.hero__captions span { font-family: var(--font-display); font-size: 0.8rem; color: var(--teal); font-weight: 700; }
@media (min-width: 1181px) { .hero__captions { padding-right: 300px; } }

/* ---------- App mockup ---------- */
.app {
  position: relative;
  background: var(--white);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-app);
  overflow: hidden;
  margin-right: clamp(0px, 13vw, 190px);
  font-size: 13px;
}
.app__bar {
  display: flex; align-items: center; gap: 16px;
  height: 44px; padding: 0 16px;
  border-bottom: 1px solid var(--line);
  background: #FBFCF9;
}
.app__dots { display: flex; gap: 6px; }
.app__dots i { width: 10px; height: 10px; border-radius: 50%; background: rgba(24,37,34,.12); }
.app__title { font-weight: 500; color: var(--ink-2); font-size: 12.5px; }
.app__bar .sample-tag { margin-left: auto; }

.app__body {
  display: grid;
  grid-template-columns: 188px minmax(0, 1fr) 280px;
  min-height: 520px;
}
.app__side {
  border-right: 1px solid var(--line);
  padding: 18px 12px;
  display: flex; flex-direction: column; justify-content: space-between;
  background: #FBFCF9;
}
.app__menu li {
  display: flex; align-items: center; gap: 10px;
  padding: 8px 10px; border-radius: var(--r-sm);
  color: var(--ink-2); font-size: 13px;
}
.app__menu li .lucide { width: 15px; height: 15px; }
.app__menu li.is-active { background: var(--mint); color: var(--forest); font-weight: 500; }
.app__menu li.is-planned { color: var(--ink-3); }
.app__count { margin-left: auto; font-size: 11px; color: var(--ink-3); }
.app__soon { margin-left: auto; font-size: 9.5px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; color: #7A6345; background: var(--beige); padding: 2px 5px; border-radius: 3px; }
.app__sources { padding: 12px 10px 4px; border-top: 1px solid var(--line); font-size: 11.5px; color: var(--ink-2); display: grid; gap: 6px; }
.app__sources-label { font-size: 10.5px; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); }
.app__sources p { display: flex; align-items: center; gap: 8px; }
.status-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 3px rgba(79,155,133,.18); }

.app__main { padding: 24px 24px 24px; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.app__greet { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; }
.app__date { font-size: 11.5px; color: var(--ink-3); }
.app__hello {
  font-family: var(--font-display); font-weight: 700;
  font-size: 24px; letter-spacing: -0.03em; line-height: 1.2; margin-top: 2px;
}
.app__sub { color: var(--ink-2); font-size: 12.5px; margin-top: 4px; }
.app__upload {
  display: inline-flex; align-items: center; gap: 6px; flex: none;
  font-size: 12px; font-weight: 500; color: var(--forest);
  padding: 7px 10px; border-radius: var(--r-sm);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.app__upload .lucide { width: 13px; height: 13px; }

.metrics {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr));
  border: 1px solid var(--line); border-radius: var(--r-md);
}
.metric { padding: 14px 14px 12px; min-width: 0; position: relative; }
.metric + .metric { border-left: 1px solid var(--line); }
.metric__label { font-size: 11.5px; color: var(--ink-2); }
.metric__value {
  font-family: var(--font-display); font-weight: 700;
  font-size: 24px; letter-spacing: -0.03em; line-height: 1.15; margin-top: 4px;
  font-variant-numeric: tabular-nums;
}
.metric__value small { font-family: var(--font-body); font-size: 11px; font-weight: 500; color: var(--ink-3); margin-left: 3px; letter-spacing: 0; }
.metric__value--date { font-size: 22px; }
.metric .spark, .metric .bars { width: 100%; height: 32px; margin: 8px 0 6px; overflow: visible; }
.metric__progress {
  height: 32px; margin: 8px 0 6px; display: flex; align-items: center;
  background: linear-gradient(var(--line), var(--line)) center / 100% 4px no-repeat;
}
.metric__progress span { display: block; height: 4px; border-radius: 2px; background: var(--teal); }
.metric__meta { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--ink-3); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tick { width: 6px; height: 6px; border-radius: 50%; flex: none; }
.tick--ok { background: var(--teal); }
.tick--watch { background: #C89355; }

.spark path.line { fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; vector-effect: non-scaling-stroke; }
.spark path.area { opacity: .14; }
.spark[data-tone="teal"] path.line { stroke: var(--teal); }
.spark[data-tone="teal"] path.area { fill: var(--teal); }
.spark[data-tone="amber"] path.line { stroke: #C89355; }
.spark[data-tone="amber"] path.area { fill: #C89355; }
.bars rect { fill: var(--sage); }
.bars rect:last-child { fill: var(--teal); }

.app__row { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 14px; flex: 1; }

.insight {
  background: var(--forest); color: var(--paper);
  border-radius: var(--r-md);
  padding: 16px 16px 14px;
  display: flex; flex-direction: column;
}
.insight__kicker { display: flex; align-items: center; gap: 6px; font-size: 11px; color: var(--teal-soft); }
.insight__kicker .lucide { width: 13px; height: 13px; }
.insight__text { font-family: var(--font-display); font-weight: 600; font-size: 15px; line-height: 1.4; letter-spacing: -0.01em; margin: 8px 0 12px; }
.insight__btn {
  margin-top: auto; align-self: flex-start;
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 500;
  background: var(--paper); color: var(--forest);
  padding: 7px 11px; border-radius: var(--r-sm);
  transition: background-color .2s;
}
.insight__btn:hover { background: var(--mint); }
.insight__btn .lucide { width: 13px; height: 13px; transition: transform .25s var(--ease); }
.insight__btn[aria-expanded="true"] .lucide { transform: rotate(180deg); }

.compare { max-height: 0; overflow: hidden; opacity: 0; transition: max-height .5s var(--ease), opacity .4s var(--ease); }
.compare.is-open { max-height: 200px; opacity: 1; }
.compare__legend { display: flex; gap: 14px; font-size: 10.5px; color: rgba(247,248,244,.7); }
.compare__legend span { display: inline-flex; align-items: center; gap: 6px; }
.sw { width: 8px; height: 8px; border-radius: 2px; display: inline-block; }
.sw--prev { background: rgba(247,248,244,.35); }
.sw--now { background: var(--teal-soft); }
.compare__rows { display: grid; gap: 6px; padding: 10px 0 14px; }
.compare__row { display: grid; grid-template-columns: 36px 1fr auto; align-items: center; gap: 8px; font-size: 11px; }
.compare__row span { color: rgba(247,248,244,.7); }
.compare__row b { font-weight: 500; font-variant-numeric: tabular-nums; }
.compare__bars { display: grid; gap: 2px; }
.compare__bars i { display: block; height: 4px; border-radius: 2px; width: 0; transition: width .8s var(--ease) .15s; }
.compare__bars i:first-child { background: rgba(247,248,244,.35); }
.compare__bars i:last-child { background: var(--teal-soft); }
.compare.is-open .compare__bars i:first-child { width: calc(var(--prev) * 100%); }
.compare.is-open .compare__bars i:last-child { width: calc(var(--now) * 100%); }

.report-card { border: 1px solid var(--line); border-radius: var(--r-md); padding: 14px 14px 6px; min-width: 0; }
.report-card__head { display: flex; gap: 10px; align-items: center; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.report-card__icon { width: 30px; height: 30px; border-radius: var(--r-sm); background: var(--mint); color: var(--forest); display: grid; place-items: center; flex: none; }
.report-card__icon .lucide { width: 15px; height: 15px; }
.report-card__title { font-weight: 600; font-size: 13px; }
.report-card__meta { font-size: 11px; color: var(--ink-3); }
.report-card__list li {
  display: grid; grid-template-columns: minmax(0, 1fr) auto 86px; gap: 10px; align-items: center;
  padding: 7px 0; font-size: 12px;
}
.report-card__list li + li { border-top: 1px dashed var(--line); }
.report-card__list span { color: var(--ink-2); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.report-card__list b { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.report-card__list small { font-weight: 400; color: var(--ink-3); font-size: 10.5px; }
.report-card__list .flag { justify-self: end; font-size: 10.5px; }

.app__chat {
  border-left: 1px solid var(--line);
  display: flex; flex-direction: column;
  background: #FBFCF9;
}
.app__chat-head { padding: 16px 16px 12px; border-bottom: 1px solid var(--line); }
.app__chat-head p { font-weight: 600; font-size: 13px; }
.app__chat-head span { font-size: 11px; color: var(--ink-3); }
.chat { flex: 1; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.chat .msg { font-size: 12.5px; }
.chat .msg--ai { background: var(--white); }
.chat__context { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; margin-top: 4px; }
.chat__context p { width: 100%; font-size: 10.5px; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; }
.chat__context span {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 11px; color: var(--forest);
  background: var(--mint); padding: 3px 8px; border-radius: var(--r-xs);
}
.chat__context span .lucide { width: 11px; height: 11px; }
.chat__context--inline p { width: auto; margin-right: 4px; }
.chat__input {
  margin: 0 12px 12px; padding: 10px 10px 10px 14px;
  display: flex; align-items: center; justify-content: space-between;
  border-radius: var(--r-md); background: var(--white);
  box-shadow: inset 0 0 0 1px var(--line-2);
  color: var(--ink-3); font-size: 12px;
}
.chat__input .lucide { width: 26px; height: 26px; padding: 6px; border-radius: var(--r-sm); background: var(--forest); color: var(--paper); }

.caret::after { content: ""; display: inline-block; width: 1.5px; height: 1em; background: currentColor; margin-left: 2px; vertical-align: -2px; animation: blink 1s steps(1) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Phone mockup ---------- */
.phone {
  position: absolute;
  right: var(--gutter);
  bottom: -72px;
  width: 248px;
  padding: 10px;
  border-radius: 38px;
  background: var(--charcoal);
  box-shadow: 0 40px 70px -30px rgba(18,37,34,.5), 0 0 0 1px rgba(255,255,255,.06) inset;
}
.phone__notch { position: absolute; top: 18px; left: 50%; width: 72px; height: 20px; border-radius: 12px; background: var(--charcoal); transform: translateX(-50%); z-index: 1; }
.phone__screen {
  background: var(--paper);
  border-radius: 29px;
  padding: 48px 16px 18px;
  font-size: 12px;
}
.phone__eyebrow { font-size: 10.5px; color: var(--teal); font-weight: 500; }
.phone__title { font-family: var(--font-display); font-weight: 700; font-size: 17px; line-height: 1.2; letter-spacing: -0.02em; margin: 4px 0 14px; }
.memory { display: grid; gap: 8px; }
.memory li {
  display: flex; gap: 10px; align-items: center;
  background: var(--white); padding: 9px 10px; border-radius: var(--r-md);
  box-shadow: 0 0 0 1px var(--line);
}
.memory .lucide { width: 28px; height: 28px; padding: 7px; border-radius: 8px; background: var(--mint); color: var(--forest); }
.memory b { display: block; font-size: 12px; font-weight: 600; line-height: 1.3; }
.memory span { display: block; font-size: 10.5px; color: var(--ink-3); }
.phone__foot { display: flex; align-items: center; justify-content: center; gap: 6px; margin-top: 14px; font-size: 11px; color: var(--forest); font-weight: 500; }
.phone__foot .lucide { width: 13px; height: 13px; }

/* =========================================================
   Problem
   ========================================================= */
.problem { padding-top: calc(var(--section) + 20px); }
.problem__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}
.problem__copy .h2 { max-width: 14ch; }
.problem__list { margin-top: 48px; display: grid; }
.problem__list li {
  display: grid; grid-template-columns: 120px 1fr; gap: 16px;
  padding: 16px 0; border-top: 1px solid var(--line);
  color: var(--ink-2);
}
.problem__list li:last-child { border-bottom: 1px solid var(--line); }
.problem__list span { font-family: var(--font-display); font-weight: 600; color: var(--ink); letter-spacing: -0.01em; }

.problem__visual { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.stage {
  position: relative;
  width: 100%;
  height: 520px;
  border-radius: var(--r-lg);
  background: var(--beige);
  overflow: hidden;
  transition: background-color .8s var(--ease);
}
.stage[data-state="connected"] { background: var(--mint); }
.stage__frame {
  position: absolute; inset: 22px;
  border-radius: var(--r-md);
  background: var(--white);
  box-shadow: 0 0 0 1px var(--line), var(--shadow-sm);
  opacity: 0; transform: scale(.97);
  transition: opacity .6s var(--ease), transform .6s var(--ease);
}
.stage[data-state="connected"] .stage__frame { opacity: 1; transform: none; transition-delay: .1s; }
.stage__frame-head { display: flex; gap: 12px; align-items: center; padding: 18px 20px; border-bottom: 1px solid var(--line); }
.stage__frame-head b { display: block; font-family: var(--font-display); font-size: 15px; letter-spacing: -0.01em; }
.stage__frame-head span { font-size: 12px; color: var(--ink-3); }
.stage__avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--forest); color: var(--paper); display: grid; place-items: center; font-family: var(--font-display); font-weight: 700; font-size: 14px; }

.frag {
  position: absolute;
  width: 42%;
  min-height: 88px;
  padding: 12px 14px;
  background: var(--white);
  border-radius: var(--r-md);
  box-shadow: 0 0 0 1px var(--line), 0 12px 30px -16px rgba(18,37,34,.25);
  font-size: 13px;
  display: flex; flex-direction: column; justify-content: center; gap: 2px;
  left: var(--sx); top: var(--sy);
  transform: rotate(var(--sr));
  transition: left .9s var(--ease), top .9s var(--ease), transform .9s var(--ease), box-shadow .6s, background-color .6s;
  transition-delay: calc(var(--i) * 45ms);
}
.frag b { font-weight: 600; font-size: 13.5px; line-height: 1.35; }
.frag span { font-size: 11.5px; color: var(--ink-3); }
.frag__src { display: inline-flex; align-items: center; gap: 6px; font-size: 10.5px; font-weight: 600; color: var(--ink-3); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 4px; }
.frag__src .lucide { width: 12px; height: 12px; }
.frag__file { display: flex; gap: 10px; align-items: center; }
.frag__file > .lucide { width: 30px; height: 30px; padding: 7px; border-radius: 6px; background: #FBEDEA; color: #B4553F; }
.frag__file div { display: flex; flex-direction: column; }
.frag--chat { background: #F3F8F1; }
.frag--search b { font-weight: 500; }
.frag--search b::before { content: "“"; }
.frag--search b::after { content: "”"; }
.frag--paper { background: #FDFBF5; font-family: var(--font-body); }
.frag--watch { background: var(--charcoal); color: var(--paper); }
.frag--watch .frag__src, .frag--watch span { color: rgba(247,248,244,.6); }

/* scattered positions */
.frag--chat   { --sx: 6%;  --sy: 7%;   --sr: -5deg; }
.frag--mail   { --sx: 52%; --sy: 4%;   --sr: 3deg; }
.frag--search { --sx: 26%; --sy: 31%;  --sr: -2deg; }
.frag--paper  { --sx: 56%; --sy: 44%;  --sr: 6deg; }
.frag--watch  { --sx: 4%;  --sy: 58%;  --sr: 4deg; }
.frag--rx     { --sx: 36%; --sy: 74%;  --sr: -4deg; }

/* connected positions: a tidy two-column grid inside the profile */
.frag__now { display: none; }
.stage[data-state="connected"] .frag__was { display: none; }
.stage[data-state="connected"] .frag__now { display: inline-flex; align-items: center; gap: 6px; color: var(--forest); animation: fade-in .5s var(--ease) .5s both; }
.stage[data-state="connected"] .frag__now::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--teal); flex: none; }
.stage__frame-foot {
  position: absolute; left: 20px; right: 20px; bottom: 16px;
  font-size: 12px; color: var(--forest);
  padding-top: 14px; border-top: 1px solid var(--line);
}
.stage[data-state="connected"] .frag {
  transform: none;
  width: 41%;
  min-height: 96px;
  box-shadow: 0 0 0 1px var(--line);
  background: var(--paper);
  color: var(--ink);
}
.stage[data-state="connected"] .frag--watch .frag__src,
.stage[data-state="connected"] .frag--watch .frag__was { color: var(--ink-3); }
.stage[data-state="connected"] .frag--chat   { left: 7.5%;  top: 104px; }
.stage[data-state="connected"] .frag--mail   { left: 51.5%; top: 104px; }
.stage[data-state="connected"] .frag--search { left: 7.5%;  top: 214px; }
.stage[data-state="connected"] .frag--paper  { left: 51.5%; top: 214px; }
.stage[data-state="connected"] .frag--watch  { left: 7.5%;  top: 324px; }
.stage[data-state="connected"] .frag--rx     { left: 51.5%; top: 324px; }
.stage[data-state="connected"] .frag__file > .lucide { background: var(--mint); color: var(--forest); }

.stage-toggle {
  display: inline-flex; padding: 4px; gap: 2px;
  border-radius: var(--r-md);
  box-shadow: inset 0 0 0 1px var(--line-2);
}
.stage-toggle button {
  font-size: 0.85rem; padding: 7px 16px; border-radius: var(--r-sm);
  color: var(--ink-2); transition: background-color .25s, color .25s;
}
.stage-toggle button[aria-pressed="true"] { background: var(--forest); color: var(--paper); }

.pivot {
  margin-top: clamp(80px, 10vw, 140px);
  font-size: clamp(2rem, 5vw, 4.25rem);
  line-height: 1.02; letter-spacing: -0.04em;
  color: var(--ink-3);
  text-align: center;
}
.pivot span { color: var(--forest); }

/* =========================================================
   Product
   ========================================================= */
.product { background: var(--white); border-top: 1px solid var(--line); }
.pillar__num {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-weight: 600; font-size: 0.875rem;
  color: var(--teal); letter-spacing: -0.005em;
  margin-bottom: 18px;
}
.pillar .h3 { max-width: 16ch; }
.pillar__copy > p:not(.pillar__num), .pillar > p:not(.pillar__num) { color: var(--ink-2); margin-top: 16px; max-width: 44ch; }

.ticks { margin-top: 28px; display: grid; gap: 12px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink); font-size: 0.95rem; line-height: 1.45; }
.ticks .lucide { width: 18px; height: 18px; color: var(--teal); margin-top: 1px; }
.ticks .tag { margin-left: 6px; }

.pillar--ask {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(40px, 7vw, 110px);
  align-items: center;
}
.ask-ui { padding: 0; overflow: hidden; background: var(--white); }
.ask-ui__head { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.lang-tabs { display: inline-flex; gap: 4px; padding: 3px; border-radius: var(--r-sm); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.lang-tabs button { font-size: 0.8125rem; padding: 5px 12px; border-radius: 4px; color: var(--ink-2); transition: background-color .2s, color .2s; }
.lang-tabs button[aria-selected="true"] { background: var(--white); color: var(--ink); box-shadow: 0 1px 2px rgba(18,37,34,.08), 0 0 0 1px var(--line); }
.ask-ui__body { padding: 28px 24px; display: flex; flex-direction: column; gap: 14px; min-height: 360px; background: linear-gradient(180deg, var(--white), #FBFCF9); }
.ask-ui__body .msg { font-size: 0.925rem; max-width: 88%; }
.ask-ui__body .msg--ai { background: var(--white); }
.ask-ui__note { display: flex; gap: 8px; align-items: center; font-size: 0.8rem; color: var(--ink-3); margin-top: auto; }
.ask-ui__note .lucide { width: 14px; height: 14px; }
.ask-ui__body[data-lang-panel] { animation: fade-in .4s var(--ease); }
@keyframes fade-in { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: none; } }

.pillar--reports {
  margin: clamp(96px, 12vw, 160px) calc(var(--gutter) * -1) 0;
  padding: clamp(48px, 6vw, 80px) clamp(24px, 5vw, 72px);
  background: var(--forest);
  border-radius: var(--r-lg);
  color: var(--paper);
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: clamp(40px, 5vw, 64px);
}
.pillar--reports .pillar__copy {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px; align-items: end;
}
.pillar--reports .pillar__copy > p:not(.pillar__num) { margin-top: 0; justify-self: end; }
.pillar--reports .h3 { color: var(--paper); }
.pillar--reports .pillar__num { color: var(--teal-soft); }
.pillar--reports .pillar__copy > p:not(.pillar__num) { color: rgba(247,248,244,.72); }

.translate {
  display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: stretch; gap: 20px;
}
.translate__label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(247,248,244,.55); margin-bottom: 14px; }
.translate__raw {
  padding: 20px; border-radius: var(--r-md);
  background: rgba(255,255,255,.04);
  box-shadow: inset 0 0 0 1px rgba(247,248,244,.12);
  font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
}
.raw-line { display: grid; grid-template-columns: minmax(0, 1fr) 34px 44px 48px; gap: 8px; font-size: 0.72rem; color: rgba(247,248,244,.85); padding: 9px 6px; border-bottom: 1px dashed rgba(247,248,244,.14); }
.raw-line span:not(:first-child) { text-align: right; }
.raw-line span:first-child { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.raw-line span:nth-child(2) { font-weight: 700; }
.raw-line span:nth-child(4) { color: #E5B884; }
.raw-line span.ok { color: rgba(247,248,244,.55); }
.raw-line--head { font-size: 0.62rem; color: rgba(247,248,244,.45); padding-top: 0; }
.raw-line--head span:nth-child(2), .raw-line--head span:nth-child(4) { font-weight: 400; color: inherit; }
.raw-line--hl { background: rgba(229,184,132,.12); border-radius: 4px; border-bottom-color: transparent; color: var(--paper); }
.raw-line--muted { display: block; color: rgba(247,248,244,.4); font-size: 0.62rem; border-bottom: 0; padding-top: 14px; }
.translate__arrow { display: grid; place-items: center; color: var(--teal-soft); }
.translate__arrow .lucide { width: 22px; height: 22px; }
.translate__plain { padding: 22px; border-radius: var(--r-md); background: var(--paper); color: var(--ink); }
.translate__plain .translate__label { color: var(--teal); }
.translate__text { font-size: 0.975rem; line-height: 1.55; }
.translate__text b { font-weight: 600; }
.mini-trend { margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); }
.mini-trend__svg { width: 100%; height: 80px; overflow: visible; }
.mini-trend__ref { stroke: var(--ink-3); stroke-dasharray: 3 4; stroke-width: 1; opacity: .6; }
.mini-trend__reflabel { font-size: 11px; fill: var(--ink-3); font-family: var(--font-body); }
.mini-trend__line { fill: none; stroke: #C89355; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.mini-trend__svg circle { fill: var(--white); stroke: #C89355; stroke-width: 2; }
.mini-trend__svg circle.mini-trend__now { fill: #C89355; }
.mini-trend__labels { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--ink-3); margin-top: 6px; }

.pillar-pair {
  margin-top: clamp(96px, 12vw, 160px);
  display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: clamp(20px, 3vw, 32px);
  align-items: stretch;
}
.pillar--profile, .pillar--navigate {
  padding: clamp(28px, 4vw, 48px);
  border-radius: var(--r-lg);
  display: flex; flex-direction: column;
}
.pillar--profile { background: var(--beige); }
.pillar--navigate { background: var(--mint); }
.pillar--profile .panel, .pillar--navigate .panel { margin-top: auto; }
.pillar--profile > p:not(.pillar__num), .pillar--navigate > p:not(.pillar__num) { margin-bottom: 36px; }

.profile-ui { padding: 6px 0 0; }
.profile-ui__head { display: flex; justify-content: space-between; align-items: center; padding: 12px 18px; }
.profile-ui__head b { font-size: 0.875rem; font-weight: 600; }
.profile-ui__list li {
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 12px 18px; border-top: 1px solid var(--line);
  transition: opacity .3s;
}
.profile-ui__list li.is-off { opacity: .5; }
.profile-ui__list li.is-off b { text-decoration: line-through; text-decoration-color: var(--ink-3); }
.profile-ui__list b { display: block; font-size: 0.875rem; font-weight: 500; }
.profile-ui__list span { display: block; font-size: 0.75rem; color: var(--ink-3); }
.profile-ui__status { padding: 12px 18px; font-size: 0.78rem; color: var(--forest); background: var(--mint); border-radius: 0 0 var(--r-lg) var(--r-lg); border-top: 1px solid var(--line); }

.switch {
  width: 36px; height: 22px; border-radius: 11px; flex: none;
  background: var(--line-2); position: relative;
  transition: background-color .25s var(--ease);
}
.switch span { position: absolute; top: 3px; left: 3px; width: 16px; height: 16px; border-radius: 50%; background: var(--white); box-shadow: 0 1px 2px rgba(0,0,0,.2); transition: transform .25s var(--ease); }
.switch[aria-checked="true"] { background: var(--teal); }
.switch[aria-checked="true"] span { transform: translateX(14px); }

.nav-ui { padding: 18px; }
.nav-ui__need { display: flex; gap: 10px; align-items: center; font-size: 0.825rem; color: var(--ink-2); padding: 10px 12px; border-radius: var(--r-sm); background: var(--paper); box-shadow: inset 0 0 0 1px var(--line); }
.nav-ui__need .lucide { width: 15px; height: 15px; color: var(--ink-3); }
.nav-ui__match { padding: 18px 2px 14px; }
.nav-ui__label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); }
.nav-ui__spec { font-family: var(--font-display); font-weight: 700; font-size: 1.25rem; letter-spacing: -0.02em; margin: 2px 0 10px; }
.nav-ui__sub { display: flex; flex-wrap: wrap; gap: 6px; }
.nav-ui__sub span { font-size: 0.75rem; padding: 3px 8px; border-radius: var(--r-xs); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink-2); }
.nav-ui__sub span.is-strong { background: var(--forest); color: var(--paper); box-shadow: none; }
.nav-ui__list li { display: flex; align-items: center; gap: 12px; padding: 12px 0; border-top: 1px solid var(--line); }
.nav-ui__list div { flex: 1; min-width: 0; }
.nav-ui__list b { display: block; font-size: 0.85rem; font-weight: 500; }
.nav-ui__list span:not(.nav-ui__avatar) { display: block; font-size: 0.75rem; color: var(--ink-3); }
.nav-ui__avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--sage); color: var(--forest); display: grid; place-items: center; font-size: 0.72rem; font-weight: 600; flex: none; }
.nav-ui__list em { font-style: normal; font-size: 0.72rem; font-weight: 500; color: var(--forest); background: var(--mint); padding: 3px 7px; border-radius: var(--r-xs); white-space: nowrap; }
.nav-ui__list em.is-med { background: var(--paper); color: var(--ink-2); }
.nav-ui__note { font-size: 0.72rem; color: var(--ink-3); padding-top: 10px; border-top: 1px solid var(--line); }

/* =========================================================
   Journey (How it works)
   ========================================================= */
.journey { background: var(--paper); }
.steps {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(20px, 3vw, 40px);
  position: relative;
}
.steps::before, .steps::after {
  content: ""; position: absolute; top: 19px; left: 20px; right: 20px; height: 1px;
}
.steps::before { background: var(--line-2); }
.steps::after { background: var(--teal); transform-origin: left; transform: scaleX(var(--progress, 0)); transition: transform .2s linear; }
.step { position: relative; z-index: 1; }
.step__marker { margin-bottom: 28px; }
.step__marker span {
  width: 40px; height: 40px; border-radius: 50%;
  display: grid; place-items: center;
  font-family: var(--font-display); font-weight: 700; font-size: 0.95rem;
  background: var(--paper); color: var(--forest);
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: background-color .4s var(--ease), color .4s var(--ease), box-shadow .4s;
}
.step.is-lit .step__marker span { background: var(--forest); color: var(--paper); box-shadow: 0 0 0 6px var(--paper); }
.step__title { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.025em; }
.step__body > p { color: var(--ink-2); margin-top: 8px; max-width: 32ch; }
.vignette {
  margin-top: 28px; padding: 18px;
  background: var(--white); border-radius: var(--r-md);
  box-shadow: 0 0 0 1px var(--line);
  min-height: 168px;
  display: flex; flex-direction: column; justify-content: center;
}
.vignette .msg { align-self: flex-end; max-width: 100%; }
.vignette__label { font-size: 0.72rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); margin-bottom: 10px; }
.vignette__facts li { display: grid; grid-template-columns: 1fr auto auto; align-items: center; gap: 10px; padding: 8px 0; font-size: 0.85rem; border-top: 1px solid var(--line); }
.vignette__facts span { color: var(--ink-2); }
.vignette__facts b { font-weight: 600; font-variant-numeric: tabular-nums; }
.vignette__qs { display: grid; gap: 10px; }
.vignette__qs li { display: flex; gap: 10px; font-size: 0.875rem; line-height: 1.4; }
.vignette__qs .lucide { width: 17px; height: 17px; color: var(--teal); margin-top: 1px; }

/* ---------- Demo ---------- */
.demo {
  margin-top: clamp(96px, 12vw, 160px);
  display: grid; grid-template-columns: minmax(0, 0.6fr) minmax(0, 1.4fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.demo__intro { position: sticky; top: calc(var(--nav-h) + 32px); }
.demo__intro > p:not(.eyebrow):not(.demo__disclaimer) { color: var(--ink-2); margin-top: 14px; }
.demo__disclaimer { display: flex; gap: 10px; margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line); font-size: 0.8125rem; color: var(--ink-3); line-height: 1.5; }
.demo__disclaimer .lucide { width: 16px; height: 16px; margin-top: 2px; }

.demo__app { background: var(--white); border-radius: var(--r-lg); box-shadow: var(--shadow-sm), 0 0 0 1px var(--line); overflow: hidden; }
.demo__tabs { display: flex; gap: 4px; padding: 10px; border-bottom: 1px solid var(--line); background: #FBFCF9; overflow-x: auto; }
.demo__tabs button {
  display: inline-flex; align-items: center; gap: 8px; white-space: nowrap;
  padding: 8px 14px; border-radius: var(--r-sm); font-size: 0.875rem; color: var(--ink-2);
  transition: background-color .2s, color .2s;
}
.demo__tabs button .lucide { width: 15px; height: 15px; }
.demo__tabs button:hover { color: var(--ink); background: var(--paper); }
.demo__tabs button[aria-selected="true"] { background: var(--mint); color: var(--forest); font-weight: 500; }
.demo__panes { display: grid; grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr); min-height: 560px; }
.demo__report { padding: 22px; align-self: start; position: sticky; top: calc(var(--nav-h) + 16px); }
.demo__result { padding: 22px; background: #FBFCF9; position: relative; border-left: 1px solid var(--line); }

.rpt__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 12px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.rpt__name { font-family: var(--font-display); font-weight: 700; font-size: 1.1rem; letter-spacing: -0.02em; }
.rpt__meta { font-size: 0.75rem; color: var(--ink-3); }
.rpt__table { width: 100%; border-collapse: collapse; margin-top: 6px; font-size: 0.8125rem; }
.rpt__table th { text-align: left; font-weight: 500; font-size: 0.68rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-3); padding: 10px 0 8px; }
.rpt__table th:not(:first-child), .rpt__table td:not(:first-child) { text-align: right; }
.rpt__table td { padding: 10px 0; border-top: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.rpt__table td:first-child { color: var(--ink); padding-right: 8px; }
.rpt__table td.is-high { color: var(--watch); font-weight: 600; }
.rpt__table td.is-low { color: var(--low); font-weight: 600; }
.rpt__table td small { color: var(--ink-3); font-size: 0.7rem; }
.rpt__range { color: var(--ink-3); font-size: 0.75rem; }
.rpt__btn { margin-top: 22px; width: 100%; }
.rpt__btn[disabled] { opacity: .6; cursor: progress; }

.res__empty { height: 100%; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; color: var(--ink-3); font-size: 0.875rem; padding: 40px 12px; }
.res__empty .lucide { width: 36px; height: 36px; padding: 9px; border-radius: 10px; background: var(--mint); color: var(--forest); }
.res__steps { display: grid; gap: 12px; padding-top: 8px; }
.res__steps li { display: flex; gap: 10px; align-items: center; font-size: 0.875rem; color: var(--ink-3); transition: color .3s; }
.res__steps li .lucide { width: 16px; height: 16px; }
.res__steps li.is-done { color: var(--ink); }
.res__steps li.is-done .lucide { color: var(--teal); }
.res__steps .spinner { width: 16px; height: 16px; border-radius: 50%; border: 2px solid var(--line-2); border-top-color: var(--teal); animation: spin .8s linear infinite; flex: none; }
@keyframes spin { to { transform: rotate(360deg); } }

.res { display: grid; gap: 20px; animation: fade-in .5s var(--ease); }
.res__label { font-size: 0.68rem; text-transform: uppercase; letter-spacing: .07em; color: var(--ink-3); margin-bottom: 8px; }
.res__summary { font-size: 0.95rem; line-height: 1.55; }
.res__context { display: flex; flex-wrap: wrap; gap: 6px; }
.res__context span { font-size: 0.72rem; color: var(--forest); background: var(--mint); padding: 3px 8px; border-radius: var(--r-xs); }
.res__markers { display: grid; gap: 0; border-top: 1px solid var(--line); }
.res__marker { border-bottom: 1px solid var(--line); }
.res__marker summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 1fr auto auto 16px; gap: 10px; align-items: center; padding: 11px 0; font-size: 0.85rem; }
.res__marker summary::-webkit-details-marker { display: none; }
.res__marker summary b { font-weight: 600; font-variant-numeric: tabular-nums; white-space: nowrap; }
.res__marker summary .lucide { width: 15px; height: 15px; color: var(--ink-3); transition: transform .25s var(--ease); }
.res__marker[open] summary .lucide { transform: rotate(180deg); }
.res__marker p { font-size: 0.825rem; color: var(--ink-2); padding: 0 0 12px; line-height: 1.55; }
.res__change { font-size: 0.75rem; color: var(--ink-3); white-space: nowrap; }
.res__qs { display: grid; gap: 8px; counter-reset: q; }
.res__qs li { counter-increment: q; display: grid; grid-template-columns: 22px 1fr; gap: 8px; font-size: 0.85rem; line-height: 1.45; }
.res__qs li::before { content: counter(q); width: 20px; height: 20px; border-radius: 50%; background: var(--forest); color: var(--paper); font-size: 0.68rem; font-weight: 600; display: grid; place-items: center; margin-top: 1px; }
.res__note { font-size: 0.75rem; color: var(--ink-3); display: flex; gap: 8px; padding-top: 14px; border-top: 1px solid var(--line); }
.res__note .lucide { width: 14px; height: 14px; margin-top: 2px; }

.followup { border-top: 1px solid var(--line); padding-top: 18px; }
.followup__chips { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.followup__chips button { font-size: 0.8rem; padding: 6px 10px; border-radius: var(--r-sm); background: var(--white); box-shadow: inset 0 0 0 1px var(--line-2); color: var(--ink); transition: box-shadow .2s, background-color .2s; text-align: left; }
.followup__chips button:hover { box-shadow: inset 0 0 0 1px var(--forest); }
.followup__form { display: flex; gap: 8px; }
.followup__form input { flex: 1; min-width: 0; height: 40px; padding: 0 12px; border-radius: var(--r-sm); border: 0; box-shadow: inset 0 0 0 1px var(--line-2); background: var(--white); font-size: 0.85rem; }
.followup__form input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--teal); }
.followup__form button { width: 40px; height: 40px; border-radius: var(--r-sm); background: var(--forest); color: var(--paper); display: grid; place-items: center; flex: none; }
.followup__form button .lucide { width: 16px; height: 16px; }
.followup__thread { display: flex; flex-direction: column; gap: 10px; margin-bottom: 12px; }
.followup__thread .msg { font-size: 0.85rem; animation: fade-in .4s var(--ease); }
.followup__thread .msg--ai { background: var(--white); }

/* =========================================================
   Intelligence
   ========================================================= */
.intel { background: var(--white); border-top: 1px solid var(--line); }
.evolution {
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 1px solid var(--line-2);
  margin-bottom: clamp(56px, 7vw, 88px);
}
.evolution__col { padding: 32px 32px 8px 0; }
.evolution__col + .evolution__col { padding-left: 32px; border-left: 1px solid var(--line); }
.evolution__col svg { width: 100%; max-width: 220px; height: 70px; margin-bottom: 24px; overflow: visible; }
.evolution__col .axis { stroke: var(--line-2); stroke-width: 1; }
.evolution__col .pt { fill: var(--forest); }
.evolution__col .pt--muted { fill: var(--sage); }
.evolution__col .flow { fill: none; stroke: var(--teal); stroke-width: 2; stroke-linecap: round; }
.evolution__col .ev { fill: #C89355; }
.evolution__title { font-family: var(--font-display); font-weight: 700; font-size: 1.2rem; letter-spacing: -0.02em; margin-bottom: 6px; }
.evolution__col p:not(.evolution__title) { color: var(--ink-2); font-size: 0.95rem; max-width: 32ch; }
.evolution__col--active .evolution__title { color: var(--forest); }

.timeline { padding: clamp(20px, 3vw, 32px); }
.timeline__head { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-bottom: 20px; }
.timeline__title { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; }
.timeline__sub { font-size: 0.85rem; color: var(--ink-3); }
.timeline__chart { position: relative; }
#timeline-svg { width: 100%; height: 240px; overflow: visible; }
#timeline-svg .grid { stroke: var(--line); stroke-width: 1; vector-effect: non-scaling-stroke; }
#timeline-svg .ref { stroke: #C89355; stroke-dasharray: 4 5; stroke-width: 1; vector-effect: non-scaling-stroke; opacity: .7; }
#timeline-svg .area { fill: url(#tl-grad); }
#timeline-svg .line { fill: none; stroke: var(--forest); stroke-width: 2.25; vector-effect: non-scaling-stroke; stroke-linecap: round; stroke-linejoin: round; }
#timeline-svg .line--draw { stroke-dasharray: var(--len); stroke-dashoffset: var(--len); transition: stroke-dashoffset 1.8s var(--ease); }
.timeline.is-in #timeline-svg .line--draw { stroke-dashoffset: 0; }
#timeline-svg .hr { fill: none; stroke: var(--teal); stroke-width: 1.5; stroke-dasharray: 2 4; vector-effect: non-scaling-stroke; }
.timeline__ylabel { position: absolute; font-size: 0.7rem; color: var(--ink-3); transform: translateY(-50%); }

.timeline__events { position: absolute; inset: 0; pointer-events: none; }
.tl-ev {
  position: absolute; transform: translate(-50%, -50%);
  pointer-events: auto;
  display: grid; place-items: center;
  width: 36px; height: 36px; border-radius: 50%;
}
.tl-ev::before {
  content: ""; width: 14px; height: 14px; border-radius: 50%;
  background: var(--white); box-shadow: inset 0 0 0 2.5px var(--forest);
  transition: transform .25s var(--ease), background-color .25s;
}
.tl-ev.is-event::before { border-radius: 3px; box-shadow: inset 0 0 0 2.5px #C89355; }
.tl-ev:hover::before { transform: scale(1.2); }
.tl-ev[aria-selected="true"]::before { background: var(--forest); transform: scale(1.25); }
.tl-ev.is-event[aria-selected="true"]::before { background: #C89355; }
.tl-ev__label {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  font-size: 0.72rem; color: var(--ink-3); white-space: nowrap; margin-top: 2px;
}
.timeline__months { display: grid; grid-template-columns: repeat(11, minmax(0, 1fr)); text-align: center; font-size: 0.72rem; color: var(--ink-3); padding: 14px 3% 0; border-top: 1px solid var(--line); margin-top: 8px; }
.tl-ev.is-event .tl-ev__label { top: auto; bottom: 100%; margin: 0 0 2px; }

.timeline__detail {
  margin-top: 24px; padding: 20px 22px;
  border-radius: var(--r-md); background: var(--paper);
  display: grid; grid-template-columns: 140px minmax(0, 1fr) auto; gap: 24px; align-items: center;
  min-height: 96px;
}
.timeline__detail .td-when { font-family: var(--font-display); font-weight: 700; font-size: 1.05rem; letter-spacing: -0.02em; }
.timeline__detail .td-type { font-size: 0.75rem; color: var(--ink-3); }
.timeline__detail .td-title { font-weight: 600; }
.timeline__detail .td-text { font-size: 0.9rem; color: var(--ink-2); margin-top: 2px; }
.timeline__detail .td-nav { display: flex; gap: 6px; }
.timeline__detail .td-nav button { width: 36px; height: 36px; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px var(--line-2); display: grid; place-items: center; transition: box-shadow .2s, background-color .2s; }
.timeline__detail .td-nav button:hover { box-shadow: inset 0 0 0 1px var(--forest); background: var(--white); }
.timeline__detail .td-nav .lucide { width: 16px; height: 16px; }
.timeline__detail.is-changing > * { animation: fade-in .35s var(--ease); }

.control {
  margin-top: clamp(64px, 8vw, 104px);
  display: grid; grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: start;
}
.control__copy p { color: var(--ink-2); margin-top: 12px; max-width: 40ch; }
.control__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.control__list li { display: flex; flex-direction: column; gap: 14px; padding-top: 18px; border-top: 1px solid var(--forest); }
.control__list .lucide { width: 20px; height: 20px; color: var(--forest); }
.control__list b { display: block; font-weight: 600; font-size: 0.95rem; }
.control__list span { display: block; color: var(--ink-2); font-size: 0.875rem; margin-top: 4px; }

/* =========================================================
   Trust
   ========================================================= */
.trust { background: var(--beige); }
.trust__grid { display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: clamp(40px, 7vw, 112px); align-items: start; }
.trust__head { position: sticky; top: calc(var(--nav-h) + 40px); }
.trust__head .h2 { max-width: 13ch; }
.trust__intro { color: var(--ink-2); margin-top: 24px; max-width: 40ch; }
.trust__legend { display: grid; gap: 10px; margin-top: 36px; padding-top: 24px; border-top: 1px solid rgba(24,37,34,.12); }
.trust__legend span { display: flex; align-items: center; gap: 12px; font-size: 0.85rem; color: var(--ink-2); }
.trust__legend .tag { width: 112px; justify-content: center; }
.trust .tag--planned { background: #E3D9C6; color: #6B5539; }
.trust__list li {
  display: grid; grid-template-columns: 28px minmax(0, 1fr) auto; gap: 18px; align-items: start;
  padding: 28px 0; border-top: 1px solid rgba(24,37,34,.12);
}
.trust__list li:last-child { border-bottom: 1px solid rgba(24,37,34,.12); }
.trust__icon.lucide { width: 22px; height: 22px; color: var(--forest); margin-top: 3px; }
.trust__list h3 { font-family: var(--font-display); font-weight: 700; font-size: 1.15rem; letter-spacing: -0.02em; }
.trust__list p { color: var(--ink-2); font-size: 0.95rem; margin-top: 6px; max-width: 48ch; }
.trust__list .tag { margin-top: 4px; }

/* =========================================================
   Vision (dark)
   ========================================================= */
.vision {
  background: var(--forest);
  color: var(--paper);
  padding: var(--section) 0;
  position: relative; overflow: hidden;
}
.vision .container { position: relative; }
.vision__title {
  color: var(--paper);
  font-size: clamp(2.5rem, 6.6vw, 6rem);
  line-height: 0.98; letter-spacing: -0.045em;
  max-width: 13ch;
}
.vision__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); margin-top: clamp(32px, 5vw, 56px); }
.vision__lead { grid-column: 2; font-size: clamp(1.1rem, 1.5vw, 1.3rem); line-height: 1.55; color: rgba(247,248,244,.78); max-width: 40ch; }
.roadmap {
  margin-top: clamp(72px, 9vw, 120px);
  display: grid; grid-template-columns: repeat(3, minmax(0, 1fr));
  position: relative;
}
.roadmap::before { content: ""; position: absolute; top: 7px; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, var(--teal-soft), rgba(247,248,244,.25) 40%, rgba(247,248,244,.08)); }
.roadmap__phase { padding-right: 32px; }
.roadmap__when { display: flex; align-items: center; gap: 12px; width: fit-content; padding-right: 14px; background: var(--forest); font-size: 0.8125rem; color: rgba(247,248,244,.7); margin-bottom: 28px; position: relative; }
.roadmap__dot { width: 15px; height: 15px; border-radius: 50%; background: var(--forest); box-shadow: inset 0 0 0 2px rgba(247,248,244,.5); }
.roadmap__dot--now { background: var(--teal-soft); box-shadow: 0 0 0 5px rgba(143,208,186,.18); }
.roadmap__dot--later { box-shadow: inset 0 0 0 2px rgba(247,248,244,.22); }
.roadmap ul { display: grid; gap: 24px; }
.roadmap b { display: block; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; letter-spacing: -0.02em; color: var(--paper); }
.roadmap span { display: block; font-size: 0.9rem; color: rgba(247,248,244,.6); margin-top: 4px; }

/* =========================================================
   About
   ========================================================= */
.about__grid { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 40px; }
.about__title { max-width: 20ch; }
.about__cols { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; margin-top: 32px; color: var(--ink-2); }

/* =========================================================
   CTA
   ========================================================= */
.cta { padding: 0 0 var(--section); }
.cta__grid {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px); align-items: center;
  background: var(--mint);
  border-radius: var(--r-lg);
  padding: clamp(36px, 6vw, 80px);
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
}
@media (min-width: 1281px) { .cta__grid { max-width: var(--container); } }
.cta__copy .h2 { max-width: 13ch; }
.cta__copy .lead { margin-top: 22px; }

.signup { background: var(--white); border-radius: var(--r-lg); padding: clamp(22px, 3vw, 32px); box-shadow: 0 0 0 1px var(--line), var(--shadow-sm); }
.signup__interests { border: 0; padding: 0; margin: 0 0 24px; }
.signup__interests legend { font-size: 0.875rem; font-weight: 500; margin-bottom: 12px; padding: 0; }
.signup__interests legend span { color: var(--ink-3); font-weight: 400; margin-left: 6px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { cursor: pointer; }
.chips input { position: absolute; opacity: 0; pointer-events: none; }
.chips span { display: inline-block; font-size: 0.825rem; padding: 7px 12px; border-radius: var(--r-sm); box-shadow: inset 0 0 0 1px var(--line-2); transition: background-color .2s, color .2s, box-shadow .2s; }
.chips label:hover span { box-shadow: inset 0 0 0 1px var(--ink-3); }
.chips input:checked + span { background: var(--forest); color: var(--paper); box-shadow: none; }
.chips input:focus-visible + span { outline: 2px solid var(--teal); outline-offset: 2px; }
.signup__label { display: block; font-size: 0.875rem; font-weight: 500; margin-bottom: 8px; }
.signup__row { display: grid; gap: 10px; }
.signup__row .btn { width: 100%; }
.signup__row input {
  flex: 1; min-width: 0; height: 50px; padding: 0 16px;
  border: 0; border-radius: var(--r-sm);
  background: var(--paper);
  box-shadow: inset 0 0 0 1px var(--line-2);
  transition: box-shadow .2s;
}
.signup__row input:focus { outline: none; box-shadow: inset 0 0 0 1.5px var(--teal); background: var(--white); }
.signup__row input[aria-invalid="true"] { box-shadow: inset 0 0 0 1.5px #B4553F; }
.signup__error { color: #A3412C; font-size: 0.8125rem; min-height: 1.25em; margin-top: 8px; }
.signup__note { display: flex; gap: 8px; align-items: flex-start; font-size: 0.78rem; color: var(--ink-3); margin-top: 6px; }
.signup__note .lucide { width: 14px; height: 14px; margin-top: 2px; }
.signup__done { display: flex; gap: 14px; margin-top: 4px; padding: 18px; border-radius: var(--r-md); background: var(--mint); animation: fade-in .4s var(--ease); font-size: 0.875rem; color: var(--ink-2); }
.signup__done:focus { outline: none; }
.signup__done-icon { width: 30px; height: 30px; border-radius: 50%; background: var(--forest); color: var(--paper); display: grid; place-items: center; flex: none; }
.signup__done-icon .lucide { width: 16px; height: 16px; }
.signup__done-title { font-weight: 600; color: var(--ink); margin-bottom: 4px; }
.signup__done b { color: var(--ink); font-weight: 600; word-break: break-all; }
.signup__done .link-btn { margin-top: 10px; font-size: 0.85rem; }
.signup.is-done .signup__row, .signup.is-done .signup__interests, .signup.is-done .signup__label, .signup.is-done .signup__error, .signup.is-done .signup__note { display: none; }

/* =========================================================
   Footer
   ========================================================= */
.footer { background: var(--charcoal); color: rgba(247,248,244,.7); padding: 80px 0 40px; font-size: 0.9rem; }
.footer__top { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); gap: 64px; padding-bottom: 56px; border-bottom: 1px solid rgba(247,248,244,.1); }
.footer__brand p { margin-top: 20px; max-width: 40ch; line-height: 1.6; }
.footer__nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.footer__nav div { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.footer__label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: .08em; color: rgba(247,248,244,.45); margin-bottom: 6px; }
.footer__nav a, .footer__nav button { color: rgba(247,248,244,.85); transition: color .2s; text-align: left; }
.footer__nav a:hover, .footer__nav button:hover { color: var(--white); }
.footer__social { font-size: 0.8rem; color: rgba(247,248,244,.4); }
.footer__bottom { padding-top: 32px; display: grid; gap: 16px; }
.footer__disclaimer { display: flex; gap: 12px; align-items: flex-start; color: rgba(247,248,244,.85); max-width: 80ch; line-height: 1.55; }
.footer__disclaimer .lucide { width: 18px; height: 18px; margin-top: 2px; color: var(--teal-soft); }
.footer__legal { font-size: 0.8rem; color: rgba(247,248,244,.45); }

/* =========================================================
   Toast
   ========================================================= */
.toast {
  position: fixed; left: 50%; bottom: 24px; z-index: 80;
  transform: translate(-50%, 20px);
  max-width: min(440px, calc(100vw - 32px));
  background: var(--charcoal); color: var(--paper);
  font-size: 0.875rem; line-height: 1.45;
  padding: 12px 18px; border-radius: var(--r-md);
  box-shadow: 0 20px 40px -20px rgba(0,0,0,.5);
  opacity: 0; pointer-events: none;
  transition: opacity .3s var(--ease), transform .3s var(--ease);
}
.toast.is-visible { opacity: 1; transform: translate(-50%, 0); }

/* =========================================================
   Reveal animations
   ========================================================= */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.js [data-reveal-delay="1"] { transition-delay: .1s; }
.js [data-reveal-delay="2"] { transition-delay: .2s; }
.js [data-reveal].is-in { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; transition-delay: 0s !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1180px) {
  .app__body { grid-template-columns: 168px minmax(0, 1fr) 248px; }
  .app { margin-right: 0; }
  .phone { display: none; }
  .metric__value { font-size: 21px; }
}

@media (max-width: 1024px) {
  .nav__links { gap: 22px; }
  .nav__signin { display: none; }

  .app__body { grid-template-columns: minmax(0, 1fr) 260px; }
  .app__side { display: none; }

  .pillar--reports { grid-template-columns: 1fr; }
  .pillar--reports .pillar__copy { grid-template-columns: 1fr; gap: 16px; }
  .pillar--reports .pillar__copy > p:not(.pillar__num) { justify-self: start; }
  .demo { grid-template-columns: 1fr; }
  .demo__intro { position: static; max-width: 560px; }
  .control { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  :root { --nav-h: 62px; }
  .nav__links { display: none; }
  .nav__actions { margin-left: auto; gap: 8px; }
  .nav__toggle { display: block; }

  .hero__grid { grid-template-columns: 1fr; gap: 28px; }
  .hero__head .display { max-width: 14ch; }
  .lead { max-width: 46ch; }

  .app__body { grid-template-columns: 1fr; }
  .app__chat { border-left: 0; border-top: 1px solid var(--line); }
  .metrics { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .metric:nth-child(3) { border-left: 0; }
  .metric:nth-child(n+3) { border-top: 1px solid var(--line); }

  .section-head--split { grid-template-columns: 1fr; gap: 20px; }
  .problem__grid { grid-template-columns: 1fr; }
  .pillar--ask { grid-template-columns: minmax(0, 1fr); }
  .pillar-pair { grid-template-columns: minmax(0, 1fr); }

  .steps { grid-template-columns: 1fr; gap: 0; }
  .steps::before, .steps::after { top: 20px; bottom: 20px; left: 19px; right: auto; width: 1px; height: auto; }
  .steps::after { transform: scaleY(var(--progress, 0)); transform-origin: top; }
  .step { display: grid; grid-template-columns: 40px minmax(0, 1fr); gap: 20px; padding-bottom: 48px; }
  .step:last-child { padding-bottom: 0; }
  .step__marker { margin-bottom: 0; }
  .vignette { margin-top: 20px; min-height: 0; }

  .evolution { grid-template-columns: 1fr; }
  .evolution__col, .evolution__col + .evolution__col { padding: 28px 0; border-left: 0; }
  .evolution__col + .evolution__col { border-top: 1px solid var(--line); }

  .trust__grid { grid-template-columns: 1fr; }
  .trust__head { position: static; }

  .vision__grid { grid-template-columns: 1fr; }
  .vision__lead { grid-column: 1; }
  .roadmap { grid-template-columns: 1fr; gap: 40px; }
  .roadmap::before { top: 0; bottom: 0; left: 7px; right: auto; width: 1px; height: auto; background: linear-gradient(180deg, var(--teal-soft), rgba(247,248,244,.08)); }
  .roadmap__phase { padding: 0 0 0 36px; }
  .roadmap__when { margin-left: -36px; }

  .about__grid { grid-template-columns: 1fr; gap: 0; }
  .cta__grid { grid-template-columns: minmax(0, 1fr); margin: 0 var(--gutter); width: auto; padding: 32px 22px; }
  .footer__top { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 720px) {
  .hero__captions { grid-template-columns: 1fr; gap: 0; padding-top: 24px; }
  .hero__captions li { padding: 14px 0; }
  .hero__plinth { top: 18%; }

  .app__row { grid-template-columns: 1fr; }
  .app__main { padding: 18px 16px; }
  .app__greet { flex-direction: column; gap: 12px; }
  .app__bar .app__title { display: none; }

  .problem__list li { grid-template-columns: 1fr; gap: 2px; }

  .stage { height: 640px; }
  .stage__frame-foot { display: none; }
  .frag { width: 64%; min-height: 78px; }
  .frag--chat   { --sx: 4%;  --sy: 3%;  }
  .frag--mail   { --sx: 32%; --sy: 17%; }
  .frag--search { --sx: 8%;  --sy: 34%; }
  .frag--paper  { --sx: 30%; --sy: 51%; }
  .frag--watch  { --sx: 4%;  --sy: 67%; }
  .frag--rx     { --sx: 32%; --sy: 83%; }
  .stage[data-state="connected"] .frag { width: calc(100% - 64px); left: 32px !important; min-height: 72px; padding: 10px 12px; }
  .stage[data-state="connected"] .frag--chat   { top: 96px; }
  .stage[data-state="connected"] .frag--mail   { top: 186px; }
  .stage[data-state="connected"] .frag--search { top: 276px; }
  .stage[data-state="connected"] .frag--paper  { top: 366px; }
  .stage[data-state="connected"] .frag--watch  { top: 456px; }
  .stage[data-state="connected"] .frag--rx     { top: 546px; }

  .pillar--reports { margin-left: 0; margin-right: 0; }
  .translate { grid-template-columns: 1fr; }
  .translate__arrow { transform: rotate(90deg); }

  .demo__panes { grid-template-columns: 1fr; min-height: 0; }
  .demo__report { position: static; border-bottom: 1px solid var(--line); }
  .demo__result { border-left: 0; }
  .res__empty { padding: 28px 12px; }

  .timeline__head { flex-direction: column; }
  #timeline-svg { height: 200px; }
  .tl-ev__label { display: none; }
  .timeline__detail { grid-template-columns: 1fr; gap: 10px; }
  .timeline__detail .td-nav { justify-self: start; }
  .control__list { grid-template-columns: 1fr; }

  .trust__list li { grid-template-columns: 24px minmax(0, 1fr); }
  .trust__list li .tag { grid-column: 2; justify-self: start; margin-top: 0; }
  .about__cols { grid-template-columns: 1fr; gap: 16px; }

  .footer__nav { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 420px) {
  .h2 { font-size: clamp(1.8rem, 8.4vw, 2.1rem); }
  .nav__actions > .btn { display: none; }
  .hero__ctas .btn { width: 100%; }
  .metric__value { font-size: 19px; }
  .report-card__list li { grid-template-columns: minmax(0, 1fr) auto; }
  .report-card__list .flag { grid-column: 1 / -1; justify-self: start; margin-top: -4px; }
}
