/*
 * aklia.ai — "Clear Sky" theme: modern, light only (public website; separate from the
 * app's Daybreak brand). Geist for display/UI, Atkinson Hyperlegible Next for reading.
 *
 * Every color pair is COMPUTED by scripts/contrast.ts (`make contrast`), never eyeballed.
 * Text >= 4.5:1 against its real background; control borders, focus rings, icons >= 3:1.
 */

/* ---------- Fonts (self-hosted, PS-17) ---------- */
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/geist-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Geist";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("../fonts/geist-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/atkinson-hyperlegible-next-latin-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Atkinson Hyperlegible Next";
  font-style: normal;
  font-display: swap;
  font-weight: 200 800;
  src: url("../fonts/atkinson-hyperlegible-next-latin-ext-wght-normal.woff2") format("woff2-variations");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------- Tokens ---------- */
:root {
  color-scheme: light;

  --bg: #f7f8fb;             /* page */
  --surface: #ffffff;
  --ice: #eef1fb;            /* soft blue panels */
  --lilac: #f1eefc;          /* soft violet panels */
  --band-warm: #fdf4ea;      /* sunrise band */

  --text: #0b1530;           /* ink — 17.0 bg · 18.0 white · 16.0 ice · 15.8 lilac · 16.6 warm */
  --text-2: #3b4560;         /* 9.0 bg · 9.5 white · 8.4 ice · 8.3 lilac · 8.8 warm */
  --text-muted: #5a6478;     /* 5.6 bg · 6.0 white · 5.3 ice · 5.2 lilac · 5.5 warm · 5.0 tint */

  --primary: #1d4ed8;        /* blue — 6.3 bg · 6.7 white · 5.9 ice · 5.9 lilac · 5.6 tint */
  --violet: #6d28d9;         /* gradient end — 6.7 bg · 7.1 white · 6.3 ice · 6.2 lilac */
  --primary-tint: #e4eafc;
  --grad: linear-gradient(100deg, var(--primary) 0%, var(--violet) 100%);

  --ink-btn: #0b1530;        /* primary button — white on it 18.0 */
  --ink-btn-hover: #24304f;  /* white on it 13.0 */
  --on-ink: #ffffff;

  --badge-tint: #fce8d8;     /* apricot — todo marks, merit chips */
  --badge-text: #7a3a10;     /* 7.2 on --badge-tint */
  --ember: #a8431b;          /* warm accent — 5.5 warm · 6.0 white · 5.7 bg */

  --control-border: #7a8399; /* 3.8 white · 3.6 bg (1.4.11) */
  --focus: #1d4ed8;          /* 6.3 bg · 6.7 white */
  --error: #b42318;          /* 6.6 white · 6.2 bg */
  --success-tint: #e4f3ec;
  --success-text: #1d6b4c;   /* 5.6 */

  /* Hairlines — DECORATIVE edges only, never a control boundary */
  --hairline: rgb(11 21 48 / 0.08);
  --hairline-2: rgb(11 21 48 / 0.14);

  --shadow-sm: 0 1px 2px rgb(11 21 48 / 0.06);
  --shadow-lg: 0 30px 60px -30px rgb(29 78 216 / 0.35), 0 10px 24px -12px rgb(11 21 48 / 0.12);

  --font-head: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-body: "Atkinson Hyperlegible Next", "Atkinson Hyperlegible", system-ui, -apple-system, "Segoe UI", sans-serif;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 20px;
  --r-xl: 28px;

  --wrap: 76rem;
  --gutter: clamp(1rem, 4vw, 2.5rem);
  --section-y: clamp(4.5rem, 10vw, 8.5rem);
  --header-h: 4.25rem;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
[hidden] { display: none !important; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-padding-top: calc(var(--header-h) + 1rem);
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 1.125rem;          /* 18px body (redline: 16–18px minimum) */
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  font-weight: 560;
  line-height: 1.1;
  letter-spacing: -0.03em;
  color: var(--text);
  margin: 0;
  text-wrap: balance;
}
p { margin: 0; text-wrap: pretty; }
img, svg { display: block; max-width: 100%; }

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

:focus-visible { outline: 3px solid var(--focus); 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;
}

.skip-link {
  position: absolute;
  left: 1rem; top: -100%;
  z-index: 100;
  padding: 0.75rem 1rem;
  background: var(--surface);
  color: var(--primary);
  border-radius: var(--r-sm);
  box-shadow: var(--shadow-lg);
  font-family: var(--font-head);
  font-weight: 600;
}
.skip-link:focus { top: 1rem; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }

.icon {
  width: 1.5rem; height: 1.5rem;
  flex: none;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.icon-sm { width: 1.125rem; height: 1.125rem; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: var(--primary);               /* fallback when clipping is unsupported */
  -webkit-text-fill-color: transparent;
}
@media (forced-colors: active) {
  .grad-text { -webkit-text-fill-color: currentColor; background: none; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  min-height: 3rem;
  padding: 0.75rem 1.375rem;
  border-radius: var(--r-md);
  border: 1px solid transparent;
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 560;
  line-height: 1.2;
  letter-spacing: -0.01em;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 150ms ease, border-color 150ms ease, color 150ms ease;
}
.btn-primary { background: var(--ink-btn); color: var(--on-ink); }
.btn-primary:hover { background: var(--ink-btn-hover); }
.btn-secondary { background: var(--surface); color: var(--text); border-color: var(--control-border); }
.btn-secondary:hover { border-color: var(--text); }
.btn .icon { transition: transform 150ms ease; }
.btn:hover .icon-arrow, .text-link:hover .icon { transform: translateX(3px); }
.btn-sm { min-height: 2.75rem; padding: 0.5rem 1rem; font-size: 0.9375rem; }

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  min-height: 2.75rem;
  font-family: var(--font-head);
  font-weight: 560;
  text-decoration: none;
}
.text-link:hover { text-decoration: underline; }
.text-link .icon { transition: transform 150ms ease; }

/* ---------- Header ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: color-mix(in srgb, var(--bg) 80%, transparent);
  backdrop-filter: saturate(1.6) blur(16px);
  -webkit-backdrop-filter: saturate(1.6) blur(16px);
  border-bottom: 1px solid var(--hairline);
}
.header-inner { display: flex; align-items: center; gap: 1.5rem; min-height: var(--header-h); }

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 2.75rem;
  margin-right: auto;
  color: var(--text);
  text-decoration: none;
}
.brand-mark { width: 2.25rem; height: 2.25rem; }
.brand-text { display: flex; flex-direction: column; line-height: 1; }
.brand-name { font-family: var(--font-head); font-size: 1.375rem; font-weight: 620; letter-spacing: -0.035em; }
.brand-sub { margin-top: 0.25rem; font-size: 0.75rem; color: var(--text-muted); }

.nav-toggle {
  display: none;
  align-items: center;
  justify-content: center;
  width: 3rem; height: 3rem;
  border-radius: var(--r-md);
  border: 1px solid var(--control-border);
  background: var(--surface);
  color: var(--text);
  cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

.site-nav { display: flex; align-items: center; gap: 1.5rem; }
.nav-list { display: flex; align-items: center; gap: 0.125rem; list-style: none; margin: 0; padding: 0; }
.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 2.75rem;
  padding: 0 0.75rem;
  border-radius: var(--r-sm);
  color: var(--text-2);
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 500;
  text-decoration: none;
}
.nav-list a:hover { color: var(--text); background: var(--ice); }
.nav-list a[aria-current="page"] { color: var(--text); }

@media (max-width: 63.99rem) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    display: none;
    position: absolute;
    left: 0; right: 0; top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 1rem;
    padding: 1rem var(--gutter) 1.5rem;
    background: var(--bg);
    border-bottom: 1px solid var(--hairline-2);
    box-shadow: var(--shadow-lg);
  }
  .site-nav.is-open { display: flex; }
  .nav-list { flex-direction: column; align-items: stretch; }
  .nav-list a { min-height: 3rem; font-size: 1.125rem; }
  .site-nav .btn { width: 100%; }
}

/* ---------- Section scaffolding ---------- */
.section { padding-block: var(--section-y); }
.section-white { background: var(--surface); }
.section-warm { background: var(--band-warm); }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--primary);
}
.eyebrow::before {
  content: "";
  width: 0.5rem; height: 0.5rem;
  border-radius: 50%;
  background: var(--grad);
}
.section-warm .eyebrow { color: var(--ember); }
.section-warm .eyebrow::before { background: var(--ember); }

.h2 {
  font-size: clamp(2.125rem, 1.3rem + 3.2vw, 3.75rem);
  font-weight: 540;
  line-height: 1.04;
  letter-spacing: -0.04em;
}
.h2 .soft { color: var(--text-muted); }
.eyebrow + .h2 { margin-top: 1.25rem; }
.lead { font-size: clamp(1.1875rem, 1.1rem + 0.35vw, 1.3125rem); line-height: 1.6; color: var(--text-2); }

.head-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem 4rem;
  align-items: end;
}
@media (min-width: 60rem) { .head-split { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); } }

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding-block: clamp(3.5rem, 8vw, 6.5rem) 0;
  text-align: center;
}
/* Sunrise aurora: soft blue/violet sky with a warm glow at the horizon (decorative) */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    radial-gradient(38% 42% at 18% 18%, rgb(96 165 250 / 0.28), transparent 70%),
    radial-gradient(34% 40% at 84% 12%, rgb(139 92 246 / 0.22), transparent 70%),
    radial-gradient(55% 38% at 50% 62%, rgb(242 195 107 / 0.30), transparent 72%);
}
/* Faint grid that fades out from the center (decorative) */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image:
    linear-gradient(to right, rgb(11 21 48 / 0.05) 1px, transparent 1px),
    linear-gradient(to bottom, rgb(11 21 48 / 0.05) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: radial-gradient(60% 55% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(60% 55% at 50% 30%, #000 30%, transparent 75%);
}

.announce {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.375rem 0.75rem;
  max-width: 100%;
  padding: 0.375rem 0.375rem 0.375rem 0.875rem;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.8);
  border: 1px solid var(--hairline-2);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text);
  text-align: left;
}
.announce-dot { width: 0.5rem; height: 0.5rem; border-radius: 50%; background: var(--ember); flex: none; }
.announce a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  min-height: 2rem;
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  background: var(--ink-btn);
  color: var(--on-ink);
  font-weight: 560;
  text-decoration: none;
  white-space: nowrap;
}
.announce a:hover { background: var(--ink-btn-hover); }
@media (max-width: 40rem) {
  .announce { border-radius: var(--r-lg); padding: 0.75rem 1rem; text-align: center; }
  .announce-dot { display: none; }
}

.hero h1 {
  margin: 1.75rem auto 0;
  max-width: 15ch;
  font-size: clamp(2.75rem, 1.2rem + 6vw, 6rem);
  font-weight: 560;
  line-height: 0.98;
  letter-spacing: -0.05em;
}
.hero h1 span { display: block; }
.hero .lede {
  margin: 1.75rem auto 0;
  max-width: 40rem;
  font-size: clamp(1.1875rem, 1.05rem + 0.5vw, 1.375rem);
  line-height: 1.55;
  color: var(--text-2);
}
.mission {
  display: block;
  margin-top: 1.25rem;
  font-family: var(--font-head);
  font-size: clamp(1.0625rem, 1rem + 0.25vw, 1.1875rem);
  font-weight: 560;
  letter-spacing: -0.01em;
  color: var(--ember);               /* 5.7 bg · 5.5 warm */
}
.mission svg { display: inline-block; width: 1.75rem; height: 1.75rem; margin-right: 0.5rem; vertical-align: -0.4em; }
.cta-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem; margin-top: 2.25rem; }

/* Product showcase (decorative mockup; role="img" with a text label) */
.showcase {
  position: relative;
  max-width: 68rem;
  margin: clamp(3rem, 7vw, 4.5rem) auto 0;
  padding: 0.625rem;
  border-radius: var(--r-xl) var(--r-xl) 0 0;
  background: rgb(255 255 255 / 0.55);
  border: 1px solid var(--hairline-2);
  border-bottom: 0;
  box-shadow: var(--shadow-lg);
  text-align: left;
}
.hub {
  overflow: hidden;
  border-radius: calc(var(--r-xl) - 8px) calc(var(--r-xl) - 8px) 0 0;
  background: var(--surface);
  border: 1px solid var(--hairline);
  border-bottom: 0;
  font-size: 0.9375rem;
  line-height: 1.45;
}
.hub-bar {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1.125rem;
  border-bottom: 1px solid var(--hairline);
}
.hub-dots { display: flex; gap: 0.375rem; }
.hub-dots span { width: 0.625rem; height: 0.625rem; border-radius: 50%; background: var(--hairline-2); }
.hub-tabs {
  display: flex;
  gap: 0.25rem;
  margin-inline: auto;
  padding: 0.25rem;
  border-radius: 999px;
  background: var(--bg);
  border: 1px solid var(--hairline);
  font-family: var(--font-head);
  font-size: 0.8125rem;
  font-weight: 560;
  color: var(--text-muted);
}
.hub-tabs span { padding: 0.25rem 0.75rem; border-radius: 999px; }
.hub-tabs .on { background: var(--surface); color: var(--text); box-shadow: var(--shadow-sm); }
.hub-team { display: flex; }
.avatar {
  display: grid;
  place-items: center;
  width: 1.875rem; height: 1.875rem;
  border-radius: 50%;
  border: 2px solid var(--surface);
  font-family: var(--font-head);
  font-size: 0.6875rem;
  font-weight: 700;
  color: var(--text);
}
.avatar + .avatar { margin-left: -0.5rem; }
.av-1 { background: var(--primary-tint); }
.av-2 { background: var(--badge-tint); }
.av-3 { background: var(--lilac); }

.hub-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  padding: 1.25rem;
  background: var(--bg);
}
@media (min-width: 48rem) { .hub-body { grid-template-columns: minmax(0, 1fr) minmax(0, 1.35fr) minmax(0, 1fr); } }
.hub-card { padding: 1.125rem; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--hairline); }
.hub-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  margin-bottom: 0.875rem;
  font-family: var(--font-head);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.hub-chip {
  padding: 0.125rem 0.5rem;
  border-radius: 999px;
  background: var(--success-tint);
  color: var(--success-text);
  letter-spacing: 0;
  text-transform: none;
}
.hub-tasks { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.hub-tasks li { display: flex; align-items: center; gap: 0.625rem; color: var(--text-2); }
.tick { display: grid; place-items: center; width: 1.125rem; height: 1.125rem; flex: none; border-radius: 5px; border: 1px solid var(--control-border); }
.tick.done { background: var(--primary); border-color: var(--primary); color: #fff; }
.tick .icon { width: 0.75rem; height: 0.75rem; stroke-width: 3; }
.hub-tasks .done-text { color: var(--text-muted); text-decoration: line-through; }

.hub-q {
  width: fit-content;
  max-width: 88%;
  margin-left: auto;
  padding: 0.625rem 0.875rem;
  border-radius: 14px 14px 4px 14px;
  background: var(--ink-btn);
  color: var(--on-ink);
}
.hub-a { margin-top: 0.875rem; color: var(--text-2); }
.hub-sources { display: flex; flex-wrap: wrap; gap: 0.375rem; margin-top: 0.875rem; }
.hub-sources span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.1875rem 0.5rem;
  border-radius: 6px;
  background: var(--primary-tint);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
}
.hub-sources .icon { width: 0.8125rem; height: 0.8125rem; }

.spark { display: flex; align-items: flex-end; gap: 0.375rem; height: 5rem; }
.spark span { flex: 1; border-radius: 4px 4px 2px 2px; background: var(--primary-tint); }
.spark span.now { background: var(--grad); }
.h-80 { height: 80%; } .h-70 { height: 70%; } .h-65 { height: 65%; } .h-50 { height: 50%; }
.h-45 { height: 45%; } .h-35 { height: 35%; } .h-30 { height: 30%; }
.spark-legend { display: flex; justify-content: space-between; margin-top: 0.5rem; font-size: 0.75rem; color: var(--text-muted); }

/* ---------- Proof strip ---------- */
.proof { background: var(--surface); border-block: 1px solid var(--hairline); }
.proof-inner {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-items: center;
}
.proof-inner > * { padding: 1.5rem 1rem; }
.proof-badge { grid-column: 1 / -1; display: flex; justify-content: center; border-bottom: 1px solid var(--hairline); }
.proof-badge img { width: auto; height: 4rem; }
.proof-stat { text-align: center; }
.proof-stat + .proof-stat { border-left: 1px solid var(--hairline); }
.proof-num { display: block; font-family: var(--font-head); font-size: clamp(1.75rem, 1.4rem + 1.2vw, 2.25rem); font-weight: 560; letter-spacing: -0.04em; line-height: 1.1; }
.proof-label { display: block; margin-top: 0.25rem; font-size: 0.9375rem; color: var(--text-muted); line-height: 1.4; }
@media (max-width: 47.99rem) {
  .proof-stat:nth-of-type(3) { grid-column: 1 / -1; border-left: 0; border-top: 1px solid var(--hairline); }
}
@media (min-width: 48rem) {
  .proof-inner { grid-template-columns: auto repeat(3, minmax(0, 1fr)); }
  .proof-badge { grid-column: auto; border-bottom: 0; padding-right: 2rem; }
  .proof-stat { border-left: 1px solid var(--hairline); }
}

/* ---------- Problem ---------- */
.problem-body { display: grid; gap: 1.25rem; }
.gap-art {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding: clamp(1.5rem, 4vw, 3rem);
  border-radius: var(--r-xl);
  background: var(--ice);
}
.gap-art svg { width: 100%; max-width: 34rem; height: auto; margin-inline: auto; }
.gap-art .ga-line { stroke: var(--control-border); }
.gap-art .ga-break { stroke: var(--error); }
.gap-art .ga-node { fill: var(--surface); stroke: var(--primary); }
.gap-art .ga-node-home { fill: var(--surface); stroke: var(--ember); }
.gap-art .ga-ic { stroke: var(--primary); fill: none; }
.gap-art .ga-ic-home { stroke: var(--ember); fill: none; }
.gap-art .ga-text { fill: var(--text); font-family: var(--font-head); font-weight: 600; font-size: 15px; }
.gap-art .ga-sub { fill: var(--text-muted); font-family: var(--font-body); font-size: 13px; }
.gap-art .ga-paper { fill: var(--surface); stroke: var(--hairline-2); }
.gap-art .ga-paper-line { stroke: var(--hairline-2); }

/* ---------- Platform bento ---------- */
.bento {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  margin: clamp(2.5rem, 5vw, 4rem) 0 0;
  padding: 0;
  list-style: none;
}
@media (min-width: 56rem) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .bento-card.bento-a { grid-column: 1 / -1; display: grid; grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); gap: 3rem; align-items: center; }
  .bento-a .bento-ui { margin-top: 0; }
}
.bento-card {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  padding: clamp(1.5rem, 3vw, 2.25rem);
  border-radius: var(--r-xl);
  background: var(--ice);
  overflow: hidden;
}
.bento-card:nth-child(2) { background: var(--lilac); }
.bento-card:nth-child(3) { background: var(--band-warm); }
.bento-num { font-family: var(--font-head); font-size: 0.875rem; font-weight: 600; color: var(--text-muted); }
.bento-card h3 { margin-top: 0.5rem; font-size: clamp(1.375rem, 1.2rem + 0.6vw, 1.75rem); font-weight: 560; letter-spacing: -0.03em; }
.bento-card p { margin-top: 0.75rem; color: var(--text-2); max-width: 32rem; }
.bento-ui .hub-q { margin-top: 0; color: var(--on-ink); }
.bento-ui .hub-a { margin-top: 0.875rem; }
.bento-ui {
  margin-top: auto;
  padding: 1.125rem;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--hairline);
  box-shadow: var(--shadow-sm);
  font-size: 0.9375rem;
  line-height: 1.45;
}
.steps { display: grid; gap: 0.625rem; margin: 0; padding: 0; list-style: none; }
.steps li { display: flex; align-items: center; gap: 0.75rem; color: var(--text-2); }
.step-dot { display: grid; place-items: center; width: 1.5rem; height: 1.5rem; flex: none; border-radius: 50%; border: 1px solid var(--control-border); font-family: var(--font-head); font-size: 0.75rem; font-weight: 600; color: var(--text-muted); }
.steps .done .step-dot { background: var(--violet); border-color: var(--violet); color: #fff; }
.steps .now .step-dot { border: 2px solid var(--violet); color: var(--violet); }
.steps .now { color: var(--text); font-weight: 600; }
.convo { display: grid; gap: 0.625rem; }
.convo .from { display: flex; gap: 0.625rem; align-items: flex-start; }
.convo .bubble { padding: 0.5rem 0.75rem; border-radius: 12px; background: var(--bg); color: var(--text-2); }
.convo .tip { padding: 0.5rem 0.75rem; border-radius: 12px; background: var(--badge-tint); color: var(--badge-text); }
.convo .avatar { width: 1.75rem; height: 1.75rem; flex: none; }

/* ---------- Flagship ---------- */
.flagship-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
@media (min-width: 60rem) { .flagship-grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); } }
.flagship-copy .lead { margin-top: 1.5rem; }
.flagship-copy .text-link { margin-top: 1.25rem; }
.big-figure {
  padding: clamp(2rem, 5vw, 3.5rem);
  border-radius: var(--r-xl);
  background: var(--lilac);
}
.big-num {
  font-family: var(--font-head);
  font-size: clamp(5rem, 3rem + 9vw, 10rem);
  font-weight: 560;
  line-height: 0.9;
  letter-spacing: -0.06em;
}
.pill-list { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.pill-list li {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.375rem 0.875rem;
  border-radius: 999px;
  background: var(--surface);
  border: 1px solid var(--hairline);
  font-family: var(--font-head);
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--text);
}
.pill-list .icon { color: var(--primary); }

/* ---------- Why (warm) ---------- */
.why-head { max-width: 52rem; }
.why-cols { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem 4rem; margin-top: 2rem; }
@media (min-width: 60rem) { .why-cols { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.why-cols p { color: var(--text-2); font-size: 1.1875rem; }
.why-close { margin-top: 2rem; max-width: 46rem; font-size: 1.1875rem; color: var(--text-2); }
.why-stats {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  margin: clamp(3rem, 6vw, 4.5rem) 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgb(168 67 27 / 0.2);
}
@media (min-width: 52rem) { .why-stats { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.why-stats li { padding: 1.75rem 0; border-bottom: 1px solid rgb(168 67 27 / 0.2); }
@media (min-width: 52rem) {
  .why-stats li { padding: 2rem 2rem 0 0; border-bottom: 0; }
  .why-stats li + li { padding-left: 2rem; border-left: 1px solid rgb(168 67 27 / 0.2); }
}
.why-num { display: block; font-family: var(--font-head); font-size: clamp(2.5rem, 1.8rem + 2.4vw, 3.75rem); font-weight: 560; line-height: 1; letter-spacing: -0.05em; color: var(--ember); }
.why-label { display: block; margin-top: 0.75rem; color: var(--text-2); font-size: 1.0625rem; line-height: 1.45; max-width: 18rem; }
.why-sources { margin-top: 1.5rem; font-size: 0.875rem; color: var(--text-muted); line-height: 1.5; }

/* Personal story */
.story {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1.5rem;
  margin: clamp(3rem, 6vw, 4.5rem) 0 0;
  padding: clamp(1.75rem, 4vw, 3rem);
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid rgb(168 67 27 / 0.15);
}
@media (min-width: 52rem) { .story { grid-template-columns: auto minmax(0, 1fr); gap: 2.5rem; } }
.story-mark { display: grid; place-items: center; width: 5rem; height: 5rem; border-radius: 50%; background: var(--band-warm); }
.story-mark svg { width: 3rem; height: 3rem; }
.story .eyebrow { color: var(--ember); }
.story .eyebrow::before { background: var(--ember); }
.story h3 { margin-top: 0.75rem; font-size: clamp(1.5rem, 1.2rem + 1.2vw, 2.125rem); font-weight: 560; letter-spacing: -0.035em; }
.story blockquote { margin: 1.25rem 0 0; max-width: 46rem; }
.story blockquote p { margin-top: 1rem; font-size: 1.1875rem; line-height: 1.65; color: var(--text-2); }
.story blockquote p:first-child { margin-top: 0; }
.story blockquote p:last-child { color: var(--text); font-family: var(--font-head); font-weight: 560; font-size: 1.3125rem; letter-spacing: -0.015em; }
.story figcaption { display: flex; align-items: center; gap: 0.875rem; margin-top: 1.75rem; }
.story-avatar { width: 3rem; height: 3rem; font-size: 0.9375rem; border: 0; background: var(--band-warm); color: var(--ember); }
.story figcaption strong { display: block; font-family: var(--font-head); font-weight: 600; color: var(--text); }
.story-role { display: block; font-size: 0.9375rem; color: var(--text-muted); }

/* ---------- Scale ---------- */
.scale-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2.5rem, 6vw, 5rem); align-items: center; }
@media (min-width: 60rem) { .scale-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); } }
.scale-copy .lead { margin-top: 1.5rem; }
.stack { display: grid; gap: 0.875rem; padding: clamp(1.25rem, 3vw, 2rem); border-radius: var(--r-xl); background: var(--ice); }
.packs { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.625rem; }
.pack { display: grid; place-items: center; min-height: 4.5rem; border-radius: var(--r-md); background: rgb(255 255 255 / 0.6); border: 1px dashed var(--hairline-2); color: var(--text-muted); }
.pack.active { background: var(--grad); border: 0; color: #fff; font-family: var(--font-head); font-weight: 650; font-size: 1.125rem; }
.stack-connector { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 0.625rem; justify-items: center; }
.stack-connector span { width: 2px; height: 0.875rem; background: var(--hairline-2); border-radius: 2px; }
.core { padding: 1.25rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--hairline); }
.core-title { display: flex; align-items: center; gap: 0.5rem; font-family: var(--font-head); font-weight: 600; color: var(--text); }
.core-title .icon { color: var(--primary); }
.core-parts { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0.5rem; margin-top: 1rem; }
.core-parts span { display: grid; justify-items: center; gap: 0.375rem; padding: 0.75rem 0.5rem; border-radius: var(--r-sm); background: var(--bg); color: var(--primary); }
.core-parts .bar { width: 60%; height: 0.375rem; border-radius: 4px; background: var(--primary-tint); }

/* ---------- Research (contained panel) ---------- */
.panel {
  margin-inline: auto;
  max-width: calc(var(--wrap) + 4rem);
  padding: clamp(2.5rem, 6vw, 5rem) clamp(1.25rem, 4vw, 4rem);
  border-radius: clamp(1.25rem, 3vw, 2.5rem);
  background:
    radial-gradient(60% 80% at 100% 0%, rgb(139 92 246 / 0.12), transparent 70%),
    radial-gradient(60% 80% at 0% 100%, rgb(96 165 250 / 0.14), transparent 70%),
    var(--ice);
}
.panel-wrap { padding-inline: clamp(0.75rem, 2vw, 1.5rem); }
.trust { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; padding: 0; list-style: none; }
@media (min-width: 52rem) { .trust { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.trust-card {
  display: flex;
  flex-direction: column;
  padding: 2rem 1.75rem;
  border-radius: var(--r-lg);
  background: var(--surface);
  border: 1px solid var(--hairline);
}
.trust-icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: var(--r-md); background: var(--primary-tint); color: var(--primary); }
.trust-badge { align-self: flex-start; width: auto; height: 5.5rem; }
.trust-card h3 { margin-top: 1.5rem; font-size: 1.375rem; font-weight: 560; letter-spacing: -0.025em; }
.trust-card p { margin-top: 0.75rem; color: var(--text-2); }
.trust-card .text-link { margin-top: auto; padding-top: 0.75rem; align-self: flex-start; }
.trust-card .text-link + .text-link { margin-top: 0; padding-top: 0; }

/* ---------- About ---------- */
.about-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(1.5rem, 4vw, 4rem); margin-top: 2.5rem; }
@media (min-width: 60rem) {
  .about-grid { grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr); }
  .about-grid > div:first-child { position: sticky; top: calc(var(--header-h) + 2rem); align-self: start; }
}
.about-lead { font-family: var(--font-head); font-size: clamp(1.75rem, 1.2rem + 2vw, 2.5rem); font-weight: 540; line-height: 1.1; letter-spacing: -0.04em; color: var(--text); }
.about-lead span { display: block; }
.about-body { display: grid; gap: 1.25rem; color: var(--text-2); font-size: 1.125rem; }

.leaders { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin-top: clamp(3rem, 6vw, 4.5rem); }
@media (min-width: 60rem) { .leaders { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; } }
.leader-card, .photo-card {
  display: flex;
  flex-direction: column;
  padding: clamp(1.5rem, 3vw, 2rem);
  border-radius: var(--r-xl);
  background: var(--bg);
  border: 1px solid var(--hairline);
}
.leader-head { display: flex; align-items: center; gap: 1.25rem; }
.headshot {
  display: grid;
  place-items: center;
  width: 5.5rem; height: 5.5rem;
  flex: none;
  border-radius: 50%;
  overflow: hidden;
  background: var(--grad);
  font-family: var(--font-head);
  font-size: 1.625rem;
  font-weight: 600;
  color: #fff;                   /* 6.7+ on both gradient stops */
}
.headshot img { width: 100%; height: 100%; object-fit: cover; }
.leader-head h3 { font-size: 1.375rem; font-weight: 560; letter-spacing: -0.025em; }
.leader-role { margin-top: 0.25rem; color: var(--text-muted); font-size: 1rem; line-height: 1.45; }
.leader-role .role-line { display: block; }
.leader-card .bio { margin-top: 1.5rem; color: var(--text-2); font-size: 1.0625rem; }
.photo-card figure { margin: 0; }
.photo-frame { overflow: hidden; border-radius: var(--r-lg); }
.photo-frame img { width: 100%; height: auto; }
.photo-card figcaption { margin-top: 1.25rem; color: var(--text-2); font-size: 1rem; }
.team-note { margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--hairline); color: var(--text-muted); font-size: 1rem; }

/* ---------- Contact (hidden until the Privacy Policy ships) ---------- */
.contact-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 60rem) { .contact-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.contact-copy .lead { margin-top: 1.25rem; }
.form-card { padding: clamp(1.5rem, 4vw, 2.5rem); border-radius: var(--r-xl); background: var(--surface); border: 1px solid var(--hairline); box-shadow: var(--shadow-lg); }
.form-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1.25rem; }
@media (min-width: 40rem) {
  .form-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); row-gap: 0; }
  .form-grid > .field { grid-row: span 3; grid-template-rows: subgrid; row-gap: 0.4375rem; margin-bottom: 1.25rem; }
  .form-grid > .field > label { align-self: end; }
  .field-wide { grid-column: 1 / -1; }
}
.field { display: grid; gap: 0.4375rem; align-content: start; }
.field label { font-family: var(--font-head); font-size: 1rem; font-weight: 600; color: var(--text); }
.field .req, .field .opt { font-weight: 500; color: var(--text-muted); font-size: 0.9375rem; }
.input {
  width: 100%;
  min-height: 3rem;
  padding: 0.6875rem 0.875rem;
  border-radius: var(--r-sm);
  border: 1px solid var(--control-border);
  background: var(--surface);
  color: var(--text);
  font: inherit;
  font-size: 1.0625rem;
  line-height: 1.4;
}
.input:hover { border-color: var(--text-muted); }
.input:focus-visible { outline: 3px solid var(--focus); outline-offset: 2px; border-color: var(--primary); }
textarea.input { min-height: 8rem; resize: vertical; }
.select-wrap { position: relative; }
.select-wrap select { appearance: none; padding-right: 2.75rem; cursor: pointer; }
.select-wrap .icon { position: absolute; right: 0.875rem; top: 50%; translate: 0 -50%; width: 1.25rem; height: 1.25rem; color: var(--text-2); pointer-events: none; }
.input[aria-invalid="true"] { border-color: var(--error); border-width: 2px; padding: calc(0.6875rem - 1px) calc(0.875rem - 1px); }
.field-error { display: none; align-items: center; gap: 0.375rem; color: var(--error); font-size: 0.9375rem; font-weight: 600; }
.field-error.is-shown { display: flex; }
.field-error .icon { width: 1.125rem; height: 1.125rem; }
.form-foot { display: grid; gap: 1.25rem; margin-top: 0.5rem; }
.form-foot .btn { justify-self: start; }
.privacy-note { color: var(--text-muted); font-size: 0.9375rem; line-height: 1.55; }
.form-status { display: none; align-items: flex-start; gap: 0.625rem; padding: 0.875rem 1rem; border-radius: var(--r-md); background: var(--success-tint); color: var(--success-text); font-weight: 600; }
.form-status.is-shown { display: flex; }

/* ---------- Footer ---------- */
.site-footer { position: relative; overflow: hidden; background: var(--surface); border-top: 1px solid var(--hairline); padding-block: 3.5rem 0; color: var(--text-muted); }
.footer-top { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 1.5rem; padding-bottom: 2rem; border-bottom: 1px solid var(--hairline); }
.site-footer .brand { margin-right: 0; }
.footer-links { display: flex; flex-wrap: wrap; gap: 0.25rem 0.5rem; list-style: none; margin: 0; padding: 0; }
.footer-links a { display: inline-flex; align-items: center; min-height: 2.75rem; padding: 0 0.625rem; color: var(--text); font-family: var(--font-head); font-weight: 500; text-decoration: none; border-radius: var(--r-sm); }
.footer-links a:hover { text-decoration: underline; }
.footer-bottom { display: grid; gap: 1rem; margin-top: 2rem; font-size: 0.9375rem; }
.footer-bottom a { color: var(--primary); font-weight: 600; }
.disclaimer { max-width: 52rem; }
/* Oversized wordmark (decorative, aria-hidden) */
.footer-word {
  margin-top: 2.5rem;
  font-family: var(--font-head);
  font-size: clamp(6rem, 2rem + 18vw, 18rem);
  font-weight: 620;
  line-height: 0.75;
  letter-spacing: -0.07em;
  text-align: center;
  background: linear-gradient(180deg, #d9e2fb, rgb(228 234 252 / 0));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  user-select: none;
}

/* ---------- Stub pages ---------- */
.stub { padding-block: clamp(4rem, 10vw, 8rem); }
.stub h1 { font-size: clamp(2.5rem, 1.6rem + 3.4vw, 4rem); font-weight: 560; letter-spacing: -0.045em; margin-top: 1rem; }
.stub p { margin-top: 1.25rem; max-width: 40rem; font-size: 1.1875rem; color: var(--text-2); }
.stub .notice { display: flex; gap: 0.75rem; margin-top: 2rem; max-width: 40rem; padding: 1.25rem 1.5rem; border-radius: var(--r-lg); background: var(--ice); color: var(--text-2); }
.stub .notice p { margin: 0; font-size: 1.0625rem; }
.stub .notice .icon { color: var(--primary); margin-top: 0.125rem; }
.stub .cta-row { justify-content: flex-start; margin-top: 2rem; }

/* ---------- Press release page ---------- */
.press { padding-block: clamp(3rem, 7vw, 5.5rem) clamp(4rem, 8vw, 6rem); }
.press-article { max-width: 50rem; }
.press-badge { width: auto; height: 5.5rem; margin-bottom: 2rem; }
.press-meta { margin-top: 0.75rem; color: var(--text-muted); font-size: 1rem; }
.press-head h1 { margin-top: 0.75rem; font-size: clamp(2.25rem, 1.4rem + 3vw, 3.5rem); font-weight: 560; line-height: 1.05; letter-spacing: -0.045em; }
.press-dek { margin-top: 1.25rem; font-size: clamp(1.1875rem, 1.1rem + 0.4vw, 1.375rem); color: var(--text-2); line-height: 1.5; }
.press-body { margin-top: 2.5rem; padding-top: 2.5rem; border-top: 1px solid var(--hairline-2); }
.press-body > p { margin-top: 1.25rem; color: var(--text-2); }
.press-body > p:first-child { margin-top: 0; }
.press-body h2 { margin-top: 3rem; font-size: 1.625rem; font-weight: 560; letter-spacing: -0.03em; }
.press-body h2 + p, .press-body h2 + ul { margin-top: 1rem; }
mark.todo { padding: 0 0.25rem; border-radius: 4px; background: var(--badge-tint); color: var(--badge-text); font-weight: 600; }
.press-quote { margin: 2rem 0; padding: 0.25rem 0 0.25rem 1.5rem; border-left: 3px solid var(--ember); }
.press-quote p { font-family: var(--font-head); font-size: clamp(1.25rem, 1.05rem + 0.7vw, 1.5rem); font-weight: 520; line-height: 1.35; letter-spacing: -0.02em; color: var(--text); }
.press-quote footer { margin-top: 0.75rem; font-size: 1rem; color: var(--text-muted); }
.press-quote-acl { border-left-color: var(--primary); }
.press-tools { display: grid; gap: 0.75rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.press-tools li { display: flex; gap: 0.875rem; padding: 1rem 1.25rem; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--hairline); color: var(--text-2); }
.press-tools .icon { color: var(--primary); margin-top: 0.125rem; }
.winners { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin-top: 1.5rem; }
@media (min-width: 44rem) { .winners { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.winners section { padding: 1.25rem 1.5rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--hairline); }
.winners h3 { font-size: 1.0625rem; font-weight: 600; color: var(--primary); letter-spacing: -0.01em; }
.winners ul { display: grid; gap: 0.75rem; margin: 1rem 0 0; padding: 0; list-style: none; }
.winners li { font-family: var(--font-head); font-weight: 560; font-size: 1rem; line-height: 1.35; color: var(--text); }
.winners li span { display: block; font-family: var(--font-body); font-weight: 400; font-size: 0.9375rem; color: var(--text-muted); }
.winners .merit { display: inline-block; margin-top: 0.25rem; padding: 0.0625rem 0.5rem; border-radius: 6px; background: var(--badge-tint); color: var(--badge-text); font-family: var(--font-body); font-style: normal; font-weight: 600; font-size: 0.8125rem; }
.press-small, .press-body > .press-small { font-size: 0.9375rem; color: var(--text-muted); }
.press-about, .press-contact { margin-top: 2.5rem; padding: 1.5rem 1.75rem; border-radius: var(--r-lg); background: var(--surface); border: 1px solid var(--hairline); }
.press-about h2, .press-contact h2 { margin-top: 0; font-size: 1.25rem; }
.press-about p, .press-contact p { margin-top: 0.75rem; color: var(--text-2); }
.press-contact p + p { margin-top: 0.25rem; }
.press-end { text-align: center; letter-spacing: 0.3em; }

/* ---------- Scroll reveal (JS adds .reveal; reduced motion skips it) ---------- */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 600ms ease, transform 600ms ease; }
.reveal.is-in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .reveal { opacity: 1; transform: none; }
}

/* Bento chat: a second exchange shows safety routing */
.bento-chat { display: grid; gap: 0; }
.bento-chat .hub-q + .hub-a { margin-top: 0.875rem; }
.bento-chat .hub-sources + .hub-q { margin-top: 1.5rem; }
.bento-ui .safety {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
  margin-top: 0.875rem;
  padding: 0.625rem 0.75rem;
  border-radius: 10px;
  background: #fdecea;
  color: var(--error);               /* 5.8 on #fdecea */
  font-weight: 600;
  max-width: none;
}
.bento-ui .safety .icon { margin-top: 0.125rem; }

/* ---------- Aklia TBI Care page ---------- */
.hero-page { padding-bottom: clamp(4rem, 9vw, 7rem); }
.hero-page h1 { max-width: 20ch; font-size: clamp(2.5rem, 1.2rem + 5vw, 5rem); }
.hero-page .eyebrow { justify-content: center; }

.ticks { display: grid; gap: 0.625rem; margin: 1.25rem 0 0; padding: 0; list-style: none; }
.ticks li { display: flex; gap: 0.625rem; align-items: flex-start; color: var(--text-2); line-height: 1.45; }
.ticks .icon { margin-top: 0.1875rem; color: var(--primary); stroke-width: 2.25; }

.persona-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; padding: 0; list-style: none; }
@media (min-width: 56rem) { .persona-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.persona { padding: clamp(1.5rem, 3vw, 2rem); border-radius: var(--r-xl); background: var(--ice); }
.persona-warm { background: var(--band-warm); }
.persona-warm .persona-icon { color: var(--ember); }
.persona-warm .ticks .icon { color: var(--ember); }
.persona-icon { display: grid; place-items: center; width: 3rem; height: 3rem; border-radius: var(--r-md); background: var(--surface); color: var(--primary); }
.persona h3 { margin-top: 1.25rem; font-size: 1.375rem; font-weight: 560; letter-spacing: -0.025em; }
.persona > p { margin-top: 0.5rem; color: var(--text-2); }

.module-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; padding: 0; list-style: none; }
@media (min-width: 52rem) { .module-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
.module { gap: 0; background: var(--surface); border: 1px solid var(--hairline); }
.module-grid .module:nth-child(2) { background: var(--surface); }
.module-grid .module:nth-child(3) { background: var(--surface); }
.module-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.375rem;
  align-self: flex-start;
  padding: 0.3125rem 0.75rem;
  border-radius: 999px;
  background: var(--primary-tint);
  color: var(--primary);                /* 5.6 on tint */
  font-family: var(--font-head);
  font-size: 0.875rem;
  font-weight: 600;
}
.module h3 { margin-top: 1.25rem; }

.journey { display: grid; grid-template-columns: minmax(0, 1fr); gap: 0; margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; padding: 0; list-style: none; counter-reset: none; }
@media (min-width: 60rem) { .journey { grid-template-columns: repeat(5, minmax(0, 1fr)); } }
.journey li { position: relative; padding: 1.5rem 1.25rem 1.5rem 0; border-top: 1px solid var(--hairline-2); }
@media (min-width: 60rem) { .journey li + li { padding-left: 1.25rem; border-left: 1px solid var(--hairline); } }
.journey-num {
  display: grid;
  place-items: center;
  width: 2.25rem; height: 2.25rem;
  border-radius: 50%;
  background: var(--grad);
  color: #fff;                          /* 6.7+ on both stops */
  font-family: var(--font-head);
  font-weight: 600;
}
.journey h3 { margin-top: 1rem; font-size: 1.1875rem; font-weight: 560; letter-spacing: -0.02em; }
.journey p { margin-top: 0.5rem; color: var(--text-2); font-size: 1rem; line-height: 1.5; }

.principles { grid-template-columns: minmax(0, 1fr); }
@media (min-width: 44rem) { .principles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 64rem) { .principles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }

.access-grid { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(2rem, 5vw, 4rem); align-items: start; }
@media (min-width: 60rem) { .access-grid { grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr); } }
.access-lead { margin-top: 1.5rem; }
.access-list { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0; list-style: none; border-top: 1px solid var(--hairline-2); }
@media (min-width: 40rem) { .access-list { grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 2rem; } }
.access-list li { display: grid; gap: 0.25rem; padding: 1.25rem 0; border-bottom: 1px solid var(--hairline); }
.access-list strong { font-family: var(--font-head); font-weight: 600; color: var(--text); }
.access-list span { color: var(--text-2); font-size: 1rem; line-height: 1.5; }

.roadmap { display: grid; grid-template-columns: minmax(0, 1fr); gap: 1rem; margin: clamp(2.5rem, 5vw, 3.5rem) 0 0; padding: 0; list-style: none; }
@media (min-width: 56rem) { .roadmap { grid-template-columns: repeat(4, minmax(0, 1fr)); } }
.roadmap li { padding: 1.5rem; border-radius: var(--r-lg); background: var(--bg); border: 1px solid var(--hairline); }
.roadmap li.now { background: var(--ice); border-color: rgb(29 78 216 / 0.25); }
.roadmap-step { font-family: var(--font-head); font-size: 0.8125rem; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.roadmap li.now .roadmap-step { color: var(--primary); }
.roadmap h3 { margin-top: 0.75rem; font-size: 1.1875rem; font-weight: 560; letter-spacing: -0.02em; }
.roadmap p { margin-top: 0.5rem; color: var(--text-2); font-size: 1rem; line-height: 1.5; }

.page-note { margin-top: 2.5rem; max-width: 52rem; font-size: 0.9375rem; color: var(--text-muted); }
