/* ============================================================
   Occupational Noise Manager — marketing surface
   Tokens propagate verbatim from the product; only register flexes.
   ============================================================ */

/* ---- Self-hosted fonts (no third-party origin; font-display: swap) ---- */
@font-face {
  font-family: "Inter Tight";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/fonts/inter-tight-latin.woff2") format("woff2");
}
@font-face {
  font-family: "Source Serif 4";
  font-style: normal;
  font-weight: 400 500;
  font-display: swap;
  src: url("/fonts/source-serif-4-latin.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-400-latin.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-500-latin.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-600-latin.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/fonts/ibm-plex-mono-700-latin.woff2") format("woff2");
}

:root {
  /* ---- Colour (copied exactly from the product) ---- */
  --primary: #15355C;       /* Clinical Navy — committed actions only */
  --primary-deep: #0E2545;
  --accent: #3A6EA5;        /* Slate — links, focus, accents */
  --accent-deep: #2A5480;
  --ink: #0F1720;
  --ink-2: #1F2A37;
  --mute: #5A6775;
  --mute-2: #8492A2;
  --canvas: #FBFBF9;        /* warm off-white */
  --canvas-2: #EEF2F7;      /* cool lift */
  --surface: #FFFFFF;       /* the only pure white */
  --line: #E2E7EE;
  --line-strong: #C8D2DE;
  --ok: #2E7D43;       --ok-tint: #E3F1E7;
  --watch: #B3772E;    --watch-tint: #FBEFCF;
  --alert: #B3261E;    --alert-tint: #F5DCD9;
  --data-right: #B3261E;    /* audiogram right ear — circle */
  --data-left: #2F5FA8;     /* audiogram left ear — cross */
  --data-baseline: #8792A1;

  /* ---- Type ---- */
  --sans: "Inter Tight", Inter, system-ui, -apple-system, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, monospace;
  --serif: "Source Serif 4", Georgia, serif;

  /* ---- Register flex (marketing) ---- */
  --base: 16px;
  --radius: 14px;
  --radius-sm: 10px;
  --radius-lg: 16px;
  --maxw: 1180px;
  --readw: 68ch;

  /* density-driven section rhythm */
  --section-y: 92px;
  --gap: 28px;

  --shadow-rest: 0 1px 2px rgba(15,55,92,.04);
  --shadow-hover: 0 14px 40px -18px rgba(15,55,92,.32);
  --ease: cubic-bezier(.22,.61,.36,1);
}

/* density tweak */
:root[data-density="roomy"]  { --section-y: 124px; --gap: 36px; --readw: 64ch; }
:root[data-density="comfy"]  { --section-y: 88px;  --gap: 26px; }

/* card style tweak */
:root[data-cards="lifted"] {
  --card-border: 1px solid transparent;
  --card-shadow: 0 10px 30px -16px rgba(15,55,92,.28);
}
:root[data-cards="bordered"] {
  --card-border: 1px solid var(--line);
  --card-shadow: var(--shadow-rest);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

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

body {
  margin: 0;
  font-family: var(--sans);
  font-size: var(--base);
  line-height: 1.55;
  color: var(--ink);
  background: var(--canvas);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  scroll-padding-top: 80px;
}

/* optional faint instrument-grid texture — off by default */
:root[data-mesh="on"] body {
  background-image:
    linear-gradient(to right, rgba(58,110,165,.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(58,110,165,.045) 1px, transparent 1px);
  background-size: 56px 56px;
  background-attachment: fixed;
}

img, svg { display: block; max-width: 100%; }
a { color: var(--accent); text-decoration: none; }
a:hover { color: var(--accent-deep); }

::selection { background: rgba(58,110,165,.18); }

:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ---------- shared layout ---------- */
.wrap { width: min(100% - 48px, var(--maxw)); margin-inline: auto; }
.section { padding-block: var(--section-y); }
.section--lift { background: var(--canvas-2); }

/* accent-presence tweak — adds slate emphasis (never navy; One-Voice holds) */
:root[data-accent="present"] .section--lift { box-shadow: inset 0 2px 0 var(--accent); }
:root[data-accent="present"] .eyebrow { color: var(--accent-deep); }
:root[data-accent="present"] .stat { border-top: 2px solid var(--accent); }
:root[data-accent="present"] .vcard__ic { background: rgba(58,110,165,.16); }

.eyebrow {
  font-family: var(--mono);
  font-weight: 600;
  font-size: 11.5px;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.eyebrow::before {
  content: "";
  width: 22px; height: 2px;
  background: var(--accent);
  display: inline-block;
}

h1, h2, h3 { font-family: var(--sans); color: var(--ink-2); font-weight: 600; }
h2 { font-size: clamp(28px, 3.4vw, 40px); letter-spacing: -.018em; line-height: 1.08; margin: 0 0 18px; text-wrap: balance; }
h3 { font-size: 19px; letter-spacing: -.01em; margin: 0 0 8px; }
.lede { font-size: clamp(17px, 1.4vw, 19px); color: var(--mute); max-width: var(--readw); margin: 0; text-wrap: pretty; }
.lede--gap { margin-bottom: 44px; }

.num { font-family: var(--mono); font-variant-numeric: tabular-nums; }

/* ---------- buttons ---------- */
.btn {
  font-family: var(--sans);
  font-size: 15.5px;
  font-weight: 600;
  letter-spacing: -.005em;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 13px 22px;
  min-height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  cursor: pointer;
  transition: background .18s var(--ease), border-color .18s var(--ease), transform .18s var(--ease), box-shadow .18s var(--ease), color .18s var(--ease);
}
/* the single committed action — navy */
.btn--primary {
  background: var(--primary);
  color: #F4F7FB;
  box-shadow: 0 1px 0 rgba(255,255,255,.08) inset, 0 8px 24px -12px rgba(14,37,69,.7);
}
.btn--primary:hover { background: var(--primary-deep); transform: translateY(-1px); color: #fff; }
.btn--primary:active { transform: translateY(0); }

.btn--ghost {
  background: transparent;
  color: var(--accent-deep);
  border-color: var(--line-strong);
}
.btn--ghost:hover { border-color: var(--accent); background: rgba(58,110,165,.06); color: var(--accent-deep); }

.btn--text {
  background: transparent;
  color: var(--accent-deep);
  padding-inline: 6px;
}
.btn--text:hover { color: var(--primary); }
.btn--text .arrow { transition: transform .2s var(--ease); }
.btn--text:hover .arrow { transform: translateX(3px); }

.btn--lg { font-size: 16.5px; padding: 16px 28px; min-height: 52px; }

/* ============================================================
   HEADER
   ============================================================ */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(251,251,249,.72);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
  border-bottom: 1px solid transparent;
  transition: border-color .25s var(--ease), background .25s var(--ease);
}
.site-header[data-stuck="true"] {
  border-bottom-color: var(--line);
  background: rgba(251,251,249,.86);
}
@media (prefers-reduced-transparency: reduce) {
  .site-header { background: var(--surface); -webkit-backdrop-filter: none; backdrop-filter: none; }
}
.nav {
  height: 68px;
  display: flex; align-items: center; gap: 28px;
}
.brand { display: flex; align-items: center; gap: 10px; margin-right: auto; }
.brand__logo { height: 38px; width: auto; display: block; }
.brand__logo--sm { height: 24px; }
.brand__name { font-weight: 600; letter-spacing: -.01em; color: var(--ink-2); font-size: 16.5px; }
.brand__name b { font-weight: 600; }
.brand__name span { color: var(--mute); font-weight: 500; }

.nav__links { display: flex; gap: 4px; }
.nav__links a {
  color: var(--mute); font-size: 14.5px; font-weight: 500;
  padding: 8px 12px; border-radius: 8px;
  transition: color .15s, background .15s;
}
.nav__links a:hover { color: var(--ink-2); background: rgba(58,110,165,.07); }
.nav__cta { display: flex; align-items: center; gap: 10px; }
.nav__login {
  color: var(--accent-deep);
  font-size: 14.5px;
  font-weight: 600;
  padding: 9px 16px;
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  transition: border-color .15s var(--ease), background .15s var(--ease), color .15s var(--ease);
}
.nav__login:hover { color: var(--primary); border-color: var(--accent); background: rgba(58,110,165,.06); }

/* CSS-only mobile disclosure menu (no JS; uses <details>) */
.nav__more { display: none; position: relative; }
.nav__burger {
  list-style: none;
  display: inline-flex; align-items: center; justify-content: center;
  width: 42px; height: 40px; border-radius: var(--radius-sm);
  border: 1px solid var(--line-strong); background: var(--surface);
  color: var(--ink-2); cursor: pointer;
}
.nav__burger::-webkit-details-marker { display: none; }
.nav__burger:hover { border-color: var(--accent); background: rgba(58,110,165,.06); }
.nav__more[open] .nav__burger { border-color: var(--accent); color: var(--primary); }
.nav__panel {
  position: absolute; top: calc(100% + 10px); right: 0;
  min-width: 208px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-hover);
  padding: 8px;
  display: flex; flex-direction: column; gap: 2px;
  z-index: 60;
}
.nav__panel a {
  color: var(--mute); font-size: 15px; font-weight: 500;
  padding: 10px 12px; border-radius: 8px;
  transition: color .15s, background .15s;
}
.nav__panel a:hover { color: var(--ink-2); background: rgba(58,110,165,.07); }

@media (max-width: 880px) {
  .nav__links, .nav__cta > .nav__login { display: none; }
  .nav__more { display: inline-flex; }
}

/* ============================================================
   HERO
   ============================================================ */
.hero { position: relative; padding-block: clamp(56px, 7vw, 96px) var(--section-y); overflow: hidden; }
.hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: clamp(32px, 5vw, 72px);
  align-items: center;
}
.hero h1 {
  font-size: clamp(38px, 5.4vw, 62px);
  line-height: 1.02;
  letter-spacing: -.025em;
  margin: 0 0 24px;
  text-wrap: balance;
  color: var(--ink-2);
}
.hero h1 em { font-style: normal; color: var(--primary); }
.hero__sub { font-size: clamp(17px, 1.5vw, 20px); color: var(--mute); max-width: 56ch; margin: 0 0 34px; text-wrap: pretty; }
.hero__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 14px; }
.hero__assure {
  margin-top: 26px;
  display: flex; flex-wrap: wrap; gap: 8px 22px;
  font-size: 13.5px; color: var(--mute-2);
}
.hero__assure span { display: inline-flex; align-items: center; gap: 7px; }
.hero__assure .tick { color: var(--ok); font-weight: 700; }

/* ---- compliance-status instrument readout ---- */
.readout {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 60px -34px rgba(15,55,92,.4), var(--shadow-rest);
  overflow: hidden;
}
.readout__bar {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(var(--canvas), var(--surface));
}
.readout__bar .label { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute); }
.readout__sample {
  font-family: var(--mono); font-size: 9.5px; letter-spacing: .1em; text-transform: uppercase;
  color: var(--mute-2); border: 1px solid var(--line); border-radius: 5px; padding: 2px 6px;
}
.readout__bar .spacer { margin-left: auto; }
.readout__live {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--mono); font-size: 11px; color: var(--ok); letter-spacing: .04em;
}
.readout__live .pulse { width: 7px; height: 7px; border-radius: 50%; background: var(--ok); box-shadow: 0 0 0 0 rgba(46,125,67,.5); }
@media (prefers-reduced-motion: no-preference) {
  .readout__live .pulse { animation: pulse 2.4s var(--ease) infinite; }
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(46,125,67,.45); }
  70% { box-shadow: 0 0 0 7px rgba(46,125,67,0); }
  100% { box-shadow: 0 0 0 0 rgba(46,125,67,0); }
}
.readout__head { padding: 18px 20px 6px; }
.readout__head .where { font-family: var(--mono); font-size: 11.5px; color: var(--mute-2); letter-spacing: .04em; }
.readout__big { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; }
.readout__big .pct { font-family: var(--sans); font-weight: 700; font-size: 44px; letter-spacing: -.02em; color: var(--ink-2); font-variant-numeric: tabular-nums; }
.readout__big .cap { font-size: 13.5px; color: var(--mute); }
.readout__track { height: 8px; border-radius: 99px; background: var(--canvas-2); margin: 14px 20px 4px; overflow: hidden; display: flex; }
.readout__track i { display: block; height: 100%; }
.readout__track i.ok { width: 94%; background: var(--ok); }
.readout__track i.watch { width: 6%; background: var(--watch); }
.readout__rows { padding: 8px 8px 14px; }
.r-row {
  display: grid; grid-template-columns: 18px 1fr auto;
  align-items: center; gap: 12px;
  padding: 11px 12px; border-radius: 10px;
}
.r-row + .r-row { border-top: 1px solid var(--line); }
.r-row:hover { background: var(--canvas); }
.r-glyph { width: 18px; display: flex; justify-content: center; }
.r-dot { width: 9px; height: 9px; border-radius: 50%; }
.r-dot.ok { background: var(--ok); }
.r-dot.watch { background: var(--watch); }
.r-dot.alert { background: var(--alert); }
.r-label { font-size: 14px; color: var(--ink); }
.r-label small { display: block; color: var(--mute-2); font-size: 12px; }
.r-val { font-family: var(--mono); font-variant-numeric: tabular-nums; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.r-val.watch { color: var(--watch); }
.r-val.ok { color: var(--ok); }
.r-pill {
  font-family: var(--mono); font-size: 12px; letter-spacing: .04em;
  display: inline-flex; align-items: center; gap: 6px;
}
.r-pill.ok { color: var(--ok); }
.readout__foot {
  border-top: 1px solid var(--line);
  padding: 12px 20px;
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font-family: var(--mono); font-size: 11px; color: var(--mute-2); letter-spacing: .02em;
  white-space: nowrap;
}

/* ============================================================
   STAKES / WHY NOW
   ============================================================ */
#why { padding-bottom: 8px; }
.stakes__head { display: grid; grid-template-columns: minmax(0,1fr); gap: 8px; max-width: 760px; margin-bottom: 52px; }
.stat-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--gap);
}
.stat {
  background: var(--surface);
  border: var(--card-border);
  box-shadow: var(--card-shadow);
  border-radius: var(--radius);
  padding: 28px 26px 24px;
  position: relative;
  transition: box-shadow .2s var(--ease), transform .2s var(--ease), border-color .2s var(--ease);
}
.stat:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.stat__num {
  font-family: var(--sans); font-weight: 700; font-variant-numeric: tabular-nums;
  font-size: clamp(36px, 4vw, 50px); letter-spacing: -.02em; line-height: 1;
  color: var(--primary);
}
.stat__num .unit { font-size: .5em; color: var(--mute); letter-spacing: 0; margin-left: 4px; }
.stat__label { margin-top: 14px; font-size: 15px; color: var(--ink); font-weight: 500; }
.stat__body { margin-top: 8px; font-size: 13.5px; color: var(--mute); line-height: 1.5; }
.stat__src { margin-top: 16px; font-family: var(--mono); font-size: 11px; color: var(--mute-2); letter-spacing: .02em; }
.stat__src sup { color: var(--accent); }

.pullquote {
  margin: 56px 0 16px;
  padding: 38px 44px;
  border-left: 3px solid var(--accent);
  background: var(--surface);
  border-radius: 0 var(--radius) var(--radius) 0;
  max-width: 880px;
}
.pullquote p { margin: 0; font-size: clamp(20px, 2.2vw, 26px); line-height: 1.4; color: var(--ink-2); letter-spacing: -.01em; text-wrap: pretty; }
:root[data-serif="on"] .pullquote p { font-family: var(--serif); font-weight: 400; letter-spacing: 0; }
.pullquote cite { display: block; margin-top: 16px; font-family: var(--mono); font-size: 12px; font-style: normal; color: var(--mute-2); letter-spacing: .04em; }
.pullquote cite:empty { display: none; }

/* ============================================================
   STATUS QUO PROBLEM
   ============================================================ */
.split { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1fr); gap: clamp(32px,5vw,72px); align-items: center; }
.failbox {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
}
.failbox__hd { padding: 14px 18px; border-bottom: 1px solid var(--line); font-family: var(--mono); font-size: 11.5px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); display: flex; align-items: center; gap: 9px; }
.failrow { display: flex; align-items: center; gap: 14px; padding: 15px 18px; }
.failrow + .failrow { border-top: 1px solid var(--line); }
.failrow .ic { width: 30px; height: 30px; border-radius: 8px; background: var(--canvas-2); display: flex; align-items: center; justify-content: center; flex: none; color: var(--mute); }
.failrow .tx { font-size: 14.5px; color: var(--ink); }
.failrow .tx small { display: block; color: var(--mute-2); font-size: 12.5px; margin-top: 2px; }
.failrow .x { margin-left: auto; color: var(--alert); font-family: var(--mono); font-size: 12px; }

.checklist { list-style: none; margin: 24px 0 0; padding: 0; display: flex; flex-direction: column; gap: 14px; }
.checklist li { display: flex; gap: 13px; font-size: 15.5px; color: var(--ink); align-items: flex-start; }
.checklist .mk { flex: none; width: 22px; height: 22px; border-radius: 6px; background: var(--ok-tint); color: var(--ok); display: flex; align-items: center; justify-content: center; font-size: 13px; font-weight: 700; margin-top: 1px; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; margin-top: 44px; border-top: 1px solid var(--line); }
.step { padding: 28px 24px 26px; border-right: 1px solid var(--line); position: relative; }
.step:last-child { border-right: 0; }
.step__n { font-family: var(--mono); font-size: 12px; font-weight: 700; color: var(--accent); letter-spacing: .08em; }
.step__t { margin-top: 16px; font-size: 16.5px; font-weight: 600; color: var(--ink-2); letter-spacing: -.01em; }
.step__d { margin-top: 8px; font-size: 13.5px; color: var(--mute); line-height: 1.5; }
.step::after { content: ""; position: absolute; top: -1px; left: 0; width: 0; height: 2px; background: var(--accent); transition: width .5s var(--ease); }
.step[data-seen="true"]::after { width: 100%; }
@media (max-width: 900px) {
  .steps { grid-template-columns: 1fr; border-top: 0; }
  .step { border-right: 0; border-bottom: 1px solid var(--line); }
  .step::after { display: none; }
}

/* ============================================================
   DEFENSIBLE — value cards + audiogram
   ============================================================ */
.defend__grid { display: grid; grid-template-columns: minmax(0,1fr) minmax(0,1.1fr); gap: clamp(32px,4vw,56px); align-items: stretch; }
.vcards { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.vcard {
  background: var(--surface);
  border: var(--card-border);
  box-shadow: var(--card-shadow);
  border-radius: var(--radius);
  padding: 22px 20px;
  transition: box-shadow .2s var(--ease), transform .2s var(--ease);
}
.vcard:hover { box-shadow: var(--shadow-hover); transform: translateY(-2px); }
.vcard__ic { width: 34px; height: 34px; border-radius: 9px; background: rgba(58,110,165,.1); color: var(--accent-deep); display: flex; align-items: center; justify-content: center; margin-bottom: 14px; }
.vcard h3 { font-size: 16px; margin-bottom: 6px; }
.vcard p { margin: 0; font-size: 13.5px; color: var(--mute); line-height: 1.5; }
.vcard__tag { margin-top: 12px; display: inline-block; font-family: var(--mono); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; color: var(--mute-2); border: 1px solid var(--line); border-radius: 6px; padding: 3px 7px; }

/* audiogram panel */
.audiopanel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-rest);
  padding: 22px 22px 18px;
  display: flex; flex-direction: column;
}
.audiopanel__hd { display: flex; align-items: center; justify-content: space-between; margin-bottom: 6px; }
.audiopanel__hd .t { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--mute); }
.audiopanel__legend { display: flex; gap: 16px; }
.audiopanel__legend span { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; color: var(--mute); font-family: var(--mono); }
.lg-glyph { width: 14px; height: 14px; }
.audiopanel__caption { margin: 20px 0 13px; font-size: 12.5px; color: var(--mute-2); line-height: 1.45; }
.audiopanel__caption b { color: var(--watch); font-weight: 600; }

@media (max-width: 900px) {
  .defend__grid { grid-template-columns: 1fr; }
  .vcards { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 560px) { .vcards { grid-template-columns: 1fr; } }

/* ============================================================
   SECURITY
   ============================================================ */
.sec__grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; margin-top: 44px; }
.sec-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px 20px; }
.sec-card .h { display: flex; align-items: center; gap: 10px; margin-bottom: 10px; }
.sec-card .h .ic { color: var(--accent-deep); }
.sec-card .h .t { font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.sec-card p { margin: 0; font-size: 13px; color: var(--mute); line-height: 1.5; }
.sec-note { margin-top: 22px; font-size: 12.5px; color: var(--mute-2); font-family: var(--mono); letter-spacing: .02em; }
@media (max-width: 900px) { .sec__grid { grid-template-columns: 1fr 1fr; } }

/* ============================================================
   PILOT
   ============================================================ */
.pilot { display: grid; grid-template-columns: auto 1fr auto; gap: 28px; align-items: center; background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--radius-lg); padding: 30px 34px; }
.pilot__badge { font-family: var(--mono); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-deep); white-space: nowrap; }
.pilot__t { font-size: 18px; color: var(--ink-2); font-weight: 600; letter-spacing: -.01em; }
.pilot__d { font-size: 14px; color: var(--mute); margin-top: 4px; max-width: 60ch; }
@media (max-width: 820px) { .pilot { grid-template-columns: 1fr; text-align: left; gap: 18px; } }

/* ============================================================
   FINAL CTA
   ============================================================ */
.finalcta { background: var(--primary); color: #EaF0F7; border-radius: var(--radius-lg); padding: clamp(44px,6vw,72px); position: relative; overflow: hidden; }
.finalcta::before {
  content: ""; position: absolute; inset: 0;
  background:
    radial-gradient(120% 140% at 88% -10%, rgba(58,110,165,.55), transparent 55%),
    linear-gradient(180deg, rgba(255,255,255,.04), transparent);
  pointer-events: none;
}
.finalcta__in { position: relative; max-width: 720px; }
.finalcta .eyebrow { color: #9DC0E4; }
.finalcta .eyebrow::before { background: #9DC0E4; }
.finalcta h2 { color: #fff; font-size: clamp(30px,3.6vw,44px); }
.finalcta p { color: #C5D6E8; font-size: 18px; max-width: 56ch; margin: 0 0 30px; }
.finalcta__actions { display: flex; flex-wrap: wrap; align-items: center; gap: 16px; }
.finalcta .btn--primary { background: #fff; color: var(--primary); }
.finalcta .btn--primary:hover { background: #EAF1F8; }
.finalcta .btn--ghost { color: #fff; border-color: rgba(255,255,255,.35); }
.finalcta .btn--ghost:hover { background: rgba(255,255,255,.1); border-color: rgba(255,255,255,.6); color: #fff; }
.finalcta__mail { margin-top: 28px; font-size: 14px; color: #A9C2DC; }
.finalcta__mail a { color: #fff; text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(255,255,255,.4); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer { padding-block: 56px 40px; border-top: 1px solid var(--line); }
.footer__top { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 32px; }
.footer__brand p { margin: 16px 0 0; font-size: 13.5px; color: var(--mute); max-width: 34ch; line-height: 1.55; }
.footer h4 { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--mute-2); margin: 0 0 14px; font-weight: 600; }
.footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer ul a { color: var(--mute); font-size: 14px; }
.footer ul a:hover { color: var(--ink-2); }
.footer__bot { margin-top: 44px; padding-top: 22px; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; }
.footer__bot small { color: var(--mute-2); font-size: 12.5px; font-family: var(--mono); letter-spacing: .02em; }
.footer__refs { font-size: 11.5px; color: var(--mute-2); line-height: 1.6; max-width: 100%; margin-top: 30px; padding-top: 22px; border-top: 1px dashed var(--line); }
.footer__refs b { color: var(--mute); font-weight: 600; font-family: var(--mono); font-size: 11px; letter-spacing: .08em; text-transform: uppercase; display: block; margin-bottom: 8px; }
.footer__refs ol { margin: 0; padding-left: 20px; display: flex; flex-direction: column; gap: 5px; }
.footer__refs a { color: var(--accent); }

@media (max-width: 820px) {
  .footer__top { grid-template-columns: 1fr 1fr; gap: 28px; }
}

/* ============================================================
   RESPONSIVE — hero/splits collapse
   ============================================================ */
@media (max-width: 900px) {
  .hero__grid, .split, .testers { grid-template-columns: 1fr; }
  .hero__grid { gap: 40px; }
  .stat-grid { grid-template-columns: 1fr; }
}
@media (min-width: 561px) and (max-width: 900px) {
  .stat-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   MODAL — book a demo
   ============================================================ */
.modal-root { position: fixed; inset: 0; z-index: 100; display: none; }
.modal-root[data-open="true"] { display: block; }
.modal__scrim {
  position: absolute; inset: 0;
  background: rgba(15,23,32,.42);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  opacity: 0; transition: opacity .28s var(--ease);
}
.modal-root[data-open="true"] .modal__scrim { opacity: 1; }
@media (prefers-reduced-transparency: reduce) { .modal__scrim { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(15,23,32,.55); } }
.modal__card {
  position: absolute; top: 50%; left: 50%;
  width: min(100% - 32px, 520px);
  max-height: calc(100vh - 48px); overflow-y: auto;
  background: var(--canvas);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: 0 40px 90px -30px rgba(14,37,69,.6);
  transform: translate(-50%, -46%) scale(.98);
  opacity: 0;
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}
.modal-root[data-open="true"] .modal__card { transform: translate(-50%, -50%) scale(1); opacity: 1; }
@media (prefers-reduced-motion: reduce) { .modal__card, .modal__scrim { transition: none; } }
.modal__hd { padding: 24px 26px 4px; position: relative; }
.modal__ey { font-family: var(--mono); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; color: var(--accent); margin-bottom: 10px; }
.modal__hd h3 { font-size: 23px; letter-spacing: -.02em; margin: 0; color: var(--ink-2); }
.modal__hd p { margin: 8px 0 0; font-size: 14px; color: var(--mute); }
.modal__close {
  position: absolute; top: 18px; right: 18px;
  width: 34px; height: 34px; border-radius: 8px;
  border: 1px solid var(--line); background: var(--surface); color: var(--mute);
  cursor: pointer; font-size: 17px; line-height: 1; display: flex; align-items: center; justify-content: center;
  transition: background .15s, color .15s, border-color .15s;
}
.modal__close:hover { background: var(--canvas-2); color: var(--ink-2); border-color: var(--line-strong); }
.modal__form { padding: 18px 26px 26px; display: flex; flex-direction: column; gap: 15px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field label { font-size: 12.5px; font-weight: 600; color: var(--ink); letter-spacing: -.005em; }
.field label .req { color: var(--accent); }
.field__opt { color: var(--mute-2); font-weight: 500; }
.field input, .field select, .field textarea {
  font-family: var(--sans); font-size: 15px; color: var(--ink);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-sm);
  padding: 11px 13px;
  width: 100%;
  transition: border-color .15s, box-shadow .15s;
}
.field input::placeholder, .field textarea::placeholder { color: var(--mute-2); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(58,110,165,.18);
}
.field textarea { resize: vertical; min-height: 72px; }
.field[data-invalid="true"] input, .field[data-invalid="true"] select {
  border-color: var(--watch);
  box-shadow: 0 0 0 3px rgba(179,119,46,.16);
}
.field__err { font-size: 12px; color: var(--watch); font-weight: 500; display: none; align-items: center; gap: 6px; }
.field[data-invalid="true"] .field__err { display: flex; }
.modal__foot { display: flex; flex-direction: column; gap: 12px; margin-top: 4px; }
.modal__submit { width: 100%; }
.modal__fine { font-size: 12px; color: var(--mute-2); text-align: center; line-height: 1.5; }
.modal__fine a { color: var(--accent-deep); }
.modal__err-banner { font-size: 13px; color: var(--alert); text-align: center; line-height: 1.5; margin: 0; }
.modal__err-banner a { color: var(--alert); text-decoration: underline; text-underline-offset: 2px; }
/* honeypot — visually hidden, kept in the tab order off-screen for bots only */
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* success state */
.modal__success { display: none; padding: 40px 30px 34px; text-align: center; }
.modal-root[data-state="success"] .modal__form { display: none; }
.modal-root[data-state="success"] .modal__success { display: block; }
.modal-root[data-state="success"] .modal__hd { display: none; }
.success__ring { width: 60px; height: 60px; border-radius: 50%; background: var(--ok-tint); color: var(--ok); display: flex; align-items: center; justify-content: center; margin: 0 auto 20px; }
.modal__success h3 { font-size: 22px; margin: 0 0 8px; color: var(--ink-2); }
.modal__success p { font-size: 14.5px; color: var(--mute); margin: 0 auto; max-width: 38ch; line-height: 1.55; }
.modal__success .num { color: var(--ink-2); font-weight: 600; }
.success__done { margin-top: 26px; }

/* skip link */
.skip { position: absolute; left: -999px; top: 8px; background: var(--surface); color: var(--ink); padding: 10px 16px; border-radius: 8px; border: 1px solid var(--line-strong); z-index: 200; }
.skip:focus { left: 16px; }

/* print parity */
@media print {
  .site-header, .tw-mount, .modal-root, .hero__actions, .nav__cta { display: none !important; }
  body { background: #fff; color: #000; }
  .section { padding-block: 24px; }
  .finalcta { background: #fff; color: #000; border: 1px solid #ccc; }
  .finalcta h2, .finalcta p { color: #000; }
}
