/* ==========================================================================
   Sonar — marketing site
   The site is built out of the app's own components, so what a visitor sees
   here is what they get inside. Tokens and component behaviour are lifted
   from app/public/styles.css (v4) and Sonar-Brand-Package.

   Load-bearing rules, carried over verbatim from DESIGN.md §9.0 and BRAND.md:
     · SOLID EDGE = a person.  DASHED EDGE = a machine.  Dashed appears on
       five things only: twin avatar, twin badge, disclosure band, the answer's
       left rail, and unverified research. Never a sixth.
     · Amber means "you can act on this". One amber affordance per view.
       Labels, hallmarks and status are never amber. Escalation is --sky.
     · The lockup is monochrome currentColor, sized off --lk, never on a photo.
     · Inter Tight = display, Inter = UI. Instrument Sans is lockup-only and
       is never loaded — the shipping lockup is outlined to paths.
   ========================================================================== */

:root{
  --bg:#0A0A0A; --surface:#141312; --surface-2:#1B1A18; --surface-3:#232120; --surface-4:#2B2927;
  --line:rgba(250,250,250,.09); --line-strong:rgba(250,250,250,.16); --line-loud:rgba(250,250,250,.26);
  --paper:#FAFAFA; --text-2:#C9C9C7; --text-3:#8E8E8B; --text-4:#6B6A67;
  --amber:#F59E0B; --amber-hi:#FBBF3F; --amber-soft:rgba(245,158,11,.14); --amber-line:rgba(245,158,11,.38);
  --good:#4ADE80; --good-soft:rgba(74,222,128,.12); --good-line:rgba(74,222,128,.35);
  --sky:#7DD3FC; --sky-soft:rgba(125,211,252,.10); --sky-line:rgba(125,211,252,.35);

  /* v4 twin layer */
  --twin-edge:rgba(250,250,250,.34); --twin-edge-hi:rgba(250,250,250,.52);
  --twin-ground:#171614; --twin-hatch:rgba(250,250,250,.05);
  --viz-1:#C98001; --viz-2:#2A98AF; --viz-4:#8668B6;

  --display:"Inter Tight",system-ui,-apple-system,"Segoe UI",sans-serif;
  --ui:"Inter",system-ui,-apple-system,"Segoe UI",sans-serif;

  --lk-nav:30px; --lk-foot:26px;
  --r-sm:8px; --r-md:14px; --r-lg:18px; --r-pill:999px;
  --dur-1:120ms; --dur-2:180ms; --dur-3:260ms; --ease:cubic-bezier(.2,.7,.3,1);
  --tr-label:.13em;

  --shell:70rem; --measure:34rem; --bay:clamp(66px,7.5vw,116px);
  --gutter:2.5rem;            /* page gutter, tightened on small phones */
  --tap:44px;                 /* minimum comfortable touch target */
}
@media (max-width:26rem){:root{--gutter:2rem}}
@media (prefers-contrast:more){:root{--twin-edge:rgba(250,250,250,.52);--twin-edge-hi:rgba(250,250,250,.72)}}

*,*::before,*::after{box-sizing:border-box}
html{-webkit-text-size-adjust:100%;scroll-behavior:smooth;color-scheme:dark}
@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  *,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important}
  /* killing the transition still left the card jumping 2px on hover */
  .opt:hover,.adv:hover{transform:none!important}
}
body{margin:0;background:var(--bg);color:var(--paper);font-family:var(--ui);font-size:15px;line-height:1.55;-webkit-font-smoothing:antialiased}
img,svg,video{display:block;max-width:100%}
h1,h2,h3,h4{margin:0;font-family:var(--display);font-weight:700;line-height:1.16;letter-spacing:-.022em;text-wrap:balance}
p{margin:0}
a{color:inherit}
button{font:inherit;color:inherit}
/* Focus has to survive a near-black ground, so the ring is paper, not a
   hairline. It is never amber — amber is reserved for "you can act on this",
   and a focus ring says where you are, not what to press. */
:focus-visible{outline:2px solid var(--paper);outline-offset:3px;border-radius:4px}
::selection{background:var(--amber);color:var(--bg)}

/* ---------- layout ---------- */
.shell{width:min(100% - var(--gutter),var(--shell));margin-inline:auto}
.bay{padding-block:var(--bay)}
.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}
.rule{border:0;border-top:1px solid var(--line);margin:0}

/* ---------- type ---------- */
.eyebrow{font-size:11.5px;font-weight:600;letter-spacing:var(--tr-label);text-transform:uppercase;color:var(--text-3)}
.display{font-size:clamp(36px,2rem + 3.6vw,68px);font-weight:800;letter-spacing:-.032em}
/* Under ~364px the second line of the hero no longer fits and the display
   broke to three lines with a single word stranded on the last. Below that
   width it holds a little smaller so the break stays two-and-two. */
@media (max-width:22.75rem){.display{font-size:clamp(35px,1rem + 6.4vw,40px)}}
.title{font-size:clamp(26px,1.4rem + 1.7vw,40px);font-weight:700}
.sub{font-size:clamp(20px,1.1rem + .9vw,25px);font-weight:700}
.lede{font-size:clamp(16.5px,1rem + .3vw,19px);line-height:1.5;color:var(--text-2);font-weight:400;letter-spacing:-.006em;text-wrap:pretty}
/* Body copy is capped at a measure, not at its container: left unbounded the
   trust section ran to ~98 characters a line. */
.body-2{color:var(--text-2);max-width:var(--measure);text-wrap:pretty}
.small{font-size:12.5px;color:var(--text-3)}
.card .small{max-width:28rem}
.k{color:var(--paper);font-weight:600}

/* ---------- buttons ---------- */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;font-family:var(--ui);
  font-size:15px;font-weight:600;line-height:1;padding:.88rem 1.5rem;border-radius:var(--r-pill);
  border:1px solid transparent;text-decoration:none;cursor:pointer;
  transition:background-color var(--dur-2) var(--ease),border-color var(--dur-2) var(--ease),opacity var(--dur-2) var(--ease)}
.btn-primary{background:var(--amber);color:var(--bg)}
.btn-primary:hover{background:var(--amber-hi)}
.btn-primary:active{opacity:.88}
.btn-ghost{background:transparent;color:var(--paper);border-color:var(--line-strong)}
.btn-ghost:hover{border-color:var(--line-loud);background:var(--surface-2)}
.btn-sm{padding:.55rem 1.05rem;font-size:13.5px}
.btn:disabled{opacity:.45;cursor:not-allowed}
/* Touch: every button clears 44px. On a pointer device the small button keeps
   its compact chrome. */
@media (max-width:46rem){
  .btn{min-height:var(--tap)}
  .btn-sm{min-height:var(--tap);padding-inline:1.15rem}
}

/* ==========================================================================
   THE LOCKUP — BRAND.md §2/§3
   ========================================================================== */
.brand{--lk:var(--lk-nav);display:inline-flex;align-items:center;color:var(--paper);
  line-height:1;text-decoration:none;flex:none;transition:opacity var(--dur-1) var(--ease)}
.brand:hover{opacity:.82}
.brand .lockup{height:calc(var(--lk) * .7514);width:auto;flex:none}
.brand-foot{--lk:var(--lk-foot)}
@media (max-width:520px){.brand{--lk:26px}}

/* ---------- nav ---------- */
.nav{position:sticky;top:0;z-index:50;background:color-mix(in srgb,var(--bg) 88%,transparent);
  backdrop-filter:saturate(1.2) blur(14px);-webkit-backdrop-filter:saturate(1.2) blur(14px);
  border-bottom:1px solid transparent;transition:border-color var(--dur-3) var(--ease)}
.nav[data-scrolled="true"]{border-bottom-color:var(--line)}
.nav-in{display:flex;align-items:center;justify-content:space-between;gap:1.5rem;padding-block:1rem;flex-wrap:wrap;row-gap:.55rem}
.nav-links{display:flex;align-items:center;gap:1.7rem}
.nav-links a{font-size:14.5px;font-weight:500;color:var(--text-2);text-decoration:none;white-space:nowrap;transition:color var(--dur-2) var(--ease)}
.nav-links a:hover{color:var(--paper)}
.nav-links a.btn{font-size:13.5px;font-weight:600}
.nav-links a.btn-ghost,.nav-links a.btn-ghost:hover{color:var(--paper)}
.nav-links a.btn-primary,.nav-links a.btn-primary:hover{color:var(--bg)}
@media (max-width:54rem){.nav-links{gap:1.1rem}.nav-links .nav-hide-sm{display:none}}
/* Touch: the plain nav links are text, so they carry no box of their own —
   give them one 44px tall and take the height back off the bar. The :not()
   pair keeps this off the links the 54rem rule above has already hidden. */
@media (max-width:46rem){
  .nav-in{padding-block:.35rem}
  .nav-links a:not(.btn):not(.nav-hide-sm){display:inline-flex;align-items:center;min-height:var(--tap)}
  .nav-links a.btn{min-height:var(--tap)}
}
@media (max-width:34rem){
  .nav{position:static}
  .nav-in{gap:.5rem .75rem;padding-block:.3rem}
  .nav-links{gap:.2rem .9rem;flex-wrap:wrap}
  .nav-links a{font-size:13.5px}
  .nav-links a.btn{padding:.48rem .9rem;font-size:12.5px}
}

/* ---------- footer ---------- */
.foot{border-top:1px solid var(--line);background:var(--surface)}
.foot-in{display:flex;flex-wrap:wrap;gap:2rem 3rem;justify-content:space-between;padding-block:3rem 2.25rem}
.foot-brand{display:flex;flex-direction:column;gap:1rem}
.foot-tag{font-family:var(--display);font-weight:700;font-size:20px;letter-spacing:-.02em}
.foot-links{display:flex;flex-wrap:wrap;gap:.25rem 1.5rem;align-items:center}
.foot-links a{display:inline-flex;align-items:center;min-height:var(--tap);
  font-size:14px;color:var(--text-3);text-decoration:none;transition:color var(--dur-2) var(--ease)}
.foot-links a:hover{color:var(--paper)}
.foot-legal{border-top:1px solid rgba(250,250,250,.05);padding-block:1.1rem 1.5rem;font-size:12.5px;color:var(--text-4)}
@media (max-width:34rem){
  .foot-in{gap:1.25rem 2rem;padding-block:2.25rem 1.5rem}
  .foot-links{flex-direction:column;align-items:flex-start;gap:0}
}

/* ==========================================================================
   v4 TWIN LAYER — the human/machine channel
   ========================================================================== */
.tw-av{width:44px;height:44px;border-radius:50%;border:1.5px dashed var(--twin-edge);
  background:var(--twin-ground);display:grid;place-items:center;
  font-family:var(--display);font-weight:700;font-size:14px;color:var(--text-2);
  flex:none;position:relative}
.tw-av.is-person{border-style:solid;border-color:var(--line-loud);color:var(--paper)}
.tw-av.is-off{opacity:.6}
.tw-av.is-lg{width:58px;height:58px;font-size:18px}
.tw-av.is-sm{width:28px;height:28px;font-size:10px;border-width:1.2px}
.tw-av-tag{position:absolute;right:-3px;bottom:-3px;width:17px;height:17px;border-radius:50%;
  background:var(--surface-4);border:2px solid var(--bg);display:grid;place-items:center;color:var(--amber)}
.tw-av-tag svg{width:8px;height:8px}
.tw-av.is-sm .tw-av-tag{width:13px;height:13px;right:-2px;bottom:-2px}
.tw-av.is-sm .tw-av-tag svg{width:6px;height:6px}

.tw-badge{display:inline-flex;align-items:center;gap:6px;font-size:10.5px;font-weight:600;
  letter-spacing:.07em;text-transform:uppercase;color:var(--text-2);
  border:1px dashed var(--twin-edge);border-radius:var(--r-pill);padding:3px 9px}
.tw-badge .d{width:6px;height:6px;border-radius:50%;background:var(--amber);flex:none}
.tw-badge.is-reviewed{border-style:solid;border-color:var(--good-line);background:var(--good-soft);color:var(--good)}
.tw-badge.is-reviewed .d{background:var(--good)}
.tw-badge.is-person{border-style:solid;border-color:var(--line-loud);color:var(--paper)}
.tw-badge.is-person .d{background:var(--paper)}

/* the answer block: dashed left rail + a faint weave */
.tw-ans{border-left:2px dashed var(--twin-edge-hi);background:var(--twin-ground);
  background-image:repeating-linear-gradient(135deg,transparent 0 7px,var(--twin-hatch) 7px 8px);
  border-radius:0 var(--r-md) var(--r-md) 0;padding:15px 17px}
.tw-ans.is-person{border-left:2px solid var(--line-loud);background:var(--surface);background-image:none}
.tw-head{display:flex;align-items:center;gap:9px;margin-bottom:10px;flex-wrap:wrap}
.tw-body{font-size:15px;color:var(--paper);line-height:1.6}
.tw-body p + p{margin-top:.7em}
.tw-disc{margin-top:12px;padding-top:10px;border-top:1px dashed var(--twin-edge);font-size:12px;color:var(--text-3)}
.tw-ans.is-person .tw-disc{border-top-style:solid;border-top-color:var(--line)}
.cites{display:flex;flex-wrap:wrap;gap:6px;margin-top:10px}
.cite{font-size:11.5px;color:var(--text-3);border:1px solid var(--line);background:var(--surface);border-radius:var(--r-sm);padding:3px 9px}

/* the asker */
.msg-you{align-self:flex-end;max-width:80%;background:var(--surface-3);border:1px solid var(--line);
  border-radius:var(--r-md);border-bottom-right-radius:5px;padding:12px 15px;font-size:14.5px;color:var(--text-2)}

/* escalation — --sky, the door hue. Never amber: nothing to act on. */
.esc{border:1px solid var(--sky-line);background:var(--sky-soft);border-radius:var(--r-md);padding:14px 16px}
.esc-h{display:flex;align-items:center;gap:8px;font-size:11px;font-weight:600;letter-spacing:.1em;
  text-transform:uppercase;color:var(--sky);margin-bottom:8px}
.esc-b{font-size:15px;color:var(--paper)}
.esc-w{font-size:12.5px;color:var(--text-3);margin-top:9px}

.thread{display:flex;flex-direction:column;gap:14px}

/* ==========================================================================
   OPTION CARDS — the core pattern. Cards load the prompt; they never answer.
   ========================================================================== */
.opts{display:grid;gap:14px}
/* Three, or one. auto-fit used to land on two-plus-an-orphan anywhere between
   about 440px and 730px; the third card was left hanging on its own row. */
.opts-3{grid-template-columns:minmax(0,1fr)}
@media (min-width:46rem){.opts-3{grid-template-columns:repeat(3,minmax(0,1fr))}}
.opts-adv{grid-template-columns:repeat(auto-fit,minmax(min(16rem,100%),1fr))}

.opt{display:block;width:100%;text-align:left;border:1px solid var(--line);border-radius:var(--r-md);
  overflow:hidden;background:var(--surface);cursor:pointer;
  transition:border-color var(--dur-2) var(--ease),background-color var(--dur-2) var(--ease),transform var(--dur-2) var(--ease)}
@media (hover:hover){
  .opt:hover{border-color:var(--line-strong);background:var(--surface-2);transform:translateY(-2px)}
  .opt:hover .opt-go{color:var(--amber)}
}
.opt:focus-visible{border-color:var(--line-loud)}
.opt:active{background:var(--surface-2)}
/* these live inside a <button>, so they must be told to be blocks —
   an inline span ignores aspect-ratio, overflow and margin-top. */
.opt-img,.opt-b,.opt-k,.opt-t,.opt-go{display:block}
/* The source frames are square; the box crops them. Absolute fill so the
   picture can also stretch to a text-driven height in the phone layout. */
.opt-img{position:relative;aspect-ratio:16/10;overflow:hidden;background:var(--surface-3)}
.opt-img img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.opt-b{padding:13px 14px 15px}
.opt-k{font-size:10px;font-weight:600;letter-spacing:.11em;text-transform:uppercase;color:var(--text-4)}
.opt-t{font-size:14px;color:var(--paper);margin-top:5px;line-height:1.42;text-wrap:pretty}
.opt-go{font-size:11.5px;color:var(--text-3);margin-top:10px;font-weight:600;transition:color var(--dur-2) var(--ease)}
/* Phone: a stacked 16/10 photo cost ~180px of scroll per card before a word of
   the question appeared. Side by side, all three fit in about half the height. */
@media (max-width:45.99rem){
  .opts-3{gap:12px}
  .opt{display:flex;align-items:stretch}
  .opt-img{flex:none;width:clamp(5rem,26%,8rem);aspect-ratio:auto;align-self:stretch}
  .opt-b{flex:1;min-width:0;padding:12px 14px 13px;align-self:center}
}
/* Side by side the cards are equal height but the questions are not, which
   left "Ask" floating at three different heights. Pin it to the bottom. */
@media (min-width:46rem){
  .opt{display:flex;flex-direction:column}
  .opt-b{display:flex;flex-direction:column;flex:1}
  .opt-go{margin-top:auto;padding-top:12px}
}

/* advisor card — held back until advisors are ready to show */
.adv{display:flex;gap:13px;align-items:flex-start;width:100%;text-align:left;
  border:1px solid var(--line);border-radius:var(--r-md);background:var(--surface);padding:16px;cursor:pointer;
  transition:border-color var(--dur-2) var(--ease),background-color var(--dur-2) var(--ease),transform var(--dur-2) var(--ease)}
@media (hover:hover){.adv:hover{border-color:var(--line-strong);background:var(--surface-2);transform:translateY(-2px)}}
.adv:focus-visible{border-color:var(--line-loud)}
.adv-n{font-size:15px;font-weight:600;letter-spacing:-.01em}
.adv-r{font-size:12.5px;color:var(--text-3);margin-top:2px}
.adv-t{font-size:12.5px;color:var(--text-2);margin-top:8px}
.adv-t.is-pending{color:var(--text-4)}
.adv-f{font-size:11.5px;color:var(--text-4);margin-top:9px;display:flex;align-items:center;gap:6px}
.adv[aria-pressed="true"]{border-color:var(--amber-line);background:var(--amber-soft)}

/* ---------- the prompt ---------- */
.prompt-wrap{max-width:44rem;margin-inline:auto}
.prompt{display:flex;align-items:flex-end;gap:10px;background:var(--surface-2);
  border:1px solid var(--line-strong);border-radius:var(--r-md);padding:12px 12px 12px 16px;
  transition:border-color var(--dur-2) var(--ease)}
.prompt:focus-within{border-color:var(--line-loud)}
/* The textarea's own ring is suppressed so the whole field reads as one
   control; put the ring back on the field itself for keyboard users. */
.prompt:has(textarea:focus-visible){outline:2px solid var(--paper);outline-offset:3px}
.prompt textarea{flex:1;min-width:0;background:none;border:0;resize:none;color:var(--paper);
  font-family:var(--ui);font-size:16px;line-height:1.5;padding:5px 0;max-height:9rem;outline:none}
.prompt textarea::placeholder{color:var(--text-4)}
.prompt-send{width:36px;height:36px;border-radius:var(--r-sm);background:var(--amber);color:var(--bg);
  border:0;display:grid;place-items:center;flex:none;cursor:pointer;transition:background-color var(--dur-2) var(--ease)}
.prompt-send:hover:not(:disabled){background:var(--amber-hi)}
.prompt-note{font-size:12px;color:var(--text-4);margin-top:9px;text-align:center}
/* Touch: the one amber affordance on this view has to be reachable with a
   thumb, so it grows to 44px and the field grows with it. */
@media (max-width:46rem){
  .prompt{padding:10px 10px 10px 14px;gap:8px}
  .prompt-send{width:var(--tap);height:var(--tap);border-radius:10px}
}
.scoped{display:inline-flex;align-items:center;gap:7px;font-size:12px;color:var(--text-2);
  background:var(--surface-3);border:1px solid var(--line);border-radius:var(--r-pill);padding:4px 12px;
  max-width:100%;text-align:left}
.scoped .x{color:var(--text-4);font-weight:700;cursor:pointer}
.scoped .x:hover{color:var(--paper)}

/* ---------- app mockup chrome ---------- */
.mock{border:1px solid var(--line-strong);border-radius:var(--r-lg);overflow:hidden;
  background:var(--bg);box-shadow:0 22px 64px rgba(0,0,0,.5)}
.mock-bar{display:flex;align-items:center;gap:7px;padding:10px 14px;background:var(--surface-2);border-bottom:1px solid var(--line)}
.mock-dot{width:9px;height:9px;border-radius:50%;background:var(--surface-4)}
.mock-url{margin-left:10px;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;
  font-size:11.5px;color:var(--text-4);font-family:ui-monospace,Menlo,monospace}
.mock-body{display:grid;grid-template-columns:186px minmax(0,1fr);min-height:22rem}
.mock-side{background:var(--surface);border-right:1px solid var(--line);padding:15px 11px;display:flex;flex-direction:column;gap:3px}
.mock-side-brand{display:flex;align-items:center;gap:7px;padding:2px 8px 15px}
.mock-side-brand span{font-family:var(--display);font-weight:700;font-size:15px;letter-spacing:-.02em}
.mock-role{font-size:10px;font-weight:600;letter-spacing:.12em;text-transform:uppercase;color:var(--text-4);padding:8px 8px 6px}
.mock-link{display:flex;align-items:center;justify-content:space-between;gap:8px;padding:7px 9px;border-radius:var(--r-sm);font-size:13px;color:var(--text-3)}
.mock-link.on{background:var(--surface-3);color:var(--paper);font-weight:500}
.mock-badge{font-size:10.5px;background:var(--amber-soft);color:var(--amber);border:1px solid var(--amber-line);border-radius:var(--r-pill);padding:1px 7px}
.mock-badge.sky{background:var(--sky-soft);color:var(--sky);border-color:var(--sky-line)}
.mock-main{padding:26px 24px 30px;min-width:0}
/* Below 46rem the rail cannot hold its width. Hiding it left the panel looking
   like a screenshot cropped in half — no product name, no idea whose screen
   this is — so it lies down into a header strip instead and keeps every word.
   (It also has to come after the base .mock-side rule: equal specificity, and
   the base rule used to win.) */
@media (max-width:45.99rem){
  .mock-body{grid-template-columns:minmax(0,1fr)}
  .mock-side{flex-direction:row;flex-wrap:wrap;align-items:center;gap:5px 9px;
    border-right:0;border-bottom:1px solid var(--line);padding:11px 13px}
  .mock-side-brand{padding:0;margin-right:1px}
  .mock-role{padding:0;margin-right:2px}
  .mock-link{padding:5px 9px;font-size:12.5px;gap:6px}
  .mock-main{padding:20px 16px 24px}
}
@media (max-width:26rem){
  .mock-main{padding:18px 13px 22px}
  .mock-side{padding:10px}
}

/* box + record rows, reused from the app */
.tabs{display:flex;gap:2px;border-bottom:1px solid var(--line);margin:16px 0 14px;flex-wrap:wrap}
.tab{font-size:13px;padding:8px 13px;color:var(--text-3);border-bottom:2px solid transparent}
.tab.on{color:var(--paper);border-bottom-color:var(--amber);font-weight:600}
@media (max-width:45.99rem){.tabs{gap:0}.tab{font-size:12.5px;padding:8px 10px}}
@media (max-width:26rem){.tab{padding:8px 7px}}
.row{display:grid;grid-template-columns:3px minmax(0,1fr) auto;gap:12px;align-items:center;padding:11px 0;border-bottom:1px solid var(--line)}
.row:last-child{border-bottom:0}
/* rows without the coloured spine (escalations, full record) */
.row-2{grid-template-columns:minmax(0,1fr) auto}
@media (max-width:26rem){
  .row-2{grid-template-columns:minmax(0,1fr);row-gap:8px}
  .row-2 > .st{justify-self:start}
}
.row-t{font-size:13.5px}
.row-m{font-size:11.5px;color:var(--text-4);margin-top:2px}
.spine{width:3px;height:34px;border-radius:2px}
.s-up{background:var(--viz-1)}.s-link{background:var(--viz-2)}.s-paste{background:var(--viz-4)}.s-res{background:var(--twin-edge)}
.unver{font-size:10px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:var(--text-3);
  border:1px dashed var(--twin-edge);border-radius:var(--r-pill);padding:2px 8px;white-space:nowrap}
.st{font-size:10.5px;font-weight:600;letter-spacing:.07em;text-transform:uppercase;padding:2px 8px;border-radius:var(--r-pill);white-space:nowrap}
.st-sent{color:var(--good);background:var(--good-soft);border:1px solid var(--good-line)}
.st-esc{color:var(--sky);background:var(--sky-soft);border:1px solid var(--sky-line)}
.st-draft{color:var(--text-3);background:var(--surface-2);border:1px solid var(--line-strong)}

/* ---------- generic ---------- */
.card{background:var(--surface);border:1px solid var(--line);border-radius:var(--r-lg)}
.pad{padding:22px 24px}
@media (max-width:34rem){.pad{padding:18px 16px}}
/* min() on the track floor: a bare 19rem minimum is wider than a 320px phone
   and pushed every card 24px past the viewport. */
.grid2{display:grid;gap:18px;grid-template-columns:repeat(auto-fit,minmax(min(19rem,100%),1fr))}
.stack{display:flex;flex-direction:column}
.g-sm{gap:.6rem}.g-md{gap:1.1rem}.g-lg{gap:1.9rem}

/* ---------- the numbers ----------
   Three figures, never two-and-a-spare. One column on a phone with a hairline
   between each so they read as a set; two with the third spanning in the
   middle band; three abreast once "$100B+" fits its track at full size. */
.stats{display:grid;grid-template-columns:minmax(0,1fr);gap:0}
.stat{padding-block:clamp(20px,3.2vw,26px)}
.stat + .stat{border-top:1px solid var(--line)}
.stat:first-child{padding-top:0}
.stat:last-child{padding-bottom:0}
@media (min-width:34rem){
  .stats{grid-template-columns:repeat(2,minmax(0,1fr));column-gap:clamp(26px,3.5vw,44px)}
  .stat{padding-block:0}
  .stat + .stat{border-top:0}
  .stat:nth-child(2){padding-left:clamp(26px,3.5vw,44px);border-left:1px solid var(--line)}
  .stat:nth-child(3){grid-column:1/-1;border-top:1px solid var(--line);
    margin-top:clamp(26px,3.5vw,40px);padding-top:clamp(26px,3.5vw,40px)}
}
@media (min-width:64rem){
  .stats{grid-template-columns:repeat(3,minmax(0,1fr))}
  .stat:nth-child(3){grid-column:auto;border-top:0;margin-top:0;padding-top:0;
    padding-left:clamp(26px,3.5vw,44px);border-left:1px solid var(--line)}
}
.stat-n{font-family:var(--display);font-weight:800;letter-spacing:-.04em;
  font-size:clamp(44px,2.2rem + 3.4vw,76px);line-height:1;color:var(--paper);font-variant-numeric:tabular-nums}
.stat-l{font-size:15.5px;color:var(--text-2);margin-top:14px;max-width:20rem;line-height:1.5;text-wrap:pretty}
.stat-c{font-size:13.5px;color:var(--text-3);margin-top:8px}

/* ---------- reveal ---------- */
@media (prefers-reduced-motion:no-preference){
  html.js .reveal{opacity:0;transform:translateY(16px);transition:opacity .65s var(--ease),transform .65s var(--ease)}
  html.js .reveal.is-in{opacity:1;transform:none}
}
