/* ============================================================
   Auxin — Website  (v2: editorial redesign)
   Type: Spectral (serif display) + IBM Plex Sans (UI/body).
   Courier Prime is reserved for the LOGO wordmark only.
   Palette + spacing tokens come from auxin-tokens.css.
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Spectral:wght@300;400;500;600&family=IBM+Plex+Sans:wght@400;500;600;700&display=swap');

:root {
  --font-display: 'Spectral', 'Iowan Old Style', Georgia, serif;
  --font-sans: 'IBM Plex Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-logo: 'Courier Prime', 'Courier New', monospace;

  --mkt-hero: clamp(40px, 6.6vw, 104px);
  --mkt-h1:   clamp(30px, 4vw, 62px);
  --mkt-h2:   clamp(26px, 3vw, 44px);
  --mkt-stat: clamp(56px, 8.5vw, 140px);
  --gutter:   clamp(22px, 6vw, 116px);
  --maxw:     1300px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html {
  background: var(--bg);
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  font-family: var(--font-sans);
  color: var(--fg2);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
  font-size: 17px;
  line-height: 1.6;
}

.bg-layer {
  position: fixed; inset: 0; z-index: 0;
  background: var(--bg);
  transition: background var(--dur-slow) var(--ease);
  pointer-events: none;
}
main {
  position: relative; z-index: 1;
  background: var(--bg);
  transition: background var(--dur-slow) var(--ease);
}

::selection { background: var(--purple-mid); color: var(--bg); }

/* the [hidden] attribute must always win over component display rules */
[hidden] { display: none !important; }
::-webkit-scrollbar { width: 11px; height: 11px; }
::-webkit-scrollbar-thumb { background: var(--line-strong); border-radius: 6px; border: 3px solid var(--bg); }
::-webkit-scrollbar-track { background: transparent; }

a { color: inherit; text-decoration: none; }
button { font-family: var(--font-sans); cursor: pointer; }

/* ---- Display serif ---- */
h1, h2, h3, .serif { font-family: var(--font-display); font-weight: 400; color: var(--fg1); }

/* ---- Eyebrow ---- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 14px;
  font-family: var(--font-sans); font-size: 12px; font-weight: 600;
  letter-spacing: 2.5px; text-transform: uppercase; color: var(--fg3);
}
.eyebrow .em-index { color: var(--accent); font-weight: 600; }
.eyebrow .em-rule { width: 34px; height: 1px; background: var(--line-strong); display: inline-block; }

.lede {
  font-family: var(--font-sans);
  font-size: clamp(18px, 1.65vw, 23px);
  line-height: 1.55; font-weight: 400;
  color: var(--fg2); max-width: 30ch; text-wrap: pretty;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.wrap { max-width: var(--maxw); margin: 0 auto; padding-inline: var(--gutter); }

.section { position: relative; padding-block: clamp(72px, 10vw, 150px); }
.section--band { background: var(--bg-section); }
.section--line { border-top: .5px solid var(--line); }

.section-head { max-width: 940px; position: relative; }
.section-head h2 { font-size: var(--mkt-h1); line-height: 1.04; margin-top: 26px; letter-spacing: -.5px; text-wrap: balance; }
.section-head .lede { margin-top: 26px; max-width: 56ch; }

/* oversized ghost index numeral */
.ghost-num {
  position: absolute; top: -.35em; right: 0; z-index: 0;
  font-family: var(--font-display); font-weight: 300;
  font-size: clamp(120px, 20vw, 300px); line-height: 1;
  color: var(--fg1); opacity: .045; pointer-events: none; user-select: none;
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--font-sans); font-size: 14px; font-weight: 600;
  letter-spacing: .2px; padding: 15px 26px; border-radius: var(--r-1); border: none;
  transition: all var(--dur) var(--ease); white-space: nowrap;
}
.btn .arr { transition: transform var(--dur) var(--ease); }
.btn:hover .arr { transform: translateX(4px); }
.btn--primary { background: var(--accent); color: var(--accent-ink); }
.btn--primary:hover { background: var(--accent-hover); transform: translateY(-1px); }
.btn--secondary { background: transparent; color: var(--fg2); box-shadow: inset 0 0 0 1px var(--line-strong); }
.btn--secondary:hover { box-shadow: inset 0 0 0 1px var(--purple-mid); color: var(--fg1); }

/* ---- Badge ---- */
.badge {
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--font-sans); font-size: 11px; font-weight: 600;
  letter-spacing: 1.2px; text-transform: uppercase;
  padding: 5px 11px; border-radius: var(--r-1); white-space: nowrap;
}
.badge .dot { width: 6px; height: 6px; border-radius: 50%; display: block; }
.badge--ok    { color: var(--ok);    background: var(--ok-bg);    box-shadow: inset 0 0 0 .5px var(--ok-br); }
.badge--ok .dot { background: var(--ok); }
.badge--warn  { color: var(--warn);  background: var(--warn-bg);  box-shadow: inset 0 0 0 .5px var(--warn-br); }
.badge--warn .dot { background: var(--warn); }
.badge--alert { color: var(--alert); background: var(--alert-bg); box-shadow: inset 0 0 0 .5px var(--alert-br); }
.badge--alert .dot { background: var(--alert); }
.badge--info  { color: var(--info);  background: var(--info-bg);  box-shadow: inset 0 0 0 .5px var(--info-br); }
.badge--info .dot { background: var(--info); }
.badge--open  { color: var(--purple-mid); background: rgba(125,121,173,.12); box-shadow: inset 0 0 0 .5px var(--line); }
.badge--open .dot { background: var(--purple-mid); }

/* ---- Dot-matrix logo mark (the only place dots appear) ---- */
.dm { display: grid; grid-template-columns: repeat(3, var(--dm-d, 7px)); gap: var(--dm-g, 5px); width: fit-content; }
.dm i { width: var(--dm-d, 7px); height: var(--dm-d, 7px); border-radius: 50%; background: var(--lavender); display: block; }
.dm i:nth-child(1){opacity:1}    .dm i:nth-child(2){opacity:.38} .dm i:nth-child(3){opacity:.12}
.dm i:nth-child(4){opacity:.60}  .dm i:nth-child(5){opacity:.22} .dm i:nth-child(6){opacity:.07}
.dm i:nth-child(7){opacity:.25}  .dm i:nth-child(8){opacity:.08} .dm i:nth-child(9){opacity:.03}

/* ============================================================
   NAV
   ============================================================ */
.nav {
  position: fixed; top: 12px; left: clamp(12px, 3.5vw, 40px); right: clamp(12px, 3.5vw, 40px);
  z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; padding: 12px clamp(18px, 2.4vw, 28px);
  border-radius: 16px;
  background: color-mix(in oklab, var(--bg) 68%, transparent);
  -webkit-backdrop-filter: blur(22px) saturate(160%); backdrop-filter: blur(22px) saturate(160%);
  box-shadow: inset 0 0 0 .5px var(--line-strong), var(--shadow-2);
  transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
/* On scroll the capsule background deepens for legibility over content. */
.nav.is-stuck {
  background: color-mix(in oklab, var(--bg) 86%, transparent);
  box-shadow: inset 0 0 0 .5px var(--line-strong), var(--shadow-3);
}
.brand { display: inline-flex; align-items: center; gap: 13px; }
.brand .word { font-family: var(--font-logo); font-size: 21px; letter-spacing: 2px; color: var(--periwinkle); }
.nav-links { display: flex; align-items: center; gap: 30px; }
.nav-links a {
  font-family: var(--font-sans); font-size: 14px; font-weight: 500; color: var(--fg3);
  transition: color var(--dur) var(--ease); padding-block: 6px; position: relative;
}
.nav-links a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1.5px;
  background: var(--accent); transform: scaleX(0); transform-origin: left;
  transition: transform .26s var(--ease);
}
.nav-links a:hover { color: var(--fg1); }
.nav-links a:hover::after { transform: scaleX(1); }
.brand .dm { transition: transform var(--dur-slow) var(--ease); }
.brand:hover .dm { transform: scale(1.08); }
.nav-right { display: flex; align-items: center; gap: 14px; }

.theme-switch { background: transparent; border: none; padding: 0; display: inline-flex; align-items: center; }
.ts-track {
  position: relative; width: 54px; height: 28px; border-radius: 999px;
  background: color-mix(in oklab, var(--fg4) 16%, transparent);
  box-shadow: inset 0 0 0 1px var(--line-strong);
  display: flex; align-items: center; justify-content: space-between;
  padding: 0 7px; transition: background var(--dur) var(--ease), box-shadow var(--dur) var(--ease);
}
.theme-switch:hover .ts-track { box-shadow: inset 0 0 0 1px var(--purple-mid); }
.ts-ico { width: 13px; height: 13px; color: var(--fg3); position: relative; z-index: 1; transition: color var(--dur) var(--ease); }
.ts-knob {
  position: absolute; top: 3px; left: 3px; width: 22px; height: 22px;
  border-radius: 50%; background: var(--accent);
  box-shadow: 0 1px 3px rgba(0,0,0,.25);
  transition: transform var(--dur-slow) var(--ease);
}
[data-theme="dark"] .ts-knob { transform: translateX(26px); }
/* the icon the knob is parked on dims; the target icon stays lit */
[data-theme="light"] .ts-sun { color: var(--fg4); opacity: .45; }
[data-theme="dark"] .ts-moon { color: var(--fg4); opacity: .45; }

.nav-burger { display: none; width: 36px; height: 36px; place-items: center; background: transparent; box-shadow: inset 0 0 0 1px var(--line-strong); border-radius: var(--r-1); color: var(--fg2); }
.nav-burger span { width: 16px; height: 1.5px; background: currentColor; position: relative; display: block; }
.nav-burger span::before, .nav-burger span::after { content:""; position:absolute; left:0; width:16px; height:1.5px; background: currentColor; }
.nav-burger span::before { top: -5px; } .nav-burger span::after { top: 5px; }

/* ============================================================
   HERO  (no background dots — editorial split)
   ============================================================ */
.hero { position: relative; min-height: 90svh; display: flex; align-items: flex-start; padding-top: clamp(104px, 12vh, 142px); padding-bottom: 56px; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: 1.06fr .94fr; gap: clamp(32px, 5vw, 80px); align-items: center; width: 100%; }
.hero-eyebrow { margin-bottom: 30px; }
.hero h1 { font-size: var(--mkt-hero); line-height: .98; letter-spacing: -1.5px; color: var(--fg1); }
.hero h1 .muted { color: var(--fg3); }
.hero .lede { margin-top: 30px; max-width: 40ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }
.hero-meta { margin-top: 34px; display: flex; gap: 26px; flex-wrap: wrap; }
.hero-meta .hm { display: flex; flex-direction: column; gap: 3px; }
.hero-meta .hm b { font-family: var(--font-display); font-size: 24px; color: var(--fg1); font-feature-settings: "tnum","lnum"; }
.hero-meta .hm span { font-size: 12px; letter-spacing: .4px; color: var(--fg4); }

.hero-scroll { position: absolute; left: var(--gutter); bottom: 28px; z-index: 3; display: inline-flex; align-items: center; gap: 12px; font-size: 11px; font-weight: 600; letter-spacing: 2.5px; text-transform: uppercase; color: var(--fg4); }
.hero-scroll .line { width: 1px; height: 40px; background: linear-gradient(var(--line-strong), transparent); display: block; animation: scrolldrop 2.4s var(--ease) infinite; }
@keyframes scrolldrop { 0%{transform:scaleY(0);transform-origin:top} 45%{transform:scaleY(1);transform-origin:top} 55%{transform:scaleY(1);transform-origin:bottom} 100%{transform:scaleY(0);transform-origin:bottom} }
@media (prefers-reduced-motion: reduce){ .hero-scroll .line{ animation:none } }

/* ============================================================
   PRODUCT MOCK PANEL
   ============================================================ */
.mock { background: var(--bg-card); border-radius: var(--r-2); box-shadow: inset 0 0 0 .5px var(--line), var(--shadow-2); overflow: hidden; width: 100%; transition: transform var(--dur-slow) var(--ease), box-shadow var(--dur-slow) var(--ease); }
.feature-visual:hover .mock, .hero-visual:hover .mock { transform: translateY(-4px); box-shadow: inset 0 0 0 .5px var(--line-strong), var(--shadow-3); }
.mock-bar { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border-bottom: .5px solid var(--line); background: var(--bg-card-2); }
.mock-bar .dm { --dm-d: 4px; --dm-g: 3px; }
.mock-bar .mt { font-size: 11px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: var(--fg3); }
.mock-bar .mspace { flex: 1; }
.mock-bar .mlive { display: inline-flex; align-items: center; gap: 7px; font-size: 10px; font-weight: 600; letter-spacing: 1.4px; text-transform: uppercase; color: var(--ok); }
.mock-bar .mlive .pulse { width: 6px; height: 6px; border-radius: 50%; background: var(--ok); animation: pulse 2.2s var(--ease) infinite; }
@keyframes pulse { 0%{box-shadow:0 0 0 0 rgba(127,200,169,.5)} 70%{box-shadow:0 0 0 7px rgba(127,200,169,0)} 100%{box-shadow:0 0 0 0 rgba(127,200,169,0)} }
.mock-body { padding: 20px; }

.mrow { display: grid; grid-template-columns: 1fr auto; gap: 14px; align-items: center; padding: 14px 0; border-top: .5px solid var(--line); }
.mrow:first-child { border-top: none; }
.mrow .mr-main { min-width: 0; }
.mrow .mr-name { font-size: 14px; font-weight: 500; color: var(--fg1); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mrow .mr-sub { font-size: 11px; letter-spacing: .3px; color: var(--fg4); margin-top: 4px; }
.mrow .mr-amt { font-size: 14px; color: var(--fg2); font-feature-settings: "tnum","lnum"; text-align: right; }

.ring-wrap { position: relative; }
.ring { width: 92px; height: 92px; border-radius: 50%; background: conic-gradient(var(--ok) calc(var(--p,0)*1%), var(--bg-deep) 0); display: grid; place-items: center; }
.ring .ring-in { width: 70px; height: 70px; border-radius: 50%; background: var(--bg-card); display: grid; place-items: center; box-shadow: inset 0 0 0 .5px var(--line); }
.ring .ring-in b { font-family: var(--font-display); font-size: 22px; color: var(--fg1); }
.gauge { display: grid; grid-template-columns: auto 1fr; gap: 20px; align-items: center; }

.barline .bl-top { display: flex; justify-content: space-between; align-items: baseline; }
.barline .bl-label { font-size: 12px; font-weight: 500; letter-spacing: .3px; color: var(--fg3); }
.barline .bl-val { font-size: 13px; color: var(--fg1); font-feature-settings: "tnum","lnum"; }
.barline .track { margin-top: 10px; height: 6px; border-radius: 3px; background: var(--bg-deep); overflow: hidden; box-shadow: inset 0 0 0 .5px var(--line); }
.barline .fill { height: 100%; border-radius: 3px; background: var(--ok); width: 0; transition: width 1.1s var(--ease); }

.riskmeter { display: flex; gap: 5px; }
.riskmeter i { height: 5px; flex: 1; border-radius: 2px; background: var(--bg-deep); box-shadow: inset 0 0 0 .5px var(--line); }
.riskmeter[data-level="low"] i:nth-child(-n+1){ background: var(--ok); box-shadow:none; }
.riskmeter[data-level="med"] i:nth-child(-n+2){ background: var(--warn); box-shadow:none; }
.riskmeter[data-level="flag"] i:nth-child(-n+4){ background: var(--alert); box-shadow:none; }

.checkline { display: flex; align-items: center; gap: 10px; padding: 8px 0; font-size: 13px; letter-spacing: .2px; color: var(--fg2); }
.checkline .ck { width: 16px; height: 16px; flex: none; color: var(--ok); }
.checkline .ck.warn { color: var(--warn); }

.flow-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 13px; border-radius: var(--r-1); box-shadow: inset 0 0 0 .5px var(--line); font-size: 12px; letter-spacing: .2px; color: var(--fg2); background: var(--bg-deep); }
.escrow-flow { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.escrow-flow .arrow { color: var(--fg4); }

/* ============================================================
   STATS BAR
   ============================================================ */
.stats { background: var(--bg-deep); border-block: .5px solid var(--line); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat { padding: clamp(44px, 5vw, 80px) clamp(20px, 2.4vw, 42px); border-left: .5px solid var(--line); }
.stat:first-child { border-left: none; }
.stat .num { font-family: var(--font-display); font-weight: 400; font-size: var(--mkt-stat); line-height: .9; letter-spacing: -2px; color: var(--fg1); font-feature-settings: "tnum","lnum"; display: block; }
.stat .num .unit { color: var(--accent); }
.stat .lbl { margin-top: 22px; font-size: 15px; line-height: 1.5; letter-spacing: .2px; color: var(--fg2); max-width: 26ch; }
.stat .src { margin-top: 12px; font-size: 11px; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--fg4); }

/* ============================================================
   PROBLEM — full-bleed pull quote
   ============================================================ */
.quote-block { max-width: 1040px; }
.quote-block .q {
  font-family: var(--font-display); font-weight: 400;
  font-size: clamp(28px, 4vw, 58px); line-height: 1.14; letter-spacing: -.8px;
  color: var(--fg1); text-wrap: pretty;
}
.quote-block .q .accent { color: var(--accent); }
.quote-block cite { display: block; margin-top: 34px; font-style: normal; font-family: var(--font-sans); font-size: 14px; font-weight: 500; letter-spacing: .3px; color: var(--fg3); line-height: 1.6; }
.problem-foot { margin-top: clamp(48px, 6vw, 84px); display: grid; grid-template-columns: 1.3fr 1fr; gap: clamp(32px, 5vw, 72px); align-items: end; border-top: .5px solid var(--line); padding-top: 40px; }
.problem-foot p { font-size: 17px; line-height: 1.6; color: var(--fg2); max-width: 52ch; }
.problem-foot p b { color: var(--fg1); font-weight: 600; }

/* ============================================================
   HOW IT WORKS — connected horizontal flow
   ============================================================ */
.flow { margin-top: 64px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.flow-step { padding: 0 26px; border-left: .5px solid var(--line); position: relative; }
.flow-step:first-child { border-left: none; padding-left: 0; }
.flow-node { display: flex; align-items: center; gap: 14px; }
.flow-node .fn-dot { width: 38px; height: 38px; flex: none; border-radius: 50%; display: grid; place-items: center; background: var(--bg-card); box-shadow: inset 0 0 0 .5px var(--line-strong); color: var(--accent); }
.flow-node .fn-dot svg { width: 18px; height: 18px; }
.flow-step .fs-idx { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--fg4); }
.flow-step h3 { font-family: var(--font-display); font-size: 26px; color: var(--fg1); margin-top: 20px; }
.flow-step p { margin-top: 12px; font-size: 14px; line-height: 1.6; color: var(--fg3); }

/* ============================================================
   FEATURE SECTIONS
   ============================================================ */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(40px, 5.5vw, 92px); align-items: center; }
.feature--rev .feature-copy { order: 2; }
.feature--rev .feature-visual { order: 1; }
.feature-copy h2 { font-size: var(--mkt-h2); line-height: 1.06; margin-top: 24px; letter-spacing: -.6px; }
.feature-copy .lede { margin-top: 24px; max-width: 44ch; }
.feature-points { margin-top: 34px; display: flex; flex-direction: column; gap: 0; }
.fp { display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: start; padding: 18px 0; border-top: .5px solid var(--line); }
.fp:last-child { border-bottom: .5px solid var(--line); }
.fp .fp-ic { width: 18px; height: 18px; color: var(--accent); margin-top: 2px; }
.fp .fp-tx { font-size: 15px; line-height: 1.5; color: var(--fg2); }
.fp .fp-tx b { color: var(--fg1); font-weight: 600; }
.metric { display: inline-block; margin-top: 14px; font-size: 13px; font-weight: 500; letter-spacing: .2px; color: var(--ok); }

/* ============================================================
   PERSONAS
   ============================================================ */
.persona-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0; margin-top: 56px; border-top: .5px solid var(--line); }
.persona { padding: clamp(30px,3vw,46px) clamp(24px,3vw,50px); border-left: .5px solid var(--line); border-bottom: .5px solid var(--line); }
.persona:nth-child(odd) { border-left: none; }
.persona .prole { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--accent); }
.persona h3 { font-family: var(--font-display); font-size: 27px; color: var(--fg1); margin-top: 14px; line-height: 1.1; }
.persona p { margin-top: 16px; font-size: 15px; line-height: 1.6; color: var(--fg3); max-width: 42ch; }

/* ============================================================
   ROADMAP
   ============================================================ */
.roadmap { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; margin-top: 56px; }
.road { padding: 36px 30px 40px; border-left: .5px solid var(--line); }
.road:first-child { border-left: none; }
.road .rv { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--fg4); }
.road h3 { font-family: var(--font-display); font-size: 22px; color: var(--fg1); margin-top: 14px; line-height: 1.2; }
.road .ravail { display: inline-flex; margin-top: 18px; }
.road ul { margin-top: 22px; list-style: none; display: flex; flex-direction: column; gap: 12px; }
.road li { font-size: 14px; line-height: 1.45; color: var(--fg3); padding-left: 18px; position: relative; }
.road li::before { content:""; position: absolute; left: 0; top: 8px; width: 5px; height: 5px; border-radius: 50%; background: var(--purple-deep); }
.road--now { background: var(--bg-card); }
.road--now li::before { background: var(--accent); }
.road--now h3 { color: var(--periwinkle); }

/* ============================================================
   FINAL CTA  (no price)
   ============================================================ */
.cta-grid { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(40px, 6vw, 96px); align-items: start; }
.cta-final h2 { font-size: var(--mkt-h1); line-height: 1.04; letter-spacing: -.8px; }
.cta-final h2 .muted { color: var(--fg3); }
.cta-final .lede { margin-top: 30px; max-width: 48ch; }
.cta-final .hero-cta { margin-top: 38px; }
.pilot-card { background: var(--bg-card); border-radius: var(--r-2); box-shadow: inset 0 0 0 .5px var(--line), var(--shadow-2); padding: clamp(30px,3vw,42px); }
.pilot-card .pc-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-bottom: 22px; border-bottom: .5px solid var(--line); }
.pilot-card .pc-title { font-size: 12px; font-weight: 600; letter-spacing: 1.5px; text-transform: uppercase; color: var(--fg3); }
.pilot-row { display: grid; grid-template-columns: 96px 1fr; gap: 20px; padding: 17px 0; border-bottom: .5px solid var(--line); align-items: baseline; }
.pilot-row:last-child { border-bottom: none; }
.pilot-row .pl { font-size: 11px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--fg4); }
.pilot-row .pv { font-size: 15px; color: var(--fg2); line-height: 1.5; }
.pilot-row .pv b { color: var(--fg1); font-weight: 600; }
.cta-note { margin-top: 26px; font-size: 14px; line-height: 1.6; color: var(--fg4); max-width: 46ch; }
.cta-contact { margin-top: 28px; display: flex; flex-direction: column; gap: 8px; }
.cta-contact a, .cta-contact span { font-size: 15px; letter-spacing: .2px; color: var(--fg2); }
.cta-contact a:hover { color: var(--periwinkle); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { border-top: .5px solid var(--line); padding-block: 56px; background: var(--bg-deep); }
.footer-grid { display: flex; align-items: flex-end; justify-content: space-between; gap: 40px; flex-wrap: wrap; }
.footer .tag { margin-top: 16px; font-family: var(--font-display); font-size: 16px; color: var(--fg3); }
.footer-links { display: flex; gap: 26px; }
.footer-links a { font-size: 13px; font-weight: 500; color: var(--fg3); }
.footer-links a:hover { color: var(--fg1); }
.footer .copy { margin-top: 28px; font-size: 12px; letter-spacing: .2px; color: var(--fg4); }
.footer .seo { margin-top: 8px; font-size: 11px; letter-spacing: .2px; color: var(--fg4); opacity: .5; max-width: 76ch; line-height: 1.6; }

/* ============================================================
   REVEAL — visibility is never gated on opacity (some embedding
   hosts will not paint class/anim-driven opacity). Content always
   shows; count-up and bar-fills are triggered in site.js.
   ============================================================ */
.reveal { }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1080px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(3) { border-left: none; }
  .stat:nth-child(n+3) { border-top: .5px solid var(--line); }
  .flow { grid-template-columns: repeat(2, 1fr); gap: 40px 0; }
  .flow-step:nth-child(3) { border-left: none; padding-left: 0; }
}
@media (max-width: 880px) {
  .nav { gap: 14px; padding: 11px 16px; }
  .nav-links { display: none; }
  .nav-burger { display: grid; }
  /* the capsule's primary CTA lives in the drawer on mobile to avoid crowding */
  .nav-right .btn--primary { display: none; }
  .hero { min-height: 0; padding-top: clamp(96px, 22vw, 124px); padding-bottom: clamp(48px, 9vw, 72px); }
  .hero-grid { grid-template-columns: 1fr; gap: clamp(34px, 8vw, 52px); }
  .hero-visual { display: block; }            /* keep the product card, stacked under the copy */
  .feature, .cta-grid, .problem-foot { grid-template-columns: 1fr; }
  .feature { gap: clamp(34px, 7vw, 56px); }
  .feature--rev .feature-copy { order: 1; } .feature--rev .feature-visual { order: 2; }
  .persona-grid { grid-template-columns: 1fr; }
  .persona { border-left: none; }
  .persona:nth-child(odd) { border-left: none; }
  .roadmap { grid-template-columns: 1fr; }
  .road { border-left: none; border-top: .5px solid var(--line); padding: 30px 0 34px; }
  .road:first-child { border-top: none; padding-top: 0; }
  .hero-scroll { display: none; }
  .section { padding-block: clamp(56px, 12vw, 96px); }
  .ghost-num { font-size: clamp(96px, 30vw, 180px); }
}
@media (max-width: 560px) {
  body { font-size: 16px; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat { border-left: none !important; border-top: .5px solid var(--line); padding: 38px var(--gutter); }
  .stat:first-child { border-top: none; }
  .stat .num { font-size: clamp(64px, 20vw, 96px); }
  .flow { grid-template-columns: 1fr; gap: 30px 0; margin-top: 40px; }
  .flow-step { border-left: none; padding-left: 0; }
  .quote-block .q { font-size: clamp(26px, 7vw, 34px); }
  .hero h1 { font-size: clamp(42px, 13vw, 68px); }
  .nav .brand .word { font-size: 19px; }
  .mock-body { padding: 16px; }
}

/* nav mobile drawer */
.mobile-nav { position: fixed; inset: 0; z-index: 99; background: color-mix(in oklab, var(--bg) 96%, transparent); -webkit-backdrop-filter: blur(20px); backdrop-filter: blur(20px); display: none; flex-direction: column; justify-content: center; gap: 6px; padding: var(--gutter); }
.mobile-nav.open { display: flex; }
.mobile-nav a { font-family: var(--font-display); font-size: 30px; color: var(--fg1); padding: 12px 0; border-bottom: .5px solid var(--line); }
.mobile-nav .btn { margin-top: 28px; align-self: flex-start; }
.mobile-nav .mclose { position: absolute; top: 22px; right: var(--gutter); background: transparent; color: var(--fg2); font-size: 28px; border: none; }

/* ============================================================
   ACTIVE SECTION (scroll-spy)
   ============================================================ */
.nav-links a.active { color: var(--fg1); }
.nav-links a.active::after { transform: scaleX(1); }

/* ============================================================
   COMING-SOON TAG
   ============================================================ */
.soon-tag { margin-top: 26px; display: inline-flex; align-items: center; gap: 10px; font-size: 12px; font-weight: 600; letter-spacing: 1.6px; text-transform: uppercase; color: var(--fg3); }
.soon-dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); animation: soonPulse 2s ease-in-out infinite; }
@keyframes soonPulse { 0%,100% { opacity: .4; transform: scale(.82); } 50% { opacity: 1; transform: scale(1); } }
@media (prefers-reduced-motion: reduce){ .soon-dot { animation: none; } }

/* ============================================================
   FINAL CTA — narrowed + tighter bottom
   ============================================================ */
.cta-final { padding-top: clamp(64px, 8vw, 116px); padding-bottom: clamp(34px, 4vw, 56px); }
.cta-narrow { max-width: 760px; }
.footer-link-btn { font-family: var(--font-sans); font-size: 13px; font-weight: 500; color: var(--fg3); background: transparent; border: none; padding: 0; cursor: pointer; }
.footer-link-btn:hover { color: var(--fg1); }
.footer { padding-top: 48px; }

/* ============================================================
   INTEREST FORM MODAL
   ============================================================ */
.modal { position: fixed; inset: 0; z-index: 1000; display: none; align-items: center; justify-content: center; padding: 20px; }
.modal.open { display: flex; }
.modal-scrim { position: absolute; inset: 0; background: color-mix(in oklab, var(--bg-deep) 62%, transparent); -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); }
.modal-card {
  position: relative; z-index: 1; width: 100%; max-width: 540px; max-height: calc(100vh - 40px); overflow-y: auto;
  background: var(--bg-card); border-radius: var(--r-2);
  box-shadow: var(--shadow-3), inset 0 0 0 .5px var(--line-strong);
  padding: clamp(28px, 4vw, 44px);
}
.modal-x { position: absolute; top: 16px; right: 18px; background: transparent; border: none; color: var(--fg3); font-size: 26px; line-height: 1; cursor: pointer; transition: color var(--dur) var(--ease); }
.modal-x:hover { color: var(--fg1); }
.modal-title { font-family: var(--font-display); font-size: clamp(26px, 3.4vw, 34px); color: var(--fg1); line-height: 1.08; margin-top: 16px; letter-spacing: -.4px; }
.modal-sub { margin-top: 14px; font-size: 15px; line-height: 1.55; color: var(--fg3); }
.modal-sub a { color: var(--fg1); text-decoration: underline; text-underline-offset: 2px; }
#interestForm { margin-top: 24px; display: flex; flex-direction: column; gap: 14px; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field { display: flex; flex-direction: column; gap: 7px; }
.field > span { font-size: 12px; font-weight: 500; letter-spacing: .3px; color: var(--fg3); }
.field > span em { font-style: normal; color: var(--fg4); font-weight: 400; }
.field input, .field textarea {
  font-family: var(--font-sans); font-size: 15px; color: var(--fg1);
  background: var(--bg-deep); border: none; border-radius: var(--r-1);
  padding: 12px 14px; box-shadow: inset 0 0 0 1px var(--line-strong);
  outline: none; transition: box-shadow var(--dur) var(--ease); resize: vertical;
}
.field input:focus, .field textarea:focus { box-shadow: inset 0 0 0 1.5px var(--purple-mid); }
.modal-submit { width: 100%; justify-content: center; margin-top: 6px; }
.modal-submit.is-sending { opacity: .65; pointer-events: none; }
.modal-submit:disabled { opacity: .65; cursor: default; }
.modal-fine { font-size: 12px; line-height: 1.5; color: var(--fg4); margin-top: -2px; }
.modal-success { text-align: center; display: flex; flex-direction: column; align-items: center; padding: 10px 0 6px; }
.modal-success .ms-mark { margin-bottom: 8px; }
.modal-success .ms-mark .dm { --dm-d: 10px; --dm-g: 7px; }
.modal-success .modal-sub { max-width: 40ch; }
.modal-success .btn { margin-top: 22px; }
@media (max-width: 480px){ .field-row { grid-template-columns: 1fr; } }
