/* =========================================================
   TimeToTest marketing site
   Design system derived from the iOS/Android app
   ========================================================= */

:root {
  /* Brand */
  --teal:      #0E9D96;
  --teal-600:  #0B847E;
  --teal-700:  #096A65;
  --teal-050:  #E6F5F3;
  --teal-100:  #CFEDEA;

  /* Neutrals */
  --ink:       #0C0F10;
  --ink-soft:  #1A1F21;
  --slate:     #565C61;   /* body */
  --muted:     #878D92;   /* secondary */
  --faint:     #ADB2B7;
  --line:      #E7E8EC;
  --line-soft: #F0F1F4;

  /* Surfaces */
  --bg:        #F2F2F6;   /* app grouped background */
  --surface:   #FFFFFF;
  --surface-2: #F7F8FA;

  /* Effects */
  --radius-xl: 30px;
  --radius-lg: 22px;
  --radius-md: 16px;
  --radius-sm: 12px;
  --shadow-sm: 0 1px 2px rgba(12,15,16,.05), 0 2px 8px rgba(12,15,16,.04);
  --shadow-md: 0 4px 14px rgba(12,15,16,.06), 0 14px 40px rgba(12,15,16,.07);
  --shadow-lg: 0 10px 30px rgba(12,15,16,.10), 0 40px 90px rgba(12,15,16,.12);

  --maxw: 1180px;
  --gutter: clamp(20px, 5vw, 64px);

  --font: "Hanken Grotesk", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

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

body {
  margin: 0;
  font-family: var(--font);
  font-feature-settings: "ss01", "cv11", "tnum" 0;
  background: var(--bg);
  color: var(--ink);
  font-size: 18px;
  line-height: 1.6;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }

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

/* ---------- Typography ---------- */
h1, h2, h3, h4 {
  margin: 0;
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.02;
  color: var(--ink);
  text-wrap: balance;
}
h1 { font-size: clamp(2.6rem, 6vw, 4.6rem); }
h2 { font-size: clamp(2rem, 4.2vw, 3.2rem); }
h3 { font-size: 1.45rem; letter-spacing: -0.02em; line-height: 1.15; }
p  { margin: 0; }

.lede { font-size: clamp(1.05rem, 1.6vw, 1.3rem); color: var(--slate); line-height: 1.55; text-wrap: pretty; }

.eyebrow {
  display: inline-flex; align-items: center; gap: 9px; white-space: nowrap;
  font-size: .82rem; font-weight: 700; letter-spacing: .14em;
  text-transform: uppercase; color: var(--teal-700);
}
.eyebrow .dot { width: 5px; height: 5px; border-radius: 50%; background: var(--teal); }

.section-head { max-width: 680px; }
.section-head .eyebrow { margin-bottom: 18px; }
.section-head p { margin-top: 16px; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: var(--font); font-weight: 700; font-size: 1.02rem;
  padding: 16px 28px; border-radius: 999px; border: 1.5px solid transparent;
  cursor: pointer; transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn-primary { background: var(--teal); color: #fff; box-shadow: 0 6px 18px rgba(14,157,150,.28); }
.btn-primary:hover { background: var(--teal-600); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--ink); border-color: var(--line); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-light { background: #fff; color: var(--teal-700); }
.btn-light:hover { transform: translateY(-1px); box-shadow: var(--shadow-md); }

/* ---------- Store badges ---------- */
.badges { display: flex; flex-wrap: wrap; gap: 14px; }
.badge {
  display: inline-flex; align-items: center; gap: 12px;
  background: var(--ink); color: #fff;
  padding: 11px 20px 11px 18px; border-radius: 14px;
  transition: transform .15s ease, background .15s ease;
}
.badge:hover { transform: translateY(-2px); background: #000; }
.badge svg { width: 26px; height: 26px; flex: none; }
.badge .b-top { display: block; font-size: .66rem; letter-spacing: .04em; opacity: .82; font-weight: 500; line-height: 1.1; }
.badge .b-main { display: block; font-size: 1.18rem; font-weight: 700; letter-spacing: -.01em; line-height: 1.15; }
.badge.on-teal { background: #fff; color: var(--ink); }
.badge.on-teal:hover { background: #fff; }

/* ---------- Trust chips ---------- */
.chips { display: flex; flex-wrap: wrap; gap: 10px 22px; align-items: center; }
.chip { display: inline-flex; align-items: center; gap: 8px; font-size: .9rem; color: var(--muted); font-weight: 500; }
.chip svg { width: 16px; height: 16px; color: var(--teal); }

/* =========================================================
   NAV
   ========================================================= */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(242,242,246,.78); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s ease, background .2s ease;
}
.nav.scrolled { border-color: var(--line); background: rgba(242,242,246,.9); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; height: 74px; }
.brand { display: inline-flex; align-items: center; gap: 11px; font-weight: 800; font-size: 1.32rem; letter-spacing: -.03em; }
.brand .mark { width: 36px; height: 36px; flex: none; border-radius: 10px; box-shadow: 0 2px 8px rgba(14,157,150,.35); }
.nav-links { display: flex; align-items: center; gap: 34px; }
.nav-links a { font-size: .98rem; font-weight: 600; color: var(--slate); transition: color .15s ease; }
.nav-links a:hover { color: var(--ink); }
.nav-cta { display: flex; align-items: center; gap: 14px; }
.nav-cta .btn { padding: 11px 22px; font-size: .95rem; }
.nav-burger { display: none; background: none; border: 0; padding: 8px; cursor: pointer; color: var(--ink); }
.nav-burger svg { width: 26px; height: 26px; }
@media (max-width: 960px) {
  .nav.open .nav-links { display: flex; position: absolute; top: 74px; left: 0; right: 0; flex-direction: column; align-items: flex-start; gap: 2px; background: var(--surface); border-bottom: 1px solid var(--line); padding: 10px var(--gutter) 20px; box-shadow: var(--shadow-md); }
  .nav.open .nav-links a { padding: 12px 0; width: 100%; font-size: 1.05rem; }
}

/* =========================================================
   HERO
   ========================================================= */
.hero { position: relative; overflow: hidden; padding: clamp(48px, 7vw, 96px) 0 clamp(40px, 6vw, 72px); }
.hero::before {
  content: ""; position: absolute; z-index: 0;
  width: 760px; height: 760px; right: -180px; top: -240px; border-radius: 50%;
  background: radial-gradient(circle, rgba(14,157,150,.16), rgba(14,157,150,0) 62%);
  pointer-events: none;
}
.hero-grid {
  position: relative; z-index: 1;
  display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(32px, 5vw, 72px); align-items: center;
}
.hero-copy .eyebrow { margin-bottom: 22px; }
.hero-copy h1 { margin-bottom: 22px; }
.hero-copy .lede { max-width: 30em; margin-bottom: 34px; }
.hero-actions { display: flex; flex-direction: column; gap: 22px; }
.hero-actions .chips { margin-top: 4px; }

/* phone */
.phone-stage { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; width: clamp(248px, 30vw, 320px); aspect-ratio: 1206 / 2622;
  background: #0C0F10; border-radius: 17% / 7.8%;
  padding: 2.4%; box-shadow: var(--shadow-lg);
}
.phone img { width: 100%; height: 100%; object-fit: cover; border-radius: 13% / 6%; }
.phone::after { content: ""; position: absolute; inset: 0; border-radius: inherit; box-shadow: inset 0 0 0 1px rgba(255,255,255,.06); pointer-events: none; }
.hero .phone { transform: rotate(2.2deg); }

.float-card {
  position: absolute; z-index: 3; background: #fff; border-radius: 16px;
  box-shadow: var(--shadow-md); padding: 14px 16px; display: flex; gap: 11px; align-items: center;
  max-width: 250px; border: 1px solid var(--line-soft);
}
.float-card .fc-ic { width: 38px; height: 38px; border-radius: 11px; background: var(--teal-050); display: grid; place-items: center; flex: none; }
.float-card .fc-ic svg { width: 20px; height: 20px; color: var(--teal); }
.float-card .fc-t { font-weight: 700; font-size: .92rem; line-height: 1.2; }
.float-card .fc-s { font-size: .8rem; color: var(--muted); line-height: 1.25; margin-top: 2px; }
.float-card.f1 { left: -6%; top: 16%; }
.float-card.f2 { right: -8%; bottom: 12%; }

/* =========================================================
   SECTION SCAFFOLD
   ========================================================= */
section { position: relative; }
.band { padding: clamp(64px, 9vw, 124px) 0; }
.band.alt { background: var(--surface); }
.band.grey { background: var(--bg); }

/* =========================================================
   HOW IT WORKS
   ========================================================= */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: clamp(24px, 4vw, 48px); margin-top: clamp(44px, 6vw, 72px); }
.step { display: flex; flex-direction: column; align-items: center; text-align: center; }
.step .phone { width: 100%; max-width: 270px; margin-bottom: 30px; }
.step-num {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 800; font-size: .8rem;
  letter-spacing: .12em; text-transform: uppercase; color: var(--teal-700);
  background: var(--teal-050); padding: 7px 14px; border-radius: 999px; margin-bottom: 16px;
}
.step h3 { margin-bottom: 10px; }
.step p { color: var(--slate); font-size: 1rem; max-width: 30ch; }

/* =========================================================
   WHY IT MATTERS (dark band)
   ========================================================= */
.matters { background: var(--ink); color: #fff; }
.matters .eyebrow { color: var(--teal); }
.matters h2 { color: #fff; }
.matters .lede { color: rgba(255,255,255,.66); }
.matters-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(28px, 5vw, 64px); align-items: center; }
.stats { display: grid; gap: 22px; }
.stat {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-lg); padding: 30px 34px; display: flex; align-items: baseline; gap: 24px;
}
.stat .num { font-size: clamp(3rem, 6vw, 4.4rem); font-weight: 800; letter-spacing: -.04em; color: var(--teal); line-height: 1; flex: none; }
.stat .txt { color: rgba(255,255,255,.82); font-size: 1.05rem; line-height: 1.4; }
.source { margin-top: 22px; font-size: .85rem; color: rgba(255,255,255,.42); }

/* =========================================================
   FEATURE GRID (privacy)
   ========================================================= */
.feat-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-top: clamp(44px, 6vw, 64px); }
.feat {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 28px; box-shadow: var(--shadow-sm);
  transition: transform .18s ease, box-shadow .18s ease;
}
.feat:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.feat .ic { width: 50px; height: 50px; border-radius: 14px; background: var(--teal-050); display: grid; place-items: center; margin-bottom: 22px; }
.feat .ic svg { width: 26px; height: 26px; color: var(--teal); }
.feat h3 { font-size: 1.2rem; margin-bottom: 9px; }
.feat p { color: var(--slate); font-size: .98rem; }

/* =========================================================
   SAFETY
   ========================================================= */
.safe-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-top: clamp(40px, 5vw, 60px); }
.safe-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 30px 30px 32px; box-shadow: var(--shadow-sm);
}
.safe-card .tag {
  display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: .8rem;
  letter-spacing: .04em; color: var(--teal-700); margin-bottom: 16px;
}
.safe-card .tag svg { width: 18px; height: 18px; }
.safe-card h3 { font-size: 1.22rem; margin-bottom: 10px; }
.safe-card p { color: var(--slate); font-size: .98rem; }
.safe-actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 40px; }

/* =========================================================
   DOWNLOAD CTA BAND
   ========================================================= */
.cta-band { background: var(--teal); color: #fff; text-align: center; overflow: hidden; position: relative; }
.cta-band::before, .cta-band::after {
  content: ""; position: absolute; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, rgba(255,255,255,.16), rgba(255,255,255,0) 65%);
}
.cta-band::before { width: 480px; height: 480px; left: -140px; top: -180px; }
.cta-band::after  { width: 520px; height: 520px; right: -160px; bottom: -220px; }
.cta-inner { position: relative; z-index: 1; max-width: 720px; margin: 0 auto; }
.cta-band h2 { color: #fff; margin-bottom: 18px; }
.cta-band .lede { color: rgba(255,255,255,.86); margin-bottom: 34px; }
.cta-band .badges { justify-content: center; }
.cta-band .chips { justify-content: center; margin-top: 26px; }
.cta-band .chip { color: rgba(255,255,255,.82); }
.cta-band .chip svg { color: #fff; }

/* =========================================================
   FOOTER
   ========================================================= */
.footer { background: var(--ink); color: rgba(255,255,255,.74); padding: clamp(56px, 7vw, 84px) 0 40px; font-size: .95rem; }
.footer a { color: rgba(255,255,255,.74); transition: color .15s ease; }
.footer a:hover { color: #fff; }
.foot-top { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 40px; padding-bottom: 48px; border-bottom: 1px solid rgba(255,255,255,.1); }
.foot-brand .brand { color: #fff; margin-bottom: 18px; }
.foot-brand p { max-width: 34ch; line-height: 1.6; color: rgba(255,255,255,.88); font-size: 1.02rem; }
.foot-col h4 { font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255,255,255,.55); margin-bottom: 18px; font-weight: 700; }
.foot-col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; }
.foot-legal { padding-top: 32px; display: flex; flex-direction: column; gap: 16px; }
.foot-legal .lock {
  display: inline-flex; align-items: center; gap: 10px; align-self: flex-start;
  background: rgba(255,255,255,.05); border: 1px solid rgba(255,255,255,.1);
  padding: 12px 18px; border-radius: 12px; color: rgba(255,255,255,.78); font-size: .9rem;
}
.foot-legal .lock svg { width: 18px; height: 18px; color: var(--teal); flex: none; }
.foot-legal .lock { color: rgba(255,255,255,.9); }
.foot-fine { font-size: .85rem; color: rgba(255,255,255,.58); line-height: 1.6; max-width: 70ch; }
.foot-bottom { margin-top: 14px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; align-items: center; font-size: .85rem; color: rgba(255,255,255,.58); }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(20px); transition: opacity .7s cubic-bezier(.2,.7,.2,1), transform .7s cubic-bezier(.2,.7,.2,1); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* =========================================================
   RESPONSIVE
   ========================================================= */
@media (max-width: 960px) {
  .nav-links, .nav-cta .btn-ghost { display: none; }
  .nav-burger { display: inline-flex; }
  .hero-grid { grid-template-columns: 1fr; }
  .phone-stage { order: -1; margin-bottom: 16px; }
  .hero .phone { transform: none; }
  .matters-grid { grid-template-columns: 1fr; }
  .feat-grid { grid-template-columns: 1fr 1fr; }
  .foot-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 680px) {
  body { font-size: 17px; }
  .steps { grid-template-columns: 1fr; gap: 56px; }
  .step .phone { max-width: 240px; }
  .feat-grid, .safe-grid { grid-template-columns: 1fr; }
  .foot-top { grid-template-columns: 1fr; gap: 32px; }
  .float-card { display: none; }
  .stat { flex-direction: column; gap: 8px; }
}

/* =========================================================
   SUBPAGES
   ========================================================= */
.page-hero { padding: clamp(56px, 8vw, 104px) 0 clamp(30px, 4vw, 48px); background: var(--surface); border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; width: 620px; height: 620px; right: -200px; top: -260px; border-radius: 50%; background: radial-gradient(circle, rgba(14,157,150,.12), rgba(14,157,150,0) 62%); pointer-events: none; }
.page-hero .wrap { position: relative; z-index: 1; }
.page-hero .eyebrow { margin-bottom: 18px; }
.page-hero h1 { font-size: clamp(2.1rem, 4.6vw, 3.4rem); max-width: 18ch; }
.page-hero .lede { margin-top: 18px; max-width: 56ch; }
.page-meta { margin-top: 22px; font-size: .9rem; color: var(--muted); display: flex; gap: 18px; flex-wrap: wrap; }

.page-body { padding: clamp(46px, 7vw, 84px) 0; }

/* Prose */
.prose { max-width: 760px; }
.prose > p:first-child { font-size: 1.12rem; color: var(--ink-soft); }
.prose h2 { font-size: clamp(1.5rem, 2.6vw, 1.95rem); margin: 50px 0 14px; scroll-margin-top: 96px; }
.prose h2:first-of-type { margin-top: 0; }
.prose h3 { font-size: 1.18rem; margin: 30px 0 8px; }
.prose p { color: var(--slate); margin-bottom: 16px; line-height: 1.72; }
.prose ul { color: var(--slate); padding-left: 1.25em; margin: 0 0 16px; line-height: 1.72; }
.prose li { margin-bottom: 9px; }
.prose li::marker { color: var(--teal); }
.prose strong { color: var(--ink); font-weight: 700; }
.prose a { color: var(--teal-700); font-weight: 600; text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1.5px; }
.callout { background: var(--teal-050); border: 1px solid var(--teal-100); border-radius: var(--radius-md); padding: 20px 24px; margin: 26px 0; color: var(--ink-soft); line-height: 1.6; }
.callout strong { color: var(--teal-700); }

/* Legal layout with sticky TOC */
.legal-grid { display: grid; grid-template-columns: 230px 1fr; gap: clamp(36px, 5vw, 72px); align-items: start; }
.toc { position: sticky; top: 96px; }
.toc h4 { font-size: .78rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; font-weight: 700; }
.toc ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 4px; }
.toc a { display: block; padding: 7px 12px; border-radius: 9px; font-size: .94rem; font-weight: 500; color: var(--slate); border-left: 2px solid transparent; transition: background .15s, color .15s; }
.toc a:hover { background: var(--surface); color: var(--ink); }
.toc a.active { color: var(--teal-700); background: var(--teal-050); font-weight: 600; }

/* FAQ accordion */
.faq { max-width: 800px; }
details.qa { border-bottom: 1px solid var(--line); }
details.qa summary { cursor: pointer; list-style: none; padding: 24px 0; font-weight: 700; font-size: 1.14rem; color: var(--ink); display: flex; justify-content: space-between; gap: 18px; align-items: center; }
details.qa summary::-webkit-details-marker { display: none; }
details.qa .chev { width: 22px; height: 22px; flex: none; color: var(--teal); transition: transform .22s ease; }
details.qa[open] .chev { transform: rotate(45deg); }
details.qa .qa-body { padding: 0 0 24px; }
details.qa .qa-body p { color: var(--slate); line-height: 1.72; max-width: 66ch; margin: 0 0 12px; }

/* Forms */
.form-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 40px); box-shadow: var(--shadow-sm); max-width: 640px; }
.field { margin-bottom: 22px; }
.field > label { display: block; font-weight: 600; font-size: .96rem; margin-bottom: 9px; color: var(--ink); }
.field input, .field textarea, .field select { width: 100%; font-family: var(--font); font-size: 1rem; padding: 14px 16px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); color: var(--ink); transition: border-color .15s, box-shadow .15s, background .15s; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--teal); background: #fff; box-shadow: 0 0 0 4px var(--teal-050); }
.field textarea { min-height: 140px; resize: vertical; }
.field .hint { font-size: .85rem; color: var(--muted); margin-top: 7px; }
.radio-row { display: flex; flex-wrap: wrap; gap: 10px; }
.radio-row label { display: inline-flex; align-items: center; gap: 9px; padding: 12px 18px; border: 1.5px solid var(--line); border-radius: var(--radius-sm); background: var(--surface-2); font-size: .95rem; font-weight: 500; cursor: pointer; transition: border-color .15s, background .15s; }
.radio-row label:hover { border-color: var(--faint); }
.radio-row input { width: auto; accent-color: var(--teal); }
.form-note { font-size: .85rem; color: var(--muted); margin-top: 16px; line-height: 1.55; }
.form-note a { color: var(--teal-700); font-weight: 600; }
.form-success { display: none; background: var(--teal-050); border: 1px solid var(--teal-100); border-radius: var(--radius-md); padding: 18px 22px; color: var(--teal-700); font-weight: 600; margin-bottom: 22px; }
.form-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.form-status { margin: 16px 0 0; min-height: 1.4em; font-size: .92rem; line-height: 1.5; font-weight: 600; }
.form-status.is-info { color: var(--teal-700); }
.form-status.is-error { color: #b42318; }
.verification-step { border-top: 1px solid var(--line); margin-top: 10px; padding-top: 22px; }
.btn:disabled,
.field input:disabled {
  opacity: .64;
  cursor: not-allowed;
}

/* Info tiles */
.tiles { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 18px; }
.tile { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow-sm); }
.tile .ic { width: 46px; height: 46px; border-radius: 13px; background: var(--teal-050); display: grid; place-items: center; margin-bottom: 18px; }
.tile .ic svg { width: 24px; height: 24px; color: var(--teal); }
.tile h3 { font-size: 1.12rem; margin-bottom: 8px; }
.tile p { color: var(--slate); font-size: .96rem; line-height: 1.6; }
.tile a { color: var(--teal-700); font-weight: 600; }

/* Two-column content (intro + aside) */
.split { display: grid; grid-template-columns: 1.3fr .7fr; gap: clamp(36px, 5vw, 64px); align-items: start; }
.aside-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.aside-card h4 { font-size: 1.05rem; margin-bottom: 14px; }
.aside-card ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.aside-card li { display: flex; gap: 12px; font-size: .96rem; color: var(--slate); line-height: 1.5; }
.aside-card li svg { width: 20px; height: 20px; color: var(--teal); flex: none; margin-top: 2px; }

.crumb { display: inline-flex; align-items: center; gap: 7px; font-size: .9rem; font-weight: 600; color: var(--teal-700); margin-bottom: 22px; }
.crumb svg { width: 16px; height: 16px; }

@media (max-width: 860px) {
  .legal-grid { grid-template-columns: 1fr; }
  .toc { position: static; margin-bottom: 8px; padding-bottom: 18px; border-bottom: 1px solid var(--line); }
  .toc ul { grid-auto-flow: column; grid-auto-columns: max-content; overflow-x: auto; gap: 6px; }
  .split { grid-template-columns: 1fr; }
}
