/* ============================================================
   DementiaDetect · Design System
   Calm, clinical, human. WCAG 2.2 AA targeted.
   ============================================================ */

/* ---------- Self-hosted fonts (no external calls) ---------- */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('../fonts/inter-var.woff2') format('woff2');
}
@font-face {
  font-family: 'Fraunces Variable';
  font-style: normal;
  font-weight: 300 800;
  font-display: swap;
  src: url('../fonts/fraunces-var.woff2') format('woff2');
}

/* ---------- Tokens ---------- */
:root {
  --navy-900: #081B30;
  --navy: #0E2A47;
  --navy-700: #16395C;
  --teal: #128577;
  --teal-600: #0E6E63;
  --teal-100: #DCF2EF;
  --teal-50: #EEF8F6;
  --coral: #E0654B;
  --coral-100: #FBE7E0;
  --amber: #D99A4E;
  --cream: #FBF9F5;
  --paper: #FFFFFF;
  --ink: #16232E;
  --muted: #4D5E6B;
  --line: #E7E1D6;
  --line-soft: #F0EBE1;

  --font-display: 'Fraunces Variable', Georgia, 'Times New Roman', serif;
  --font-body: 'Inter Variable', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --container: 1140px;
  --radius: 16px;
  --radius-sm: 10px;
  --radius-lg: 28px;
  --shadow-sm: 0 1px 2px rgba(8, 27, 48, .06), 0 2px 8px rgba(8, 27, 48, .05);
  --shadow: 0 8px 28px rgba(8, 27, 48, .10);
  --shadow-lg: 0 20px 50px rgba(8, 27, 48, .14);
  --ease: cubic-bezier(.22, .61, .36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: .001ms !important; animation-iteration-count: 1 !important; transition-duration: .001ms !important; }
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1.0625rem;       /* 17px base, generous for older readers */
  line-height: 1.7;
  color: var(--ink);
  background: var(--cream);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (min-width: 768px) { body { font-size: 1.125rem; } }  /* 18px */
img, video { max-width: 100%; height: auto; display: block; }
svg { display: inline-block; vertical-align: middle; }
/* Default inline-icon sizing; specific contexts override below */
.eyebrow svg, .trust-line svg, .reassure svg, .more svg, .checklist svg, .checklist li svg,
.notice svg, .dd-col li svg, .faq svg, .footer-bottom svg, .thanks-banner svg,
.has-sub > button svg { width: 1.2em; height: 1.2em; flex: none; }
.btn svg { width: 1.15em; height: 1.15em; flex: none; }
.icon svg { width: 26px; height: 26px; }
.brand .mark { width: 34px; height: 34px; }
.nav-toggle svg { width: 28px; height: 28px; }
a { color: var(--teal-600); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--coral); }
ul, ol { padding-left: 1.2em; }

/* ---------- Accessibility helpers ---------- */
.skip-link {
  position: absolute; left: -999px; top: 0; z-index: 200;
  background: var(--navy); color: #fff; padding: .75rem 1.25rem; border-radius: 0 0 var(--radius-sm) 0;
  font-weight: 600;
}
.skip-link:focus { left: 0; color: #fff; }
:focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 4px; }
.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;
}

/* ---------- Typography ---------- */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 560; line-height: 1.12; color: var(--navy); margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2.1rem, 5.2vw, 3.5rem); font-weight: 540; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 2.2vw, 1.55rem); }
h4 { font-size: 1.15rem; }
p { margin: 0 0 1.1em; }
p.lead { font-size: clamp(1.18rem, 2.2vw, 1.4rem); line-height: 1.55; color: var(--navy-700); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-body); font-weight: 700; font-size: .8rem;
  letter-spacing: .13em; text-transform: uppercase; color: var(--teal-600);
  margin: 0 0 1rem;
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: var(--teal); border-radius: 2px; }
.measure { max-width: 64ch; }
.measure-narrow { max-width: 54ch; }
strong { font-weight: 680; color: var(--navy); }

/* ---------- Layout ---------- */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 1.5rem; }
.section { padding: clamp(3.5rem, 8vw, 6rem) 0; }
.section--tight { padding: clamp(2.5rem, 5vw, 3.5rem) 0; }
.section--cream { background: var(--cream); }
.section--paper { background: var(--paper); }
.section--teal { background: var(--teal-50); }
.section--navy { background: var(--navy); color: #E9EEF4; }
.section--navy h1, .section--navy h2, .section--navy h3 { color: #fff; }
.section--navy .eyebrow { color: #7FD8CB; }
.section--navy .eyebrow::before { background: #7FD8CB; }
.section--navy p { color: #C5D2DF; }
.section-head { max-width: 60ch; margin-bottom: 2.5rem; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }

.grid { display: grid; gap: 1.5rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 880px) { .grid-3 { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 720px) { .grid-2\@sm { grid-template-columns: repeat(2, 1fr); } }
.split { display: grid; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (min-width: 900px) { .split { grid-template-columns: 1.05fr .95fr; } .split.reverse > :first-child { order: 2; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  font-family: var(--font-body); font-weight: 650; font-size: 1.02rem; line-height: 1;
  padding: .95rem 1.6rem; border-radius: 999px; border: 2px solid transparent;
  cursor: pointer; text-decoration: none; transition: transform .18s var(--ease), background .18s, box-shadow .18s, color .18s;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn--primary { background: var(--coral); color: #fff; box-shadow: 0 6px 18px rgba(224,101,75,.32); }
.btn--primary:hover { background: #cf553c; color: #fff; }
.btn--teal { background: var(--teal); color: #fff; box-shadow: 0 6px 18px rgba(18,133,119,.28); }
.btn--teal:hover { background: var(--teal-600); color: #fff; }
.btn--ghost { background: transparent; color: var(--navy); border-color: var(--navy); }
.btn--ghost:hover { background: var(--navy); color: #fff; }
.btn--light { background: #fff; color: var(--navy); }
.btn--light:hover { background: var(--teal-50); color: var(--navy); }
.btn--outline-light { background: transparent; color: #fff; border-color: rgba(255,255,255,.55); }
.btn--outline-light:hover { background: #fff; color: var(--navy); }
.btn--lg { padding: 1.1rem 2rem; font-size: 1.1rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: .9rem; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(251, 249, 245, .88);
  backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--line-soft);
}
.nav { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 74px; }
.brand { display: inline-flex; align-items: center; gap: .6rem; text-decoration: none; font-family: var(--font-display); font-weight: 600; font-size: 1.3rem; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand .mark { width: 34px; height: 34px; flex: none; }
.brand b { color: var(--teal); font-weight: 600; }
.nav-links { display: flex; align-items: center; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.nav-links a { color: var(--navy-700); text-decoration: none; font-weight: 550; font-size: .98rem; padding: .55rem .7rem; border-radius: var(--radius-sm); }
.nav-links a:hover, .nav-links a[aria-current="page"] { color: var(--navy); background: var(--teal-50); }
.nav-cta { display: flex; align-items: center; gap: .6rem; }
.has-sub { position: relative; }
.has-sub > button { font: inherit; font-weight: 550; font-size: .98rem; color: var(--navy-700); background: none; border: 0; cursor: pointer; padding: .55rem .7rem; border-radius: var(--radius-sm); display: inline-flex; align-items: center; gap: .3rem; }
.has-sub > button:hover, .has-sub[data-open="true"] > button { color: var(--navy); background: var(--teal-50); }
.has-sub > button svg { transition: transform .2s; }
.has-sub[data-open="true"] > button svg { transform: rotate(180deg); }
.submenu {
  position: absolute; top: calc(100% + 6px); left: 0; min-width: 230px;
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  box-shadow: var(--shadow); padding: .5rem; list-style: none; margin: 0;
  opacity: 0; visibility: hidden; transform: translateY(6px); transition: all .18s var(--ease);
}
.has-sub[data-open="true"] .submenu { opacity: 1; visibility: visible; transform: translateY(0); }
.submenu a { display: block; padding: .6rem .75rem; border-radius: var(--radius-sm); font-size: .95rem; }
.submenu a small { display: block; color: var(--muted); font-weight: 400; font-size: .82rem; }

.nav-toggle { display: none; background: none; border: 0; cursor: pointer; padding: .5rem; color: var(--navy); }
.nav-toggle svg { width: 28px; height: 28px; }

@media (max-width: 980px) {
  .nav-toggle { display: inline-flex; }
  .nav-menu {
    position: fixed; inset: 74px 0 0 0; background: var(--cream);
    flex-direction: column; align-items: stretch; gap: 0; padding: 1.25rem 1.5rem 2.5rem;
    overflow-y: auto; transform: translateX(100%); transition: transform .25s var(--ease);
    border-top: 1px solid var(--line-soft);
  }
  .nav[data-open="true"] .nav-menu { transform: translateX(0); }
  .nav-links { flex-direction: column; align-items: stretch; gap: .15rem; width: 100%; }
  .nav-links a, .has-sub > button { font-size: 1.15rem; padding: .85rem .5rem; width: 100%; text-align: left; justify-content: space-between; }
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-left: 2px solid var(--teal-100); border-radius: 0; margin: 0 0 .5rem .5rem; padding: 0 0 0 .5rem; display: none; }
  .has-sub[data-open="true"] .submenu { display: block; }
  .nav-cta { margin-top: 1.25rem; flex-direction: column; align-items: stretch; }
  .nav-cta .btn { width: 100%; }
}

/* ---------- Hero ---------- */
.hero { position: relative; overflow: hidden; background: linear-gradient(180deg, #fff 0%, var(--cream) 100%); }
.hero::after {
  content: ""; position: absolute; right: -12%; top: -18%; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  background: radial-gradient(circle at 30% 30%, var(--teal-100), transparent 62%); z-index: 0; pointer-events: none;
}
.hero .container { position: relative; z-index: 1; }
.hero-inner { display: grid; gap: clamp(2rem, 5vw, 3.5rem); align-items: center; padding: clamp(2.5rem, 6vw, 4.5rem) 0; }
@media (min-width: 920px) { .hero-inner { grid-template-columns: 1.08fr .92fr; } }
.hero h1 { margin-bottom: .35em; }
.trust-line { display: inline-flex; align-items: center; gap: .55rem; font-weight: 600; font-size: .92rem; color: var(--teal-600); background: var(--teal-50); border: 1px solid var(--teal-100); padding: .4rem .85rem; border-radius: 999px; margin-bottom: 1.4rem; }
.reassure { font-size: .96rem; color: var(--muted); margin-top: 1.1rem; display: inline-flex; gap: .5rem; align-items: flex-start; }
.reassure svg { flex: none; margin-top: 3px; color: var(--teal); }

/* ---------- Cards ---------- */
.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.75rem; box-shadow: var(--shadow-sm); transition: transform .2s var(--ease), box-shadow .2s; height: 100%; }
.card--hover:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card h3 { margin-bottom: .4rem; }
.card .icon { width: 52px; height: 52px; border-radius: 14px; display: grid; place-items: center; background: var(--teal-50); color: var(--teal-600); margin-bottom: 1.1rem; }
.card .icon svg { width: 26px; height: 26px; }
.card .more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 650; text-decoration: none; margin-top: .35rem; }
.card .more svg { transition: transform .18s; }
.card--hover:hover .more svg { transform: translateX(3px); }
.card--accent { border-top: 4px solid var(--coral); }

/* Audience cards */
.aud-card { display: flex; flex-direction: column; }
.aud-card .tag { font-size: .78rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--coral); margin-bottom: .6rem; }
.aud-card p { color: var(--muted); flex: 1; }

/* ---------- Steps ---------- */
.steps { counter-reset: step; display: grid; gap: 1.5rem; }
@media (min-width: 880px) { .steps { grid-template-columns: repeat(3, 1fr); } }
.step { position: relative; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 2.25rem 1.75rem 1.75rem; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -22px; left: 1.75rem;
  width: 46px; height: 46px; border-radius: 50%; background: var(--navy); color: #fff;
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 600; display: grid; place-items: center;
  box-shadow: var(--shadow-sm);
}
.step:nth-child(2)::before { background: var(--teal); }
.step:nth-child(3)::before { background: var(--coral); }

/* ---------- Signals (Speech Sleep Steps Signals) ---------- */
.signals { display: grid; gap: 1rem; }
@media (min-width: 720px) { .signals { grid-template-columns: repeat(4, 1fr); } }
.signal { text-align: center; padding: 1.75rem 1rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.signal .icon { margin: 0 auto 1rem; }
.signal h4 { color: var(--teal-600); font-family: var(--font-body); font-weight: 700; letter-spacing: .02em; margin-bottom: .35rem; }
.signal p { font-size: .92rem; color: var(--muted); margin: 0; }

/* ---------- Feature list ---------- */
.checklist { list-style: none; padding: 0; margin: 0; display: grid; gap: .85rem; }
.checklist li { display: flex; gap: .7rem; align-items: flex-start; }
.checklist svg { flex: none; margin-top: 4px; color: var(--teal); }
.checklist.coral svg { color: var(--coral); }

/* "Does / does not do" */
.dd-grid { display: grid; gap: 1.5rem; }
@media (min-width: 760px) { .dd-grid { grid-template-columns: 1fr 1fr; } }
.dd-col { border-radius: var(--radius); padding: 1.75rem; border: 1px solid var(--line); }
.dd-col.is-do { background: var(--teal-50); border-color: var(--teal-100); }
.dd-col.is-dont { background: #fbf3f0; border-color: var(--coral-100); }
.dd-col h3 { display: flex; align-items: center; gap: .55rem; font-size: 1.2rem; }
.dd-col ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .7rem; }
.dd-col li { display: flex; gap: .6rem; align-items: flex-start; }
.dd-col li svg { flex: none; margin-top: 4px; }
.dd-col.is-do li svg { color: var(--teal-600); }
.dd-col.is-dont li svg { color: var(--coral); }

/* ---------- Time list (emotional) ---------- */
.time-list { columns: 2; column-gap: 2.5rem; list-style: none; padding: 0; margin: 1.5rem 0 0; }
@media (max-width: 600px) { .time-list { columns: 1; } }
.time-list li { break-inside: avoid; padding: .5rem 0 .5rem 1.8rem; position: relative; font-size: 1.08rem; color: var(--navy-700); }
.time-list li::before { content: ""; position: absolute; left: 0; top: .95rem; width: 9px; height: 9px; border-radius: 50%; background: var(--coral); }
/* Light text when the time-list sits on a navy section */
.section--navy .time-list li { color: #D3DEEA; }

/* ---------- Stat band ---------- */
.stats { display: grid; gap: 1.5rem; text-align: center; }
@media (min-width: 720px) { .stats { grid-template-columns: repeat(3, 1fr); } }
.stat .num { font-family: var(--font-display); font-size: clamp(2.4rem, 5vw, 3.2rem); font-weight: 580; color: #fff; line-height: 1; }
.stat .num span { color: #7FD8CB; }
.stat p { color: #B9C7D6; font-size: .98rem; margin: .5rem 0 0; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 100%); color: #fff; border-radius: var(--radius-lg); padding: clamp(2.5rem, 5vw, 4rem); text-align: center; position: relative; overflow: hidden; }
.cta-band::before { content: ""; position: absolute; left: -10%; bottom: -40%; width: 50%; height: 120%; background: radial-gradient(circle, rgba(18,133,119,.5), transparent 65%); }
.cta-band > * { position: relative; }
.cta-band h2 { color: #fff; }
.cta-band p { color: #C5D2DF; max-width: 56ch; margin-left: auto; margin-right: auto; }
.cta-band .btn-row { justify-content: center; }

/* ---------- Pull quote / mission ---------- */
.pull { font-family: var(--font-display); font-size: clamp(1.5rem, 3.4vw, 2.2rem); line-height: 1.3; font-weight: 460; color: var(--navy); }
.pull .hl { color: var(--teal); }

/* ---------- Disclaimer / notice ---------- */
.notice { display: flex; gap: .9rem; align-items: flex-start; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: var(--radius-sm); padding: 1.1rem 1.25rem; font-size: .96rem; color: var(--navy-700); }
.notice svg { flex: none; margin-top: 3px; color: var(--amber); }
.notice.teal { border-left-color: var(--teal); }
.notice.teal svg { color: var(--teal); }

/* ---------- Forms ---------- */
.form-wrap { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(1.5rem, 4vw, 2.5rem); box-shadow: var(--shadow-sm); }
.field { margin-bottom: 1.25rem; }
.field label { display: block; font-weight: 620; color: var(--navy); margin-bottom: .4rem; font-size: .98rem; }
.field .req { color: var(--coral); }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; font-size: 1rem; color: var(--ink);
  padding: .8rem .9rem; border: 1.5px solid var(--line); border-radius: var(--radius-sm);
  background: #fff; transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); box-shadow: 0 0 0 3px var(--teal-100); outline: none; }
.field textarea { resize: vertical; min-height: 120px; }
.field .hint { font-size: .88rem; color: var(--muted); margin-top: .35rem; }
.field-row { display: grid; gap: 1.25rem; }
@media (min-width: 560px) { .field-row { grid-template-columns: 1fr 1fr; } }
.choice { display: flex; gap: .65rem; align-items: flex-start; padding: .35rem 0; }
.choice input { width: auto; margin-top: .35rem; flex: none; }
.choice label { font-weight: 450; color: var(--ink); margin: 0; }
fieldset { border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1rem 1.25rem 1.25rem; margin: 0 0 1.25rem; }
fieldset legend { font-weight: 620; color: var(--navy); padding: 0 .4rem; }
.consent { background: var(--teal-50); border: 1px solid var(--teal-100); border-radius: var(--radius-sm); padding: 1rem 1.1rem; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: #B9C7D6; padding: clamp(3rem, 6vw, 4.5rem) 0 2rem; }
.footer-grid { display: grid; gap: 2.5rem; }
@media (min-width: 760px) { .footer-grid { grid-template-columns: 1.4fr 1fr 1fr 1fr; } }
.site-footer h4 { color: #fff; font-family: var(--font-body); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; font-weight: 700; margin-bottom: 1.1rem; }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.site-footer a { color: #B9C7D6; text-decoration: none; font-size: .96rem; }
.site-footer a:hover { color: #fff; }
.footer-brand .brand { color: #fff; margin-bottom: 1rem; }
.footer-brand .brand b { color: #7FD8CB; }
.footer-brand p { font-size: .95rem; color: #97A8B9; max-width: 34ch; }
.footer-disclaimer { border-top: 1px solid rgba(255,255,255,.1); margin-top: 2.5rem; padding-top: 1.75rem; font-size: .88rem; color: #8497A8; }
.footer-bottom { display: flex; flex-wrap: wrap; gap: 1rem; justify-content: space-between; align-items: center; margin-top: 1.5rem; font-size: .88rem; color: #8497A8; }
.footer-bottom a { color: #8497A8; }

/* ---------- Page hero (interior) ---------- */
.page-hero { background: linear-gradient(180deg, var(--teal-50), var(--cream)); padding: clamp(3rem, 7vw, 5rem) 0 clamp(2.5rem, 5vw, 3.5rem); border-bottom: 1px solid var(--line-soft); }
.page-hero .breadcrumb { font-size: .88rem; color: var(--muted); margin-bottom: 1rem; }
.page-hero .breadcrumb a { color: var(--teal-600); text-decoration: none; }

/* ---------- Prose (legal pages) ---------- */
.prose { max-width: 72ch; }
.prose h2 { font-size: 1.5rem; margin-top: 2.2rem; }
.prose h3 { font-size: 1.2rem; margin-top: 1.6rem; }
.prose ul { display: grid; gap: .5rem; }
.prose p, .prose li { color: var(--navy-700); }

/* ---------- Founder story ---------- */
.media { border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; background: var(--teal-50); }
.media img { width: 100%; display: block; }
.figure { margin: 0; }
.figure figcaption { font-size: .85rem; color: var(--muted); margin-top: .7rem; }
.story-lead { font-family: var(--font-display); font-size: clamp(1.5rem, 3.2vw, 2.1rem); line-height: 1.3; font-weight: 460; color: var(--navy); margin: 0 0 1rem; }
.story-quote { font-family: var(--font-display); font-size: clamp(1.45rem, 3.4vw, 2.15rem); line-height: 1.32; font-weight: 460; color: var(--navy); border-left: 4px solid var(--coral); padding: .25rem 0 .25rem 1.5rem; margin: 0; }
.story-quote .hl { color: var(--teal); }
.story-body p { font-size: clamp(1.05rem, 1.6vw, 1.18rem); }
.story-close p { font-family: var(--font-display); font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1.28; font-weight: 460; color: #fff; margin: .12em 0; }
.story-close p .accent { color: #7FD8CB; }
.signature { margin-top: 1.75rem; }
.signature .sig-name { font-family: var(--font-display); font-size: 1.4rem; color: var(--navy); }
.section--navy .signature .sig-name { color: #fff; }
.signature .sig-role { font-size: .92rem; color: var(--muted); font-weight: 600; letter-spacing: .02em; margin-top: .15rem; }
.section--navy .signature .sig-role { color: #9FB2C4; }
@media (min-width: 900px) { .story-sticky { position: sticky; top: 100px; } }

/* ---------- Product journey ---------- */
.journey { list-style: none; counter-reset: jr; padding: 0; margin: 0; display: grid; gap: 1rem; }
.journey li { counter-increment: jr; display: grid; grid-template-columns: 2.6rem 1fr; gap: 1rem; align-items: start; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.1rem 1.25rem; }
.journey li::before { content: counter(jr); width: 2.6rem; height: 2.6rem; border-radius: 50%; background: var(--teal-50); color: var(--teal-600); font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; display: grid; place-items: center; }
.journey.clin li::before { background: var(--coral-100); color: var(--coral); }
.journey li h4 { margin: .15rem 0 .2rem; font-family: var(--font-body); font-weight: 680; color: var(--navy); font-size: 1.02rem; }
.journey li p { margin: 0; color: var(--muted); font-size: .96rem; }

/* ---------- Product mockup (illustrative) ---------- */
.mock { background: #fff; border: 1px solid var(--line); border-radius: 24px; box-shadow: var(--shadow-lg); overflow: hidden; max-width: 430px; margin: 0 auto; }
.mock-top { background: linear-gradient(135deg, var(--navy), var(--navy-700)); color: #fff; padding: 1rem 1.2rem; display: flex; align-items: center; justify-content: space-between; }
.mock-top .mt-title { font-weight: 650; font-size: .98rem; display: flex; align-items: center; gap: .5rem; }
.mock-top .mt-title svg { width: 18px; height: 18px; color: #7FD8CB; }
.mock-tag { font-size: .66rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: rgba(127,216,203,.2); color: #aef0e6; padding: .25rem .5rem; border-radius: 999px; }
.mock-body { padding: 1.2rem; }
.tile-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: .6rem; margin-bottom: 1rem; }
.tile { background: var(--teal-50); border: 1px solid var(--teal-100); border-radius: 14px; padding: .75rem .5rem; text-align: center; }
.tile .t-ico { color: var(--teal-600); display: grid; place-items: center; margin-bottom: .35rem; }
.tile .t-ico svg { width: 20px; height: 20px; }
.tile .t-lab { font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--navy-700); }
.tile .t-val { font-size: .82rem; color: var(--teal-600); font-weight: 600; margin-top: .15rem; }
.tile.is-watch { background: #fdf3ee; border-color: var(--coral-100); }
.tile.is-watch .t-ico, .tile.is-watch .t-val { color: var(--coral); }
.mock-panel { border: 1px solid var(--line); border-radius: 14px; padding: .9rem 1rem; margin-bottom: 1rem; }
.mock-panel .mp-head { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: .5rem; }
.mock-panel .mp-head h5 { margin: 0; font-family: var(--font-body); font-size: .82rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--muted); }
.mock-panel .mp-head span { font-size: .76rem; color: var(--muted); }
.insight { display: flex; gap: .7rem; align-items: flex-start; background: var(--cream); border: 1px solid var(--line); border-left: 4px solid var(--teal); border-radius: 12px; padding: .85rem 1rem; }
.insight svg { width: 20px; height: 20px; flex: none; color: var(--teal); margin-top: 2px; }
.insight p { margin: 0; font-size: .9rem; color: var(--navy-700); }
.insight strong { color: var(--navy); }
.mock-note { font-size: .72rem; color: var(--muted); margin: 1rem 0 0; text-align: center; }

/* ---------- "What we do not claim" ---------- */
.no-claim { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: clamp(2rem, 4vw, 3rem); }
.no-claim h2 { color: #fff; }
.no-claim .nc-grid { display: grid; gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 640px) { .no-claim .nc-grid { grid-template-columns: 1fr 1fr; } }
.no-claim .nc-item { display: flex; gap: .8rem; align-items: flex-start; background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1); border-radius: var(--radius); padding: 1rem 1.2rem; }
.no-claim .nc-item svg { width: 22px; height: 22px; flex: none; color: var(--coral); margin-top: 2px; }
.no-claim .nc-item strong { color: #fff; display: block; }
.no-claim .nc-item span { color: #B9C7D6; font-size: .92rem; }

/* ---------- Evidence roadmap table ---------- */
.ev-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border: 1px solid var(--line); border-radius: var(--radius); }
.ev-table { width: 100%; border-collapse: collapse; min-width: 680px; background: #fff; }
.ev-table th, .ev-table td { text-align: left; padding: .9rem 1.1rem; border-bottom: 1px solid var(--line-soft); vertical-align: top; font-size: .95rem; }
.ev-table thead th { background: var(--navy); color: #fff; font-family: var(--font-body); font-weight: 650; font-size: .82rem; letter-spacing: .04em; text-transform: uppercase; border: 0; }
.ev-table tbody tr:last-child td { border-bottom: 0; }
.ev-table tbody td:first-child { font-weight: 680; color: var(--navy); }
.ev-table .status { display: inline-block; font-size: .76rem; font-weight: 700; padding: .25rem .6rem; border-radius: 999px; white-space: nowrap; }
.status.s-prog { background: var(--teal-50); color: var(--teal-600); }
.status.s-plan { background: #f1f4f8; color: var(--navy-700); }
.status.s-seek { background: var(--coral-100); color: var(--coral); }
.status.s-future { background: #f6f1e8; color: var(--amber); }

/* ---------- Sources ---------- */
.sources { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.sources li a { display: flex; gap: .7rem; align-items: flex-start; text-decoration: none; color: var(--navy-700); background: #fff; border: 1px solid var(--line); border-radius: var(--radius-sm); padding: .85rem 1rem; transition: border-color .15s, transform .15s; }
.sources li a:hover { border-color: var(--teal); transform: translateX(2px); color: var(--navy); }
.sources li a svg { width: 18px; height: 18px; flex: none; color: var(--teal-600); margin-top: 3px; }
.sources li .s-meta { display: block; font-size: .85rem; color: var(--muted); margin-top: .1rem; }

/* ---------- Founder credibility ---------- */
.cred { background: var(--teal-50); border: 1px solid var(--teal-100); border-radius: var(--radius); padding: 1.5rem 1.6rem; }
.cred h3 { font-size: 1.2rem; margin-bottom: .4rem; }
.cred .cred-list { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .65rem; }
.cred .cred-list li { display: flex; gap: .6rem; align-items: flex-start; font-size: .96rem; color: var(--navy-700); }
.cred .cred-list li svg { width: 18px; height: 18px; flex: none; color: var(--teal-600); margin-top: 3px; }

/* ---------- Insights hub + articles ---------- */
.cat-pill { display: inline-block; background: var(--teal-50); color: var(--teal-600); font-weight: 700; font-size: .7rem; letter-spacing: .06em; text-transform: uppercase; padding: .3rem .65rem; border-radius: 999px; }
.post-card { display: flex; flex-direction: column; height: 100%; }
.post-card .cat-pill { align-self: flex-start; margin-bottom: .9rem; }
.post-card h3 { font-size: 1.2rem; margin-bottom: .5rem; }
.post-card h3 a { color: var(--navy); text-decoration: none; }
.post-card h3 a:hover { color: var(--teal-600); }
.post-card p { color: var(--muted); flex: 1; }
.post-card .post-meta { font-size: .82rem; color: var(--muted); margin-top: .75rem; display: flex; gap: .6rem; align-items: center; }
.post-card .post-meta .dot { width: 3px; height: 3px; border-radius: 50%; background: var(--line); }
.featured-post { background: var(--navy); color: #fff; border-radius: var(--radius-lg); padding: clamp(1.75rem, 4vw, 3rem); }
.featured-post .cat-pill { background: rgba(127,216,203,.18); color: #aef0e6; }
.featured-post h2 { color: #fff; margin: .9rem 0 .6rem; }
.featured-post h2 a { color: #fff; text-decoration: none; }
.featured-post p { color: #C5D2DF; }
.featured-post .post-meta { color: #8FA2B4; font-size: .85rem; margin-top: 1rem; }

.article-meta { display: flex; flex-wrap: wrap; gap: .6rem 1rem; align-items: center; color: var(--muted); font-size: .9rem; margin: 1rem 0 0; }
.article-meta .sep { width: 3px; height: 3px; border-radius: 50%; background: var(--line); }
.article-body { max-width: 72ch; }
.article-body > p:first-of-type { font-size: 1.18rem; line-height: 1.6; color: var(--navy-700); }
.article-body h2 { font-size: 1.5rem; margin-top: 2.4rem; }
.article-body h3 { font-size: 1.2rem; margin-top: 1.6rem; }
.article-body p, .article-body li { color: var(--navy-700); }
.article-body ul, .article-body ol { display: grid; gap: .5rem; margin: 1rem 0; }
.key-takeaways { background: var(--teal-50); border: 1px solid var(--teal-100); border-radius: var(--radius); padding: 1.5rem 1.6rem; margin: 2.25rem 0; }
.key-takeaways h2 { margin: 0 0 .75rem; font-size: 1.2rem; }
.key-takeaways ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.key-takeaways li { display: flex; gap: .6rem; align-items: flex-start; }
.key-takeaways li svg { width: 18px; height: 18px; flex: none; color: var(--teal-600); margin-top: 4px; }
.article-foot { border-top: 1px solid var(--line); margin-top: 2.5rem; padding-top: 1.5rem; font-size: .92rem; color: var(--muted); }

/* ---------- Misc ---------- */
.thanks-banner { background: var(--teal-50); border: 1px solid var(--teal-100); border-radius: var(--radius); padding: 1.25rem 1.5rem; display: flex; gap: .8rem; align-items: flex-start; margin-bottom: 1.5rem; }
.thanks-banner svg { color: var(--teal); flex: none; margin-top: 3px; }
.divider { height: 1px; background: var(--line); border: 0; margin: 0; }
.text-center { text-align: center; }
.mt-0 { margin-top: 0; } .mb-0 { margin-bottom: 0; }
.faq { border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); padding: 1.1rem 0; }
.faq summary { font-family: var(--font-display); font-size: 1.15rem; color: var(--navy); cursor: pointer; list-style: none; display: flex; justify-content: space-between; gap: 1rem; font-weight: 540; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--teal); font-size: 1.5rem; line-height: 1; transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { margin: .9rem 0 0; color: var(--navy-700); }
