/* ============================================================================
 * Buildable — marketing landing page
 * Standalone static one-pager. NOT part of app/frontend. No build step.
 *
 * The visual world is INHERITED, not invented: every colour, material, radius,
 * motion curve and (app) type step below is lifted verbatim from the product's
 * design system at app/frontend/src/index.css so the page reads as the same
 * company. The four colour roles never borrow from each other (action = clay,
 * the one thing you click; verdict = four hues; status = risk only; health =
 * no hue). Depth comes from the layer ramp + hairline + shadow, never boxing.
 * Glass is the FLOAT layer only, in three named materials.
 *
 * The ONE deliberate extension: a marketing display type scale (--fs-display-*)
 * above the app's 8-step scale. The app caps at 36px because its largest text is
 * a dense data tile; a Persuade landing hero needs more. App-scale steps
 * (13/15/18/22px …) still govern body, labels and chips. Documented in README.
 * ==========================================================================*/

@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('fonts/inter-var.woff2') format('woff2');
}

:root {
  --font-sans: 'Inter Variable', Inter, system-ui, -apple-system, sans-serif;

  /* ── App type scale (whole px, ratio ≈1.2) ─────────────────────────────── */
  --text-micro: 11px;
  --text-small: 12px;
  --text-body: 13px;
  --text-emph: 15px;
  --text-head: 18px;
  --text-sub: 22px;
  --text-title: 28px;
  --text-hero: 36px;

  /* ── Marketing display scale (fluid) — the documented extension ─────────── */
  --fs-display: clamp(2.4rem, 1.4rem + 4.4vw, 4.5rem);
  --fs-display-sm: clamp(1.9rem, 1.3rem + 2.6vw, 3rem);
  --fs-lede: clamp(1.05rem, 0.98rem + 0.5vw, 1.3rem);

  /* ── Motion — Emil Kowalski's curves; CSS built-ins are too weak ───────── */
  --ease-out: cubic-bezier(0.23, 1, 0.32, 1);
  --ease-in-out: cubic-bezier(0.77, 0, 0.175, 1);
  --dur-press: 160ms;
  --dur-menu: 200ms;
  --dur-panel: 260ms;
  --dur-reveal: 620ms; /* scroll reveal = explanatory motion, may exceed 300ms */

  /* ── Two materials, deliberately different (Jacob, Aug-4) ───────────────────
     The FIELD is deep brand green (see .app-surface). The CARDS/TILES are
     NEUTRAL charcoal — near-black graphite, the original app material. Neutral
     panels floating on a deep-green ground reads far more sophisticated than an
     all-green page; green is the room, charcoal is the furniture. */
  --color-layer-0: #06090a;   /* deepest ground (behind the green field) */
  --color-layer-1: #101617;   /* card / tile surface — neutral charcoal  */
  --color-layer-2: #161e1f;   /* nested / hover                          */
  --color-layer-3: #1e2728;   /* nested twice, rare                      */

  /* ── Role 1 · ACTION — clay, brand-board values (used sparingly) ──────────
     Clay #C4522A / hover→Dark Clay #A14020. White ink measures 4.54:1 on the
     primary clay (AA), and clay darkening on hover keeps white legible. */
  --color-action: #c4522a;
  --color-action-hover: #a14020;
  --color-action-deep: #8a3418;
  --color-on-action: #ffffff;

  /* ── Role 2 · VERDICT — four distinct hues ─────────────────────────────── */
  --color-verdict-strong: #3ec39a;
  --color-verdict-investigate: #6aa2f0;
  --color-verdict-lead: #c47ab8;
  --color-verdict-noise: #757d78;

  /* ── Role 3 · STATUS — reserved, risk only ─────────────────────────────── */
  --color-warning: #b28a1f;
  --color-critical: #d64b50;

  /* surfaces — neutral charcoal cards/tiles (the green lives in .app-surface) */
  --color-canvas: #06090a;
  --color-panel: #101617;
  --color-panel-2: #131b1c;

  /* borders — neutral hairlines */
  --color-edge: #273133;
  --color-edge-strong: #313d3f;
  --color-edge-soft: rgb(220 230 226 / 0.1);

  /* text */
  --color-cream: #f5f4ef;
  --color-mist: #a7b0ab;
  --color-faint: #899590;
  --color-dim: #68736f;

  /* elevation */
  --shadow-panel: 0 1px 0 0 rgb(255 255 255 / 0.03) inset, 0 24px 70px rgb(0 0 0 / 0.28);
  --shadow-raised: 0 1px 0 0 rgb(255 255 255 / 0.04) inset, 0 24px 80px rgb(0 0 0 / 0.42);

  /* radii — 6px / 12px / pill only */
  --radius-md: 6px;
  --radius-xl: 12px;
  --radius-2xl: 18px; /* large marketing panes — a doubled step, not a new scale */

  --maxw: 1120px;
  color-scheme: dark;
}

/* ── LIGHT MODE — OPT-IN ONLY; dark is the unconditional default ─────────────
   The page always loads dark (the brand's deep-green world) and does NOT follow
   the OS setting. Light mode activates only when <html data-theme="light"> is
   set — the app's own "dark is selected, not an automatic flip" pattern — so a
   future toggle can still reach it while dark stays the default. ──────────── */
:root[data-theme='light'] {
    color-scheme: light;
    --color-layer-0: #eef2f0;
    --color-layer-1: #f7faf8;
    --color-layer-2: #e6ece9;
    --color-layer-3: #dfe6e2;
    --color-canvas: #eaeeec;
    --color-panel: #f7faf8;
    --color-panel-2: #e6ece9;

    --color-edge: rgb(28 48 42 / 0.13);
    --color-edge-strong: rgb(28 48 42 / 0.2);
    --color-edge-soft: rgb(28 48 42 / 0.08);

    --color-cream: #16211d;
    --color-mist: #45524c;
    --color-faint: #66726c;
    --color-dim: #8b958f;

    --color-action: #b24314;
    --color-action-hover: #983508;
    --color-action-deep: #7d2c05;
    --color-on-action: #fff;
    --color-verdict-strong: #007d55;
    --color-verdict-investigate: #3268b5;
    --color-verdict-lead: #844592;
    --color-verdict-noise: #6d736f;
    --color-warning: #7c5e07;
    --color-critical: #ac3037;

    --shadow-panel: 0 1px 0 0 rgb(255 255 255 / 0.7) inset, 0 12px 30px rgb(28 48 42 / 0.1);
    --shadow-raised: 0 1px 0 0 rgb(255 255 255 / 0.8) inset, 0 18px 44px rgb(28 48 42 / 0.16);
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* focus — clay is the action colour; keep the ring visible and calm */
:focus-visible {
  outline: 2px solid rgb(196 82 42 / 0.7);
  outline-offset: 2px;
  border-radius: var(--radius-md);
}
::selection { background: rgb(196 82 42 / 0.32); color: var(--color-cream); }

body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: var(--text-emph);
  line-height: 1.6;
  color: var(--color-cream);
  background: var(--color-canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: 'cv02', 'cv03', 'cv11';
  letter-spacing: -0.006em;
  overflow-x: hidden;
}

/* App-surface vignette + fixed topographic backdrop */
.app-surface {
  position: fixed;
  inset: 0;
  z-index: -2;
  /* deep brand-green field — sophisticated, not saturated: a near-black green
     ground with a restrained, desaturated lift at the top so it isn't flat */
  background:
    radial-gradient(125% 95% at 50% -6%, #132321, transparent 58%),
    #0a1719;
}
.topo-backdrop {
  position: fixed;
  inset: 0;
  z-index: -1;
  background: url('assets/topo-contours.svg') center top / cover no-repeat;
  opacity: 0.5;
  pointer-events: none;
}
:root[data-theme='light'] .app-surface {
  background: radial-gradient(125% 95% at 50% -6%, #f2f6f4, transparent 62%), #eaeeec;
}
:root[data-theme='light'] .topo-backdrop { filter: invert(1) hue-rotate(180deg); opacity: 0.7; }

/* ── Glass materials — three named jobs ─────────────────────────────────── */
.glass {
  background:
    radial-gradient(130% 100% at 50% -30%, rgb(255 255 255 / 0.05), transparent 55%),
    linear-gradient(160deg, rgb(29 36 37 / 0.9), rgb(19 24 25 / 0.9));
  backdrop-filter: blur(20px) saturate(118%);
  -webkit-backdrop-filter: blur(20px) saturate(118%);
  border: 1px solid rgb(255 255 255 / 0.1);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.1), 0 1px 2px rgb(0 0 0 / 0.4), 0 20px 45px rgb(0 0 0 / 0.5);
}
.glass-sheer {
  background:
    radial-gradient(130% 100% at 50% -30%, rgb(255 255 255 / 0.045), transparent 55%),
    linear-gradient(160deg, rgb(30 38 40 / 0.14), rgb(14 20 21 / 0.08));
  backdrop-filter: blur(9px) saturate(112%);
  -webkit-backdrop-filter: blur(9px) saturate(112%);
  border: 1px solid rgb(255 255 255 / 0.09);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.09), 0 1px 2px rgb(0 0 0 / 0.3), 0 20px 50px rgb(0 0 0 / 0.4);
}
.glass-atmo {
  /* neutral charcoal card with the brand's faint green whisper in one corner */
  background-image:
    radial-gradient(circle at 85% 10%, rgb(36 77 72 / 0.08), transparent 42%),
    linear-gradient(135deg, rgb(22 29 30 / 0.9), rgb(12 16 17 / 0.82));
  backdrop-filter: blur(20px) saturate(118%);
  -webkit-backdrop-filter: blur(20px) saturate(118%);
  border: 1px solid rgb(255 255 255 / 0.1);
  box-shadow: var(--shadow-panel);
}
:root[data-theme='light'] .glass {
  background:
    radial-gradient(130% 100% at 50% -30%, rgb(255 255 255 / 0.85), transparent 55%),
    linear-gradient(160deg, rgb(255 255 255 / 0.86), rgb(246 249 247 / 0.8));
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border: 1px solid rgb(28 48 42 / 0.1);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.9), 0 1px 2px rgb(28 48 42 / 0.06), 0 14px 40px rgb(28 48 42 / 0.1);
}
:root[data-theme='light'] .glass-sheer {
  background:
    radial-gradient(130% 100% at 50% -30%, rgb(255 255 255 / 0.55), transparent 55%),
    linear-gradient(160deg, rgb(255 255 255 / 0.36), rgb(245 249 247 / 0.2));
  backdrop-filter: blur(9px) saturate(150%);
  -webkit-backdrop-filter: blur(9px) saturate(150%);
  border: 1px solid rgb(28 48 42 / 0.08);
  box-shadow: inset 0 1px 0 rgb(255 255 255 / 0.7), 0 1px 2px rgb(28 48 42 / 0.05), 0 16px 44px rgb(28 48 42 / 0.1);
}
:root[data-theme='light'] .glass-atmo {
  background-image:
    radial-gradient(circle at 85% 10%, rgb(47 133 90 / 0.05), transparent 40%),
    linear-gradient(135deg, rgb(255 255 255 / 0.85), rgb(244 248 246 / 0.78));
  border: 1px solid rgb(28 48 42 / 0.1);
}

/* ── Layout primitives ──────────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--maxw); margin-inline: auto; padding-inline: 20px; }
section { position: relative; }
.section-pad { padding-block: clamp(56px, 9vw, 120px); }

.eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: var(--text-micro);
  font-weight: 500;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--color-faint);
}
.eyebrow::before {
  content: ''; width: 18px; height: 1px; background: var(--color-action); opacity: 0.7;
}

h1, h2, h3 { font-weight: 600; margin: 0; }
.display {
  font-size: var(--fs-display);
  line-height: 1.02;
  letter-spacing: -0.028em;
}
.h2 {
  font-size: var(--fs-display-sm);
  line-height: 1.08;
  letter-spacing: -0.022em;
}
.h3 { font-size: var(--text-head); line-height: 1.25; letter-spacing: -0.01em; }
.lede { font-size: var(--fs-lede); color: var(--color-mist); line-height: 1.55; }
.muted { color: var(--color-mist); }
.faint { color: var(--color-faint); }
.tnum { font-variant-numeric: tabular-nums; }
.clay { color: var(--color-action); }

/* ── Buttons ────────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 9px;
  font: inherit; font-size: var(--text-emph); font-weight: 500;
  padding: 13px 22px; border-radius: var(--radius-md);
  border: 1px solid transparent; cursor: pointer; text-decoration: none;
  transition: transform var(--dur-press) var(--ease-out),
              background-color var(--dur-menu) var(--ease-out),
              border-color var(--dur-menu) var(--ease-out);
}
.btn:active { transform: scale(0.97); }
.btn-primary {
  background: var(--color-action); color: var(--color-on-action);
  box-shadow: 0 1px 0 rgb(255 255 255 / 0.12) inset, 0 8px 24px rgb(196 82 42 / 0.3);
}
.btn-ghost {
  background: transparent; color: var(--color-cream);
  border-color: var(--color-edge-strong);
}
@media (hover: hover) and (pointer: fine) {
  .btn-primary:hover { background: var(--color-action-hover); }
  .btn-ghost:hover { border-color: var(--color-action); color: var(--color-action-hover); }
}
.btn svg { width: 15px; height: 15px; }

/* ── Header ─────────────────────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-menu) var(--ease-out);
}
.site-header[data-scrolled='true'] { border-bottom-color: var(--color-edge); }
.site-header .glass-sheer { border-radius: 0; border-left: 0; border-right: 0; border-top: 0; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 12px; }
.brand-lockup { display: inline-flex; align-items: center; gap: 9px; text-decoration: none; }
.brand-lockup img { height: 24px; width: auto; display: block; }
/* Wordmark as live text (not the cream PNG) so it recolours in light mode —
   the same lockup pattern the app ships (icon + text-cream "Buildable"). */
.wordmark {
  font-size: var(--text-sub); font-weight: 600; letter-spacing: -0.022em;
  color: var(--color-cream); line-height: 1;
}
.footer-brand.brand-lockup img { height: 22px; }
.footer-brand .wordmark { font-size: var(--text-head); }
/* header menu — Login / Contact (+ the Request CTA on the landing page) */
.header-nav { display: flex; align-items: center; gap: 4px; }
.nav-link {
  font-size: var(--text-small); font-weight: 500; color: var(--color-mist);
  text-decoration: none; white-space: nowrap;
  padding: 8px 10px; border-radius: var(--radius-md);
  transition: color var(--dur-menu) var(--ease-out), background-color var(--dur-menu) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) {
  .nav-link:hover { color: var(--color-cream); background: var(--color-layer-2); }
}
.header-nav .header-cta { margin-left: 6px; }
.header-cta { display: none; }
@media (min-width: 620px) { .header-cta { display: inline-flex; } }

/* ── Hero ───────────────────────────────────────────────────────────────── */
.hero { padding-top: clamp(40px, 7vw, 84px); padding-bottom: clamp(20px, 4vw, 40px); }
.hero-grid { display: grid; gap: clamp(32px, 5vw, 56px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 940px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; } }
.hero h1 { margin-top: 18px; max-width: 15ch; }
.hero .lede { margin-top: 20px; max-width: 46ch; }
.hero-actions { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-note { margin-top: 16px; font-size: var(--text-small); color: var(--color-faint); }

.equation {
  display: inline-flex; align-items: center; gap: 10px; flex-wrap: wrap;
  margin-top: 26px; font-size: var(--text-small); font-weight: 500;
  color: var(--color-mist);
}
.equation b { color: var(--color-cream); font-weight: 600; }
.equation .op { color: var(--color-action); font-weight: 600; }

/* ── Scale strip (honest numbers) ───────────────────────────────────────── */
.scalebar { border-radius: var(--radius-2xl); padding: 6px; }
.scalebar-inner { display: grid; grid-template-columns: repeat(2, 1fr); }
@media (min-width: 620px) { .scalebar-inner { grid-template-columns: repeat(4, 1fr); } }
.stat { padding: 18px 16px; text-align: left; position: relative; }
.stat + .stat::before {
  content: ''; position: absolute; left: 0; top: 16px; bottom: 16px; width: 1px; background: var(--color-edge);
}
.stat .num { font-size: var(--text-title); font-weight: 600; letter-spacing: -0.02em; line-height: 1.05; }
.stat .lbl { margin-top: 6px; font-size: var(--text-micro); color: var(--color-faint); line-height: 1.35; }

/* ── Funnel (signature) ─────────────────────────────────────────────────── */
.funnel { border-radius: var(--radius-2xl); overflow: hidden; }
.funnel-head { padding: clamp(22px, 3vw, 34px); border-bottom: 1px solid var(--color-edge); }
.funnel-stages { display: grid; }
.stage {
  padding: 16px clamp(20px, 3vw, 34px) 20px;
  border-bottom: 1px solid var(--color-edge-soft);
}
.stage:last-child { border-bottom: 0; }
.stage-top { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.stage-name { font-size: var(--text-emph); font-weight: 500; }
.stage-sub { font-size: var(--text-small); color: var(--color-faint); margin-top: 2px; }
.stage-count { font-size: var(--text-emph); font-weight: 600; letter-spacing: -0.01em; text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; flex: none; }
.stage-count small { display: block; font-size: var(--text-micro); font-weight: 400; color: var(--color-faint); letter-spacing: 0; }
/* The bar's WIDTH is the survivor share — stacked, they staircase down: the
   subtraction is the whole point, so it has to be the picture. */
.stage-bar-track {
  position: relative; height: 10px; margin-top: 12px;
  border-radius: 999px; background: var(--color-layer-2); overflow: hidden;
}
.stage-bar-fill {
  height: 100%; width: var(--w, 100%);
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-action-deep), var(--color-action));
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--dur-reveal) var(--ease-out);
}
.stage.final .stage-bar-fill {
  background: linear-gradient(90deg, color-mix(in oklch, var(--color-verdict-strong) 55%, black), var(--color-verdict-strong));
}
.reveal-in .stage-bar-fill { transform: scaleX(1); }
/* cascade the narrowing top-to-bottom */
.reveal-in .stage:nth-child(2) .stage-bar-fill { transition-delay: 90ms; }
.reveal-in .stage:nth-child(3) .stage-bar-fill { transition-delay: 180ms; }
.reveal-in .stage:nth-child(4) .stage-bar-fill { transition-delay: 270ms; }
.funnel-foot {
  padding: clamp(20px, 3vw, 30px); display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: baseline;
  background: linear-gradient(180deg, transparent, rgb(196 82 42 / 0.06));
  border-top: 1px solid var(--color-edge);
}
.funnel-foot .big { font-size: var(--text-sub); font-weight: 600; letter-spacing: -0.02em; }

/* ── Lenses ─────────────────────────────────────────────────────────────── */
.lens-grid { display: grid; gap: 16px; grid-template-columns: 1fr; margin-top: 40px; }
@media (min-width: 700px) { .lens-grid { grid-template-columns: repeat(2, 1fr); } }
.lens { border-radius: var(--radius-xl); padding: clamp(22px, 2.4vw, 30px); }
.lens-num { font-size: var(--text-micro); font-weight: 600; letter-spacing: 0.1em; color: var(--color-action); }
.lens h3 { margin-top: 12px; }
.lens p { margin: 10px 0 0; color: var(--color-mist); font-size: var(--text-emph); }
.lens .cite {
  margin-top: 14px; font-size: var(--text-micro); color: var(--color-faint);
  display: flex; align-items: center; gap: 7px;
}
.lens .cite::before { content: ''; width: 5px; height: 5px; border-radius: 999px; background: var(--color-verdict-strong); flex: none; }

/* ── Proof / dossier card ───────────────────────────────────────────────── */
.proof-grid { display: grid; gap: clamp(28px, 4vw, 48px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 940px) { .proof-grid { grid-template-columns: 0.92fr 1.08fr; } }

.dossier { border-radius: var(--radius-2xl); overflow: hidden; }
.dossier-top { padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--color-edge); }
.chip {
  display: inline-flex; align-items: center; gap: 7px;
  font-size: var(--text-micro); font-weight: 600; letter-spacing: 0.02em;
  padding: 5px 10px; border-radius: 999px;
}
.chip .dot { width: 7px; height: 7px; border-radius: 999px; flex: none; }
.chip-strong { color: var(--color-verdict-strong); background: rgb(62 195 154 / 0.1); border: 1px solid rgb(62 195 154 / 0.28); }
.chip-strong .dot { background: var(--color-verdict-strong); }
.dossier-addr { padding: 20px; }
.dossier-addr .a1 { font-size: var(--text-head); font-weight: 600; letter-spacing: -0.01em; }
.dossier-addr .a2 { font-size: var(--text-small); color: var(--color-faint); margin-top: 3px; }
.dossier-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--color-edge); border-block: 1px solid var(--color-edge); }
.dcell { background: var(--color-panel); padding: 16px 20px; }
.dcell .k { font-size: var(--text-micro); color: var(--color-faint); }
.dcell .v { font-size: var(--text-sub); font-weight: 600; letter-spacing: -0.02em; margin-top: 4px; font-variant-numeric: tabular-nums; }
.dcell .v.spread { color: var(--color-verdict-strong); }
.dossier-read { padding: 18px 20px; font-size: var(--text-emph); color: var(--color-mist); }
.dossier-read b { color: var(--color-cream); font-weight: 600; }
.dossier-verify {
  margin: 0 20px 20px; padding: 12px 14px; border-radius: var(--radius-md);
  background: rgb(178 138 31 / 0.08); border: 1px solid rgb(178 138 31 / 0.25);
  font-size: var(--text-small); color: var(--color-mist);
  display: flex; gap: 9px; align-items: flex-start;
}
.dossier-verify svg { width: 15px; height: 15px; color: var(--color-warning); flex: none; margin-top: 1px; }
.dossier-verify b { color: var(--color-cream); font-weight: 600; }

.casebox {
  margin-top: 22px; padding: 16px 18px; border-radius: var(--radius-md);
  background: var(--color-layer-1); border: 1px solid var(--color-edge);
  font-size: var(--text-small); color: var(--color-mist);
}
.casebox .caselabel {
  display: block; margin-bottom: 8px;
  font-size: var(--text-micro); font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase;
  color: var(--color-faint);
}

/* Recommendation payload — what every surfaced call carries. */
.payload { margin-top: 26px; }
.payload .plabel {
  display: block; margin-bottom: 12px;
  font-size: var(--text-micro); font-weight: 600; letter-spacing: 0.11em; text-transform: uppercase;
  color: var(--color-faint);
}
.payload ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 9px; }
.payload li {
  display: flex; gap: 11px; align-items: baseline;
  font-size: var(--text-emph); color: var(--color-mist);
}
.payload li::before {
  content: ''; flex: none; align-self: center;
  width: 6px; height: 6px; border-radius: 999px;
  background: var(--color-action); box-shadow: 0 0 0 3px rgb(196 82 42 / 0.16);
}
.payload li b { color: var(--color-cream); font-weight: 600; }

/* ── Performance band ───────────────────────────────────────────────────── */
.perf { border-radius: var(--radius-2xl); padding: clamp(26px, 4vw, 48px); }
.perf-stats { display: grid; gap: 22px; grid-template-columns: 1fr; margin-top: 30px; }
@media (min-width: 700px) { .perf-stats { grid-template-columns: repeat(3, 1fr); } }
.perf-stat .n { font-size: var(--fs-display-sm); font-weight: 600; letter-spacing: -0.03em; line-height: 1; color: var(--color-cream); }
.perf-stat .c { margin-top: 10px; font-size: var(--text-small); color: var(--color-mist); max-width: 30ch; }
.perf-foot { margin-top: 30px; padding-top: 22px; border-top: 1px solid var(--color-edge); font-size: var(--text-small); color: var(--color-faint); max-width: 76ch; }

/* ── Territory ──────────────────────────────────────────────────────────── */
.terr-grid { display: grid; gap: clamp(26px, 4vw, 44px); grid-template-columns: 1fr; align-items: center; }
@media (min-width: 860px) { .terr-grid { grid-template-columns: 1fr 1fr; } }
.locality-list { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.locality {
  font-size: var(--text-small); color: var(--color-mist);
  padding: 7px 12px; border-radius: 999px;
  border: 1px solid var(--color-edge); background: var(--color-layer-1);
}
.locality[data-anchor='true'] { color: var(--color-cream); border-color: var(--color-action); }

/* ── Honesty ────────────────────────────────────────────────────────────── */
.honesty-list { display: grid; gap: 14px; margin-top: 28px; }
.honesty-item { display: grid; grid-template-columns: auto 1fr; gap: 14px; align-items: start; }
.honesty-item svg { width: 20px; height: 20px; color: var(--color-verdict-strong); margin-top: 2px; flex: none; }
.honesty-item p { margin: 0; color: var(--color-mist); font-size: var(--text-emph); }
.honesty-item b { color: var(--color-cream); font-weight: 600; }

/* ── CTA band ───────────────────────────────────────────────────────────── */
.cta-band { border-radius: var(--radius-2xl); padding: clamp(34px, 6vw, 72px); text-align: center; }
.cta-band .lede { margin: 16px auto 0; max-width: 44ch; }
.cta-band .hero-actions { justify-content: center; margin-top: 32px; }

/* ── Footer ─────────────────────────────────────────────────────────────── */
.site-footer { border-top: 1px solid var(--color-edge); margin-top: clamp(40px, 6vw, 80px); }
.footer-inner { padding-block: 40px; display: grid; gap: 26px; }
.footer-brand img { height: 22px; }
.disclaimer { font-size: var(--text-small); color: var(--color-faint); max-width: 78ch; line-height: 1.6; }
.footer-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: center; font-size: var(--text-micro); color: var(--color-dim); }
.footer-meta a { color: var(--color-faint); text-decoration: none; }
@media (hover: hover) { .footer-meta a:hover { color: var(--color-action); } }

/* ── Request form page ──────────────────────────────────────────────────── */
.request-main { min-height: 60vh; }
.request-wrap {
  max-width: 620px;
  padding-block: clamp(40px, 8vw, 88px);
}
.form-card { border-radius: var(--radius-2xl); padding: clamp(24px, 4vw, 40px); }
.req-form { margin-top: 26px; display: grid; gap: 18px; }
.field { display: grid; gap: 7px; }
.field-row { display: grid; gap: 18px; grid-template-columns: 1fr; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.req-form label {
  font-size: var(--text-small); font-weight: 500; color: var(--color-mist);
}
.req-form .req { color: var(--color-action); }
.req-form .opt { color: var(--color-dim); font-weight: 400; }
.req-form input,
.req-form textarea {
  width: 100%; font-family: inherit; color: var(--color-cream);
  /* 16px min prevents the iOS focus-zoom; label/hint stay on the app scale */
  font-size: 16px; line-height: 1.4;
  background: var(--color-layer-0);
  border: 1px solid var(--color-edge-strong);
  border-radius: var(--radius-md);
  padding: 12px 14px;
  transition: border-color var(--dur-menu) var(--ease-out), box-shadow var(--dur-menu) var(--ease-out);
}
.req-form textarea { resize: vertical; min-height: 84px; }

/* county multi-select (tap-to-toggle chips) */
.county-field { border: 0; padding: 0; margin: 0; min-width: 0; display: grid; gap: 8px; }
.county-field legend { padding: 0; font-size: var(--text-small); font-weight: 500; color: var(--color-mist); }
.county-field .opt { color: var(--color-dim); font-weight: 400; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip-check { display: inline-flex; }
/* visually hidden but focusable/checkable — keyboard toggles with Space */
.chip-check input { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.chip-check span {
  display: inline-block; padding: 8px 13px; border-radius: 999px; cursor: pointer; user-select: none;
  font-size: var(--text-small); color: var(--color-mist);
  border: 1px solid var(--color-edge-strong); background: var(--color-layer-0);
  transition: color var(--dur-menu) var(--ease-out), border-color var(--dur-menu) var(--ease-out), background-color var(--dur-menu) var(--ease-out);
}
@media (hover: hover) and (pointer: fine) { .chip-check:hover span { color: var(--color-cream); border-color: var(--color-edge-hard, #3b474a); } }
.chip-check input:checked + span { color: var(--color-cream); border-color: var(--color-action); background: rgb(196 82 42 / 0.12); }
.chip-check input:focus-visible + span { outline: 2px solid rgb(196 82 42 / 0.7); outline-offset: 2px; }
.req-form input::placeholder,
.req-form textarea::placeholder { color: var(--color-dim); }
.req-form input:focus,
.req-form textarea:focus {
  outline: none;
  border-color: var(--color-action);
  box-shadow: 0 0 0 3px rgb(196 82 42 / 0.16);
}
.req-form input:user-invalid,
.req-form input:focus:invalid { border-color: var(--color-critical); }
.form-submit { width: 100%; margin-top: 4px; font-size: var(--text-emph); padding-block: 15px; }
.form-fallback { margin: 4px 0 0; font-size: var(--text-small); color: var(--color-faint); text-align: center; }
.form-fallback a, .form-error a { color: var(--color-action-hover); text-decoration: underline; text-underline-offset: 2px; }
.form-error { margin: 2px 0 0; font-size: var(--text-small); color: var(--color-critical); }

/* success state */
.form-success {
  border-radius: var(--radius-2xl); padding: clamp(28px, 5vw, 48px);
  text-align: center; outline: none;
}
.success-mark {
  width: 52px; height: 52px; margin: 0 auto; display: grid; place-items: center;
  border-radius: 999px; color: var(--color-verdict-strong);
  background: rgb(62 195 154 / 0.12); border: 1px solid rgb(62 195 154 / 0.3);
}
.success-mark svg { width: 26px; height: 26px; }

/* ── Scroll reveal ──────────────────────────────────────────────────────── */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity var(--dur-reveal) var(--ease-out), transform var(--dur-reveal) var(--ease-out); }
.reveal-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .stage-bar-fill { transition: none; transform: scaleX(1); }
  .btn, .btn:active { transition: none; }
}
