/*!
 * ATTNhealth — site.css (design system v2)
 * Brand: Direction B "Neural Field". Static, no build step.
 * Fonts (load in <head>, see DESIGN-NOTES.md):
 *   Inter Tight 500–700 (display) · Inter 400–700 (text) · IBM Plex Mono 400/500 (data)
 *
 * Contents
 *  1. Tokens            8. Buttons & links      15. Founder
 *  2. Paper theme       9. Eyebrow, tags        16. CTA band
 *  3. Reset & base     10. Hero + visual        17. Forms
 *  4. Typography       11. Cards, features      18. Callouts
 *  5. Layout           12. Steps, timeline      19. Sample report
 *  6. Header & nav     13. Stats, footnotes     20. Footer
 *  7. Icons            14. Media                21. Motion, utilities
 */

/* =========================================================
   1. TOKENS
   ========================================================= */
:root {
  /* Brand primitives — do not use raw for small text (see DESIGN-NOTES contrast table) */
  --brand-violet: #7B3FFF;
  --brand-teal:   #00D4C8;
  --brand-void:   #04030D;
  --brand-gradient: linear-gradient(110deg, #7B3FFF 0%, #00D4C8 100%);
  --brand-gradient-soft: linear-gradient(110deg, #9F7BFF 0%, #00D4C8 100%); /* AA-safe with ink text */

  /* Semantic colour — DARK (default) */
  --bg:          #04030D;
  --bg-elev:     #080718;
  --surface:     #0D0B1F;
  --surface-2:   #15122E;
  --line:        rgba(244, 243, 248, 0.08);
  --line-strong: rgba(244, 243, 248, 0.16);
  --field-line:  #6A6588;               /* ≥3:1 on --surface (non-text) */
  --text:        #F4F3F8;               /* 18.6:1 on bg */
  --text-2:      #B9B5CC;               /* 10.3:1 */
  --text-3:      #928DA9;               /* 6.4:1 — footnotes, meta */
  --link:        #A98BFF;               /* 7.6:1 */
  --accent:      #00D4C8;               /* 11.0:1 — OK as text on dark */
  --accent-ui:   #7B3FFF;               /* 3.9:1 — borders/fills/large only */
  --accent-tint: rgba(0, 212, 200, 0.10);
  --violet-tint: rgba(123, 63, 255, 0.14);
  --error:       #FF8A96;
  --error-tint:  rgba(255, 138, 150, 0.10);
  --success:     #4EE0A6;
  --success-tint:rgba(78, 224, 166, 0.10);
  --warn:        #F2C46D;
  --warn-tint:   rgba(242, 196, 109, 0.08);
  --focus:       #00D4C8;
  --btn-ink:     #04030D;
  --dot:         rgba(255, 255, 255, 0.045);
  --header-bg:   rgba(4, 3, 13, 0.72);

  /* Typography */
  --font-display: "Inter Tight", "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-sans:    "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono:    "IBM Plex Mono", ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  --fs-xs:      0.8125rem;                                   /* 13 */
  --fs-sm:      0.9375rem;                                   /* 15 */
  --fs-base:    clamp(1rem, 0.97rem + 0.15vw, 1.0625rem);    /* 16→17 */
  --fs-lead:    clamp(1.125rem, 1.05rem + 0.4vw, 1.3125rem); /* 18→21 */
  --fs-h4:      clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);  /* 17→19 */
  --fs-h3:      clamp(1.25rem, 1.12rem + 0.55vw, 1.5rem);    /* 20→24 */
  --fs-h2:      clamp(1.875rem, 1.35rem + 2.1vw, 3rem);      /* 30→48 */
  --fs-h1:      clamp(2.25rem, 1.45rem + 3.4vw, 4.25rem);    /* 36→68 */
  --fs-display: clamp(2.5rem, 1.4rem + 4.8vw, 5.25rem);      /* 40→84 */
  --fs-stat:    clamp(2.25rem, 1.7rem + 2.2vw, 3.5rem);
  --fs-mono:    0.75rem;                                     /* 12 — labels (uppercase, tracked) */
  --fs-label:   0.75rem;                                     /* 12 — floor for functional text: chips, citations, table heads */

  --lh-tight: 1.05;
  --lh-snug:  1.2;
  --lh-body:  1.65;
  --tracking-display: -0.025em;
  --tracking-mono: 0.12em;
  --measure: 66ch;

  /* Spacing (4px base) */
  --s-1: 0.25rem;  --s-2: 0.5rem;  --s-3: 0.75rem; --s-4: 1rem;
  --s-5: 1.25rem;  --s-6: 1.5rem;  --s-7: 2rem;    --s-8: 2.5rem;
  --s-9: 3rem;     --s-10: 4rem;   --s-11: 5rem;   --s-12: 6rem;  --s-13: 8rem;
  --section-y: clamp(4.5rem, 2.8rem + 7vw, 9rem);
  --gutter: clamp(1.25rem, 0.6rem + 3vw, 3rem);
  --container: 72rem;      /* 1152px */
  --container-wide: 80rem; /* 1280px */
  --container-narrow: 46rem;
  --header-h: 4.25rem;

  /* Radii */
  --r-xs: 6px; --r-sm: 10px; --r-md: 14px; --r-lg: 20px; --r-xl: 28px; --r-pill: 999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px -8px rgba(0, 0, 0, 0.6), 0 2px 6px rgba(0, 0, 0, 0.3);
  --shadow-lg: 0 32px 64px -24px rgba(0, 0, 0, 0.75), 0 0 0 1px rgba(244, 243, 248, 0.06);
  --glow-violet: 0 0 0 1px rgba(123, 63, 255, 0.35), 0 12px 40px -12px rgba(123, 63, 255, 0.45);
  --glow-teal:   0 10px 36px -14px rgba(0, 212, 200, 0.55);

  /* Motion */
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-1: 140ms; --dur-2: 240ms; --dur-3: 600ms;

  color-scheme: dark;
}

/* =========================================================
   2. PAPER THEME — warm light sections. Apply .theme-paper to any
      section; every component re-maps through the semantic tokens.
   ========================================================= */
.theme-paper {
  --bg:          #F8F5F1;
  --bg-elev:     #F3EFE9;
  --surface:     #FFFFFF;
  --surface-2:   #EFEAE3;
  --line:        #E4DED6;
  --line-strong: #CFC8BE;
  --field-line:  #8E8799;
  --text:        #0A0818;
  --text-2:      #47425A;
  --text-3:      #625C72;
  --link:        #5B2BD9;
  --accent:      #00716B;
  --accent-ui:   #5B2BD9;
  --accent-tint: rgba(0, 113, 107, 0.08);
  --violet-tint: rgba(91, 43, 217, 0.08);
  --error:       #B3261E;
  --error-tint:  rgba(179, 38, 30, 0.06);
  --success:     #0A7350;
  --success-tint:rgba(10, 115, 80, 0.07);
  --warn:        #8A5300;
  --warn-tint:   rgba(138, 83, 0, 0.07);
  --focus:       #5B2BD9;
  --dot:         rgba(10, 8, 24, 0.06);
  --shadow-md: 0 10px 30px -14px rgba(30, 20, 60, 0.22), 0 1px 3px rgba(30, 20, 60, 0.06);
  --shadow-lg: 0 30px 60px -28px rgba(30, 20, 60, 0.28), 0 0 0 1px rgba(10, 8, 24, 0.05);
  color-scheme: light;
  background: var(--bg);
  color: var(--text);
}

/* =========================================================
   3. RESET & BASE
   ========================================================= */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; }
html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-sans);
  font-size: var(--fs-base);
  line-height: var(--lh-body);
  font-optical-sizing: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, picture, svg, video { display: block; max-width: 100%; }
img { height: auto; }
input, button, textarea, select { font: inherit; color: inherit; }
button { cursor: pointer; background: none; border: 0; padding: 0; }
p, li, figcaption { text-wrap: pretty; }
h1, h2, h3, h4 { text-wrap: balance; }
ul[role="list"], ol[role="list"] { list-style: none; padding: 0; }
::selection { background: rgba(0, 212, 200, 0.28); color: inherit; }
hr { border: 0; border-top: 1px solid var(--line); margin-block: var(--s-9); }

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

.skip-link {
  position: absolute; left: var(--s-4); top: -100px; z-index: 100;
  padding: var(--s-3) var(--s-5);
  background: var(--text); color: var(--bg);
  border-radius: var(--r-sm); font-weight: 600; text-decoration: none;
}
.skip-link:focus { top: var(--s-4); }

/* =========================================================
   4. TYPOGRAPHY
   ========================================================= */
.display, h1, .h1, h2, .h2 {
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: var(--tracking-display);
  line-height: var(--lh-tight);
  color: var(--text);
}
.display { font-size: var(--fs-display); font-weight: 800; letter-spacing: -0.035em; line-height: 1; }
h1, .h1 { font-size: var(--fs-h1); }
h2, .h2 { font-size: var(--fs-h2); line-height: 1.08; }
h3, .h3, h4, .h4 {
  font-family: var(--font-sans);
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: var(--lh-snug);
  color: var(--text);
}
h3, .h3 { font-size: var(--fs-h3); }
h4, .h4 { font-size: var(--fs-h4); }

.lead { font-size: var(--fs-lead); line-height: 1.55; color: var(--text-2); max-width: 40em; }
.prose { max-width: var(--measure); color: var(--text-2); }
.prose > * + * { margin-top: 1em; }
.prose h2, .prose h3 { margin-top: 1.8em; }
.prose strong { color: var(--text); font-weight: 600; }
.prose ul, .prose ol { padding-left: 1.2em; }
.prose li + li { margin-top: 0.4em; }
.prose li::marker { color: var(--text-3); }

.text-2 { color: var(--text-2); }
.text-3 { color: var(--text-3); }
.text-accent { color: var(--accent); }
.small { font-size: var(--fs-sm); }
.xsmall { font-size: var(--fs-xs); }
.mono {
  font-family: var(--font-mono);
  font-size: var(--fs-mono);
  letter-spacing: var(--tracking-mono);
  text-transform: uppercase;
}
.num { font-family: var(--font-mono); font-variant-numeric: tabular-nums; letter-spacing: 0; }
/* Restrained: use on ≤1 phrase per page, ≥24px only */
.text-gradient {
  background: var(--brand-gradient-soft);
  -webkit-background-clip: text; background-clip: text;
  color: transparent;
}

a { color: var(--link); text-decoration-thickness: 1px; text-underline-offset: 0.2em; transition: color var(--dur-1); }
a:hover { color: var(--text); }

/* =========================================================
   5. LAYOUT
   ========================================================= */
.container { width: 100%; max-width: calc(var(--container) + 2 * var(--gutter)); margin-inline: auto; padding-inline: var(--gutter); }
.container--wide { max-width: calc(var(--container-wide) + 2 * var(--gutter)); }
.container--narrow { max-width: calc(var(--container-narrow) + 2 * var(--gutter)); }

.section { position: relative; padding-block: var(--section-y); }
.section--tight { padding-block: calc(var(--section-y) * 0.6); }
.section--elev { background: var(--bg-elev); }
.section--rule { border-top: 1px solid var(--line); }
.section__head { max-width: 44rem; margin-bottom: clamp(var(--s-8), 4vw, var(--s-11)); }
.section__head > * + * { margin-top: var(--s-5); }
.section__head--center { margin-inline: auto; text-align: center; }
.section__head--center .lead { margin-inline: auto; }

.grid { display: grid; gap: var(--grid-gap, clamp(1rem, 0.6rem + 1.5vw, 1.5rem)); }
.grid--2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 22rem), 1fr)); }
.grid--3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 17rem), 1fr)); }
.grid--4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 14rem), 1fr)); }
.split { display: grid; gap: clamp(2.5rem, 1rem + 5vw, 6rem); align-items: center; }
@media (min-width: 900px) {
  .split { grid-template-columns: 1fr 1fr; }
  .split--7-5 { grid-template-columns: 7fr 5fr; }
  .split--5-7 { grid-template-columns: 5fr 7fr; }
}
.stack > * + * { margin-top: var(--stack, var(--s-5)); }
.cluster { display: flex; flex-wrap: wrap; gap: var(--cluster, var(--s-3)); align-items: center; }

/* Ambient background: dot field fading out */
.bg-dots::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(var(--dot) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%);
  mask-image: radial-gradient(ellipse 70% 60% at 60% 30%, #000 20%, transparent 75%);
}
.section > .container { position: relative; }

/* =========================================================
   6. HEADER & NAV
   ========================================================= */
.site-header {
  position: sticky; top: 0; z-index: 50;
  height: var(--header-h);
  background: var(--header-bg);
  -webkit-backdrop-filter: saturate(160%) blur(14px);
  backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color var(--dur-2), background-color var(--dur-2);
}
.site-header.is-scrolled { border-bottom-color: var(--line); }
.site-header__inner { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: var(--s-6); }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; border-radius: var(--r-xs); }
.brand img { height: 28px; width: auto; }

.nav { display: none; }
.nav__list { display: flex; gap: var(--s-1); list-style: none; padding: 0; }
.nav__link {
  position: relative; display: block;
  padding: var(--s-2) var(--s-3);
  font-size: var(--fs-sm); font-weight: 500;
  color: var(--text-2); text-decoration: none;
  border-radius: var(--r-xs);
  transition: color var(--dur-1), background-color var(--dur-1);
}
.nav__link:hover { color: var(--text); background: rgba(244, 243, 248, 0.04); }
.nav__link[aria-current="page"] { color: var(--text); }
.nav__link[aria-current="page"]::after {
  content: ""; position: absolute; left: var(--s-3); right: var(--s-3); bottom: 2px; height: 1.5px;
  background: var(--brand-gradient); border-radius: 2px;
}
.header-cta { display: none; }

.nav-toggle {
  display: inline-grid; place-items: center;
  width: 44px; height: 44px; margin-right: -10px;
  border-radius: var(--r-sm); color: var(--text);
}
.nav-toggle__bars { position: relative; width: 20px; height: 12px; }
.nav-toggle__bars::before, .nav-toggle__bars::after {
  content: ""; position: absolute; left: 0; right: 0; height: 1.5px; border-radius: 2px; background: currentColor;
  transition: transform var(--dur-2) var(--ease-out), top var(--dur-2) var(--ease-out);
}
.nav-toggle__bars::before { top: 2px; }
.nav-toggle__bars::after { top: 9px; }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::before { top: 5.5px; transform: rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle__bars::after { top: 5.5px; transform: rotate(-45deg); }

.mobile-menu {
  position: fixed; inset: var(--header-h) 0 0 0; z-index: 49;
  padding: var(--s-6) var(--gutter) var(--s-9);
  background: var(--bg);
  overflow-y: auto;
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: opacity var(--dur-2) var(--ease-out), transform var(--dur-2) var(--ease-out), visibility 0s linear var(--dur-2);
}
.mobile-menu.is-open { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }
.mobile-menu__list { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.mobile-menu__list a {
  display: flex; justify-content: space-between; align-items: center;
  padding: var(--s-5) 0; border-bottom: 1px solid var(--line);
  font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em;
  color: var(--text); text-decoration: none;
}
.mobile-menu__list a[aria-current="page"] { color: var(--accent); }
.mobile-menu__actions { display: grid; gap: var(--s-3); margin-top: var(--s-8); }
body.menu-open { overflow: hidden; }

@media (min-width: 960px) {
  .nav { display: block; }
  .header-cta { display: inline-flex; }
  .nav-toggle, .mobile-menu { display: none; }
}

/* =========================================================
   7. ICONS — inline SVG, 24×24 viewBox, stroke = currentColor
   ========================================================= */
.icon { width: 1.5rem; height: 1.5rem; flex-shrink: 0; fill: none; stroke: currentColor; stroke-width: 1.5; stroke-linecap: round; stroke-linejoin: round; }
.icon--sm { width: 1.125rem; height: 1.125rem; }
.icon--lg { width: 2rem; height: 2rem; }
.icon-tile {
  display: inline-grid; place-items: center;
  width: 2.75rem; height: 2.75rem; border-radius: var(--r-sm);
  color: var(--accent);
  background:
    linear-gradient(var(--surface-2), var(--surface-2)) padding-box,
    linear-gradient(140deg, rgba(123, 63, 255, 0.55), rgba(0, 212, 200, 0.35)) border-box;
  border: 1px solid transparent;
}
.theme-paper .icon-tile {
  background:
    linear-gradient(#fff, #fff) padding-box,
    linear-gradient(140deg, rgba(91, 43, 217, 0.45), rgba(0, 113, 107, 0.35)) border-box;
}

/* =========================================================
   8. BUTTONS & LINKS
   ========================================================= */
.btn {
  --btn-h: 2.875rem;
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: var(--btn-h);
  padding: 0 1.25rem;
  border-radius: var(--r-pill);
  border: 1px solid transparent;
  font-family: var(--font-sans); font-size: var(--fs-sm); font-weight: 600; line-height: 1;
  letter-spacing: -0.005em;
  text-decoration: none; white-space: nowrap;
  cursor: pointer;
  transition: transform var(--dur-1) var(--ease-out), box-shadow var(--dur-2) var(--ease-out),
              background-color var(--dur-2), border-color var(--dur-2), color var(--dur-2);
}
.btn .icon { width: 1.05em; height: 1.05em; stroke-width: 2; transition: transform var(--dur-2) var(--ease-out); }
.btn:hover .icon--arrow { transform: translateX(3px); }
.btn:active { transform: translateY(1px); }
.btn--sm { --btn-h: 2.25rem; padding: 0 0.95rem; font-size: var(--fs-xs); }
.btn--lg { --btn-h: 3.25rem; padding: 0 1.6rem; font-size: 1rem; }
.btn--block { width: 100%; }

/* Primary: violet→teal gradient, ink text (AA: 6.6:1 at violet stop, 11:1 at teal) */
.btn--primary {
  color: var(--btn-ink);
  background: var(--brand-gradient-soft);
  background-size: 140% 100%; background-position: 0% 50%;
  box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 8px 24px -10px rgba(123, 63, 255, 0.6);
}
.btn--primary:hover { color: var(--btn-ink); background-position: 100% 50%; box-shadow: 0 1px 0 rgba(255, 255, 255, 0.25) inset, 0 12px 30px -10px rgba(0, 212, 200, 0.55); }
/* On paper, the primary is solid ink (gradient reads weak on cream) */
.theme-paper .btn--primary { color: #fff; background: #0A0818; box-shadow: var(--shadow-sm); }
.theme-paper .btn--primary:hover { color: #fff; background: #221C3F; }

.btn--secondary { color: var(--text); background: rgba(244, 243, 248, 0.04); border-color: var(--line-strong); }
.btn--secondary:hover { color: var(--text); background: rgba(244, 243, 248, 0.08); border-color: rgba(244, 243, 248, 0.32); }
.theme-paper .btn--secondary { background: #fff; }
.theme-paper .btn--secondary:hover { background: #fff; border-color: #0A0818; }

.btn--ghost { color: var(--text); padding-inline: 0.25rem; border-radius: var(--r-xs); }
.btn--ghost:hover { color: var(--accent); }

.btn[disabled], .btn[aria-disabled="true"] { opacity: 0.45; pointer-events: none; }

.link-arrow { display: inline-flex; align-items: center; gap: 0.4em; font-weight: 600; text-decoration: none; color: var(--text); }
.link-arrow .icon { width: 1em; height: 1em; stroke-width: 2; transition: transform var(--dur-2) var(--ease-out); }
.link-arrow:hover { color: var(--accent); }
.link-arrow:hover .icon { transform: translateX(3px); }

/* =========================================================
   9. EYEBROW, TAGS
   ========================================================= */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.75em;
  font-family: var(--font-mono); font-size: var(--fs-mono); font-weight: 500;
  letter-spacing: var(--tracking-mono); text-transform: uppercase;
  color: var(--accent);
}
.eyebrow::before { content: ""; width: 1.5rem; height: 1.5px; background: var(--brand-gradient); border-radius: 2px; }
.eyebrow--plain::before { display: none; }

.tag {
  display: inline-flex; align-items: center; gap: 0.5em;
  padding: 0.3rem 0.7rem;
  border-radius: var(--r-pill);
  border: 1px solid var(--line-strong);
  font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 500;
  letter-spacing: 0.08em; text-transform: uppercase; line-height: 1.2;
  color: var(--text-2);
}
.tag--accent { color: var(--accent); border-color: transparent; background: var(--accent-tint); }
.tag--violet { color: var(--link); border-color: transparent; background: var(--violet-tint); }
.tag--warn { color: var(--warn); border-color: transparent; background: var(--warn-tint); }
.tag__dot { width: 6px; height: 6px; border-radius: 50%; background: currentColor; box-shadow: 0 0 0 3px color-mix(in srgb, currentColor 22%, transparent); }

/* =========================================================
   10. HERO + DATA VISUAL
   ========================================================= */
.hero { position: relative; overflow: hidden; padding-block: clamp(3.5rem, 2rem + 6vw, 7.5rem) clamp(4rem, 2rem + 7vw, 8.5rem); }
.hero::after { /* soft brand glow, top-right */
  content: ""; position: absolute; z-index: 0; pointer-events: none;
  width: 70vw; height: 70vw; max-width: 900px; max-height: 900px;
  right: -20vw; top: -25vw;
  background: radial-gradient(closest-side, rgba(123, 63, 255, 0.16), rgba(0, 212, 200, 0.05) 60%, transparent);
}
.hero > .container { position: relative; z-index: 1; }
.hero__grid { display: grid; gap: clamp(3rem, 2rem + 4vw, 5rem); align-items: center; }
@media (min-width: 1000px) { .hero__grid { grid-template-columns: 1.1fr 0.9fr; } }
.hero__title { font-size: var(--fs-display); font-weight: 800; letter-spacing: -0.035em; line-height: 1.0; margin-top: var(--s-6); max-width: 13ch; }
.hero__lead { margin-top: var(--s-6); }
.hero__actions { margin-top: var(--s-8); }
.hero__note { margin-top: var(--s-6); font-size: var(--fs-xs); color: var(--text-3); max-width: 38rem; }

.data-visual {
  position: relative;
  border-radius: var(--r-xl);
  padding: clamp(1rem, 0.6rem + 1.5vw, 1.5rem);
  background: linear-gradient(180deg, rgba(21, 18, 46, 0.7), rgba(13, 11, 31, 0.5));
  border: 1px solid var(--line);
  box-shadow: var(--shadow-lg);
}
.data-visual__head, .data-visual__foot {
  display: flex; justify-content: space-between; align-items: center; gap: var(--s-4); flex-wrap: wrap;
  font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3);
}
.data-visual__head { padding: 0.25rem 0.25rem 0.75rem; border-bottom: 1px solid var(--line); }
.data-visual__foot { padding: 0.75rem 0.25rem 0.25rem; border-top: 1px solid var(--line); }
.data-visual svg { width: 100%; height: auto; overflow: visible; }
.data-visual .dv-axis { stroke: rgba(244, 243, 248, 0.14); stroke-width: 1; }
.data-visual .dv-grid { stroke: rgba(244, 243, 248, 0.05); stroke-width: 1; }
.data-visual .dv-label { font-family: var(--font-mono); font-size: 14.5px; fill: var(--text-3); letter-spacing: 0.06em; }
.data-visual .dv-label--hi { fill: var(--text-2); }
.data-visual .dv-bins rect { fill: rgba(123, 63, 255, 0.16); }
.data-visual .dv-curve { fill: none; stroke: url(#dv-grad); stroke-width: 2.25; stroke-linecap: round; stroke-linejoin: round; }
.data-visual .dv-area { fill: url(#dv-fill); }
.data-visual .dv-marker { stroke: rgba(244, 243, 248, 0.28); stroke-width: 1; stroke-dasharray: 2 4; }
.data-visual .dv-tail { stroke: var(--brand-teal); stroke-width: 1.25; fill: none; opacity: 0.8; }
.data-visual .dv-orbit { fill: none; stroke: url(#dv-orbit); }
.dv-orbits { transform-origin: 50% 50%; transform-box: fill-box; }

@media (prefers-reduced-motion: no-preference) {
  .dv-curve { stroke-dasharray: 1400; stroke-dashoffset: 1400; animation: dv-draw 2.4s var(--ease-out) 0.3s forwards; }
  .dv-area, .dv-bins, .dv-annot { opacity: 0; animation: dv-fade 1.2s var(--ease-out) 1.4s forwards; }
  .dv-orbits { animation: dv-spin 90s linear infinite; }
  .dv-core { animation: dv-pulse 3.2s ease-in-out infinite; transform-origin: center; transform-box: fill-box; }
}
@keyframes dv-draw { to { stroke-dashoffset: 0; } }
@keyframes dv-fade { to { opacity: 1; } }
@keyframes dv-spin { to { transform: rotate(360deg); } }
@keyframes dv-pulse { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.6; transform: scale(1.35); } }

/* =========================================================
   11. CARDS, FEATURE GRID
   ========================================================= */
.card {
  position: relative;
  display: flex; flex-direction: column; gap: var(--s-4);
  padding: clamp(1.5rem, 1.1rem + 1.2vw, 2rem);
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  transition: border-color var(--dur-2), transform var(--dur-2) var(--ease-out), box-shadow var(--dur-2);
}
.card__title { font-size: var(--fs-h4); }
.card__body { color: var(--text-2); font-size: var(--fs-sm); line-height: 1.6; }
.card__foot { margin-top: auto; padding-top: var(--s-3); }
.card--link { text-decoration: none; color: inherit; }
.card--link:hover { border-color: var(--line-strong); transform: translateY(-2px); box-shadow: var(--shadow-md); color: inherit; }
.card--glow { background: linear-gradient(var(--surface), var(--surface)) padding-box, linear-gradient(150deg, rgba(123, 63, 255, 0.5), rgba(0, 212, 200, 0.18) 45%, var(--line) 70%) border-box; border-color: transparent; }
.theme-paper .card { box-shadow: 0 1px 2px rgba(30, 20, 60, 0.04); }

.feature-grid { display: grid; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr)); }
.feature { display: flex; flex-direction: column; gap: var(--s-3); padding: clamp(1.5rem, 1rem + 1.5vw, 2.25rem); background: var(--bg); }
.section--elev .feature { background: var(--bg-elev); }
.feature .icon-tile { margin-bottom: var(--s-2); }
.feature__title { font-size: var(--fs-h4); }
.feature__body { color: var(--text-2); font-size: var(--fs-sm); line-height: 1.6; }

/* =========================================================
   12. STEPS & TIMELINE
   ========================================================= */
.steps { list-style: none; padding: 0; display: grid; gap: var(--s-8); counter-reset: step; }
.step { position: relative; padding-left: 3.75rem; counter-increment: step; }
.step::before {
  content: counter(step, decimal-leading-zero);
  position: absolute; left: 0; top: 0;
  display: grid; place-items: center; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; color: var(--accent);
  background: var(--surface); border: 1px solid var(--line-strong);
}
.step::after { /* connector */
  content: ""; position: absolute; left: calc(1.25rem - 0.5px); top: 3rem; bottom: calc(-1 * var(--s-8) + 0.5rem);
  width: 1px; background: linear-gradient(var(--line-strong), transparent);
}
.step:last-child::after { display: none; }
.step__title { font-size: var(--fs-h4); margin-top: 0.45rem; }
.step__body { margin-top: var(--s-2); color: var(--text-2); font-size: var(--fs-sm); max-width: 34rem; }
.step__meta { margin-top: var(--s-3); }
@media (min-width: 900px) {
  .steps--row { grid-template-columns: repeat(var(--steps, 4), 1fr); gap: var(--s-7); }
  .steps--row .step { padding-left: 0; padding-top: 4rem; }
  .steps--row .step::after { left: 3.25rem; right: calc(-1 * var(--s-7) + 0.75rem); top: 1.25rem; bottom: auto; width: auto; height: 1px; background: linear-gradient(90deg, var(--line-strong), transparent); }
}

.timeline { list-style: none; padding: 0; position: relative; display: grid; gap: var(--s-7); }
.timeline::before { content: ""; position: absolute; left: 7px; top: 8px; bottom: 8px; width: 1px; background: linear-gradient(var(--accent-ui), var(--line) 40%, transparent); }
.timeline__item { position: relative; padding-left: 2.5rem; }
.timeline__item::before {
  content: ""; position: absolute; left: 0; top: 0.4rem; width: 15px; height: 15px; border-radius: 50%;
  background: var(--bg); border: 1.5px solid var(--line-strong);
}
.timeline__item.is-current::before { border-color: var(--accent); background: radial-gradient(circle, var(--accent) 0 3.5px, var(--bg) 4px); box-shadow: 0 0 0 5px var(--accent-tint); }
.timeline__phase { display: flex; flex-wrap: wrap; gap: var(--s-3); align-items: center; }
.timeline__title { font-size: var(--fs-h4); margin-top: var(--s-2); }
.timeline__body { color: var(--text-2); font-size: var(--fs-sm); margin-top: var(--s-2); max-width: 36rem; }

/* =========================================================
   13. STATS & SOURCE FOOTNOTES
   ========================================================= */
.stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 12rem), 1fr)); border-top: 1px solid var(--line); }
.stat { padding: var(--s-7) var(--s-6) var(--s-6) 0; }
.stat + .stat { border-left: 0; }
@media (min-width: 700px) { .stat { padding-left: var(--s-6); border-left: 1px solid var(--line); } .stat:first-child { padding-left: 0; border-left: 0; } }
.stat__value { font-family: var(--font-display); font-weight: 700; font-size: var(--fs-stat); letter-spacing: -0.03em; line-height: 1; color: var(--text); }
.stat__value small { font-size: 0.5em; letter-spacing: -0.01em; color: var(--text-2); margin-left: 0.1em; }
.stat__label { margin-top: var(--s-3); color: var(--text-2); font-size: var(--fs-sm); line-height: 1.5; max-width: 18rem; }
.fn-ref { font-family: var(--font-mono); font-size: 0.7em; font-weight: 500; vertical-align: super; line-height: 0; margin-left: 0.15em; text-decoration: none; color: var(--accent); }
.fn-ref:hover { text-decoration: underline; }
.footnotes { margin-top: var(--s-7); padding-top: var(--s-5); border-top: 1px solid var(--line); list-style: none; padding-left: 0; counter-reset: fn; display: grid; gap: var(--s-2); }
.footnotes li { counter-increment: fn; position: relative; padding-left: 1.75rem; font-size: var(--fs-xs); line-height: 1.55; color: var(--text-3); }
.footnotes li::before { content: counter(fn); position: absolute; left: 0; top: 0; font-family: var(--font-mono); color: var(--accent); }
.footnotes a { color: var(--text-2); }
.footnotes li:target { color: var(--text-2); }
/* Visible placeholder for unsourced claims — must be removed before launch */
.source-needed { display: inline; padding: 0.05em 0.35em; border-radius: 4px; font-family: var(--font-mono); font-size: 0.8em; color: var(--warn); background: var(--warn-tint); outline: 1px dashed currentColor; outline-offset: -1px; }

/* =========================================================
   14. MEDIA
   ========================================================= */
.media-frame { position: relative; border-radius: var(--r-lg); overflow: hidden; background: var(--surface-2); }
.media-frame img { width: 100%; height: 100%; object-fit: cover; }
.media-caption { margin-top: var(--s-3); font-size: var(--fs-xs); color: var(--text-3); }

/* =========================================================
   15. FOUNDER
   ========================================================= */
.founder { display: grid; gap: clamp(2rem, 1rem + 4vw, 5rem); align-items: start; }
@media (min-width: 860px) { .founder { grid-template-columns: minmax(16rem, 5fr) 7fr; } }
.founder__photo { position: relative; border-radius: var(--r-xl); padding: 1px; background: linear-gradient(150deg, rgba(123, 63, 255, 0.6), rgba(0, 212, 200, 0.25) 50%, var(--line) 80%); max-width: 26rem; }
.founder__photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: 50% 20%; border-radius: calc(var(--r-xl) - 1px); }
.founder__name { font-size: var(--fs-h2); margin-top: var(--s-5); }
.founder__role { margin-top: var(--s-3); color: var(--text-2); font-size: var(--fs-sm); }
.founder__quote { margin-top: var(--s-7); padding-left: var(--s-5); border-left: 2px solid; border-image: var(--brand-gradient) 1; font-size: var(--fs-lead); line-height: 1.5; color: var(--text); max-width: 36rem; }
.founder__creds { margin-top: var(--s-7); list-style: none; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); }
.founder__creds li { display: grid; grid-template-columns: 8.5rem 1fr; gap: var(--s-4); padding: var(--s-3) 0; border-bottom: 1px solid var(--line); font-size: var(--fs-sm); color: var(--text-2); }
.founder__creds li > span:first-child { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); padding-top: 0.2em; }
@media (max-width: 480px) { .founder__creds li { grid-template-columns: 1fr; gap: var(--s-1); } }

/* =========================================================
   16. CTA BAND
   ========================================================= */
.cta-band {
  position: relative; overflow: hidden;
  border-radius: var(--r-xl);
  padding: clamp(2rem, 1rem + 4vw, 4.5rem);
  background:
    radial-gradient(120% 140% at 100% 0%, rgba(123, 63, 255, 0.22), transparent 55%),
    radial-gradient(90% 120% at 0% 100%, rgba(0, 212, 200, 0.12), transparent 60%),
    var(--surface);
  border: 1px solid var(--line-strong);
}
.cta-band__grid { position: relative; display: grid; gap: var(--s-8); }
@media (min-width: 860px) { .cta-band__grid { grid-template-columns: 1fr 1fr; gap: 0; } .cta-band__col + .cta-band__col { padding-left: clamp(2rem, 4vw, 4rem); border-left: 1px solid var(--line-strong); } .cta-band__col:first-child { padding-right: clamp(2rem, 4vw, 4rem); } }
.cta-band__col { display: flex; flex-direction: column; gap: var(--s-4); align-items: flex-start; }
.cta-band__title { font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); }
.cta-band__body { color: var(--text-2); max-width: 28rem; }
.cta-band__col .btn { margin-top: var(--s-3); }

/* =========================================================
   17. FORMS
   ========================================================= */
.form { display: grid; gap: var(--s-6); }
.form__row { display: grid; gap: var(--s-6); }
@media (min-width: 640px) { .form__row { grid-template-columns: 1fr 1fr; } }
.field { display: grid; gap: var(--s-2); align-content: start; }
.field__label { font-size: var(--fs-sm); font-weight: 500; color: var(--text); }
.field__label .req { color: var(--text-3); font-weight: 400; margin-left: 0.25em; }
.field__hint { font-size: var(--fs-xs); color: var(--text-3); }
.input, .select, .textarea {
  width: 100%;
  min-height: 3rem;
  padding: 0.75rem 1rem;
  background: var(--surface);
  border: 1px solid var(--field-line);
  border-radius: var(--r-sm);
  color: var(--text);
  font-size: 1rem; /* ≥16px prevents iOS zoom */
  line-height: 1.4;
  transition: border-color var(--dur-1), box-shadow var(--dur-1), background-color var(--dur-1);
}
.input::placeholder, .textarea::placeholder { color: var(--text-3); opacity: 1; }
.input:hover, .select:hover, .textarea:hover { border-color: var(--text-3); }
.input:focus-visible, .select:focus-visible, .textarea:focus-visible {
  outline: none; border-color: var(--focus);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--focus) 28%, transparent);
}
.textarea { min-height: 8.5rem; resize: vertical; }
.select {
  appearance: none; -webkit-appearance: none; padding-right: 2.75rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23928DA9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 0.9rem center; background-size: 1.1rem;
}
.select option { background: #0D0B1F; color: #F4F3F8; }
.theme-paper .select option { background: #fff; color: #0A0818; }

.input[aria-invalid="true"], .select[aria-invalid="true"], .textarea[aria-invalid="true"], .field.is-invalid .input { border-color: var(--error); background: var(--error-tint); }
.field.is-valid .input { border-color: var(--success); }
.field__error, .field__success { display: flex; gap: 0.4rem; align-items: flex-start; font-size: var(--fs-xs); font-weight: 500; }
.field__error { color: var(--error); }
.field__success { color: var(--success); }
.field__error .icon, .field__success .icon { width: 1rem; height: 1rem; margin-top: 0.05rem; stroke-width: 2; }

.check { display: grid; grid-template-columns: auto 1fr; gap: var(--s-3); align-items: start; font-size: var(--fs-sm); color: var(--text-2); cursor: pointer; }
.check input {
  appearance: none; -webkit-appearance: none; margin: 0.15rem 0 0;
  width: 1.25rem; height: 1.25rem; border-radius: 5px;
  border: 1.5px solid var(--field-line); background: var(--surface);
  display: grid; place-items: center; cursor: pointer;
  transition: background-color var(--dur-1), border-color var(--dur-1);
}
.check input::after { content: ""; width: 0.7rem; height: 0.7rem; transform: scale(0); transition: transform var(--dur-1) var(--ease-out);
  background: var(--btn-ink); clip-path: polygon(14% 44%, 0 59%, 40% 100%, 100% 22%, 86% 8%, 39% 70%); }
.check input:checked { background: var(--accent); border-color: var(--accent); }
.check input:checked::after { transform: scale(1); }
.theme-paper .check input::after { background: #fff; }
.check input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
.check input[aria-invalid="true"] { border-color: var(--error); }

.fieldset { border: 0; padding: 0; display: grid; gap: var(--s-3); }
.fieldset legend { font-size: var(--fs-sm); font-weight: 500; margin-bottom: var(--s-2); }

.form-status { display: flex; gap: var(--s-3); align-items: flex-start; padding: var(--s-4) var(--s-5); border-radius: var(--r-md); font-size: var(--fs-sm); }
.form-status .icon { margin-top: 0.1rem; width: 1.25rem; height: 1.25rem; }
.form-status--success { background: var(--success-tint); color: var(--text); border: 1px solid color-mix(in srgb, var(--success) 40%, transparent); }
.form-status--success .icon { color: var(--success); }
.form-status--error { background: var(--error-tint); color: var(--text); border: 1px solid color-mix(in srgb, var(--error) 40%, transparent); }
.form-status--error .icon { color: var(--error); }
.form__legal { font-size: var(--fs-xs); color: var(--text-3); }

/* =========================================================
   18. CALLOUTS & DISCLAIMERS
   ========================================================= */
.callout {
  display: grid; grid-template-columns: auto 1fr; gap: var(--s-4);
  padding: var(--s-5) var(--s-6);
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: var(--fs-sm); color: var(--text-2); line-height: 1.6;
}
.callout > .icon { color: var(--accent); margin-top: 0.05rem; }
.callout__title { font-weight: 600; color: var(--text); margin-bottom: var(--s-1); }
.callout--caution { background: var(--warn-tint); border-color: color-mix(in srgb, var(--warn) 30%, transparent); }
.callout--caution > .icon { color: var(--warn); }
.callout--note { border-left: 2px solid var(--accent-ui); border-radius: 0 var(--r-md) var(--r-md) 0; }
.disclaimer { font-size: var(--fs-xs); line-height: 1.6; color: var(--text-3); max-width: 75ch; }
.disclaimer strong { color: var(--text-2); font-weight: 600; }

/* =========================================================
   19. ILLUSTRATIVE SAMPLE REPORT
   Never render real or realistic-looking patient verdicts here.
   ========================================================= */
.report {
  --report-bg: #FFFFFF;
  position: relative; overflow: hidden;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow-lg);
  font-size: var(--fs-sm);
}
.report__banner {
  display: flex; align-items: center; justify-content: center; gap: var(--s-2);
  padding: 0.55rem var(--s-4);
  font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; text-align: center;
  color: var(--warn); background: var(--warn-tint);
  border-bottom: 1px solid color-mix(in srgb, var(--warn) 30%, transparent);
}
.report__head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: var(--s-4); padding: var(--s-6) var(--s-6) var(--s-5); border-bottom: 1px solid var(--line); }
.report__title { font-family: var(--font-sans); font-size: 1.125rem; font-weight: 600; letter-spacing: -0.01em; }
.report__meta { display: grid; grid-template-columns: repeat(3, auto); gap: var(--s-1) var(--s-6); font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.04em; color: var(--text-3); }
.report__meta dt { text-transform: uppercase; letter-spacing: 0.1em; }
.report__meta dd { color: var(--text-2); }
.report__meta div { display: grid; gap: 2px; }
.report__body { display: grid; gap: 0; }
@media (min-width: 820px) { .report__body { grid-template-columns: 1.15fr 1fr; } .report__panel + .report__panel { border-left: 1px solid var(--line); } }
.report__panel { padding: var(--s-6); display: grid; gap: var(--s-5); align-content: start; }
.report__panel + .report__panel { border-top: 1px solid var(--line); }
@media (min-width: 820px) { .report__panel + .report__panel { border-top: 0; } .report__panel--full { grid-column: 1 / -1; border-top: 1px solid var(--line) !important; border-left: 0 !important; } }
.report__label { font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); display: flex; justify-content: space-between; gap: var(--s-3); }

.domain-bars { list-style: none; padding: 0; display: grid; gap: var(--s-4); }
.domain-bar { display: grid; gap: 0.4rem; }
.domain-bar__top { display: flex; justify-content: space-between; gap: var(--s-3); color: var(--text); font-size: var(--fs-sm); }
.domain-bar__top .num { color: var(--text-2); font-size: 0.75rem; }
.domain-bar__track { position: relative; height: 8px; border-radius: var(--r-pill); background: rgba(244, 243, 248, 0.06); }
.theme-paper .domain-bar__track { background: rgba(10, 8, 24, 0.06); }
.domain-bar__band { position: absolute; top: 0; bottom: 0; left: 25%; right: 25%; background: rgba(244, 243, 248, 0.08); border-left: 1px dashed var(--line-strong); border-right: 1px dashed var(--line-strong); }
.domain-bar__fill { position: absolute; left: 0; top: 0; bottom: 0; width: var(--v, 50%); border-radius: var(--r-pill); background: var(--brand-gradient); opacity: 0.85; }
.domain-bar__mark { position: absolute; top: 50%; left: var(--v, 50%); width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: var(--surface); border: 2.5px solid var(--brand-teal); }
.domain-bars__legend { display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-5); font-size: 0.75rem; color: var(--text-3); }
.domain-bars__legend span { display: inline-flex; align-items: center; gap: 0.45rem; }
.legend-swatch { width: 18px; height: 8px; border-radius: 2px; background: rgba(244, 243, 248, 0.08); border: 1px dashed var(--line-strong); }
.legend-swatch--fill { background: var(--brand-gradient); border: 0; }

.metric-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-sm); overflow: hidden; }
.metric { background: var(--surface); padding: var(--s-3) var(--s-4); display: grid; gap: 2px; }
.metric__k { font-family: var(--font-mono); font-size: var(--fs-label); color: var(--text-3); letter-spacing: 0.04em; }
.metric__v { font-family: var(--font-mono); font-size: 1rem; font-weight: 500; color: var(--text); font-variant-numeric: tabular-nums; }

.validity { list-style: none; padding: 0; display: grid; gap: var(--s-2); }
.validity li { display: grid; grid-template-columns: auto 1fr auto; gap: var(--s-3); align-items: center; padding: var(--s-3) var(--s-4); border-radius: var(--r-sm); background: rgba(244, 243, 248, 0.03); border: 1px solid var(--line); }
.theme-paper .validity li { background: var(--bg); }
.validity .icon { width: 1.125rem; height: 1.125rem; stroke-width: 2; color: var(--success); }
.validity li.is-flag .icon { color: var(--warn); }
.validity__state { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.report__foot { padding: var(--s-4) var(--s-6); border-top: 1px solid var(--line); font-size: var(--fs-xs); color: var(--text-3); background: rgba(244, 243, 248, 0.02); }

/* =========================================================
   20. FOOTER
   ========================================================= */
.site-footer { border-top: 1px solid var(--line); padding-block: clamp(3.5rem, 2.5rem + 4vw, 6rem) var(--s-8); background: var(--bg); color: var(--text-2); font-size: var(--fs-sm); }
.site-footer__top { display: grid; gap: var(--s-9); }
@media (min-width: 860px) { .site-footer__top { grid-template-columns: 1.4fr repeat(3, 1fr); gap: var(--s-7); } }
.site-footer__brand img { height: 28px; width: auto; }
.site-footer__tagline { margin-top: var(--s-4); max-width: 22rem; color: var(--text-3); }
.site-footer__heading { font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-bottom: var(--s-4); }
.site-footer__links { list-style: none; padding: 0; display: grid; gap: var(--s-3); }
.site-footer__links a { color: var(--text-2); text-decoration: none; }
.site-footer__links a:hover { color: var(--text); }
.site-footer__disclaimer { margin-top: var(--s-10); padding-top: var(--s-6); border-top: 1px solid var(--line); }
.site-footer__legal { margin-top: var(--s-5); display: flex; flex-wrap: wrap; gap: var(--s-2) var(--s-6); justify-content: space-between; font-size: var(--fs-xs); color: var(--text-3); }
.site-footer__legal a { color: var(--text-3); }
.site-footer__legal a:hover { color: var(--text); }

/* =========================================================
   21. MOTION & UTILITIES
   ========================================================= */
/* Scroll reveal — content is visible without JS; js/site.js adds .js on <html> */
.js .reveal { opacity: 0; transform: translateY(14px); transition: opacity 700ms var(--ease-out), transform 700ms var(--ease-out); transition-delay: var(--reveal-delay, 0ms); }
.js .reveal.is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
  .js .reveal { opacity: 1; transform: none; }
}

.visually-hidden { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.mt-0 { margin-top: 0 !important; }
.mt-4 { margin-top: var(--s-4); } .mt-6 { margin-top: var(--s-6); } .mt-8 { margin-top: var(--s-8); } .mt-10 { margin-top: var(--s-10); }
.center { text-align: center; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }

/* =========================================================
   22. STATUS & TRUST COMPONENTS
   (hero status line, stat source line, roadmap, regulatory + comparison tables)
   ========================================================= */
/* Hero status line — small, high-contrast, never hidden */
.status-line {
  display: flex; flex-wrap: wrap; align-items: center; gap: 0.35rem 0.9rem;
  margin-top: var(--s-5);
  font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-2);
}
.status-line > span { display: inline-flex; align-items: center; gap: 0.9rem; }
.status-line > span + span::before { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--text-3); }
.status-line__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--warn); box-shadow: 0 0 0 3px var(--warn-tint); margin-right: -0.35rem; }

/* Source line directly under a stat */
.stat__source {
  margin-top: var(--s-3); padding-top: var(--s-2);
  border-top: 1px dashed var(--line);
  font-family: var(--font-mono); font-size: var(--fs-label); line-height: 1.5; letter-spacing: 0.02em;
  color: var(--text-3); max-width: 20rem;
}
.stat__source b { font-weight: 500; color: var(--text-2); text-transform: uppercase; letter-spacing: 0.1em; margin-right: 0.35em; }
.stat__source a { color: var(--text-2); }

/* Status chips — roadmap / validation plan */
.chip {
  display: inline-flex; align-items: center; gap: 0.45em;
  padding: 0.22rem 0.6rem 0.22rem 0.5rem; border-radius: var(--r-pill);
  font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.06em; text-transform: uppercase; line-height: 1.3;
  border: 1px solid var(--line-strong); color: var(--text-2); white-space: nowrap;
}
.chip::before { content: ""; width: 7px; height: 7px; border-radius: 50%; border: 1.5px solid currentColor; }
.chip--planned { color: var(--text-2); }
.chip--progress { color: var(--accent); border-color: transparent; background: var(--accent-tint); }
.chip--progress::before { border-color: currentColor; background: linear-gradient(90deg, currentColor 50%, transparent 50%); }
.chip--complete { color: var(--success); border-color: transparent; background: var(--success-tint); }
.chip--complete::before { background: currentColor; }
.chip--target { color: var(--link); border-color: transparent; background: var(--violet-tint); }
.chip--no { color: var(--warn); border-color: transparent; background: var(--warn-tint); }
.chip--no::before { border-radius: 2px; transform: rotate(45deg); width: 6px; height: 6px; }

/* Now / Next / Later roadmap */
.roadmap { display: grid; gap: var(--s-5); }
@media (min-width: 900px) { .roadmap { grid-template-columns: repeat(3, 1fr); gap: 0; border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; } }
.roadmap__col { display: grid; align-content: start; gap: var(--s-4); padding: clamp(1.25rem, 1rem + 1vw, 2rem); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-lg); }
@media (min-width: 900px) { .roadmap__col { border: 0; border-radius: 0; } .roadmap__col + .roadmap__col { border-left: 1px solid var(--line); } }
.roadmap__col--now { background: linear-gradient(180deg, color-mix(in srgb, var(--accent) 7%, var(--surface)), var(--surface) 55%); }
.roadmap__head { display: flex; align-items: baseline; justify-content: space-between; gap: var(--s-3); padding-bottom: var(--s-3); border-bottom: 1px solid var(--line); }
.roadmap__when { font-family: var(--font-display); font-weight: 700; font-size: 1.5rem; letter-spacing: -0.02em; }
.roadmap__col--now .roadmap__when { color: var(--accent); }
.roadmap__span { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.roadmap__items { list-style: none; padding: 0; display: grid; gap: var(--s-3); }
.roadmap__item { display: grid; gap: var(--s-2); padding: var(--s-4); border-radius: var(--r-md); background: var(--bg); border: 1px solid var(--line); }
.theme-paper .roadmap__item { background: var(--bg); }
.roadmap__item h4 { font-size: 1rem; }
.roadmap__item p { font-size: var(--fs-xs); color: var(--text-2); line-height: 1.55; }
.roadmap__item .chip { justify-self: start; }

/* Tables (regulatory status, status-quo comparison) */
.table-wrap { border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; background: var(--surface); }
.table { width: 100%; border-collapse: collapse; font-size: var(--fs-sm); }
.table caption { caption-side: bottom; text-align: left; padding: var(--s-4) var(--s-5); font-size: var(--fs-xs); color: var(--text-3); border-top: 1px solid var(--line); }
.table th, .table td { padding: var(--s-4) var(--s-5); text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table tbody tr:last-child th, .table tbody tr:last-child td { border-bottom: 0; }
.table thead th { font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); background: rgba(244, 243, 248, 0.02); white-space: nowrap; }
.theme-paper .table thead th { background: var(--bg-elev); }
.table tbody th { font-weight: 600; color: var(--text); }
.table td { color: var(--text-2); }
.table td .chip { margin-bottom: var(--s-2); }
.table__note { display: block; font-size: var(--fs-xs); color: var(--text-3); margin-top: 2px; }
/* Highlight column (ATTNhealth design goals) */
.table .is-us { background: color-mix(in srgb, var(--accent-ui) 7%, transparent); }
.table thead .is-us { color: var(--accent); box-shadow: inset 0 2px 0 var(--brand-teal); }
/* Stack rows into cards below 720px; each <td> needs data-label */
@media (max-width: 719px) {
  .table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  .table--stack, .table--stack tbody, .table--stack tr, .table--stack th, .table--stack td { display: block; }
  .table--stack tr { padding: var(--s-4) var(--s-5); border-bottom: 1px solid var(--line); }
  .table--stack tbody tr:last-child { border-bottom: 0; }
  .table--stack th, .table--stack td { padding: var(--s-2) 0; border: 0; }
  .table--stack tbody th { font-size: 1rem; padding-bottom: var(--s-3); }
  .table--stack td[data-label]::before { content: attr(data-label); display: block; margin-bottom: 2px; font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
  .table--stack td.is-us { margin: var(--s-2) calc(-1 * var(--s-3)) 0; padding: var(--s-3); border-radius: var(--r-sm); }
}

/* Report watermark: repeated diagonal "ILLUSTRATIVE — SYNTHETIC DATA" */
.report--watermark::after {
  content: ""; position: absolute; inset: 0; z-index: 2; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='220'%3E%3Ctext x='180' y='118' text-anchor='middle' transform='rotate(-24 180 110)' font-family='ui-monospace,Menlo,monospace' font-size='15' font-weight='600' letter-spacing='3' fill='%23F2C46D' fill-opacity='0.10'%3EILLUSTRATIVE %E2%80%94 SYNTHETIC DATA%3C/text%3E%3C/svg%3E");
  background-size: 360px 220px;
}
.theme-paper .report--watermark::after {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='360' height='220'%3E%3Ctext x='180' y='118' text-anchor='middle' transform='rotate(-24 180 110)' font-family='ui-monospace,Menlo,monospace' font-size='15' font-weight='600' letter-spacing='3' fill='%238A5300' fill-opacity='0.09'%3EILLUSTRATIVE %E2%80%94 SYNTHETIC DATA%3C/text%3E%3C/svg%3E");
}
.report__callout { display: inline-grid; place-items: center; width: 1.25rem; height: 1.25rem; border-radius: 50%; font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 600; color: var(--btn-ink); background: var(--brand-teal); flex-shrink: 0; }
.theme-paper .report__callout { color: #fff; background: #00716B; }
.report-notes { list-style: none; padding: 0; display: grid; gap: var(--s-4); }
.report-notes li { display: grid; grid-template-columns: auto 1fr; gap: var(--s-3); font-size: var(--fs-sm); color: var(--text-2); }
.report-notes strong { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; }

@media print {
  .site-header, .mobile-menu, .nav-toggle, .hero::after { display: none !important; }
  body { background: #fff; color: #000; }
}


/* =========================================================
   23. SITE BUILD ADDITIONS (v2 build)
   Self-hosted fonts, header actions, page hero, subnav, lists,
   FAQ, sources, quadrant, forms, report v2. No inline styles
   anywhere on the site (CSP style-src 'self').
   ========================================================= */
/* Fonts (calm restyle, Oct 2026): Inter Tight display, Inter text, IBM Plex Mono. Self-hosted latin subsets (SIL Open Font License 1.1). No third-party font requests. */
@font-face { font-family: "Inter"; font-style: normal; font-weight: 400 700; font-display: swap; src: url("../fonts/inter-latin.woff2") format("woff2"); }
@font-face { font-family: "Inter Tight"; font-style: normal; font-weight: 500 700; font-display: swap; src: url("../fonts/inter-tight-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 600; font-display: swap; src: url("../fonts/ibm-plex-mono-500-latin.woff2") format("woff2"); }

/* Header: nav centered, text link + button on the right */
.nav { margin-inline: auto; }
.header-actions { display: none; align-items: center; gap: var(--s-5); }
.header-actions .header-cta { display: inline-flex; }
.header-link { font-size: var(--fs-sm); font-weight: 500; color: var(--text-2); text-decoration: none; white-space: nowrap; }
.header-link:hover { color: var(--text); }
@media (min-width: 960px) { .header-actions { display: flex; } }
@media (max-width: 1119px) { .header-link { display: none; } }

/* Steps: column count without inline style */
.steps--4 { --steps: 4; }
.steps--3 { --steps: 3; }

/* Page hero (subpages) */
.hero--page { padding-block: clamp(3rem, 2rem + 5vw, 6.5rem) clamp(3rem, 2rem + 4vw, 5.5rem); }
.hero--page .hero__title { font-size: var(--fs-h1); letter-spacing: -0.03em; line-height: 1.03; max-width: 19ch; }
.hero--page .lead { max-width: 42rem; }
.hero__title .text-gradient { padding-bottom: 0.06em; }

/* Status line as a link (to regulatory status) */
a.status-line { width: fit-content; text-decoration: none; color: var(--text-2); border-radius: var(--r-xs); }
a.status-line:hover { color: var(--text); }
a.status-line:hover > span:not(.status-line__dot) { text-decoration: underline; text-underline-offset: 0.25em; text-decoration-thickness: 1px; }

/* Section helpers */
.section__head .eyebrow + h2 { margin-top: var(--s-5); }
.section__sub { margin-top: var(--s-6); color: var(--text-2); max-width: 40rem; }
.section__foot { margin-top: var(--s-8); display: flex; flex-wrap: wrap; gap: var(--s-4) var(--s-7); align-items: center; }
.emph-line { margin-top: var(--s-8); font-family: var(--font-display); font-weight: 700; font-size: clamp(1.25rem, 1.05rem + 0.8vw, 1.625rem); letter-spacing: -0.02em; line-height: 1.25; color: var(--text); max-width: 34ch; }
.emph-line span { color: var(--accent); }
.body-copy { color: var(--text-2); max-width: var(--measure); }
.body-copy > * + * { margin-top: 1em; }
.body-copy strong { color: var(--text); font-weight: 600; }
.h3-sm { font-size: var(--fs-h4); }
.label { font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); }

/* Science sub-navigation (sticky under the header) */
.subnav { position: sticky; top: var(--header-h); z-index: 40; background: var(--header-bg); -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px); border-block: 1px solid var(--line); }
.subnav__list { display: flex; gap: var(--s-1); overflow-x: auto; list-style: none; padding: var(--s-2) 0; margin: 0; scrollbar-width: none; }
.subnav__list::-webkit-scrollbar { display: none; }
.subnav__list a { display: block; padding: 0.45rem 0.8rem; font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-2); text-decoration: none; border-radius: var(--r-pill); white-space: nowrap; }
.subnav__list a:hover { color: var(--text); background: rgba(244, 243, 248, 0.06); }
:root:has(.subnav) { scroll-padding-top: calc(var(--header-h) + 4rem); }

/* Key/value blocks (science measures) */
.kv { display: grid; gap: var(--s-2); }
.kv dt { font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); }
.kv dd { margin: 0; color: var(--text-2); font-size: var(--fs-sm); line-height: 1.6; }
.kv dd + dt { margin-top: var(--s-3); }
.card .source-line { margin-top: auto; }

/* Lists */
.ticks { list-style: none; padding: 0; display: grid; gap: var(--s-3); }
.ticks li { display: grid; grid-template-columns: auto 1fr; gap: var(--s-3); color: var(--text-2); font-size: var(--fs-sm); line-height: 1.6; }
.ticks .icon { width: 1.125rem; height: 1.125rem; margin-top: 0.2rem; stroke-width: 2; color: var(--accent); }
.ticks--no .icon { color: var(--warn); }
.ticks--muted .icon { color: var(--text-3); }
.ticks strong { color: var(--text); font-weight: 600; }
.bullets { padding-left: 1.15em; color: var(--text-2); font-size: var(--fs-sm); line-height: 1.6; display: grid; gap: var(--s-2); }
.bullets li::marker { color: var(--accent); }
.numbered { list-style: none; padding: 0; counter-reset: num; display: grid; gap: var(--s-5); }
.numbered > li { counter-increment: num; position: relative; padding-left: 3rem; color: var(--text-2); }
.numbered > li::before { content: counter(num, decimal-leading-zero); position: absolute; left: 0; top: 0.1rem; font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; color: var(--accent); }
.numbered > li strong { display: block; color: var(--text); font-weight: 600; font-size: var(--fs-h4); margin-bottom: var(--s-1); }

/* Source lines (outside stat blocks) + sources/reference lists */
.source-line { margin-top: var(--s-3); font-family: var(--font-mono); font-size: var(--fs-label); line-height: 1.55; letter-spacing: 0.02em; color: var(--text-3); }
.source-line b { font-weight: 500; color: var(--text-2); text-transform: uppercase; letter-spacing: 0.1em; margin-right: 0.35em; }
.source-line a, .stat__source a { color: var(--text-2); text-decoration-color: var(--line-strong); }
.source-line a:hover, .stat__source a:hover { color: var(--text); }
.sources { padding-left: 1.4em; display: grid; gap: var(--s-3); font-size: var(--fs-xs); color: var(--text-3); line-height: 1.6; max-width: 64rem; }
.sources li::marker { font-family: var(--font-mono); color: var(--accent); }
.sources a { color: var(--text-2); overflow-wrap: anywhere; }
.sources em { font-style: italic; }
.sources-block { padding-block: var(--s-10); border-top: 1px solid var(--line); }
.sources-block h2 { font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--text-3); margin-bottom: var(--s-5); }

/* Cards: split label */
.card__label { font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 500; letter-spacing: 0.12em; text-transform: uppercase; color: var(--accent); }
.card--plain { background: transparent; }
.card .ticks, .card .bullets { margin-top: var(--s-1); }
.card--target { background: linear-gradient(180deg, color-mix(in srgb, var(--accent-ui) 8%, var(--surface)), var(--surface) 60%); }

/* Status box (canonical status sentence) */
.status-box { margin-top: var(--s-8); }
.status-box p { color: var(--text); font-weight: 500; }

/* FAQ */
.faq { border-top: 1px solid var(--line); max-width: 52rem; }
.faq__item { border-bottom: 1px solid var(--line); }
.faq__item summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: var(--s-5); align-items: center; padding: var(--s-5) 0; font-weight: 600; font-size: var(--fs-h4); line-height: 1.35; color: var(--text); border-radius: var(--r-xs); }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item summary::after { content: "+"; flex-shrink: 0; font-family: var(--font-mono); font-size: 1.25rem; font-weight: 400; line-height: 1; color: var(--accent); transition: transform var(--dur-2) var(--ease-out); }
.faq__item[open] summary::after { transform: rotate(45deg); }
.faq__item summary:hover { color: var(--accent); }
.faq__body { padding-bottom: var(--s-6); color: var(--text-2); max-width: var(--measure); }
.faq__body > * + * { margin-top: var(--s-3); }

/* Positioning 2×2 (category labels only) */
.quadrant-wrap { display: grid; grid-template-columns: auto 1fr; gap: var(--s-3); }
.quadrant { display: grid; grid-template-columns: 1fr 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--r-lg); overflow: hidden; }
.quadrant__cell { background: var(--surface); padding: clamp(1rem, 0.6rem + 1.5vw, 1.75rem); min-height: 10.5rem; display: flex; flex-direction: column; gap: var(--s-2); }
.quadrant__cell h3 { font-size: var(--fs-sm); font-weight: 600; }
.quadrant__cell p { font-size: var(--fs-xs); color: var(--text-3); line-height: 1.55; }
.quadrant__cell--target { background: radial-gradient(120% 120% at 100% 0%, rgba(0, 212, 200, 0.16), transparent 60%), radial-gradient(100% 100% at 0% 100%, rgba(123, 63, 255, 0.18), transparent 60%), var(--surface); box-shadow: inset 0 0 0 1px rgba(0, 212, 200, 0.4); }
.quadrant__cell--target h3 { color: var(--accent); }
.quadrant__cell--target p { color: var(--text-2); }
.quadrant__axis { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); display: flex; justify-content: space-between; gap: var(--s-3); }
.quadrant__axis--y { writing-mode: vertical-rl; transform: rotate(180deg); }
.quadrant__axis--x { grid-column: 2; }
.quadrant__axis b { color: var(--text-2); font-weight: 500; }

/* Forms */
.form-card { background: var(--surface); border: 1px solid var(--line-strong); border-radius: var(--r-xl); padding: clamp(1.5rem, 1rem + 2vw, 2.5rem); box-shadow: var(--shadow-md); }
.form-card__title { font-family: var(--font-display); font-weight: 700; font-size: clamp(1.5rem, 1.25rem + 1vw, 2rem); letter-spacing: -0.02em; line-height: 1.1; }
.form-card__intro { margin-top: var(--s-3); color: var(--text-2); font-size: var(--fs-sm); }
.form-card .form { margin-top: var(--s-7); }
.form-card .input, .form-card .select, .form-card .textarea { background: var(--bg-elev); }
.field__warn { display: flex; gap: 0.45rem; align-items: flex-start; font-size: var(--fs-xs); font-weight: 500; color: var(--warn); }
.field__warn .icon { width: 1rem; height: 1rem; margin-top: 0.1rem; stroke-width: 2; }
.form__actions { display: flex; flex-wrap: wrap; gap: var(--s-4); align-items: center; }
.form-fallback { margin-top: var(--s-5); font-size: var(--fs-xs); color: var(--text-3); }
.form-fallback a { color: var(--text-2); }
.hp { position: absolute !important; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-status:empty { display: none; }
.form-status--pending { background: rgba(244, 243, 248, 0.04); border: 1px solid var(--line); color: var(--text-2); }
.sticky-col { position: sticky; top: calc(var(--header-h) + var(--s-6)); }
@media (max-width: 899px) { .sticky-col { position: static; } }
.split--top { align-items: start; }

/* Callouts: allow paragraphs */
.callout p + p { margin-top: var(--s-2); }
.callout a { color: var(--link); }

/* Founder additions */
.founder__h2 { margin-top: var(--s-5); max-width: 22ch; }
.founder__body { margin-top: var(--s-6); color: var(--text-2); max-width: 38rem; }
.founder__body > * + * { margin-top: 1em; }
.founder__creds a { color: var(--text-2); text-decoration-color: var(--line-strong); }
.founder__creds a:hover { color: var(--text); }
.founder__sig { margin-top: var(--s-6); font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.founder__photo--sm { max-width: 18rem; }

/* Contact details list */
.contact-list { list-style: none; padding: 0; display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 44rem; }
.contact-list li { display: grid; grid-template-columns: 8rem 1fr; gap: var(--s-4); padding: var(--s-4) 0; border-bottom: 1px solid var(--line); color: var(--text-2); }
.contact-list li > span:first-child { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-3); padding-top: 0.25em; }
@media (max-width: 480px) { .contact-list li { grid-template-columns: 1fr; gap: var(--s-1); } }

/* Legal drafts */
.draft-banner { padding: 0.65rem var(--gutter); text-align: center; font-family: var(--font-mono); font-size: 0.75rem; font-weight: 500; letter-spacing: 0.08em; text-transform: uppercase; color: var(--warn); background: var(--warn-tint); border-bottom: 1px solid color-mix(in srgb, var(--warn) 30%, transparent); }
.legal .prose { max-width: 68ch; }
.legal .prose h2 { font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); margin-top: 2.2em; }
.legal .prose h2:first-child { margin-top: 0; }
.legal__meta { margin-top: var(--s-5); font-family: var(--font-mono); font-size: 0.75rem; letter-spacing: 0.06em; color: var(--text-3); }

/* Patient note (small, centered) */
.patient-note { margin: var(--s-8) auto 0; max-width: 60ch; text-align: center; font-size: var(--fs-xs); color: var(--text-3); line-height: 1.65; }

/* Footer additions */
.site-footer__social { margin-top: var(--s-5); }
.site-footer__social a { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--text-2); text-decoration: none; }
.site-footer__social a:hover { color: var(--text); }
.site-footer__social svg { width: 1rem; height: 1rem; fill: currentColor; }
.site-footer__status { font-size: var(--fs-sm); font-weight: 600; color: var(--text); margin-bottom: var(--s-3); }
.site-footer__address { margin-top: var(--s-4); font-size: var(--fs-xs); color: var(--text-3); }

/* ---------- Illustrative sample report v2 ---------- */
.report-figure { margin: 0; }
.report-figure > figcaption { margin-top: var(--s-4); font-size: var(--fs-xs); color: var(--text-3); text-align: center; }
.report__stamp { position: absolute; z-index: 3; top: 3.1rem; right: var(--s-5); transform: rotate(6deg); padding: 0.2rem 0.55rem; border: 1.5px solid color-mix(in srgb, var(--warn) 70%, transparent); border-radius: 4px; font-family: var(--font-mono); font-size: var(--fs-label); font-weight: 600; letter-spacing: 0.22em; text-transform: uppercase; color: var(--warn); pointer-events: none; }
.report__patient { margin-top: var(--s-2); font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.report__patient b { color: var(--success); font-weight: 500; }
.report__desc { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.04em; color: var(--text-2); line-height: 1.6; }
.report__panel svg { width: 100%; height: auto; display: block; overflow: visible; }
@media (min-width: 820px) {
  .report__body--quad { grid-template-columns: 1fr 1fr; }
  .report__body--quad > .report__panel { border: 0; }
  .report__body--quad > .report__panel + .report__panel { border-left: 0; border-top: 0; }
  .report__body--quad > .report__panel:nth-child(even) { border-left: 1px solid var(--line); }
  .report__body--quad > .report__panel:nth-child(n+3) { border-top: 1px solid var(--line); }
}
.rp-axis { stroke: rgba(244, 243, 248, 0.16); stroke-width: 1; }
.rp-noise { fill: rgba(244, 243, 248, 0.06); stroke: var(--text-3); stroke-width: 1.25; }
.rp-signal { fill: rgba(0, 212, 200, 0.12); stroke: var(--brand-teal); stroke-width: 1.75; }
.rp-crit { stroke: #9F7BFF; stroke-width: 1.25; stroke-dasharray: 3 3; }
.rp-dprime { stroke: var(--text-2); stroke-width: 1; }
.rp-label { font-family: var(--font-mono); font-size: 12.5px; letter-spacing: 0.06em; fill: var(--text-3); }
.rp-label--hi { fill: var(--text-2); }
.rp-bins rect { fill: rgba(123, 63, 255, 0.2); }
.rp-curve { fill: none; stroke: var(--brand-teal); stroke-width: 2; stroke-linejoin: round; }
.rp-tail { fill: rgba(0, 212, 200, 0.14); }
.domain-bar__top > span:only-child { color: var(--text); }
.is-v34 { --v: 34%; } .is-v44 { --v: 44%; } .is-v52 { --v: 52%; } .is-v58 { --v: 58%; } .is-v63 { --v: 63%; }

/* Hero visual tweaks */
.hero .data-visual { max-width: 40rem; justify-self: end; width: 100%; }
@media (max-width: 999px) { .hero .data-visual { justify-self: stretch; } }

/* Credential list on paper/dark */
.cred-list { list-style: none; padding: 0; border-top: 1px solid var(--line); display: grid; }
.cred-list li { display: grid; grid-template-columns: 1fr auto; gap: var(--s-5); align-items: baseline; padding: var(--s-4) 0; border-bottom: 1px solid var(--line); color: var(--text); }
.cred-list a { font-family: var(--font-mono); font-size: var(--fs-label); letter-spacing: 0.08em; text-transform: uppercase; white-space: nowrap; color: var(--link); text-decoration: none; }
.cred-list a:hover { color: var(--text); text-decoration: underline; }
@media (max-width: 600px) { .cred-list li { grid-template-columns: 1fr; gap: var(--s-1); } }

/* 404 */
.notfound { min-height: min(60vh, 44rem); display: grid; align-content: center; }
.notfound .link-list { list-style: none; padding: 0; margin-top: var(--s-7); display: grid; gap: 0; border-top: 1px solid var(--line); max-width: 30rem; }
.notfound .link-list a { display: flex; justify-content: space-between; align-items: center; padding: var(--s-4) 0; border-bottom: 1px solid var(--line); color: var(--text); text-decoration: none; font-weight: 500; }
.notfound .link-list a:hover { color: var(--accent); }
.notfound .link-list .icon { width: 1rem; height: 1rem; stroke-width: 2; }

.cluster--center { justify-content: center; }
.m-0 { margin: 0; }

/* Review pass 1 */
.hero__title { font-size: clamp(2.5rem, 1.3rem + 4.2vw, 4.6rem); max-width: 15ch; }
.emph-line { max-width: 44ch; }
/* Two-up grid never exceeds two columns (4 cards = 2×2, never 3+1) */
.grid--2 { grid-template-columns: 1fr; }
@media (min-width: 760px) { .grid--2 { grid-template-columns: 1fr 1fr; } }
/* Stacked tables: caption becomes a normal block */
@media (max-width: 719px) { .table--stack caption { display: block; width: auto; border-top: 0; border-bottom: 1px solid var(--line); } }
/* Footer link columns two-up on small screens */
@media (max-width: 859px) {
  .site-footer__top { grid-template-columns: 1fr 1fr; gap: var(--s-8) var(--s-6); }
  .site-footer__brand { grid-column: 1 / -1; }
}
/* Review pass 2: hero headline rhythm; keep Greek symbols lowercase inside uppercase mono labels */
.hero__title { font-size: clamp(2.5rem, 1.2rem + 3.4vw, 4rem); max-width: 11.5em; }
.hero__title .text-gradient { display: block; }
.nt { text-transform: none; letter-spacing: 0; }
.status-line > .status-line__dot + span::before { display: none; }

/* QA polish: header lockup variant with legible "health" (see build.py header_lockup) */
.brand img { height: 30px; width: auto; }

/* QA polish: compact mobile layout (home was ~16.8k px tall at 390) */
@media (max-width: 719px) {
  :root { --section-y: 3.25rem; }
  .hero { padding-top: var(--s-8); padding-bottom: var(--s-9); }
  .stat { padding-top: var(--s-5); padding-bottom: var(--s-4); }
  .card--link { padding: var(--s-5); }
  .grid--4 > .card--link .icon-tile { display: none; }
  .founder__photo { max-width: 13rem; }
  .founder__creds { margin-top: var(--s-6); }
  /* comparison table: label and value side by side instead of stacked */
  .table--stack tr { padding: var(--s-3) var(--s-4); }
  .table--stack tbody th { padding-bottom: var(--s-1); }
  .table--stack td[data-label] { display: grid; grid-template-columns: minmax(7.5rem, 42%) 1fr; gap: var(--s-3); align-items: baseline; padding: 5px 0; font-size: var(--fs-sm); }
  .table--stack td[data-label]::before { margin-bottom: 0; }
  .table--stack td.is-us { margin: var(--s-1) calc(-1 * var(--s-2)) 0; padding: var(--s-2); }
  /* home sample report: the notes list repeats the report's own section labels */
  #sample-report .report-notes { display: none; }
  .report__panel { padding: var(--s-5) var(--s-4); gap: var(--s-4); }
  /* roadmap */
  .roadmap__col { padding: var(--s-4); }
  .roadmap__items { gap: var(--s-2); }
  .roadmap__item { padding: var(--s-3) var(--s-4); gap: 4px; }
  /* footer */
  .site-footer { padding-block: var(--s-9) var(--s-6); }
  .site-footer__top { gap: var(--s-7); }
  .site-footer__disclaimer { margin-top: var(--s-7); }
}
@media (max-width: 719px) {
  .table--stack td[data-short]::before { content: attr(data-short); }
  .table--stack td[data-short] { grid-template-columns: 7.25rem 1fr; }
}
/* Sources as collapsible <details> (open on desktop via site.js) */
.sources-details > summary { list-style: none; cursor: pointer; display: flex; align-items: center; gap: var(--s-2); border-radius: var(--r-xs); }
.sources-details > summary::-webkit-details-marker { display: none; }
.sources-details > summary h2 { margin-bottom: 0; display: inline; }
.sources-details > summary::after { content: "+"; font-family: var(--font-mono); color: var(--text-3); font-size: 0.875rem; }
.sources-details[open] > summary::after { content: "\2212"; }
.sources-details[open] > summary { margin-bottom: var(--s-5); }
.sources-count { color: var(--text-3); }
@media (max-width: 719px) {
  .sources-block { padding-block: var(--s-7); }
  .hero .data-visual { display: none; }
  .roadmap__item { grid-template-columns: auto 1fr; column-gap: var(--s-3); align-items: center; }
  .roadmap__item > :not(.chip) { grid-column: 1 / -1; }
  .roadmap__item > .chip + * { grid-column: 2; }
  .steps { gap: var(--s-6); }
  .feature { padding: var(--s-5); gap: var(--s-2); }
  .cta-band__grid { gap: var(--s-6); }
}
@media (max-width: 719px) {
  :root { --section-y: 2.75rem; }
  .card--link { gap: var(--s-2); }
  .card--link .card__foot { padding-top: var(--s-2); margin-top: 0; }
  .founder__photo { max-width: 10rem; }
  .table--stack td[data-label] { padding: 3px 0; }
  .table--stack tr { padding: var(--s-3) var(--s-4) var(--s-2); }
  .report__panel { gap: var(--s-3); }
}

/* Anonymous founder block (no photo): story left, evidence right, hairline between.
   Same-specificity override of .founder's photo grid; later in the cascade, no !important. */
.founder--solo { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 860px) {
  .founder--solo { grid-template-columns: minmax(0, 7fr) minmax(0, 5fr); gap: clamp(2.5rem, 1rem + 4vw, 5rem); }
  .founder__aside { border-left: 1px solid var(--line); padding-left: clamp(1.5rem, 0.5rem + 2.5vw, 3rem); }
}
.founder--solo .founder__h2 { max-width: 20ch; }
.founder__main > .founder__h2:first-child { margin-top: 0; }
.founder__aside > :first-child { margin-top: 0; }
.founder__aside-title { margin-bottom: var(--s-5); }
.founder__aside .founder__creds li { grid-template-columns: 6.5rem 1fr; }
@media (max-width: 480px) { .founder__aside .founder__creds li { grid-template-columns: 1fr; } }
.founder__aside .cred-list li { padding-block: var(--s-3); font-size: var(--fs-sm); }

/* Chart labels render at >= 11px: SVG text scales with the drawing, so keep drawings wide enough.
   Sample report: 2x2 panels only where each panel is wide; single column in the narrow 7/5 split range. */
.report__panel svg { max-width: 22rem; }
@media (min-width: 900px) and (max-width: 1279px) {
  .report__body--quad { grid-template-columns: 1fr; }
  .report__body--quad > .report__panel:nth-child(even) { border-left: 0; }
  .report__body--quad > .report__panel + .report__panel { border-top: 1px solid var(--line); }
}
/* Hero RT chart: below 1100px the side-by-side column is too narrow for >= 11px labels, so stack;
   1100-1279 gives the chart the wider column. */
@media (min-width: 1000px) and (max-width: 1099px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr); }
  .hero .data-visual { justify-self: stretch; }
}
@media (min-width: 1100px) and (max-width: 1279px) {
  .hero__grid { grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr); }
}

/* Split/section heads without a kicker: heading is the first child */
.split > div > h2:first-child, .section__head > h2:first-child { margin-top: 0; }

/* Stacked tables (mobile): every cell child sits in the value column, label stays in column 1 */
@media (max-width: 719px) {
  .table--stack td[data-label] > * { grid-column: 2; }
  .table--stack td[data-label]:has(> .chip, > .table__note) { row-gap: 4px; }
  .table--stack td[data-label] > .chip { justify-self: start; margin-bottom: 0; }
  .table--stack td[data-label] > .table__note { margin-top: 0; }
  .table--stack td[data-label]:has(> .chip, > .table__note) + td[data-label] { margin-top: var(--s-3); }
}

/* Typographic definition rows (replaces icon-tile feature grids) */
.def-rows { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.def-rows > li { display: grid; gap: var(--s-2) var(--s-8); padding: var(--s-6) 0; border-bottom: 1px solid var(--line); }
.def-rows__term { font-size: var(--fs-h4); font-weight: 600; color: var(--text); }
.def-rows__body { color: var(--text-2); max-width: var(--measure); }
@media (min-width: 760px) { .def-rows > li { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: baseline; } }
@media (max-width: 719px) { .def-rows > li { padding: var(--s-5) 0; } }

/* Contact routes as rows (replaces icon-tile card grid) */
.route-list { list-style: none; padding: 0; border-top: 1px solid var(--line); }
.route-list a { display: grid; gap: var(--s-1) var(--s-6); padding: var(--s-5) 0; border-bottom: 1px solid var(--line); color: var(--text-2); text-decoration: none; }
.route-list h3 { font-size: var(--fs-h4); font-weight: 600; color: var(--text); }
.route-list .link-arrow { color: var(--text); }
.route-list a:hover h3, .route-list a:hover .link-arrow { color: var(--accent); }
.route-list a:hover .link-arrow .icon { transform: translateX(3px); }
@media (min-width: 760px) {
  .route-list a { grid-template-columns: minmax(0, 4fr) minmax(0, 5fr) 11rem; align-items: baseline; }
  .route-list .link-arrow { justify-self: end; }
}

/* Peer-review P2: tap targets >= 24px (WCAG 2.2 AA 2.5.8) */
.site-footer__links a, .site-footer__social a { display: inline-flex; align-items: center; min-height: 24px; }
.sources a, .source-line a, .stat__source a, .cred-list a { padding-block: 4px; }
.check input { width: 1.5rem; height: 1.5rem; margin-top: 0; }
#comparison .table thead th { white-space: normal; vertical-align: bottom; }
#comparison .table th, #comparison .table td { padding-inline: var(--s-4); }

/* =========================================================
   Calm restyle (Oct 2026): normal-width type, solid colour, no glow.
   Display face is Inter Tight at 600; one teal accent replaces gradient text;
   primary button is solid light-on-dark with no coloured shadow.
   ========================================================= */
.display, h1, .h1, h2, .h2, .hero__title, .stat__value, .roadmap__when, .mobile-menu__list a, .emph-line, .form-card__title { font-weight: 600; letter-spacing: -0.025em; }
.text-gradient { background: none; -webkit-background-clip: border-box; background-clip: border-box; color: var(--accent); }
.hero__title .text-gradient { padding-bottom: 0; }
.btn--primary, .btn--primary:where(:hover) { color: #0A0818; background: #F4F3F8; box-shadow: none; }
.btn--primary:where(:hover) { background: #FFFFFF; }
.eyebrow::before { display: none; }
.hero::after { display: none; }
.hero--page .hero__title { font-weight: 600; letter-spacing: -0.025em; }
.cta-band { background: var(--surface); }
.quadrant__cell--target { background: color-mix(in srgb, var(--brand-teal) 7%, var(--surface)); box-shadow: inset 0 0 0 1px rgba(0, 212, 200, 0.4); }

/* Hero rotator: function-based words (ADHD first). All words share one grid cell and never wrap,
   so the H1 reserves exactly one line and never shifts. No JS / reduced motion: first word only.
   site.js starts it when the hero is on screen, pauses on hover/focus/hidden tab, stops on click/key,
   and rests on the first word after two cycles. Exit runs before entry, so words never overprint. */
.rotator { display: grid; color: var(--accent); }
.rotator__word { grid-area: 1 / 1; opacity: 0; visibility: hidden; white-space: nowrap; }
.rotator__word.is-active { opacity: 1; visibility: visible; }
@media (prefers-reduced-motion: no-preference) {
  .rotator__word { transform: translateY(0.18em); transition: opacity 240ms ease-in, transform 240ms ease-in, visibility 0s linear 240ms; }
  .rotator__word.is-leaving { transform: translateY(-0.12em); }
  .rotator__word.is-active { transform: none; transition: opacity 360ms var(--ease-out) 200ms, transform 360ms var(--ease-out) 200ms, visibility 0s; }
}
@media (max-width: 479px) { .hero:not(.hero--page) .hero__title { font-size: min(2.5rem, 9.4vw); } }
.hero__sub { margin-top: var(--s-4); font-family: var(--font-display); font-size: clamp(1.25rem, 1rem + 1vw, 1.75rem); font-weight: 500; line-height: 1.25; letter-spacing: -0.01em; color: var(--text-2); }


/* =========================================================
   Peer review 3 design pass (Oct 2026): calm dark NAVY system.
   Implements _build/qa/PEER-REVIEW-3-design.md: P1-1, P1-2, P1-4, P1-5, P1-7, P1-8,
   P2-1..P2-5, P2-8..P2-13, P3-1..P3-8. Overrides only; design/css/site.css is untouched.
   Rotator / hero copy styles above are owned elsewhere and are not touched here.
   ========================================================= */

/* P1-1 Navy ramp + one-line gradient kill switch.
   Contrast on --bg #0B1220: text 17.0:1 · text-2 9.9:1 · text-3 6.6:1 (5.5:1 on surface-2) · link 12.4:1 ·
   accent 10.0:1 · field-line 3.2:1 on surface (UI). */
:root {
  --brand-violet: #00D4C8;
  --brand-void: #0B1220;
  --bg: #0B1220; --bg-elev: #101A2C; --surface: #121B2D; --surface-2: #18233A;
  --text: #F2F4F7; --text-2: #B4BDCB; --text-3: #8F9AAB;
  --line: rgba(242, 244, 247, 0.08); --line-strong: rgba(242, 244, 247, 0.16); --field-line: #5F6B80;
  --link: #7FE3DA; --accent-ui: #00D4C8; --violet-tint: var(--accent-tint);
  --btn-ink: #0B1220;
  --header-bg: rgba(11, 18, 32, 0.78); --dot: transparent;
  --brand-gradient: linear-gradient(var(--accent), var(--accent)); --brand-gradient-soft: var(--brand-gradient);
  --glow-violet: none; --glow-teal: none;
  --shadow-lg: 0 0 0 1px rgba(242, 244, 247, 0.06);
}
.select { background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238F9AAB' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E"); }
.select option { background: var(--surface); color: var(--text); }
.theme-paper .select option { background: #FFFFFF; color: #0B1220; }
.btn--primary, .btn--primary:hover { color: #0B1220; background: #F2F4F7; box-shadow: none; }
.btn--primary:hover { background: #FFFFFF; }

/* P3-6 + P2-3: cool off-white paper, teal-dark links and focus (no violet). text-3 5.8:1 on #F5F7FA; teal-dark 5.5:1 */
.theme-paper {
  --bg: #F5F7FA; --bg-elev: #EDF1F5; --surface: #FFFFFF; --surface-2: #E9EEF3;
  --line: #DDE3EA; --line-strong: #C5CDD7; --field-line: #7A8597;
  --text: #0B1220; --text-2: #3D4757; --text-3: #566173;
  --link: #00716B; --accent: #00716B; --accent-ui: #00716B; --focus: #00716B;
  --accent-tint: rgba(0, 113, 107, 0.08); --violet-tint: rgba(0, 113, 107, 0.08);
  --brand-gradient: linear-gradient(#00716B, #00716B);
  --shadow-md: 0 1px 2px rgba(11, 18, 32, 0.06); --shadow-lg: 0 0 0 1px rgba(11, 18, 32, 0.05);
}
.theme-paper .btn--primary { color: #FFFFFF; background: #0B1220; box-shadow: none; }
.theme-paper .btn--primary:hover { color: #FFFFFF; background: #1B2740; }
.theme-paper .btn--secondary:hover { border-color: #0B1220; }

/* P1-2 + P3-2 Hero chart: flat card, neutral bins, one solid teal curve, no orbits, no glow, no pulse */
.data-visual { background: var(--surface); box-shadow: none; }
.data-visual .dv-bins rect { fill: rgba(242, 244, 247, 0.07); }
.data-visual .dv-curve { stroke: var(--accent); }
.data-visual .dv-area { fill: color-mix(in srgb, var(--accent) 10%, transparent); }
.data-visual .dv-axis { stroke: rgba(242, 244, 247, 0.16); }
.data-visual .dv-label { letter-spacing: 0.03em; }
.dv-orbits, .data-visual [fill="url(#dv-glow)"] { display: none; }
.dv-orbits, .dv-core { animation: none; }
.data-visual__foot { text-transform: none; letter-spacing: 0.02em; }

/* P1-4 Sample report as a white paper page (class theme-paper on the <article>) */
.report { box-shadow: none; }
.report--watermark::after { z-index: 0; }
.report > * { position: relative; z-index: 1; }
.theme-paper.report--watermark::after { opacity: 0.55; } /* ~5% ink: readable labels, still unmistakably synthetic */
.report__stamp { display: none; }
.rp-crit { stroke: var(--text-3); }
.rp-bins rect { fill: rgba(143, 154, 171, 0.22); }
.theme-paper .rp-axis { stroke: var(--line-strong); }
.theme-paper .rp-noise { fill: rgba(11, 18, 32, 0.05); stroke: var(--text-3); }
.theme-paper .rp-signal { fill: rgba(0, 113, 107, 0.12); stroke: var(--accent); }
.theme-paper .rp-bins rect { fill: rgba(86, 97, 115, 0.16); }
.theme-paper .rp-curve { stroke: var(--accent); }
.theme-paper .rp-tail { fill: rgba(0, 113, 107, 0.14); }
.domain-bar__fill { background: var(--accent); opacity: 1; }
.domain-bar__mark { border-color: var(--accent); }
.legend-swatch--fill { background: var(--accent); }
.theme-paper .domain-bar__track { background: rgba(11, 18, 32, 0.07); }
.theme-paper .domain-bar__band, .theme-paper .legend-swatch { background: rgba(11, 18, 32, 0.06); }
.theme-paper .legend-swatch--fill { background: var(--accent); }
.theme-paper .report__foot { background: var(--bg); }
.report__label { color: var(--text-2); font-weight: 600; }
@media (min-width: 480px) { .validity li > span:not(.validity__state) { white-space: nowrap; } } /* P3-4 */

/* P1-5 Comparison: stacked rows up to 899px (no clipped column); teal highlight column */
.table .is-us { background: color-mix(in srgb, var(--accent) 6%, transparent); }
@media (min-width: 720px) and (max-width: 899px) {
  #comparison .table--stack thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  #comparison .table--stack, #comparison .table--stack tbody, #comparison .table--stack tr, #comparison .table--stack th, #comparison .table--stack td { display: block; }
  #comparison .table--stack caption { display: block; width: auto; border-top: 0; border-bottom: 1px solid var(--line); }
  #comparison .table--stack tr { padding: var(--s-4) var(--s-5); border-bottom: 1px solid var(--line); }
  #comparison .table--stack tbody tr:last-child { border-bottom: 0; }
  #comparison .table--stack th, #comparison .table--stack td { padding: var(--s-2) 0; border: 0; }
  #comparison .table--stack tbody th { font-size: 1rem; padding-bottom: var(--s-2); }
  #comparison .table--stack td[data-label] { display: grid; grid-template-columns: minmax(11rem, 32%) 1fr; gap: var(--s-4); align-items: baseline; padding: 5px 0; font-size: var(--fs-sm); }
  #comparison .table--stack td[data-label]::before { content: attr(data-label); font-size: var(--fs-xs); color: var(--text-3); }
  #comparison .table--stack td.is-us { margin: var(--s-1) calc(-1 * var(--s-2)) 0; padding: var(--s-2); border-radius: var(--r-sm); }
}

/* P1-6 Pilot CTA after the home sample report */
.report-cta { margin-top: var(--s-7); }

/* P1-7 Flat logo: inline mark (one ring + dot) and Inter Tight wordmark; same lockup in header and footer */
.brand { gap: 0.625rem; color: var(--text); text-decoration: none; }
.brand:hover { color: var(--text); }
.brand__mark { height: 18px; width: auto; aspect-ratio: auto; color: var(--accent); flex-shrink: 0; overflow: visible; }
.brand__word { font-family: var(--font-display); font-weight: 700; font-size: 1.375rem; line-height: 1; letter-spacing: 0.01em; color: var(--text); white-space: nowrap; }
.brand__word > span { font-weight: 500; color: var(--text-2); letter-spacing: -0.01em; }
.site-footer__brand .brand { display: inline-flex; }

/* P1-8 Investors hero fact sheet (plain typographic card) */
.facts { gap: 0; padding: clamp(1.25rem, 1rem + 1vw, 1.75rem); border-color: var(--line-strong); }
.facts__list { margin: 0; display: grid; }
.facts__row { display: grid; grid-template-columns: 8.5rem minmax(0, 1fr); gap: var(--s-4); padding: var(--s-3) 0; border-top: 1px solid var(--line); }
.facts__row:first-child { border-top: 0; padding-top: 0; }
.facts__row:last-child { padding-bottom: 0; }
.facts dt { font-size: var(--fs-xs); font-weight: 500; color: var(--text-3); line-height: 1.5; padding-top: 0.1em; }
.facts dd { margin: 0; font-size: var(--fs-sm); color: var(--text); line-height: 1.5; }
@media (max-width: 480px) { .facts__row { grid-template-columns: 1fr; gap: 2px; } }
@media (min-width: 1000px) { .hero--page .hero__grid--facts { grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr); } }

/* P2-1 No dot texture */
.bg-dots::before { display: none; }

/* P2-2 Mono caps for data only: labels become sentence-case sans */
.eyebrow { font-family: var(--font-sans); font-size: 0.875rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--text-2); }
.card__label { font-family: var(--font-sans); font-size: 0.875rem; font-weight: 500; letter-spacing: 0; text-transform: none; color: var(--text-2); }
.subnav__list a { font-family: var(--font-sans); font-size: 0.875rem; font-weight: 500; letter-spacing: 0; text-transform: none; }
.chip { font-family: var(--font-sans); font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0; text-transform: none; }
.table thead th { font-family: var(--font-sans); font-size: var(--fs-xs); font-weight: 600; letter-spacing: 0; text-transform: none; color: var(--text-2); }
.status-line { font-family: var(--font-sans); font-size: var(--fs-xs); font-weight: 500; letter-spacing: 0; text-transform: none; }
.label, .kv dt, .founder__creds li > span:first-child, .contact-list li > span:first-child, .site-footer__heading, .sources-block h2,
.report__label, .report__banner, .report__patient, .validity__state, .roadmap__span, .quadrant__axis, .tag, .table--stack td[data-label]::before,
.cred-list a, .founder__sig, .draft-banner, .data-visual__head { font-family: var(--font-sans); font-size: var(--fs-xs); letter-spacing: 0; text-transform: none; }

/* P2-3 Violet remnants */
.card--glow { background: var(--surface); border-color: var(--line); }
.card--target { background: var(--surface); }
.chip--target { color: var(--text-2); background: transparent; border-color: var(--line-strong); }
.callout--note { border-left-width: 1px; border-left-color: var(--line); border-radius: var(--r-md); }
.icon-tile { display: none; }
.tag--violet { color: var(--text-2); background: transparent; border-color: var(--line-strong); }
.founder__photo { background: var(--line); }
.step::after, .timeline::before { background: var(--line-strong); }
@media (min-width: 900px) { .steps--row .step::after { background: var(--line-strong); } }

/* P2-4 One content edge: every section uses the same 80rem container (prose width held by .section__head) */
:root { --container: 80rem; }

/* P2-5 Rhythm: shorter sections; visible elevated step comes from --bg-elev #101A2C above */
@media (min-width: 720px) { :root { --section-y: clamp(4rem, 2.5rem + 5vw, 7rem); } }

/* P2-8 Hero: less top padding; keep two columns at 1000-1099 (annotation hidden) instead of stacking */
.hero:not(.hero--page) { padding-top: clamp(2.5rem, 1.5rem + 4vw, 5rem); }
@media (min-width: 1000px) and (max-width: 1099px) {
  .hero__grid { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
  .hero .data-visual { justify-self: end; }
  .hero .dv-annot { display: none; }
}

/* P2-9 Status line: separator dot trails the item, so a wrapped line never starts with "·" */
.status-line > span + span::before { display: none; }
.status-line > span:not(.status-line__dot):not(.visually-hidden):not(:nth-last-child(2))::after { content: ""; width: 3px; height: 3px; border-radius: 50%; background: var(--text-3); flex-shrink: 0; }

/* P2-10 Science subnav: scroll-spy state, fade mask when it scrolls, not sticky on phones */
.subnav__list a[aria-current="true"] { color: var(--text); background: var(--surface-2); }
@media (max-width: 899px) {
  .subnav__list { padding-right: 2.5rem; -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 2.5rem), transparent); mask-image: linear-gradient(90deg, #000 calc(100% - 2.5rem), transparent); }
}
@media (max-width: 719px) {
  .subnav { position: static; -webkit-backdrop-filter: none; backdrop-filter: none; background: var(--bg); }
  :root:has(.subnav) { scroll-padding-top: calc(var(--header-h) + 1rem); }
}

/* P2-11 Tap targets on touch screens */
@media (pointer: coarse) {
  .link-arrow, .sources a, .source-line a, .stat__source a { min-height: 44px; display: inline-flex; align-items: center; }
}

/* P2-12 Inter Tight tracking per level; CTA band titles use the display face */
h1, .h1, .hero__title, .hero--page .hero__title { letter-spacing: -0.022em; }
h2, .h2 { letter-spacing: -0.015em; }
.stat__value { letter-spacing: -0.02em; }
.cta-band__title { font-family: var(--font-display); font-weight: 600; letter-spacing: -0.015em; }

/* P2-13 Header actions: quiet text link first, pill last */
.header-actions .header-link { order: 0; }

/* P3-2 Flat hover: border change only, no lift, no shadow */
.card--link:hover { transform: none; box-shadow: none; border-color: rgba(242, 244, 247, 0.28); }

/* P3-3 Roadmap: plain rows separated by hairlines, no card-in-card, no gradient */
.roadmap__col--now { background: var(--surface); }
.roadmap__items { gap: 0; }
.roadmap__item { padding: var(--s-4) 0; background: transparent; border: 0; border-top: 1px solid var(--line); border-radius: 0; }
.roadmap__items > .roadmap__item:first-child { border-top: 0; padding-top: var(--s-1); }
@media (max-width: 719px) { .roadmap__item { padding: var(--s-3) 0; } }

/* P3-8 Give the "It does not diagnose" line room */
.emph-line { margin-block: var(--s-10); }

/* Investors "Why now" (5 cards in a 2-up grid): a lone last card spans the row */
@media (min-width: 760px) { .grid--2 > .card:last-child:nth-child(odd) { grid-column: 1 / -1; } }
