/* STAS marketing site — the 15 Sep clinical restraint pass.

   Recreated from claude design/design_handoff_stas_marketing_site/ —
   the .dc.html prototypes are the pixel truth, this stylesheet is their
   inline styles lifted into classes. The six binding rules (README,
   "Design language"): hairlines not boxes · no shadows anywhere · radii
   stay, elevation goes · ONE mint moment per page (the primary
   conversion button; focus rings are the a11y exception) · no uppercase
   labels (JetBrains Mono 10.5/500 captions instead) · 600-weight display
   at eased negative tracking, never 700+ on a heading.

   Numbers are mono ("tnum" on body). Dark by default; [data-theme="light"]
   flips the scheme and the choice persists in localStorage under
   `stas-site-theme` (app.js). */

:root {
  --mint:          #02ab5f;
  --mint-text:     #1fc578;
  --mint-dim:      rgba(2, 171, 95, 0.14);
  --mint-border:   rgba(2, 171, 95, 0.32);
  --red:           #E53E3E;
  --sky:           #0EA5E9;
  --sky-text:      #38BDF8;
  --grad-start:    #04c06a;
  --grad-end:      #028a4c;

  --bg-app:        #3d3d3d;
  --bg-sidebar:    #343434;
  --bg-panel:      #454545;
  --bg-surface:    #4a4a4a;
  --bg-input:      #505050;
  --bg-hover:      #4f4f4f;
  --border:        #585858;
  --border-subtle: #4c4c4c;
  --text:          #F0F1F2;
  --text-muted:    #BFC2C5;
  --text-faint:    #6e6e6e;

  --font-sans: 'Inter', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, 'SF Mono', monospace;

  --radius-sm: 6px;
  --radius-md: 8px;
  --radius-lg: 10px;
  --radius-xl: 12px;
  --radius-2xl: 14px;
  --radius-pill: 999px;

  --ease: cubic-bezier(.4, 0, .2, 1);
  --dur-fast: 140ms;
  --dur-normal: 150ms;
  --dur-slow: 200ms;
}

[data-theme="light"] {
  --mint-text:     #02853f;
  --sky-text:      #0369A1;
  --bg-app:        #E9E9E9;
  --bg-sidebar:    #FFFFFF;
  --bg-panel:      #FFFFFF;
  --bg-surface:    #F7F8FA;
  --bg-input:      #F0F2F5;
  --bg-hover:      #F0F2F5;
  --border:        #CBD2DC;
  --border-subtle: #DCE2EA;
  --text:          #121820;
  --text-muted:    #4A5568;
  --text-faint:    #B8C4D0;
}

/* ── Base ─────────────────────────────────────────────── */

html { scroll-behavior: smooth; overflow-x: clip; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  overflow-x: clip;
  background: var(--bg-app);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: 14px;
  -webkit-font-smoothing: antialiased;
  font-feature-settings: "tnum" 1;
}

a { color: var(--text); text-decoration: none; }
a:hover { color: var(--text-muted); }
h1, h2, h3 { font-style: normal; overflow-wrap: anywhere; min-width: 0; text-wrap: pretty; }
figure { margin: 0; }
summary { list-style: none; cursor: pointer; }
summary::-webkit-details-marker { display: none; }
img { max-width: 100%; }
[hidden] { display: none !important; }
input[type="range"] { accent-color: var(--text-muted); }

button, input, select { font-family: var(--font-sans); }

:is(a, button, input, select, summary):focus-visible {
  outline: none;
  border-color: var(--mint);
  box-shadow: 0 0 0 3px var(--mint-dim);
  border-radius: var(--radius-sm);
}

@keyframes stasPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .35; transform: scale(.82); }
}

/* ── Primitives ───────────────────────────────────────── */

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 28px); }
.wrap-wide { max-width: 1240px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 32px); }

/* The mono caption that replaces every uppercase eyebrow. */
.cap {
  font-family: var(--font-mono);
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.01em;
  color: var(--text-muted);
}
.cap-block { display: block; margin-bottom: 12px; }
.cap-nowrap { white-space: nowrap; }

.mono-index { font-family: var(--font-mono); font-size: 11px; font-weight: 700; color: var(--text-muted); }

.banded {
  background: var(--bg-sidebar);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

/* Buttons. One mint moment per page — everything else ink or hairline. */
.btn { display: inline-flex; align-items: center; font-size: 13px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.btn-mint { padding: 12px 20px; border-radius: var(--radius-lg); background: var(--mint); color: #fff; border: 0; transition: filter var(--dur-normal) var(--ease); }
.btn-mint:hover { filter: brightness(1.06); color: #fff; }
.btn-outline { padding: 12px 20px; border-radius: var(--radius-lg); border: 1px solid var(--border); color: var(--text); background: transparent; transition: border-color var(--dur-normal) var(--ease), background var(--dur-normal) var(--ease); }
.btn-outline:hover { border-color: var(--text-muted); background: var(--bg-hover); color: var(--text); }
.btn-outline-strong { border-color: var(--text-muted); }

/* Figure frame for screenshots. */
.shot-frame { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; background: var(--bg-panel); }
.shot-frame img { display: block; width: 100%; height: auto; border: 1px solid var(--border); }
.shot-tall { overflow: hidden; }
.shot-tall img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: top; border: 1px solid var(--border); }
figcaption { margin: 10px 0 0; font-size: 11.5px; color: var(--text-muted); }

/* Browser chrome bar on Features frames. */
.browser-frame { border-radius: var(--radius-2xl); border: 1px solid var(--border); background: var(--bg-panel); overflow: hidden; }
.browser-bar { display: flex; align-items: center; gap: 8px; padding: 9px 12px; border-bottom: 1px solid var(--border); background: var(--bg-surface); }
.browser-bar .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--text-faint); }
.browser-bar .url { margin-left: 8px; padding: 3px 10px; border-radius: var(--radius-pill); background: var(--bg-input); font-family: var(--font-mono); font-size: 10px; color: var(--text-muted); }
.browser-frame > img { display: block; width: 100%; height: auto; border: 1px solid var(--border); }

/* Phone bezel on Features tall shots. */
.phone-bezel { max-width: 300px; padding: 10px; border-radius: 38px; background: #101010; border: 1px solid #262626; }
.phone-bezel .screen { overflow: hidden; border-radius: 30px; }

/* ── Nav (shared chrome, N1b) ─────────────────────────── */

.site-nav { position: sticky; top: 0; z-index: 60; background: var(--bg-sidebar); border-bottom: 1px solid var(--border); font-family: var(--font-sans); }
.site-nav .bar { max-width: 1200px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 28px); min-height: 64px; display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.site-nav .lockup { display: flex; align-items: center; gap: 10px; flex: none; padding: 9px 0; }
.site-nav .lockup img { height: 28px; width: auto; display: block; }
.site-nav .lockup .word { display: flex; flex-direction: column; line-height: 1; }
.site-nav .lockup .word .name { font-size: 16px; font-weight: 600; letter-spacing: -0.3px; color: var(--text); }
.site-nav .lockup .word .tag { font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.01em; color: var(--text-muted); margin-top: 3px; white-space: nowrap; }
.site-nav nav { margin-left: auto; display: flex; align-items: center; gap: 2px; flex-wrap: wrap; }
.site-nav nav a { padding: 8px 10px; border-radius: var(--radius-sm); font-size: 12.5px; font-weight: 500; color: var(--text-muted); white-space: nowrap; transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease); }
.site-nav nav a:hover { color: var(--text); background: var(--bg-hover); }
.site-nav nav a[aria-current="page"] { color: var(--text); }
.site-nav .actions { display: flex; align-items: center; gap: 8px; flex: none; padding: 9px 0; }
.theme-toggle { width: 34px; height: 34px; display: inline-flex; align-items: center; justify-content: center; border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--bg-surface); color: var(--text-muted); cursor: pointer; font-family: var(--font-mono); font-size: 13px; font-weight: 700; transition: color 160ms var(--ease), border-color 160ms var(--ease); }
.theme-toggle:hover { color: var(--text); border-color: var(--text-muted); }
.nav-ghost { padding: 9px 12px; border-radius: var(--radius-sm); border: 1px solid var(--border); font-size: 12px; font-weight: 600; color: var(--text); white-space: nowrap; }
.nav-ghost:hover { background: var(--bg-hover); color: var(--text); }
.nav-ink { padding: 9px 16px; border-radius: var(--radius-sm); background: var(--text); color: var(--bg-app); font-size: 12px; font-weight: 600; letter-spacing: -0.01em; white-space: nowrap; transition: background 160ms var(--ease); }
.nav-ink:hover { background: var(--text-muted); color: var(--bg-app); }

/* ── Shared footer (Ft5 utility, sub-pages) ───────────── */

.site-footer { border-top: 1px solid var(--border); background: var(--bg-app); font-family: var(--font-sans); }
.site-footer .cols { max-width: 1200px; margin: 0 auto; padding: clamp(28px, 4vw, 44px) clamp(16px, 3vw, 28px); display: flex; gap: 24px; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; }
.site-footer .about { max-width: 280px; }
.site-footer .about .lockup { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.site-footer .about img { height: 22px; width: auto; display: block; }
.site-footer .about .name { font-size: 15px; font-weight: 600; letter-spacing: -0.3px; color: var(--text); }
.site-footer .about p { margin: 0; font-size: 12px; line-height: 1.55; color: var(--text-muted); }
.site-footer .groups { display: flex; gap: clamp(24px, 4vw, 56px); flex-wrap: wrap; }
.site-footer .group { display: grid; gap: 9px; }
.site-footer .group a { font-size: 12.5px; color: var(--text-muted); }
.site-footer .group a:hover { color: var(--text); }
.site-footer .legal { border-top: 1px solid var(--border-subtle); }
.site-footer .legal .row { max-width: 1200px; margin: 0 auto; padding: 14px clamp(16px, 3vw, 28px); display: flex; gap: 16px; flex-wrap: wrap; justify-content: space-between; }
.site-footer .legal span { font-size: 11px; color: var(--text-muted); }

/* ── Landing statement footer ─────────────────────────── */

.statement-footer { border-top: 1px solid var(--border); background: var(--bg-app); }
.statement-footer .statement { max-width: 1240px; margin: 0 auto; padding: clamp(36px, 5vw, 64px) clamp(16px, 3vw, 32px) clamp(24px, 3vw, 36px); }
.statement-footer .statement p { margin: 0; font-size: clamp(20px, 2.6vw, 30px); font-weight: 600; line-height: 1.15; letter-spacing: -1.1px; color: var(--text); max-width: 26ch; text-wrap: pretty; }
.statement-footer .utility { border-top: 1px solid var(--border-subtle); }
.statement-footer .utility .row { max-width: 1240px; margin: 0 auto; padding: 16px clamp(16px, 3vw, 32px); display: flex; gap: 16px 24px; flex-wrap: wrap; align-items: center; }
.statement-footer .utility .lockup { display: flex; align-items: center; gap: 8px; flex: none; }
.statement-footer .utility .lockup img { height: 18px; width: auto; display: block; }
.statement-footer .utility .lockup span { font-size: 12px; font-weight: 600; letter-spacing: -0.3px; color: var(--text); }
.statement-footer .utility .links { display: flex; gap: 18px; flex-wrap: wrap; }
.statement-footer .utility .links a { font-size: 12px; color: var(--text-muted); white-space: nowrap; }
.statement-footer .utility .links a:hover { color: var(--text); }
.statement-footer .utility .copyright { margin-left: auto; font-size: 11px; color: var(--text-muted); white-space: nowrap; }

/* ── Type roles ───────────────────────────────────────── */

.h1-landing { margin: 0; font-size: clamp(34px, 4.6vw, 56px); font-weight: 600; line-height: 1.03; letter-spacing: -1.9px; color: var(--text); max-width: 20ch; }
.h1-sub { margin: 0; font-size: clamp(32px, 4.4vw, 54px); font-weight: 600; line-height: 1.03; letter-spacing: -1px; color: var(--text); }
.h2-section { margin: 0; font-size: clamp(25px, 2.9vw, 36px); font-weight: 600; line-height: 1.08; letter-spacing: -0.7px; color: var(--text); }
.h2-feature { margin: 0; font-size: clamp(24px, 2.8vw, 34px); font-weight: 600; line-height: 1.08; letter-spacing: -1.1px; color: var(--text); }
.h2-minor { margin: 0; font-size: clamp(23px, 2.5vw, 31px); font-weight: 600; line-height: 1.1; letter-spacing: -0.6px; color: var(--text); }
.h2-cta { margin: 0; font-size: clamp(26px, 3.2vw, 40px); font-weight: 600; line-height: 1.06; letter-spacing: -0.8px; color: var(--text); }
.lead { font-size: clamp(15px, 1.4vw, 17px); line-height: 1.55; color: var(--text-muted); }

/* ── Landing: hero ────────────────────────────────────── */

.hero { display: flex; flex-wrap: wrap; gap: clamp(28px, 4vw, 56px); align-items: flex-end; }
.hero-copy { flex: 1 1 380px; min-width: 0; }
.hero-figure { flex: 1 1 460px; min-width: 0; }
.eyebrow-rule { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; }
.eyebrow-rule .rule { width: 16px; height: 1px; background: var(--text-muted); }
.hero-form { margin: 28px 0 0; display: flex; gap: 10px; flex-wrap: wrap; max-width: 500px; }
.hero-form input { flex: 1 1 210px; min-width: 0; padding: 12px 14px; font-size: 13.5px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg-input); color: var(--text); }
.hero-form input::placeholder { color: var(--text-faint); }
.hero-form input:focus-visible { border-color: var(--mint); box-shadow: 0 0 0 3px var(--mint-dim); }
.hero-fine { margin: 13px 0 0; font-size: 12px; color: var(--text-muted); }
.hero-stats { margin: 24px 0 0; display: flex; gap: 26px; flex-wrap: wrap; }
.hero-stats .stat { display: flex; flex-direction: column; gap: 3px; }
.hero-stats .stat .value { font-family: var(--font-mono); font-size: 19px; font-weight: 700; color: var(--text); }
.hero-stats .stat .label { font-size: 11px; color: var(--text-muted); }

/* ── Landing: ruled strips ────────────────────────────── */

/* Flex, not grid + 1px gap, so partly-filled rows never expose a seam. */
.ruled-strip { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); display: flex; flex-wrap: wrap; }
.ruled-strip > div { flex: 1 1 240px; padding: 20px 22px; min-width: 0; background: var(--bg-app); }
.ruled-strip > div + div { border-left: 1px solid var(--border-subtle); }
.ruled-strip p { margin: 9px 0 0; font-size: 13.5px; line-height: 1.5; color: var(--text); }

.two-col { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: clamp(28px, 4vw, 56px); align-items: start; }

.ruled-rows { display: grid; min-width: 0; }
.ruled-row { display: grid; grid-template-columns: auto 1fr; gap: 6px 18px; padding: 18px 0; border-top: 1px solid var(--border); }
.ruled-row:last-child { border-bottom: 1px solid var(--border); }
.ruled-row h3 { margin: 0; font-size: 15px; font-weight: 600; letter-spacing: -0.3px; color: var(--text); }
.ruled-row p { margin: 7px 0 0; font-size: 13px; line-height: 1.55; color: var(--text-muted); }
.ruled-row .idx { padding-top: 2px; }
.live-chip { display: inline-flex; align-items: center; gap: 5px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.01em; color: var(--red); }
.live-chip .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--red); animation: stasPulse 1.8s var(--ease) infinite; }
.chip-row { display: flex; gap: 6px; flex-wrap: wrap; }

/* ── Landing: product tour ────────────────────────────── */

.tour-head { display: flex; gap: 20px; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; margin-bottom: clamp(22px, 3vw, 32px); }
.tour-tabs-scroll { flex: 0 1 auto; min-width: 0; max-width: 100%; overflow-x: auto; }
.tour-tabs { display: inline-flex; border: 1px solid var(--border); border-radius: var(--radius-pill); overflow: hidden; }
.tour-tabs button { padding: 9px 15px; border: 0; background: transparent; color: var(--text-muted); font-family: var(--font-sans); font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap; transition: color var(--dur-fast) var(--ease), background var(--dur-fast) var(--ease); }
.tour-tabs button + button { border-left: 1px solid var(--border); }
.tour-tabs button:hover { color: var(--text); }
.tour-tabs button[aria-selected="true"] { background: var(--text); color: var(--bg-app); }
.tour-body { display: flex; flex-wrap: wrap; gap: clamp(24px, 4vw, 48px); align-items: flex-start; }
.tour-figure { min-width: 0; }
.tour-figure.wide { flex: 1 1 520px; }
.tour-figure.narrow { flex: 0 1 360px; }
.tour-copy { flex: 1 1 320px; min-width: 0; }
.tour-copy h3 { margin: 0; font-size: clamp(19px, 2.1vw, 25px); font-weight: 600; line-height: 1.15; letter-spacing: -0.8px; color: var(--text); }
.tour-copy .body { margin: 14px 0 0; font-size: 14.5px; line-height: 1.6; color: var(--text-muted); max-width: 46ch; text-wrap: pretty; }
.tour-points { margin: 20px 0 0; border-top: 1px solid var(--border); }
.tour-points div { padding: 13px 0; border-bottom: 1px solid var(--border-subtle); font-size: 13px; line-height: 1.5; color: var(--text-muted); }
.tour-nav { margin: 22px 0 0; display: flex; gap: 8px; align-items: center; }
.tour-nav button { width: 34px; height: 34px; border-radius: var(--radius-md); border: 1px solid var(--border); background: var(--bg-surface); color: var(--text-muted); cursor: pointer; font-family: var(--font-mono); font-size: 13px; transition: color 160ms var(--ease), border-color 160ms var(--ease); }
.tour-nav button:hover { color: var(--text); border-color: var(--text-muted); }
.tour-nav .index { font-family: var(--font-mono); font-size: 11px; color: var(--text-muted); margin-left: 6px; }

/* ── Landing: stats rows / audiences / pricing strip ──── */

.data-rows .head { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding-bottom: 11px; border-bottom: 1px solid var(--border); }
.data-rows .head .note { font-size: 11px; color: var(--text-muted); }
.data-rows .row { display: flex; align-items: baseline; justify-content: space-between; gap: 16px; padding: 15px 0; border-bottom: 1px solid var(--border-subtle); }
.data-rows .row:last-child { border-bottom: 1px solid var(--border); }
.data-rows .row .label { font-size: 13.5px; color: var(--text-muted); }
.data-rows .row .label small { color: var(--text-muted); font-size: 11.5px; }
.data-rows .row .value { font-family: var(--font-mono); font-size: 17px; font-weight: 700; color: var(--text); white-space: nowrap; }
.data-rows .row .value small { font-size: 12px; font-weight: 600; color: var(--text-muted); }
.data-rows .row .value.muted { color: var(--text-muted); }

.audience-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); gap: clamp(24px, 4vw, 48px); }
.audience-col { border-top: 1px solid var(--border); padding-top: 20px; min-width: 0; display: flex; flex-direction: column; }
.audience-col .title-row { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.audience-col h3 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -0.35px; color: var(--text); }
.audience-col .rows { margin: 16px 0 0; }
.audience-col .rows p { margin: 0; padding: 11px 0; border-top: 1px solid var(--border-subtle); font-size: 13px; line-height: 1.5; color: var(--text-muted); }
.audience-col .rows p:last-child { border-bottom: 1px solid var(--border-subtle); }
.audience-col .rows p.strong { color: var(--text); }
.audience-col .link { margin-top: auto; padding-top: 20px; }
.audience-col .link a { font-size: 13px; font-weight: 600; white-space: nowrap; }

.price-strip > div { padding: 24px 22px; }
.price-strip .featured { background: var(--bg-surface); }
.price-strip .price-line { margin: 12px 0 0; display: flex; align-items: baseline; gap: 6px; }
.price-strip .price-line .from { font-size: 13px; color: var(--text-muted); }
.price-strip .price-line .figure { font-family: var(--font-mono); font-size: 30px; font-weight: 700; letter-spacing: -0.75px; color: var(--text); }
.price-strip .price-line .figure-sans { font-size: 30px; font-weight: 600; letter-spacing: -0.75px; color: var(--text); }
.price-strip .price-line .unit { font-size: 12px; color: var(--text-muted); }
.price-strip p { margin: 10px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--text-muted); }

/* ── Landing: data handling / FAQ / team ──────────────── */

.icon-rows { min-width: 0; border-top: 1px solid var(--border); }
.icon-row { padding: 17px 0; border-bottom: 1px solid var(--border-subtle); display: flex; gap: 16px; min-width: 0; }
.icon-row:last-child { border-bottom: 1px solid var(--border); }
.icon-row .glyph { flex: none; width: 30px; height: 30px; border-radius: var(--radius-md); background: var(--bg-surface); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-muted); }
.icon-row h3 { margin: 0; font-size: 14px; font-weight: 700; color: var(--text); }
.icon-row p { margin: 6px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--text-muted); }

.faq-ruled { min-width: 0; border-top: 1px solid var(--border); }
.faq-ruled details { border-bottom: 1px solid var(--border-subtle); padding: 15px 0; }
.faq-ruled details:last-child { border-bottom: 1px solid var(--border); }
.faq-ruled summary { font-size: 14px; font-weight: 700; color: var(--text); }
.faq-ruled details p { margin: 10px 0 0; font-size: 13px; line-height: 1.6; color: var(--text-muted); max-width: 56ch; }

.team-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.team-card { border: 1px dashed var(--border); border-radius: var(--radius-lg); padding: 20px; min-width: 0; }
.team-card .title-row { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; }
.team-card h3 { margin: 0; font-size: 14.5px; font-weight: 600; color: var(--text); }
.team-card p { margin: 8px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--text-muted); }

/* ── Waitlist forms ───────────────────────────────────── */

.waitlist-panel { border-radius: var(--radius-xl); border: 1px solid var(--border); background: var(--bg-panel); padding: clamp(20px, 3vw, 26px); display: grid; gap: 16px; }
.field .label { display: block; margin-bottom: 7px; font-family: var(--font-mono); font-size: 10.5px; font-weight: 500; letter-spacing: 0.01em; color: var(--text-muted); }
.field input, .field select { width: 100%; box-sizing: border-box; padding: 10px 12px; font-size: 13px; border-radius: var(--radius-sm); border: 1px solid var(--border); background: var(--bg-input); color: var(--text); }
.field input::placeholder { color: var(--text-faint); }
.field :is(input, select):focus-visible { border-color: var(--mint); box-shadow: 0 0 0 3px var(--mint-dim); }
.form-note { margin: 0; font-size: 12px; line-height: 1.5; color: var(--text-muted); }
.form-note.bad { color: var(--red); }

.success-panel { border-radius: var(--radius-xl); border: 1px solid var(--border); background: var(--bg-surface); padding: clamp(22px, 3vw, 30px); }
.success-panel .head { display: flex; align-items: center; gap: 12px; }
.success-panel .badge { flex: none; width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--border); color: var(--text); display: flex; align-items: center; justify-content: center; }
.success-panel h3 { margin: 0; font-size: 18px; font-weight: 600; letter-spacing: -0.35px; color: var(--text); }
.success-panel p { margin: 14px 0 0; font-size: 13.5px; line-height: 1.55; color: var(--text-muted); }

/* ── Pricing page ─────────────────────────────────────── */

/* Hand-rolled ink pill, not the mint SegmentedControl — mint is spent on
   the tier CTA. role=tablist + aria-selected carry the state for AT. */
.ink-toggle { display: inline-flex; border: 1px solid var(--border); border-radius: var(--radius-pill); overflow: hidden; }
.ink-toggle button { padding: 9px 17px; border: 0; background: transparent; color: var(--text-muted); font-family: var(--font-sans); font-size: 12px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.ink-toggle button + button { border-left: 1px solid var(--border); }
.ink-toggle button[aria-selected="true"] { background: var(--text); color: var(--bg-app); }

.plan-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(258px, 1fr)); gap: 18px; align-items: stretch; }
.plan { border-radius: var(--radius-2xl); border: 1px solid var(--border); background: var(--bg-panel); padding: 26px; display: flex; flex-direction: column; position: relative; overflow: hidden; }
.plan .cap-row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plan .price-line { margin: 12px 0 0; display: flex; align-items: baseline; gap: 6px; }
.plan .price-line .from { font-size: 13px; color: var(--text-muted); }
.plan .price-line .figure { font-family: var(--font-mono); font-size: 36px; font-weight: 700; letter-spacing: -0.9px; color: var(--text); }
.plan .price-line .figure-sans { font-size: 36px; font-weight: 600; letter-spacing: -0.9px; color: var(--text); }
.plan .price-line .unit { font-size: 12px; color: var(--text-muted); }
.plan .blurb { margin: 10px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--text-muted); }
.plan ul { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 10px; font-size: 13px; line-height: 1.45; color: var(--text-muted); }
.plan ul .strong { color: var(--text); font-weight: 600; }
.plan .cta { margin-top: auto; padding-top: 26px; }
.plan .cta a { display: inline-flex; align-items: center; padding: 11px 18px; border-radius: var(--radius-lg); font-size: 13px; font-weight: 600; }
.plan .cta .quiet { border: 1px solid var(--border); color: var(--text); }
.plan .cta .quiet:hover { background: var(--bg-hover); }
.plan .cta .mint { background: var(--mint); color: #fff; transition: filter var(--dur-normal) var(--ease); }
.plan .cta .mint:hover { filter: brightness(1.06); color: #fff; }

.calc-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 20px; align-items: start; }
.calc-panel { border-radius: var(--radius-2xl); border: 1px solid var(--border); background: var(--bg-panel); padding: clamp(20px, 3vw, 28px); }
.calc-panel .price { font-family: var(--font-mono); font-size: clamp(34px, 4vw, 46px); font-weight: 700; letter-spacing: -1.1px; color: var(--text); line-height: 1; }
.calc-panel .price-row { margin: 10px 0 0; display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; }
.calc-panel .unit { font-size: 13px; color: var(--text-muted); }
.calc-panel .tier-line { margin: 8px 0 0; font-size: 13px; color: var(--text-muted); font-weight: 600; }
.calc-panel input[type="range"] { width: 100%; margin: 22px 0 0; height: 22px; cursor: pointer; }
.calc-panel .scale { display: flex; justify-content: space-between; font-family: var(--font-mono); font-size: 10px; color: var(--text-faint); }
.calc-panel .details { margin: 20px 0 0; padding-top: 18px; border-top: 1px solid var(--border-subtle); display: grid; gap: 11px; }
.calc-panel .details .line { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; }
.calc-panel .details .line span:first-child { color: var(--text-muted); }
.calc-panel .details .line span:last-child { font-family: var(--font-mono); font-weight: 700; color: var(--text); }
.calc-panel .advice { margin: 6px 0 0; font-size: 12px; line-height: 1.5; color: var(--text-muted); }

.ladder-panel { border-radius: var(--radius-2xl); border: 1px solid var(--border); background: var(--bg-panel); overflow: hidden; }
.ladder-panel .head { display: flex; align-items: center; gap: 10px; padding: 14px 18px; border-bottom: 1px solid var(--border); }
.ladder-panel .head .title { font-size: 14px; font-weight: 700; letter-spacing: -0.2px; color: var(--text); }
.ladder-panel .head .unit { margin-left: auto; font-size: 11px; color: var(--text-muted); }
.ladder-panel .body { padding: 6px 0; }
.ladder-panel .cols { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 10px; padding: 8px 18px; }
.ladder-panel .cols span { text-align: right; }
.ladder-panel .cols span:first-child { text-align: left; }
.ladder-row { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 10px; padding: 10px 18px; border-top: 1px solid var(--border-subtle); }
.ladder-row.selected { background: var(--bg-hover); }
.ladder-row .label { font-size: 13px; color: var(--text-muted); }
.ladder-row .price { text-align: right; font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--text); }
.ladder-row .price.free { color: var(--text-muted); }
.ladder-row .per { text-align: right; font-family: var(--font-mono); font-size: 13px; color: var(--text-muted); }

.compare-panel { border-radius: var(--radius-2xl); border: 1px solid var(--border); background: var(--bg-panel); overflow: hidden; }
.compare-head { display: grid; grid-template-columns: minmax(0, 2.2fr) repeat(3, minmax(0, 1fr)); gap: 10px; padding: 13px 18px; background: var(--bg-surface); border-bottom: 1px solid var(--border); }
.compare-head span { font-size: 11.5px; font-weight: 600; text-align: right; color: var(--text); }
.compare-head span:first-child { text-align: left; }
.compare-head .dim { color: var(--text-muted); }
.compare-row { display: grid; grid-template-columns: minmax(0, 2.2fr) repeat(3, minmax(0, 1fr)); gap: 10px; padding: 11px 18px; border-top: 1px solid var(--border-subtle); align-items: center; font-size: 12.5px; }
.compare-row .feature { color: var(--text-muted); }
.compare-row .cell { text-align: right; font-size: 12px; color: var(--text-muted); }
.compare-row .cell.yes { color: var(--text); }
.compare-row .cell.no { color: var(--text-faint); }
.compare-row .cell.ath { font-weight: 600; }
.compare-row .cell.ath.no { color: var(--text-faint); }

.faq-cards { display: grid; gap: 10px; }
.faq-cards details { border-radius: var(--radius-xl); border: 1px solid var(--border); background: var(--bg-panel); padding: 16px 18px; }
.faq-cards summary { font-size: 14px; font-weight: 700; color: var(--text); }
.faq-cards details p { margin: 10px 0 0; font-size: 13px; line-height: 1.6; color: var(--text-muted); }

/* ── For Coaches ──────────────────────────────────────── */

.step-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 18px; }
.step-card { border-radius: var(--radius-2xl); border: 1px solid var(--border); background: var(--bg-panel); padding: 22px; position: relative; overflow: hidden; }
.step-card h3 { margin: 12px 0 0; font-size: 16px; font-weight: 600; letter-spacing: -0.3px; color: var(--text); }
.step-card p { margin: 9px 0 0; font-size: 13px; line-height: 1.55; color: var(--text-muted); }
.step-card .foot { margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--border-subtle); display: flex; gap: 16px; align-items: center; }
.stat-col { display: flex; flex-direction: column; gap: 2px; }
.stat-col .value { font-family: var(--font-mono); font-size: 15px; font-weight: 700; color: var(--text); }
.stat-col .value.muted { color: var(--text-muted); }
.stat-col .value.sky { color: var(--sky-text); }
.stat-col .label { font-size: 10px; color: var(--text-muted); }

.replace-rows { display: grid; gap: 12px; }
.replace-row { border-radius: var(--radius-xl); border: 1px solid var(--border); background: var(--bg-panel); padding: 16px 18px; display: flex; gap: 14px; align-items: center; }
.replace-row.gone { border-style: dashed; background: color-mix(in srgb, var(--bg-panel) 55%, transparent); }
.replace-row .glyph { flex: none; width: 34px; height: 34px; border-radius: var(--radius-md); background: var(--bg-input); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; color: var(--text-muted); }
.replace-row .copy { flex: 1; min-width: 0; }
.replace-row .copy .what { display: block; font-size: 13.5px; font-weight: 700; color: var(--text); }
.replace-row .copy .becomes { display: block; font-size: 12px; color: var(--text-muted); }

.mini-price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 14px; }
.mini-price { border-radius: var(--radius-2xl); border: 1px solid var(--border); background: var(--bg-panel); padding: 20px; position: relative; overflow: hidden; }
.mini-price .figure { margin: 10px 0 0; font-family: var(--font-mono); font-size: 28px; font-weight: 700; letter-spacing: -0.7px; color: var(--text); }
.mini-price .figure-sans { margin: 10px 0 0; font-size: 28px; font-weight: 600; letter-spacing: -0.7px; color: var(--text); }
.mini-price .note { display: block; margin-top: 6px; font-size: 11.5px; color: var(--text-muted); }

/* ── Features page ────────────────────────────────────── */

.jump-pills { margin: 26px 0 0; display: flex; gap: 8px; flex-wrap: wrap; }
.jump-pills a { padding: 7px 13px; border-radius: var(--radius-pill); border: 1px solid var(--border); background: var(--bg-surface); font-size: 11.5px; font-weight: 600; white-space: nowrap; color: var(--text-muted); transition: color var(--dur-fast) var(--ease), border-color var(--dur-fast) var(--ease); }
.jump-pills a:hover { color: var(--text); border-color: var(--text-muted); }

.feature-section { padding: clamp(36px, 4vw, 64px) 0; scroll-margin-top: 72px; }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: clamp(24px, 4vw, 48px); align-items: center; }
.feature-list { margin: 20px 0 0; padding: 0; list-style: none; display: grid; gap: 11px; }
.feature-list li { display: flex; gap: 10px; font-size: 13.5px; line-height: 1.5; color: var(--text-muted); }
.feature-list li .dash { color: var(--text-muted); font-weight: 700; }
.feature-list li .dash.red { color: var(--red); }

.spec-panel { border-radius: var(--radius-xl); border: 1px solid var(--border); background: var(--bg-panel); padding: 16px 18px; display: grid; gap: 12px; }
.spec-panel .line { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; }
.spec-panel .line .name { font-size: 13px; color: var(--text); }
.spec-panel .line .rx { font-family: var(--font-mono); font-size: 13px; font-weight: 700; color: var(--text); }

.stat-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 14px; }
.stat-card { border-radius: var(--radius-2xl); border: 1px solid var(--border); background: var(--bg-panel); padding: 20px; position: relative; overflow: hidden; }
.stat-card .figure-row { margin: 10px 0 0; display: flex; align-items: baseline; gap: 5px; }
.stat-card .figure { font-family: var(--font-mono); font-size: 26px; font-weight: 700; letter-spacing: -1.1px; color: var(--text); }
.stat-card .figure.muted { color: var(--text-muted); }
.stat-card .unit { font-size: 12px; font-weight: 600; color: var(--text-muted); }
.stat-card .note { display: block; margin-top: 6px; font-size: 11.5px; color: var(--text-muted); }

.macro-panel { border-radius: var(--radius-2xl); border: 1px solid var(--border); background: var(--bg-panel); padding: 18px; }
.macro-panel .head { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 14px; }
.macro-panel .figures { display: flex; gap: 20px; flex-wrap: wrap; }
.macro-panel .figures .stat { display: flex; flex-direction: column; gap: 3px; }
.macro-panel .figures .value { font-family: var(--font-mono); font-size: 22px; font-weight: 700; letter-spacing: -0.8px; color: var(--text); }
.macro-panel .figures .label { font-size: 10px; color: var(--text-muted); }
.macro-panel .comp { display: grid; gap: 11px; }
.macro-panel .comp .line { display: flex; justify-content: space-between; gap: 10px; font-size: 12.5px; }
.macro-panel .comp .line span:first-child { color: var(--text-muted); }
.macro-panel .comp .line .val { font-family: var(--font-mono); font-weight: 700; color: var(--text-muted); }
.macro-panel .comp .line .val.sky { color: var(--sky-text); }
.macro-panel .track { height: 4px; border-radius: var(--radius-pill); background: var(--bg-input); }
.macro-panel .track .fill { height: 100%; border-radius: var(--radius-pill); }
.macro-panel .track .fill.mint { background: linear-gradient(90deg, var(--grad-start), var(--grad-end)); }
.macro-panel .track .fill.sky { background: var(--sky); }

/* ── Closing CTA sections ─────────────────────────────── */

.closing { padding: clamp(44px, 5vw, 80px) 0; position: relative; overflow: hidden; border-top: 1px solid var(--border); }
.closing .inner { position: relative; max-width: 720px; margin: 0 auto; padding: 0 clamp(16px, 3vw, 28px); text-align: center; }
.closing p { margin: 14px auto 0; font-size: 15px; line-height: 1.55; color: var(--text-muted); max-width: 48ch; }
.closing .ctas { margin: 26px 0 0; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
