/* MindWell public site (landing + privacy policy). Hand-written: no build step.
   Light by default; dark from the OS setting or the saved choice (html[data-theme]), same keys as the app. */

:root {
  --bg: #fbf8f3;
  --bg-2: #f4efe6;
  --surface: #ffffff;
  --surface-2: #f7f3ec;
  --ink: #13221e;
  --ink-2: #2b3b36;
  --muted: #5a6a65;
  --line: #e7e0d4;
  --line-2: #d9d0c1;
  --accent: #0f766e;
  --accent-strong: #0b5c56;
  --accent-ink: #ffffff;
  --accent-soft: #dcf2ec;
  --accent-text: #0d6b64;
  --warm: #d9773f;
  --warm-soft: #fbe8d9;
  --warm-text: #9a4a1b;
  --sky-soft: #e3eef8;
  --sky-text: #285b86;
  --sand-soft: #efe9dd;
  --sand-text: #6b5530;
  --danger: #b42318;
  --danger-soft: #fdeceb;
  --shadow-sm: 0 1px 2px rgb(19 34 30 / 0.06), 0 1px 1px rgb(19 34 30 / 0.04);
  --shadow-md: 0 10px 30px -12px rgb(19 34 30 / 0.18), 0 2px 6px rgb(19 34 30 / 0.05);
  --shadow-lg: 0 30px 60px -24px rgb(19 34 30 / 0.28), 0 8px 20px -10px rgb(19 34 30 / 0.12);
  --radius: 18px;
  --radius-lg: 28px;
  --serif: "Fraunces", "Noto Serif Devanagari", "Noto Sans Devanagari", "Noto Sans Kannada", Georgia, serif;
  --sans: "Plus Jakarta Sans", "Noto Sans Devanagari", "Noto Sans Kannada", system-ui, -apple-system, "Segoe UI", sans-serif;
  color-scheme: light;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #0a1311; --bg-2: #0e1916; --surface: #111d1a; --surface-2: #152420; --ink: #e9f2ef; --ink-2: #cfdcd7;
    --muted: #9cb0a9; --line: #22332e; --line-2: #2d433d; --accent: #2dd4bf; --accent-strong: #5eead4;
    --accent-ink: #042f2b; --accent-soft: #10302b; --accent-text: #6ee7d6; --warm: #f0a070; --warm-soft: #33221a;
    --warm-text: #f5b98f; --sky-soft: #142636; --sky-text: #9cc9ef; --sand-soft: #2a241a; --sand-text: #dcc9a2;
    --danger: #f97066; --danger-soft: #3a1714;
    --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.4); --shadow-md: 0 12px 30px -12px rgb(0 0 0 / 0.6);
    --shadow-lg: 0 30px 60px -24px rgb(0 0 0 / 0.7);
    color-scheme: dark;
  }
}
:root[data-theme="dark"] {
  --bg: #0a1311; --bg-2: #0e1916; --surface: #111d1a; --surface-2: #152420; --ink: #e9f2ef; --ink-2: #cfdcd7;
  --muted: #9cb0a9; --line: #22332e; --line-2: #2d433d; --accent: #2dd4bf; --accent-strong: #5eead4;
  --accent-ink: #042f2b; --accent-soft: #10302b; --accent-text: #6ee7d6; --warm: #f0a070; --warm-soft: #33221a;
  --warm-text: #f5b98f; --sky-soft: #142636; --sky-text: #9cc9ef; --sand-soft: #2a241a; --sand-text: #dcc9a2;
  --danger: #f97066; --danger-soft: #3a1714;
  --shadow-sm: 0 1px 2px rgb(0 0 0 / 0.4); --shadow-md: 0 12px 30px -12px rgb(0 0 0 / 0.6);
  --shadow-lg: 0 30px 60px -24px rgb(0 0 0 / 0.7);
  color-scheme: dark;
}

/* ── base ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
body {
  margin: 0; background: var(--bg); color: var(--ink); font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; overflow-x: hidden;
}
:lang(hi) body, html[lang="hi"] body, html[lang="kn"] body { line-height: 1.75; }
img { max-width: 100%; display: block; }
a { color: var(--accent-text); text-decoration-thickness: 1px; text-underline-offset: 3px; }
a:hover { color: var(--accent-strong); }
:focus-visible { outline: 3px solid color-mix(in srgb, var(--accent) 55%, transparent); outline-offset: 3px; border-radius: 8px; }
::selection { background: var(--accent-soft); color: var(--ink); }
h1, h2, h3 { font-family: var(--serif); font-weight: 500; letter-spacing: -0.015em; line-height: 1.12; margin: 0;
  font-variation-settings: "SOFT" 60, "opsz" 72; color: var(--ink); }
html[lang="hi"] h1, html[lang="hi"] h2, html[lang="hi"] h3,
html[lang="kn"] h1, html[lang="kn"] h2, html[lang="kn"] h3 { font-family: var(--sans); font-weight: 650; letter-spacing: 0; line-height: 1.3; }
p { margin: 0; }
.wrap { width: min(1160px, 100% - 40px); margin-inline: auto; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
.skip { position: absolute; left: 16px; top: -48px; z-index: 100; background: var(--ink); color: var(--bg); padding: 10px 14px;
  border-radius: 10px; font-weight: 600; text-decoration: none; transition: top .15s; }
.skip:focus { top: 12px; color: var(--bg); }

/* ── crisis bar ───────────────────────────────────────────────────── */
.crisis-bar { background: var(--ink); color: var(--bg); font-size: 14px; }
.crisis-bar .wrap { display: flex; gap: 10px 18px; align-items: center; justify-content: center; flex-wrap: wrap; padding: 8px 0; text-align: center; }
.crisis-bar a { color: inherit; font-weight: 700; text-decoration: none; border-bottom: 1px solid color-mix(in srgb, var(--bg) 45%, transparent); }
.crisis-bar a:hover { border-color: var(--bg); color: inherit; }
.crisis-bar .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--warm); flex: none; box-shadow: 0 0 0 4px color-mix(in srgb, var(--warm) 28%, transparent); }

/* ── header ───────────────────────────────────────────────────────── */
.site-header { position: sticky; top: 0; z-index: 50; background: color-mix(in srgb, var(--bg) 82%, transparent);
  backdrop-filter: saturate(160%) blur(14px); -webkit-backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid transparent; transition: border-color .2s, background .2s; }
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); text-decoration: none; font-weight: 700;
  font-size: 19px; letter-spacing: -0.01em; }
.brand img { width: 36px; height: 36px; border-radius: 11px; box-shadow: var(--shadow-sm); }
.brand:hover { color: var(--ink); }
.nav { display: flex; align-items: center; gap: 4px; }
.nav a.link { color: var(--ink-2); text-decoration: none; font-weight: 500; font-size: 15px; padding: 8px 12px; border-radius: 8px; }
.nav a.link:hover { background: var(--surface-2); color: var(--ink); }
.tools { display: flex; align-items: center; gap: 8px; }
.icon-btn { width: 40px; height: 40px; display: inline-grid; place-items: center; border-radius: 10px; border: 1px solid var(--line);
  background: var(--surface); color: var(--ink-2); cursor: pointer; transition: background .15s, border-color .15s; }
.icon-btn:hover { background: var(--surface-2); border-color: var(--line-2); }
.icon-btn svg { width: 18px; height: 18px; }
.theme-dark-icon { display: none; }
:root[data-theme="dark"] .theme-dark-icon { display: block; } :root[data-theme="dark"] .theme-light-icon { display: none; }
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) .theme-dark-icon { display: block; }
  :root:not([data-theme="light"]) .theme-light-icon { display: none; }
}
.lang { display: inline-flex; padding: 3px; border-radius: 10px; background: var(--surface-2); border: 1px solid var(--line); }
.lang button { font: inherit; font-size: 13px; font-weight: 600; border: 0; background: transparent; color: var(--muted);
  padding: 6px 10px; border-radius: 7px; cursor: pointer; line-height: 1; }
.lang button[aria-pressed="true"] { background: var(--surface); color: var(--ink); box-shadow: var(--shadow-sm); }
@media (max-width: 900px) { .nav { display: none; } }
@media (max-width: 520px) { .site-header .cta-sm { display: none; } .brand span { display: none; } }

/* ── buttons ──────────────────────────────────────────────────────── */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; font: inherit; font-weight: 650;
  font-size: 16px; line-height: 1; padding: 15px 22px; border-radius: 10px; text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: background .15s, border-color .15s; white-space: nowrap; }
.btn svg { width: 18px; height: 18px; }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 10px 24px -10px color-mix(in srgb, var(--accent) 70%, transparent); }
.btn-primary:hover { background: var(--accent-strong); color: var(--accent-ink); }
.btn-ghost { background: var(--surface); color: var(--ink); border-color: var(--line-2); }
.btn-ghost:hover { background: var(--surface-2); color: var(--ink); }
.btn-sm { padding: 10px 16px; font-size: 14.5px; }

/* ── hero ─────────────────────────────────────────────────────────── */
.hero { position: relative; padding: 72px 0 96px; isolation: isolate; }
.hero::before { content: ""; position: absolute; inset: -120px 0 0; z-index: -1; pointer-events: none;
  background:
    radial-gradient(42% 46% at 82% 18%, color-mix(in srgb, var(--accent) 16%, transparent), transparent 70%),
    radial-gradient(36% 40% at 8% 72%, color-mix(in srgb, var(--warm) 14%, transparent), transparent 70%),
    radial-gradient(30% 30% at 55% 95%, color-mix(in srgb, var(--accent) 8%, transparent), transparent 70%); }
.hero-grid { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 56px; align-items: center; }
.eyebrow { display: inline-flex; align-items: center; gap: 8px; font-size: 13.5px; font-weight: 600; color: var(--accent-text);
  background: var(--accent-soft); padding: 6px 10px; border-radius: 8px; }
.eyebrow svg { width: 15px; height: 15px; }
.hero h1 { font-size: clamp(36px, 4.8vw, 60px); margin: 22px 0 22px; font-weight: 450; }
.hero h1 em { font-style: italic; color: var(--accent-text); font-weight: 400; }
html[lang="hi"] .hero h1, html[lang="kn"] .hero h1 { font-size: clamp(30px, 4vw, 48px); }
html[lang="hi"] .hero h1 em, html[lang="kn"] .hero h1 em { font-style: normal; }
.lede { font-size: clamp(17px, 1.6vw, 20px); color: var(--ink-2); max-width: 36ch; }
.hero-cta { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 34px; }
.assure { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 26px; color: var(--muted); font-size: 14.5px; padding: 0; list-style: none; }
.assure li { display: inline-flex; align-items: center; gap: 7px; }
.assure svg { width: 16px; height: 16px; color: var(--accent); }

/* chat preview */
.preview { position: relative; }
.chat-card { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); overflow: hidden; }
.chat-head { display: flex; align-items: center; gap: 10px; padding: 16px 18px; border-bottom: 1px solid var(--line); }
.chat-head img { width: 34px; height: 34px; border-radius: 10px; }
.chat-head b { font-size: 15px; display: block; line-height: 1.2; }
.chat-head small { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: 12.5px; }
.chat-head small::before { content: ""; width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.chat-head .sos { margin-left: auto; font-size: 12px; font-weight: 700; color: #fff; background: var(--danger); padding: 6px 10px; border-radius: 8px; }
:root[data-theme="dark"] .chat-head .sos { color: #2a0b08; }
.chat-body { padding: 20px 18px 46px; display: grid; gap: 12px; background:
  linear-gradient(180deg, var(--surface), color-mix(in srgb, var(--surface-2) 70%, var(--surface))); }
.bubble { max-width: 86%; padding: 12px 15px; border-radius: 18px; font-size: 15px; line-height: 1.5; }
.bubble.user { justify-self: end; background: var(--accent); color: var(--accent-ink); border-bottom-right-radius: 6px; }
.bubble.bot { background: var(--surface-2); border: 1px solid var(--line); border-bottom-left-radius: 6px; color: var(--ink); }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { font-size: 13px; font-weight: 600; padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line-2); background: var(--surface); color: var(--ink-2); }
.state-note { font-size: 12.5px; color: var(--muted); display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.state-note b { color: var(--warm-text); background: var(--warm-soft); padding: 2px 8px; border-radius: 6px; font-weight: 650; }
.typing { display: inline-flex; gap: 4px; padding: 12px 14px; background: var(--surface-2); border: 1px solid var(--line); border-radius: 16px; width: max-content; }
.typing i { width: 6px; height: 6px; border-radius: 50%; background: var(--muted); opacity: .5; animation: blink 1.4s infinite both; }
.typing i:nth-child(2) { animation-delay: .2s; } .typing i:nth-child(3) { animation-delay: .4s; }
@keyframes blink { 0%, 80%, 100% { opacity: .25; } 40% { opacity: .9; } }

.float { position: absolute; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; box-shadow: var(--shadow-md);
  display: flex; align-items: center; gap: 12px; padding: 12px 16px 12px 12px; font-size: 13.5px; }
.float b { display: block; font-size: 14px; color: var(--ink); line-height: 1.25; }
.float span { color: var(--muted); }
.float.breathe { left: -34px; bottom: -28px; }
.float.private { right: 86px; top: -30px; }
.breath { width: 46px; height: 46px; border-radius: 50%; display: grid; place-items: center; flex: none;
  background: radial-gradient(circle, var(--accent-soft) 0 55%, transparent 56%); position: relative; }
.breath::before { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid var(--accent);
  animation: breathe 8s ease-in-out infinite; }
.breath::after { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--accent); }
@keyframes breathe { 0%, 100% { transform: scale(.62); opacity: .55; } 45%, 55% { transform: scale(1); opacity: 1; } }
.lock { width: 38px; height: 38px; border-radius: 12px; display: grid; place-items: center; background: var(--sand-soft); color: var(--sand-text); flex: none; }
.lock svg { width: 18px; height: 18px; }
@media (max-width: 980px) {
  .hero { padding: 48px 0 72px; }
  .hero-grid { grid-template-columns: 1fr; gap: 56px; }
  .preview { max-width: 520px; margin-inline: auto; width: 100%; }
  .float.breathe { left: -8px; bottom: -28px; } .float.private { right: 80px; top: -30px; }
}
@media (max-width: 480px) { .float.private { display: none; } .float.breathe { left: 8px; } .hero h1 { margin-top: 18px; } }

/* ── topics strip ─────────────────────────────────────────────────── */
.topics { padding: 8px 0 40px; }
.topics p { text-align: center; color: var(--muted); font-size: 14.5px; font-weight: 500; margin-bottom: 16px; }
.topic-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.topic { display: inline-flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink-2); font-weight: 550; font-size: 15px;
  padding: 10px 16px; border-radius: 10px; background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow-sm);
  transition: border-color .15s, color .15s; }
.topic:hover { border-color: var(--accent); color: var(--accent-text); }

/* ── sections ─────────────────────────────────────────────────────── */
section { position: relative; }
.section { padding: 104px 0; }
.section.tint { background: var(--bg-2); border-block: 1px solid var(--line); }
.kicker { font-size: 13px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--warm-text); }
html[lang="hi"] .kicker, html[lang="kn"] .kicker { letter-spacing: .02em; }
.section-head { max-width: 680px; margin-bottom: 56px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 { font-size: clamp(32px, 4.2vw, 50px); margin: 14px 0 16px; }
.section-head p { color: var(--ink-2); font-size: 18px; }
@media (max-width: 720px) { .section { padding: 72px 0; } .section-head { margin-bottom: 40px; } }

/* features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.feature { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px 26px 30px;
}
.ficon { width: 48px; height: 48px; border-radius: 14px; display: grid; place-items: center; margin-bottom: 20px; }
.ficon svg { width: 22px; height: 22px; }
.t-teal { background: var(--accent-soft); color: var(--accent-text); }
.t-warm { background: var(--warm-soft); color: var(--warm-text); }
.t-sky { background: var(--sky-soft); color: var(--sky-text); }
.t-sand { background: var(--sand-soft); color: var(--sand-text); }
.feature h3 { font-size: 22px; margin-bottom: 10px; font-weight: 550; }
.feature p { color: var(--muted); font-size: 15.5px; }
@media (max-width: 980px) { .features { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .features { grid-template-columns: 1fr; } }

/* steps */
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; counter-reset: step; }
.step { position: relative; padding: 30px 26px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.step::before { counter-increment: step; content: counter(step, decimal-leading-zero); font-family: var(--serif); font-size: 44px;
  font-weight: 400; color: var(--accent); opacity: .9; display: block; line-height: 1; margin-bottom: 18px;
  font-variation-settings: "SOFT" 100, "opsz" 144; }
.step h3 { font-size: 22px; margin-bottom: 8px; font-weight: 550; }
.step p { color: var(--muted); font-size: 15.5px; }
.steps-note { margin-top: 26px; display: flex; gap: 12px; align-items: flex-start; padding: 18px 20px; border-radius: var(--radius);
  background: var(--accent-soft); color: var(--ink-2); font-size: 15.5px; }
.steps-note svg { width: 20px; height: 20px; color: var(--accent-text); flex: none; margin-top: 2px; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }

/* exercises marquee-free list */
.ex-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.ex { font-size: 14.5px; font-weight: 550; padding: 9px 14px; border-radius: 12px; background: var(--surface); border: 1px solid var(--line); color: var(--ink-2); }
.ex small { color: var(--muted); font-weight: 500; margin-left: 6px; }

/* safety */
.safety-grid { display: grid; grid-template-columns: 1fr 1fr 0.95fr; gap: 18px; align-items: stretch; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; }
.panel h3 { font-size: 22px; margin-bottom: 18px; font-weight: 550; display: flex; align-items: center; gap: 10px; }
.panel h3 .badge { width: 30px; height: 30px; border-radius: 10px; display: grid; place-items: center; }
.panel h3 .badge svg { width: 16px; height: 16px; }
.ticks { list-style: none; padding: 0; margin: 0; display: grid; gap: 14px; }
.ticks li { display: flex; gap: 12px; align-items: flex-start; color: var(--ink-2); font-size: 15.5px; }
.ticks svg { width: 18px; height: 18px; flex: none; margin-top: 4px; }
.ticks.yes svg { color: var(--accent); } .ticks.no svg { color: var(--warm); }
.help-card { --hc-bg: #14231f; --hc-ink: #f4efe6; background: var(--hc-bg); color: var(--hc-ink); border-color: transparent;
  position: relative; overflow: hidden; }
:root[data-theme="dark"] .help-card { --hc-bg: #17302b; border-color: var(--line-2); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .help-card { --hc-bg: #17302b; border-color: var(--line-2); } }
.help-card::after { content: ""; position: absolute; right: -60px; bottom: -60px; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgb(240 160 112 / .4), transparent 70%); }
.help-card h3 { color: var(--hc-ink); }
.help-card p { color: color-mix(in srgb, var(--hc-ink) 78%, transparent); font-size: 15px; margin-bottom: 18px; position: relative; z-index: 1; }
.line { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 13px 0;
  border-top: 1px solid color-mix(in srgb, var(--hc-ink) 16%, transparent); position: relative; z-index: 1; }
.line span { font-size: 14px; color: color-mix(in srgb, var(--hc-ink) 75%, transparent); }
.line a { color: var(--hc-ink); font-weight: 700; font-size: 17px; text-decoration: none; white-space: nowrap; }
.line a:hover { color: #f0a070; }
@media (max-width: 1020px) { .safety-grid { grid-template-columns: 1fr 1fr; } .help-card { grid-column: 1 / -1; } }
@media (max-width: 640px) { .safety-grid { grid-template-columns: 1fr; } }

/* privacy */
.privacy-band { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: 56px; align-items: center; }
.pgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.pitem { padding: 22px; border-radius: var(--radius); background: var(--surface); border: 1px solid var(--line); }
.pitem .ficon { width: 40px; height: 40px; border-radius: 12px; margin-bottom: 14px; }
.pitem .ficon svg { width: 19px; height: 19px; }
.pitem b { display: block; font-size: 16px; margin-bottom: 4px; }
.pitem p { color: var(--muted); font-size: 14.5px; }
.text-link { display: inline-flex; align-items: center; gap: 8px; font-weight: 650; margin-top: 26px; text-decoration: none; }
.text-link svg { width: 16px; height: 16px; }
@media (max-width: 900px) { .privacy-band { grid-template-columns: 1fr; gap: 36px; } }
@media (max-width: 520px) { .pgrid { grid-template-columns: 1fr; } }

/* faq */
.faq { max-width: 820px; margin-inline: auto; display: grid; gap: 12px; }
.faq details { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 0 22px; }
.faq details[open] { border-color: var(--line-2); box-shadow: var(--shadow-sm); }
.faq summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 20px 0; font-weight: 650; font-size: 17px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .pm { width: 28px; height: 28px; flex: none; border-radius: 8px; display: grid; place-items: center; background: var(--surface-2); }
.faq summary .pm svg { width: 14px; height: 14px; }
.faq details[open] summary .pm { transform: rotate(45deg); background: var(--accent-soft); color: var(--accent-text); }
.faq details p { color: var(--ink-2); padding: 0 0 22px; font-size: 16px; max-width: 70ch; }

/* final cta */
.final { padding: 40px 0 110px; }
.final-card { position: relative; overflow: hidden; border-radius: 34px; padding: 72px 56px; text-align: center;
  background: linear-gradient(135deg, #0f766e 0%, #115e59 55%, #134e4a 100%); color: #f0fdfa; isolation: isolate; }
.final-card::before, .final-card::after { content: ""; position: absolute; border-radius: 50%; z-index: -1; }
.final-card::before { width: 420px; height: 420px; left: -120px; top: -180px; background: radial-gradient(circle, rgb(45 212 191 / .45), transparent 70%); }
.final-card::after { width: 380px; height: 380px; right: -100px; bottom: -200px; background: radial-gradient(circle, rgb(240 160 112 / .45), transparent 70%); }
.final-card h2 { color: #fff; font-size: clamp(32px, 4.4vw, 54px); max-width: 18ch; margin: 0 auto 16px; }
.final-card p { color: rgb(240 253 250 / .85); font-size: 18px; max-width: 46ch; margin: 0 auto 32px; }
.final-card .btn-primary { background: #fff; color: #0b4f4a; box-shadow: 0 14px 30px -12px rgb(0 0 0 / .4); }
.final-card .btn-primary:hover { background: #f0fdfa; color: #0b4f4a; }
.final-card small { display: block; margin-top: 18px; color: rgb(240 253 250 / .75); font-size: 14px; }
@media (max-width: 640px) { .final-card { padding: 56px 24px; border-radius: 26px; } }

/* footer */
.site-footer { border-top: 1px solid var(--line); padding: 56px 0 40px; background: var(--bg-2); }
.foot { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 36px; }
.foot h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 14px; font-weight: 700; }
.foot ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.foot a { color: var(--ink-2); text-decoration: none; font-size: 15px; }
.foot a:hover { color: var(--accent-text); }
.foot .blurb { color: var(--muted); font-size: 14.5px; margin-top: 14px; max-width: 34ch; }
.legal { margin-top: 44px; padding-top: 24px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px;
  flex-wrap: wrap; color: var(--muted); font-size: 13.5px; }
.legal a { color: var(--muted); }
.legal a:hover { color: var(--accent-text); }
@media (max-width: 900px) { .foot { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .foot { grid-template-columns: 1fr; } }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .breath::before, .typing i { animation: none; }
  .btn, .topic { transition: none; }
}

/* ── privacy policy page ─────────────────────────────────────────── */
.doc-hero { padding: 64px 0 40px; position: relative; isolation: isolate; }
.doc-hero::before { content: ""; position: absolute; inset: -80px 0 0; z-index: -1;
  background: radial-gradient(40% 60% at 85% 10%, color-mix(in srgb, var(--accent) 12%, transparent), transparent 70%); }
.doc-hero h1 { font-size: clamp(38px, 5vw, 60px); margin: 16px 0 14px; }
.doc-hero p { color: var(--ink-2); font-size: 18px; max-width: 60ch; }
.doc-meta { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.doc-meta span { font-size: 13.5px; color: var(--muted); background: var(--surface); border: 1px solid var(--line); padding: 7px 12px; border-radius: 8px; }
.summary { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 18px 0 64px; }
.summary .pitem p { font-size: 14.5px; }
@media (max-width: 900px) { .summary { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .summary { grid-template-columns: 1fr; } }
.doc { display: grid; grid-template-columns: 240px minmax(0, 1fr); gap: 64px; padding-bottom: 110px; }
.toc { position: sticky; top: 100px; align-self: start; }
.toc h4 { font-size: 13px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); margin: 0 0 12px; }
.toc ol { list-style: none; margin: 0; padding: 0; display: grid; gap: 2px; border-left: 2px solid var(--line); }
.toc a { display: block; padding: 6px 0 6px 14px; margin-left: -2px; border-left: 2px solid transparent; color: var(--muted); text-decoration: none; font-size: 14.5px; }
.toc a:hover, .toc a.active { color: var(--accent-text); border-left-color: var(--accent); }
.prose { max-width: 72ch; }
.prose h2 { font-size: clamp(26px, 3vw, 32px); margin: 56px 0 16px; padding-top: 8px; }
.prose h2:first-child { margin-top: 0; }
.prose h3 { font-family: var(--sans); font-size: 18px; font-weight: 700; margin: 28px 0 10px; letter-spacing: 0; }
.prose p, .prose li { color: var(--ink-2); font-size: 16.5px; }
.prose p + p { margin-top: 14px; }
.prose ul { padding-left: 22px; margin: 12px 0; display: grid; gap: 8px; }
.prose li::marker { color: var(--accent); }
.prose strong { color: var(--ink); }
.prose .callout { margin: 22px 0; padding: 18px 20px; border-radius: 16px; background: var(--warm-soft); color: var(--ink-2); font-size: 15.5px; border: 1px solid color-mix(in srgb, var(--warm) 25%, transparent); }
.prose .callout.teal { background: var(--accent-soft); border-color: color-mix(in srgb, var(--accent) 22%, transparent); }
.table-wrap { overflow-x: auto; margin: 18px 0; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); }
.prose table { width: 100%; border-collapse: collapse; font-size: 15px; min-width: 560px; }
.prose th, .prose td { text-align: left; padding: 13px 16px; border-bottom: 1px solid var(--line); vertical-align: top; color: var(--ink-2); }
.prose th { font-size: 13px; text-transform: uppercase; letter-spacing: .06em; color: var(--muted); background: var(--surface-2); }
.prose tr:last-child td { border-bottom: 0; }
.placeholder { background: var(--warm-soft); color: var(--warm-text); padding: 1px 6px; border-radius: 6px; font-weight: 600; }
@media (max-width: 900px) { .doc { grid-template-columns: 1fr; gap: 24px; } .toc { position: static; display: none; } }

/* small phones: keep the helpline bar to one line */
@media (max-width: 560px) {
  .crisis-bar { font-size: 13px; }
  .crisis-bar .wrap { gap: 4px 14px; padding: 7px 0; }
  .crisis-bar .cb-text, .crisis-bar .dot { display: none; }
}
