/* Interval — brand concept site
   Design tokens are the LOCKED Stage-4 identity system (identity-system.md).
   One accent only. Neutrals tinted, never raw #000/#fff. Sentence case. No exclamation marks. */

:root {
  /* accent — the one voice */
  --accent:        #1B5A40;
  --accent-hover:  #0B4C34;
  --accent-quiet:  #D7EFE2;
  --on-accent:     #F4F8F5;
  /* light surfaces + ink */
  --bg-base:       #ECF2EE;
  --bg-raised:     #F8FCFA;
  --bg-sunken:     #E2E9E5;
  --ink:           #152527;
  --text-2:        #4A5959;
  --text-3:        #606D6C;
  --hairline:      #D4DBD8;
  --border-field:  #788380;
  --border-strong: #B8C0BD;
  /* semantic (muted, product-ui) */
  --success:#275F46; --success-bg:#DCF4E7;
  --warning:#886026; --warning-bg:#FBEDD6;
  --info:#44687F;    --info-bg:#DDF1FE;

  --font: 'Hanken Grotesk', 'Inter', -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;

  --maxw: 1080px;
  --radius: 12px;
  --radius-sm: 8px;
  --ease: cubic-bezier(0.2, 0, 0, 1);
}

:root[data-theme="dark"] {
  --bg-base:#111919; --bg-raised:#1A2424; --bg-sunken:#0B1617;
  --ink:#E5EBE9; --text-2:#AAB3B1; --text-3:#828C8A;
  --hairline:#35403F; --border-field:#5F6C6B; --border-strong:#3E4A49;
  --accent:#6CC79C; --accent-hover:#81D4AC; --on-accent:#0D1516; --accent-quiet:#183429;
  --success:#6CC79C; --success-bg:#183429;
  --warning:#D4A15A; --warning-bg:#2E2413;
  --info:#8FB4CC;    --info-bg:#16242E;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--bg-base);
  color: var(--ink);
  font-size: 16px;
  line-height: 1.62;
  font-weight: 400;
  letter-spacing: 0;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  transition: background 200ms var(--ease), color 200ms var(--ease);
}

.tabular { font-feature-settings: "tnum" 1, "zero" 1; font-variant-numeric: tabular-nums; }

/* ---------- layout ---------- */
.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding: 88px 0; }
.section--tight { padding: 56px 0; }
.divider { height: 1px; background: var(--hairline); border: 0; }

/* ---------- type scale (Stage-4 identity §3.2) ---------- */
.display-1 { font-size: 56px; line-height: 60px; font-weight: 400; letter-spacing: -0.022em; }
.display-2 { font-size: 44px; line-height: 50px; font-weight: 400; letter-spacing: -0.02em; }
h1, .h1 { font-size: 34px; line-height: 42px; font-weight: 450; letter-spacing: -0.018em; }
h2, .h2 { font-size: 28px; line-height: 36px; font-weight: 500; letter-spacing: -0.015em; }
h3, .h3 { font-size: 22px; line-height: 30px; font-weight: 500; letter-spacing: -0.01em; }
.body-lg { font-size: 19px; line-height: 30px; font-weight: 400; letter-spacing: -0.005em; }
.body-sm { font-size: 14px; line-height: 22px; }
.label { font-size: 13px; line-height: 18px; font-weight: 500; letter-spacing: 0.005em; }
.overline {
  font-size: 12px; line-height: 16px; font-weight: 500; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--text-3);
}
.muted { color: var(--text-2); }
.muted-3 { color: var(--text-3); }
.measure { max-width: 62ch; }

@media (max-width: 720px) {
  .display-1 { font-size: 40px; line-height: 44px; }
  .display-2 { font-size: 32px; line-height: 38px; }
  h1, .h1 { font-size: 28px; line-height: 34px; }
  .section { padding: 64px 0; }
}

/* ---------- header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg-base) 88%, transparent);
  backdrop-filter: saturate(1.1) blur(8px);
  border-bottom: 1px solid var(--hairline);
}
.site-header .wrap { display: flex; align-items: center; gap: 24px; height: 64px; }
.brand-lockup { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.brand-lockup .mark { display: block; }
.brand-lockup .wordmark { font-size: 20px; font-weight: 500; letter-spacing: -0.02em; }
.nav { display: flex; gap: 22px; margin-left: auto; align-items: center; }
.nav a:not(.btn) { color: var(--text-2); text-decoration: none; font-size: 14px; transition: color 120ms var(--ease); }
.nav a:not(.btn):hover { color: var(--ink); }
.tag-concept {
  font-size: 11px; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--text-3); border: 1px solid var(--hairline); border-radius: 999px;
  padding: 3px 9px;
}
.theme-btn {
  background: transparent; border: 1px solid var(--border-field); color: var(--text-2);
  border-radius: 999px; width: 34px; height: 34px; cursor: pointer; font-size: 15px;
  display: inline-flex; align-items: center; justify-content: center;
  transition: border-color 120ms var(--ease), color 120ms var(--ease);
}
.theme-btn:hover { color: var(--ink); border-color: var(--border-strong); }
@media (max-width: 720px) { .nav a:not(.btn) { display: none; } }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: var(--font); font-size: 15px; font-weight: 500; letter-spacing: -0.005em;
  border-radius: var(--radius-sm); padding: 11px 18px; cursor: pointer;
  text-decoration: none; border: 1px solid transparent;
  transition: background 120ms var(--ease), border-color 120ms var(--ease), color 120ms var(--ease);
}
.btn-primary { background: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--border-field); }
.btn-secondary:hover { border-color: var(--ink); }
.btn-ghost { background: transparent; color: var(--accent); padding: 11px 4px; }
.btn-ghost:hover { color: var(--accent-hover); }
a:focus-visible, button:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

/* ---------- hero ---------- */
.hero { padding: 104px 0 72px; }
.hero .display-1 { max-width: 16ch; }
.hero .body-lg { margin-top: 20px; max-width: 52ch; color: var(--text-2); }
.hero-ctas { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; align-items: center; }
.hero-note { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--hairline); }
.hero-note a { color: var(--accent); text-decoration: none; }
.hero-note a:hover { text-decoration: underline; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 22px; }
.eyebrow .dot-mark { opacity: 0.9; }

/* ---------- pillars ---------- */
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
@media (max-width: 860px) { .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .grid-4 { grid-template-columns: 1fr; } }
.card {
  background: var(--bg-raised); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 26px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-2); font-size: 15px; }
.card .pill-num { color: var(--accent); font-weight: 500; font-size: 14px; letter-spacing: 0.02em; }

/* ---------- price ladder ---------- */
.ladder { background: var(--bg-raised); border: 1px solid var(--hairline); border-radius: var(--radius); overflow: hidden; }
.ladder-row { display: grid; grid-template-columns: 1.4fr 1.8fr auto; gap: 20px; align-items: center; padding: 20px 26px; border-bottom: 1px solid var(--hairline); }
.ladder-row:last-child { border-bottom: 0; }
.ladder-row .plan { font-weight: 500; }
.ladder-row .desc { color: var(--text-2); font-size: 15px; }
.ladder-row .price { font-weight: 500; text-align: right; white-space: nowrap; }
.ladder-row .price small { display: block; color: var(--text-3); font-weight: 400; font-size: 12px; }
.ladder-row--free .price { color: var(--accent); }
@media (max-width: 640px) {
  .ladder-row { grid-template-columns: 1fr auto; }
  .ladder-row .desc { grid-column: 1 / -1; order: 3; }
}

/* ---------- callout band (crisis register) ---------- */
/* Steady section sits on a white ground (per request). Theme-aware so dark mode stays right. */
#steady { background: #FFFFFF; }
:root[data-theme="dark"] #steady { background: var(--bg-raised); }
.band { background: var(--bg-sunken); border-radius: var(--radius); padding: 48px; }
.band .steady { font-size: 26px; line-height: 34px; letter-spacing: -0.012em; max-width: 26ch; }
.band .steady + p { margin-top: 14px; color: var(--text-2); max-width: 46ch; }

/* ---------- discretion rows ---------- */
.fact-row { display: flex; gap: 14px; align-items: flex-start; padding: 14px 0; }
.fact-row .mk { margin-top: 4px; flex: 0 0 auto; }
.fact-row p { color: var(--text-2); }
.fact-row strong { color: var(--ink); font-weight: 500; }

/* ---------- footer ---------- */
.site-footer { border-top: 1px solid var(--hairline); background: var(--bg-raised); }
.site-footer .wrap { padding-top: 48px; padding-bottom: 48px; }
.foot-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; }
@media (max-width: 720px) { .foot-grid { grid-template-columns: 1fr; gap: 24px; } }
.site-footer a { color: var(--text-2); text-decoration: none; display: block; padding: 4px 0; font-size: 14px; }
.site-footer a:hover { color: var(--ink); }
.disclaimer { margin-top: 32px; padding-top: 24px; border-top: 1px solid var(--hairline); color: var(--text-3); font-size: 13px; line-height: 20px; }

/* ---------- brand showcase specifics ---------- */
.swatch-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
@media (max-width: 780px) { .swatch-grid { grid-template-columns: repeat(2, 1fr); } }
.swatch { border: 1px solid var(--hairline); border-radius: var(--radius-sm); overflow: hidden; background: var(--bg-raised); }
.swatch .chip { height: 76px; }
.swatch .meta { padding: 10px 12px; }
.swatch .meta .name { font-size: 13px; font-weight: 500; }
.swatch .meta .hex { font-size: 12px; color: var(--text-3); }
.type-row { padding: 18px 0; border-bottom: 1px solid var(--hairline); display: flex; justify-content: space-between; align-items: baseline; gap: 20px; }
.type-row:last-child { border-bottom: 0; }
.type-row .spec { color: var(--text-3); font-size: 12px; white-space: nowrap; }
.attr { padding: 16px 0; border-bottom: 1px solid var(--hairline); }
.attr:last-child { border-bottom: 0; }
.attr .yn { font-weight: 500; }
.attr .yn .no { color: var(--text-3); font-weight: 400; }
.attr p { color: var(--text-2); font-size: 15px; margin-top: 4px; }
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 16px; }
@media (max-width: 640px) { .pair { grid-template-columns: 1fr; } }
.pair .off, .pair .on { border-radius: var(--radius-sm); padding: 16px 18px; font-size: 15px; }
.pair .off { background: var(--bg-sunken); color: var(--text-2); border: 1px solid var(--hairline); }
.pair .on { background: var(--accent-quiet); color: var(--ink); border: 1px solid transparent; }
.pair .lbl { font-size: 11px; text-transform: uppercase; letter-spacing: 0.07em; display: block; margin-bottom: 6px; }
.pair .off .lbl { color: var(--text-3); }
.pair .on .lbl { color: var(--accent); }

/* section header helper */
.sec-head { margin-bottom: 36px; }
.sec-head .overline { margin-bottom: 12px; }
.sec-head p { color: var(--text-2); margin-top: 10px; max-width: 60ch; }

.logo-stage { display: flex; gap: 20px; flex-wrap: wrap; }
.logo-stage .box { border: 1px solid var(--hairline); border-radius: var(--radius); padding: 30px 34px; display: flex; align-items: center; justify-content: center; background: var(--bg-raised); }
.logo-stage .box.dark { background: #111919; }

/* ============================================================
   MULTI-PAGE COMPONENTS (added for the full site build)
   ============================================================ */

/* --- nav: desktop links + mobile "menu" jump to footer sitemap --- */
.nav .nav-links { display: contents; }
.nav .menu-jump { display: none; }
@media (max-width: 820px) {
  .nav .nav-links a:not(.btn) { display: none; }
  .nav .menu-jump { display: inline-flex; color: var(--text-2); text-decoration: none; font-size: 14px; }
  .nav .menu-jump:hover { color: var(--ink); }
}
.nav a[aria-current="page"] { color: var(--ink); }
.nav a[aria-current="page"]::after {
  content: ""; display: block; height: 2px; background: var(--accent);
  border-radius: 2px; margin-top: 3px;
}

/* --- breadcrumbs --- */
.crumbs { display: flex; gap: 8px; align-items: center; font-size: 13px; color: var(--text-3); margin-bottom: 20px; flex-wrap: wrap; }
.crumbs a { color: var(--text-2); text-decoration: none; }
.crumbs a:hover { color: var(--ink); }
.crumbs .sep { opacity: 0.5; }

/* --- page head (content/marketing sub-pages) --- */
.page-head { padding: 72px 0 40px; }
.page-head .lede { margin-top: 18px; color: var(--text-2); max-width: 60ch; }
@media (max-width: 720px) { .page-head { padding: 48px 0 28px; } }

/* --- byline -----------------------------------------------------------------
   Authorship, sourcing and review date on every editorial page. Deliberately
   quiet: it is a trust signal, not a headline. Sits under the lede, separated
   by a hairline so it reads as metadata rather than as the start of the copy.
---------------------------------------------------------------------------- */
.byline {
  margin-top: 22px; padding-top: 14px;
  border-top: 1px solid var(--hairline);
  max-width: 60ch;
}
.byline p { color: var(--text-3); }
.byline a { color: var(--text-2); text-decoration: underline; text-underline-offset: 2px; }
.byline a:hover { color: var(--ink); }
.byline time { font-variant-numeric: tabular-nums; }

/* --- waitlist ---------------------------------------------------------------
   Capture on editorial pages. Deliberately understated: this sits under a page
   someone may be reading on a bad day, so it asks quietly rather than shouting.
---------------------------------------------------------------------------- */
.waitlist {
  margin-top: 40px; padding: 28px;
  border: 1px solid var(--hairline); border-radius: 10px;
  background: var(--surface, transparent);
}
.waitlist h2 { margin-top: 6px; }
.waitlist p { margin-top: 8px; }
.waitlist-form {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 18px; align-items: center;
}
.waitlist-form input[type="email"] {
  flex: 1 1 240px; min-width: 0;
  padding: 11px 14px; font: inherit; font-size: 15px;
  color: var(--ink); background: transparent;
  border: 1px solid var(--border-field); border-radius: 8px;
}
.waitlist-form input[type="email"]:focus-visible {
  outline: 2px solid var(--accent); outline-offset: 1px;
}
.waitlist-form button { flex: 0 0 auto; }
.wl-consent {
  flex: 1 1 100%;
  display: flex; gap: 9px; align-items: flex-start;
  font-size: 13px; line-height: 19px; color: var(--text-3);
}
.wl-consent input { margin-top: 2px; flex: 0 0 auto; accent-color: var(--accent); }
.wl-consent a { color: var(--text-2); }
.wl-msg { flex: 1 1 100%; font-size: 13px; line-height: 19px; color: var(--text-3); }
.wl-msg:empty { display: none; }
.wl-msg.is-error { color: #A33A2A; }
.wl-msg.is-done { color: var(--accent); }
/* Honeypot: off-canvas rather than display:none, which some bots skip. */
.wl-hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }
.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* --- sources block ----------------------------------------------------------
   Foot-of-page reference list on editorial pages. Every clinical claim should
   be traceable to a named body from here.
---------------------------------------------------------------------------- */
.sources {
  margin-top: 40px; padding-top: 20px;
  border-top: 1px solid var(--hairline);
}
.sources ol { margin-top: 12px; padding-left: 20px; }
.sources li { font-size: 14px; line-height: 22px; color: var(--text-2); }
.sources li + li { margin-top: 8px; }
.sources a { color: var(--text-2); text-underline-offset: 2px; }
.sources a:hover { color: var(--ink); }

/* --- long-form prose --- */
.prose { max-width: 68ch; }
.prose > * + * { margin-top: 18px; }
.prose h2 { font-size: 28px; line-height: 36px; font-weight: 500; letter-spacing: -0.015em; margin-top: 48px; }
.prose h3 { font-size: 20px; line-height: 28px; font-weight: 500; letter-spacing: -0.01em; margin-top: 32px; }
.prose p, .prose li { color: var(--text-2); }
.prose strong { color: var(--ink); font-weight: 500; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 2px; }
.prose a:hover { color: var(--accent-hover); }
.prose ul, .prose ol { padding-left: 22px; }
.prose li + li { margin-top: 8px; }
.prose ul { list-style: none; padding-left: 0; }
.prose ul > li { position: relative; padding-left: 22px; }
.prose ul > li::before {
  content: ""; position: absolute; left: 2px; top: 10px; width: 8px; height: 8px;
  border-radius: 2px; background: var(--accent); opacity: 0.7;
}
.prose ol { list-style: decimal; }
.prose hr { border: 0; border-top: 1px solid var(--hairline); margin: 32px 0; }

/* content layout: prose + optional sticky aside */
.content-layout { display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 56px; align-items: start; }
.content-layout .aside { position: sticky; top: 88px; }
@media (max-width: 900px) { .content-layout { grid-template-columns: 1fr; gap: 32px; } .content-layout .aside { position: static; } }

/* --- callouts / notes --- */
.callout { background: var(--accent-quiet); border-radius: var(--radius); padding: 22px 24px; color: var(--ink); }
.callout .overline { color: var(--accent); }
.note { background: var(--bg-sunken); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 20px 22px; color: var(--text-2); font-size: 15px; }
.note strong { color: var(--ink); font-weight: 500; }
/* pending clinical review — deliberately visible, not decorative */
.note--flag { border-left: 3px solid var(--accent); }

/* --- imagery ---------------------------------------------------------------
   Art direction, locked: cropped hands and objects only. No faces, no couples,
   no clinical stock, no soft-focus lifestyle. Flat brand-colour ground behind.
   Images carry no meaning that is not also in the text, so alt="" is correct
   for the decorative plates below.
--------------------------------------------------------------------------- */
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.hero-copy { min-width: 0; }
.hero-art { min-width: 0; }
.hero-art img {
  display: block; width: 100%; height: auto; border-radius: var(--radius);
  border: 1px solid var(--hairline);
}
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 32px; }
  .hero-art { max-width: 460px; }
}

/* --- page rhythm -----------------------------------------------------------
   The site was one continuous ground with hairline rules, so every section
   carried identical visual weight and the page read as wallpaper. Sections now
   alternate ground automatically; the rules are redundant once they do.
--------------------------------------------------------------------------- */
main > section { position: relative; }
main > section:nth-of-type(even) { background: var(--bg-sunken); }
main > .divider, main > hr.divider { display: none; }

/* halftone arc — the SH:24 trick, done in CSS so it costs nothing and follows
   the theme. Dot grid, masked into a rising semicircle. */
.motif { position: absolute; inset: 0; pointer-events: none; overflow: hidden; }
.motif::before {
  content: ""; position: absolute; inset: 0;
  background-image: radial-gradient(var(--accent) 1.6px, transparent 1.7px);
  background-size: 20px 20px;
  opacity: 0.16;
  -webkit-mask-image: radial-gradient(120% 95% at 50% 100%, #000 0%, #000 34%, transparent 72%);
          mask-image: radial-gradient(120% 95% at 50% 100%, #000 0%, #000 34%, transparent 72%);
}
.motif--top::before {
  -webkit-mask-image: radial-gradient(90% 100% at 88% 0%, #000 0%, #000 26%, transparent 68%);
          mask-image: radial-gradient(90% 100% at 88% 0%, #000 0%, #000 26%, transparent 68%);
}
.page-head, .hero { position: relative; overflow: hidden; }
.page-head > .wrap, .hero > .wrap { position: relative; z-index: 1; }

/* --- the accent moment -----------------------------------------------------
   One deep-green full-bleed block per page. Type-led and still calm, but it
   gives the eye somewhere to land on a long scroll.
--------------------------------------------------------------------------- */
main > section.section--accent, .section--accent { background: var(--accent); }
.section--accent .h2,
.section--accent .display-2,
.section--accent .statement-lead { color: var(--on-accent, #fff); }
.section--accent p { color: rgba(255,255,255,0.82); }
.section--accent .overline { color: rgba(255,255,255,0.62); }
.section--accent a:not(.btn) { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.section--accent .btn-primary { background: #fff; color: var(--accent); }
.section--accent .btn-primary:hover { background: rgba(255,255,255,0.9); }
.section--accent .btn-secondary { border-color: rgba(255,255,255,0.45); color: #fff; }
.section--accent .btn-secondary:hover { border-color: #fff; }
:root[data-theme="dark"] .section--accent { background: var(--accent-quiet); }
:root[data-theme="dark"] .section--accent .h2,
:root[data-theme="dark"] .section--accent .statement-lead { color: var(--ink); }
:root[data-theme="dark"] .section--accent p { color: var(--text-2); }
:root[data-theme="dark"] .section--accent .overline { color: var(--text-3); }
:root[data-theme="dark"] .section--accent a:not(.btn) { color: var(--accent); }
/* In dark the accent block sits on --accent-quiet, so the light-ground button
   overrides above would put the light-mode accent on white (2:1). Restore the
   normal dark button treatment instead. */
:root[data-theme="dark"] .section--accent .btn-primary { background: var(--accent); color: var(--on-accent); }
:root[data-theme="dark"] .section--accent .btn-primary:hover { background: var(--accent-hover); }
:root[data-theme="dark"] .section--accent .btn-secondary { border-color: var(--border-field); color: var(--ink); }
:root[data-theme="dark"] .section--accent .btn-secondary:hover { border-color: var(--ink); }

.statement-lead {
  font-size: 38px; line-height: 44px; font-weight: 300;
  letter-spacing: -0.018em; max-width: 22ch;
}
@media (max-width: 700px) { .statement-lead { font-size: 28px; line-height: 34px; } }

/* --- cards: give the grid some grain -------------------------------------- */
.card { position: relative; }
.grid-2 > .card, .grid-3 > .card { border-top: 2px solid var(--accent-quiet); }
:root[data-theme="dark"] .grid-2 > .card,
:root[data-theme="dark"] .grid-3 > .card { border-top-color: var(--accent-quiet); }
.card h3 { letter-spacing: -0.012em; }

/* --- assessment ------------------------------------------------------------
   One question per screen. The exits are safety routing, not dead ends, so
   they get real presence rather than a small error message.
--------------------------------------------------------------------------- */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.asmt { max-width: 680px; margin: 0 auto; }
.asmt-bar { margin-bottom: 34px; }
.asmt-bar-meta { display: flex; justify-content: space-between; align-items: baseline; margin-bottom: 10px; gap: 16px; }
.asmt-count { font-size: 13px; color: var(--text-3); font-variant-numeric: tabular-nums; }
.asmt-track { height: 3px; background: var(--bg-sunken); border-radius: 2px; overflow: hidden; }
.asmt-fill { height: 100%; background: var(--accent); transition: width .28s ease; }

.asmt-q { border: 0; padding: 0; margin: 0 0 28px; }
.asmt-legend { padding: 0; margin-bottom: 10px; }
.asmt-legend:focus { outline: none; }
.asmt-legend:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
.asmt-help { color: var(--text-2); font-size: 15px; margin-bottom: 20px; max-width: 56ch; }
.asmt-opts { display: grid; gap: 10px; }

.opt {
  display: flex; align-items: flex-start; gap: 12px; cursor: pointer;
  background: var(--bg-raised); border: 1px solid var(--border-field);
  border-radius: var(--radius); padding: 16px 18px; transition: border-color .15s ease, background .15s ease;
}
.opt:hover { border-color: var(--accent); }
.opt input { margin: 2px 0 0; accent-color: var(--accent); flex: none; width: 18px; height: 18px; }
.opt-l { color: var(--ink); font-size: 16px; line-height: 23px; }
.opt--on { border-color: var(--accent); background: var(--accent-quiet); }
.opt:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }

.asmt-text {
  width: 100%; font: inherit; font-size: 16px; color: var(--ink);
  background: var(--bg-raised); border: 1px solid var(--border-field);
  border-radius: var(--radius); padding: 14px 16px; resize: vertical;
}
.asmt-text:focus { outline: 2px solid var(--accent); outline-offset: 1px; }

.asmt-nav { display: flex; gap: 12px; margin-top: 8px; }
.asmt-nav .btn { min-width: 132px; justify-content: center; }
.asmt-nav .btn:disabled { opacity: .4; cursor: not-allowed; }
.asmt-error { color: #A3352B; font-size: 15px; margin: 0 0 16px; }
:root[data-theme="dark"] .asmt-error { color: #F09B92; }
.asmt-save { margin-top: 22px; }
.linkish {
  background: none; border: 0; padding: 0; font: inherit; color: var(--accent);
  text-decoration: underline; text-underline-offset: 3px; cursor: pointer;
}

.asmt-exit, .asmt-review, .asmt-done {
  background: var(--bg-raised); border: 1px solid var(--hairline);
  border-left: 3px solid var(--accent); border-radius: var(--radius); padding: 34px;
}
.asmt-exit--urgent { border-left-color: #A3352B; }
:root[data-theme="dark"] .asmt-exit--urgent { border-left-color: #F09B92; }
.asmt-exit h2, .asmt-review h2, .asmt-done h2 { margin: 8px 0 16px; }
.asmt-exit h2:focus, .asmt-review h2:focus, .asmt-done h2:focus { outline: none; }
.asmt-nhs { margin: 20px 0; padding: 16px 18px; background: var(--bg-sunken); border-radius: var(--radius); font-size: 15px; color: var(--text-2); }
.asmt-exit .ctas, .asmt-done .ctas { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 8px; }

.rec { background: var(--accent-quiet); border-radius: var(--radius); padding: 22px 24px; margin: 20px 0; }
.rec h3 { margin: 6px 0 8px; }
.rec p { color: var(--text-2); font-size: 15px; }
.rev-list { border-top: 1px solid var(--hairline); margin: 24px 0; }
.rev-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; padding: 13px 0; border-bottom: 1px solid var(--hairline); }
.rev-q { color: var(--text-2); font-size: 14px; }
.rev-a { color: var(--ink); font-size: 14px; }
@media (max-width: 560px) { .rev-row { grid-template-columns: 1fr; gap: 4px; } }

.asmt-details { margin: 26px 0; }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.field { display: flex; flex-direction: column; gap: 6px; }
.field--wide { grid-column: 1 / -1; }
.field span { font-size: 13px; color: var(--text-3); }
.field input {
  font: inherit; font-size: 15px; padding: 12px 14px; border-radius: var(--radius);
  border: 1px dashed var(--border-field); background: var(--bg-sunken); color: var(--text-3);
}
@media (max-width: 560px) { .field-grid { grid-template-columns: 1fr; } }
.consents { display: grid; gap: 10px; margin: 24px 0; }

.media { display: block; width: 100%; height: auto; border-radius: var(--radius); }
.card-media {
  margin: -24px -24px 18px; border-radius: var(--radius) var(--radius) 0 0;
  overflow: hidden; background: var(--bg-sunken);
}
.card-media img { display: block; width: 100%; height: auto; }
.callout p, .callout li { color: var(--ink); }

/* --- link cards / hub grid --- */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 820px) { .grid-3 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .grid-2, .grid-3 { grid-template-columns: 1fr; } }
.link-card {
  display: block; background: var(--bg-raised); border: 1px solid var(--hairline);
  border-radius: var(--radius); padding: 24px; text-decoration: none; color: var(--ink);
  transition: border-color 120ms var(--ease), transform 120ms var(--ease);
}
.link-card:hover { border-color: var(--border-strong); }
.link-card .overline { margin-bottom: 10px; }
.link-card h3 { margin-bottom: 8px; }
.link-card p { color: var(--text-2); font-size: 15px; }
.link-card .arrow { color: var(--accent); font-size: 15px; margin-top: 12px; display: inline-block; }

/* --- steps (numbered process) --- */
.steps { counter-reset: step; display: grid; gap: 4px; }
.step { display: grid; grid-template-columns: 40px 1fr; gap: 18px; padding: 22px 0; border-bottom: 1px solid var(--hairline); align-items: start; }
.step:last-child { border-bottom: 0; }
.step::before {
  counter-increment: step; content: counter(step);
  width: 36px; height: 36px; border-radius: 999px; border: 1px solid var(--border-field);
  display: flex; align-items: center; justify-content: center; font-size: 15px; font-weight: 500;
  color: var(--accent); font-feature-settings: "tnum" 1;
}
.step h3 { margin-bottom: 6px; }
.step p { color: var(--text-2); font-size: 15px; }

/* --- data table --- */
.data-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.data-table th, .data-table td { text-align: left; padding: 14px 16px; border-bottom: 1px solid var(--hairline); vertical-align: top; }
.data-table th { font-weight: 500; color: var(--text-3); font-size: 13px; letter-spacing: 0.02em; }
.data-table td { color: var(--text-2); }
.data-table td:first-child { color: var(--ink); font-weight: 500; }
.data-table .num { text-align: right; font-feature-settings: "tnum" 1; white-space: nowrap; }
.table-wrap { overflow-x: auto; border: 1px solid var(--hairline); border-radius: var(--radius); background: var(--bg-raised); }

/* --- FAQ (native details) --- */
.faq { border-top: 1px solid var(--hairline); }
.faq details { border-bottom: 1px solid var(--hairline); }
.faq summary {
  cursor: pointer; list-style: none; padding: 20px 0; display: flex; justify-content: space-between;
  gap: 20px; align-items: center; font-weight: 500; font-size: 17px; color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--accent); font-size: 20px; font-weight: 400; flex: 0 0 auto; transition: transform 120ms var(--ease); }
.faq details[open] summary::after { content: "\2013"; }
.faq .answer { padding: 0 0 22px; color: var(--text-2); max-width: 68ch; }
.faq .answer > * + * { margin-top: 12px; }

/* --- forms --- */
.form { max-width: 520px; display: grid; gap: 18px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 14px; font-weight: 500; color: var(--ink); }
.field .hint { font-size: 13px; color: var(--text-3); }
.field input, .field textarea, .field select {
  font-family: var(--font); font-size: 15px; color: var(--ink);
  background: var(--bg-raised); border: 1px solid var(--border-field); border-radius: var(--radius-sm);
  padding: 12px 14px; width: 100%;
}
.field input:focus, .field textarea:focus, .field select:focus { outline: 2px solid var(--accent); outline-offset: 1px; border-color: var(--accent); }
.field textarea { min-height: 120px; resize: vertical; }

/* --- pill / tag --- */
.pill { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; color: var(--text-2); background: var(--bg-sunken); border: 1px solid var(--hairline); border-radius: 999px; padding: 4px 12px; }
.pill--accent { background: var(--accent-quiet); color: var(--accent); border-color: transparent; }

/* --- CTA strip --- */
.cta-strip { background: var(--bg-raised); border: 1px solid var(--hairline); border-radius: var(--radius); padding: 40px; display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-strip h2 { max-width: 22ch; }
.cta-strip .ctas { display: flex; gap: 12px; flex-wrap: wrap; }

/* --- wider footer sitemap --- */
.foot-grid--wide { grid-template-columns: 1.6fr 1fr 1fr 1fr 0.9fr; }
@media (max-width: 900px) { .foot-grid--wide { grid-template-columns: 1fr 1fr; } .foot-grid--wide .foot-brand { grid-column: 1 / -1; } }
@media (max-width: 520px) { .foot-grid--wide { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; scroll-behavior: auto !important; }
}
