/* ==========================================================================
   Innerbrook website, "Field notes" design (chosen 12 Nov 2026)

   Warm off-white paper, dark ink, one blue for the brook and for links.
   Serif (Newsreader) for headings and for spoken words, sans (Public Sans)
   for everything else. Thin rules instead of boxes; no gradients, shadows
   or glows. One light, warm look for everyone (no dark theme).
   ========================================================================== */

:root {
  --bg: #faf7f2;
  --bg-band: #f2ede4;
  --ink: #1d2a25;
  --text: #2a3a34;
  --muted: #4a5a53;
  --line: #e2dacb;
  --brook: #25667f;
  --brook-dark: #1b4f63;
  --gold: #d49a2a;
  --care: #9a3b26;
  --care-dark: #7c2e1c;
  --care-bg: #f2e3da;
  --mark: #f4dfa8;
  --mark-ink: #1d2a25;
  --paper: #fffdf9;
  --on-ink: #faf7f2;      /* text on an ink-coloured button */
  --on-accent: #ffffff;   /* text on a brook or care coloured fill */
  --ok: #2f6b45;

  --serif: "Newsreader", "Iowan Old Style", "Palatino Linotype", Georgia, serif;
  --sans: "Public Sans", system-ui, -apple-system, "Segoe UI", Roboto, "Noto Sans Devanagari", sans-serif;

  --max: 1160px;
  --gutter: 20px;
  --radius: 6px;

  color-scheme: light;
}

/* One light, warm look for everyone (no separate dark theme). */
@media (min-width: 700px) {
  :root { --gutter: 40px; }
}
@media (min-width: 1100px) {
  :root { --gutter: 72px; }
}

/* ---------- Base ---------- */

*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 24px;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  font-size: 1.0625rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-wrap: break-word;
}

h1, h2, h3 {
  margin: 0;
  color: var(--ink);
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.015em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.75rem, 7.4vw, 5.75rem); line-height: 0.99; letter-spacing: -0.025em; }
h2 { font-size: clamp(2rem, 4.4vw, 3.25rem); line-height: 1.06; }
h3 { font-size: 1.5rem; line-height: 1.2; }
h1 em, h2 em { font-style: italic; color: var(--brook); }

p { margin: 0 0 1em; text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
ul, ol { margin: 0; padding: 0; }
strong { color: var(--ink); font-weight: 700; }

a { color: var(--brook); text-decoration: underline; text-underline-offset: 0.2em; text-decoration-thickness: 1px; }
a:hover { color: var(--brook-dark); text-decoration-thickness: 2px; }
a[href^="tel:"] { white-space: nowrap; }

:focus-visible { outline: 3px solid var(--brook); outline-offset: 3px; border-radius: 2px; }
main:focus { outline: none; }

img, svg { max-width: 100%; }
.icon { width: 1.1em; height: 1.1em; flex: none; }

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

.lead { font-size: clamp(1.125rem, 1.6vw, 1.25rem); line-height: 1.55; color: var(--text); max-width: 36em; }
.small { font-size: 0.9375rem; line-height: 1.55; }
.muted { color: var(--muted); }
.fineprint { font-size: 0.9375rem; color: var(--muted); max-width: 40em; }
.eyebrow { margin: 0 0 0.75rem; font-size: 0.9375rem; font-weight: 600; color: var(--brook); }

.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: var(--gutter); top: -100px; z-index: 10;
  padding: 10px 16px; background: var(--ink); color: var(--bg); border-radius: var(--radius);
}
.skip-link:focus { top: 12px; color: var(--bg); }

/* ---------- Buttons ---------- */

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5em;
  min-height: 54px; padding: 0 26px;
  border: 1.5px solid var(--ink); border-radius: var(--radius);
  font: 600 1.0625rem/1.2 var(--sans); text-decoration: none; text-align: center; cursor: pointer;
}
.btn--primary { background: var(--ink); color: var(--on-ink); }
.btn--primary:hover { background: var(--brook-dark); border-color: var(--brook-dark); color: var(--on-accent); }
.btn--ghost { background: transparent; color: var(--ink); }
.btn--ghost:hover { background: var(--ink); color: var(--on-ink); }
.btn:disabled { opacity: 0.6; cursor: progress; }
.btn--small { min-height: 44px; padding: 0 18px; font-size: 0.9375rem; }
.btn--call {
  flex-direction: column; gap: 2px; min-height: 84px; padding: 12px 22px;
  background: var(--care); border-color: var(--care); color: var(--on-accent);
  font: 500 2rem/1 var(--serif);
}
.btn--call small { font: 500 0.9375rem/1.3 var(--sans); }
.btn--call:hover { background: var(--care-dark); border-color: var(--care-dark); color: var(--on-accent); }

/* ---------- Header ---------- */

.site-header { padding-block: 22px; }
.site-header__inner { display: flex; align-items: center; gap: 28px; }

.brand { display: inline-flex; align-items: center; color: var(--ink); text-decoration: none; }
.brand:hover { color: var(--brook); }
.brand__name { font: italic 500 1.75rem/1 var(--serif); letter-spacing: -0.01em; }

.nav { margin-left: auto; }
.nav ul { display: flex; gap: 28px; list-style: none; }
.nav a, .help-link { color: var(--ink); font-size: 1rem; font-weight: 500; text-decoration: none; white-space: nowrap; }
.header-cta { white-space: nowrap; }
.nav a:hover, .help-link:hover { color: var(--brook); text-decoration: underline; }
.help-link { display: inline-flex; align-items: center; gap: 6px; color: var(--care); font-weight: 600; white-space: nowrap; }
.help-link:hover { color: var(--care-dark); }
.header-cta.btn--primary { background: transparent; color: var(--ink); }
.header-cta.btn--primary:hover { background: var(--ink); border-color: var(--ink); color: var(--on-ink); }

.menu { display: none; position: relative; margin-left: auto; }
.menu summary {
  display: inline-flex; align-items: center; min-height: 44px; padding: 0 16px;
  border: 1.5px solid var(--ink); border-radius: var(--radius);
  font-weight: 600; color: var(--ink); cursor: pointer; list-style: none;
}
.menu summary::-webkit-details-marker { display: none; }
.menu__panel {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 5; width: min(300px, 86vw);
  padding: 8px 20px 20px; background: var(--paper); border: 1.5px solid var(--ink); border-radius: var(--radius);
}
.menu__panel ul { list-style: none; margin-bottom: 16px; }
.menu__panel li + li { border-top: 1px solid var(--line); }
.menu__panel li a { display: block; padding: 13px 0; color: var(--ink); font-weight: 500; text-decoration: none; }
.menu__panel .btn { width: 100%; }

@media (max-width: 480px) {
  .site-header__inner { gap: 14px; }
  .brand__name { font-size: 1.5rem; }
}
/* The full nav needs about 1,200px; below that the links move into the Menu. */
@media (max-width: 1199px) {
  .nav, .header-cta { display: none; }
  .menu { display: block; margin-left: 0; }
  .help-link { margin-left: auto; }
}

/* ---------- Hero ---------- */

.hero { padding-block: clamp(28px, 5vw, 56px) clamp(48px, 7vw, 88px); }
.hero__grid { display: grid; gap: 48px; }
.hero__copy { display: flex; flex-direction: column; gap: 26px; align-items: flex-start; }
.hero__kicker { margin: 0; font-size: 0.9375rem; font-weight: 600; color: var(--brook); }
.hero__copy .lead { margin: 0; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; }
.hero__note { margin: 0; font-size: 0.9375rem; line-height: 1.55; color: var(--muted); max-width: 36em; }
.page-home .hero h1 { font-size: clamp(2.75rem, 6.2vw, 4.75rem); line-height: 1.02; }
.hero__langs { margin: -10px 0 0; font: italic 400 1.1875rem/1.4 var(--serif); color: var(--ink); }

.hero__cta { display: grid; gap: 14px; padding-top: 22px; border-top: 1px solid var(--ink); width: 100%; max-width: 36rem; }
.hero__cta > * { margin: 0; }
.hero__sub { font-size: 0.9375rem; color: var(--muted); }

/* "Get updates by email" (optional; posts to the waitlist table) */
.signup { display: grid; gap: 16px; width: 100%; max-width: 36rem; padding-top: 22px; border-top: 1px solid var(--ink); }
.get .signup { margin-top: clamp(16px, 3vw, 32px); }
.signup__intro { color: var(--text); }
.signup > * { margin: 0; }
.signup__title { font: 700 0.8125rem/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.signup__fields { display: grid; gap: 14px; }
@media (min-width: 560px) {
  .signup__fields { grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); }
}
.field { display: grid; gap: 6px; }
.field label { font-size: 0.9375rem; font-weight: 600; color: var(--ink); }
.field__opt { font-weight: 400; color: var(--muted); }
.field input, .field select {
  width: 100%; min-height: 50px; padding: 0 14px;
  background: var(--paper); color: var(--ink);
  border: 1.5px solid var(--muted); border-radius: var(--radius);
  font: 400 1.0625rem/1.2 var(--sans);
}
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%);
  background-position: right 20px center, right 14px center; background-size: 6px 6px; background-repeat: no-repeat;
}
.field input:hover, .field select:hover { border-color: var(--ink); }
.field input:focus-visible, .field select:focus-visible { outline: 3px solid var(--brook); outline-offset: 1px; border-color: var(--ink); }
.field input[aria-invalid="true"] { border-color: var(--care); }
.check { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; font-weight: 600; color: var(--ink); cursor: pointer; justify-self: start; }
.check input { width: 22px; height: 22px; margin: 0; accent-color: var(--ink); cursor: pointer; flex: none; }
.check input[aria-invalid="true"] { outline: 2px solid var(--care); outline-offset: 2px; }
.signup__actions { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; }
.hero__alt { font-weight: 600; }
.signup__status:empty { display: none; }
.signup__status { font-weight: 600; color: var(--ink); }
.signup__status--ok { padding: 14px 18px; background: var(--bg-band); border-left: 3px solid var(--ok); border-radius: var(--radius); }
.signup__status--error { color: var(--care); }
.signup__fine { font-size: 0.875rem; color: var(--muted); }
.signup--done .signup__fields, .signup--done .check, .signup--done .signup__actions { display: none; }
.signup__noscript { margin: 0; }
@media (scripting: none) {
  .signup { display: none; }
}

/* The brook: three steps along a stream. A plain list on small screens. */
.brook { position: relative; }
.brook__line { display: none; }
.brook__steps { list-style: none; display: grid; gap: 26px; padding-left: 26px; border-left: 3px solid var(--brook); }
.brook__step { position: relative; }
.brook__step::before {
  content: ""; position: absolute; left: -37px; top: 0.55em; width: 18px; height: 18px;
  border-radius: 50%; background: var(--ink); border: 3px solid var(--bg);
}
.brook__step:last-child::before { background: var(--gold); }
.brook__step h3 { font-style: italic; font-size: 1.625rem; }
.brook__step p { margin: 4px 0 0; font-size: 0.9375rem; line-height: 1.45; color: var(--muted); max-width: 26em; }
.brook__title { margin-bottom: 22px; font: 700 0.8125rem/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.brook__stream { stroke: var(--brook); }
.brook__stone { fill: var(--ink); }
.brook__stone--gold { fill: var(--gold); }

@media (min-width: 1020px) {
  .hero__grid { grid-template-columns: minmax(0, 1fr) 456px; gap: 40px; align-items: start; }
  .hero__copy { padding-top: 36px; }
  .brook { width: 456px; height: 640px; }
  .brook__line { display: block; position: absolute; inset: 0; width: 456px; height: 640px; }
  .brook__steps { display: block; padding: 0; border: 0; }
  .brook__title { position: absolute; left: 0; top: 48px; width: 220px; margin: 0; }
  .brook__step { position: absolute; width: 250px; }
  .brook__step::before { display: none; }
  .brook__step--1 { left: 190px; top: 158px; }
  .brook__step--2 { left: 22px; top: 336px; width: 228px; text-align: right; }
  .brook__step--2 p { margin-left: auto; }
  .brook__step--3 { left: 186px; top: 498px; }
}

/* ---------- Sections ---------- */

.section { padding-block: clamp(56px, 8vw, 104px); border-top: 1px solid var(--line); }
.section__head { display: grid; gap: 14px; margin-bottom: clamp(28px, 4vw, 48px); max-width: 44rem; }
.section__head > * { margin: 0; }

.split { display: grid; gap: clamp(32px, 5vw, 72px); }
@media (min-width: 900px) {
  .split { grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); align-items: start; }
  .split--even { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
.split__copy { display: grid; gap: 18px; }
.split__copy > * { margin: 0; }

/* A conversation set like a script */
.script { margin: 0; display: grid; gap: 16px; }
.script__who { margin: 0; font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.script__who--reply { color: var(--brook); }
.script__line { margin: 0; font: 400 clamp(1.375rem, 2.4vw, 1.75rem)/1.3 var(--serif); color: var(--ink); }
.script__line--you { font-style: italic; }
.script__pause { display: flex; align-items: center; gap: 14px; margin: 4px 0; font-size: 0.9375rem; font-weight: 600; color: var(--brook); }
.script__pause::before { content: ""; width: 48px; height: 2px; background: var(--brook); }
.script__pause::after { content: ""; flex: 1; height: 2px; background: var(--brook); }
.script figcaption { font-size: 0.9375rem; color: var(--muted); }
.script__lang { margin: 0; font: italic 400 1.125rem/1.3 var(--serif); color: var(--muted); }
.samples { display: grid; gap: clamp(36px, 5vw, 56px); }
.samples .script + .script { padding-top: clamp(36px, 5vw, 56px); border-top: 1px solid var(--line); }

/* Four modes: a plain list of rows */
.modes { list-style: none; border-top: 1px solid var(--ink); }
.modes li { display: grid; gap: 6px 40px; padding-block: 24px; border-bottom: 1px solid var(--line); }
.modes h3 { font-style: italic; font-size: clamp(1.625rem, 2.6vw, 2rem); }
.modes p { margin: 0; max-width: 38em; }
@media (min-width: 800px) {
  .modes li { grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); align-items: baseline; }
}

/* Safety */
.not-list { list-style: none; display: grid; gap: 14px; }
.not-list li { padding-top: 14px; border-top: 1px solid var(--line); }

.helplines { list-style: none; border-top: 1px solid var(--ink); }
.helplines li { display: grid; gap: 10px 24px; padding-block: 18px; border-bottom: 1px solid var(--line); }
.helplines__info { display: grid; gap: 2px; }
.helplines__region { font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.helplines__name { font: 500 1.5rem/1.2 var(--serif); color: var(--ink); }
.helplines__detail { font-size: 0.9375rem; color: var(--muted); }
.helplines__numbers { display: flex; flex-wrap: wrap; gap: 8px 20px; align-items: baseline; }
.tel { display: inline-flex; align-items: center; min-height: 44px; color: var(--care); font-weight: 700; font-size: 1.125rem; text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 0.25em; }
.tel:hover { color: var(--care-dark); }
.tel--quiet { font-weight: 600; font-size: 1rem; }
.helplines + p { margin-top: 16px; }
@media (min-width: 620px) {
  .helplines li { grid-template-columns: minmax(0, 1fr) auto; align-items: center; }
  .helplines__numbers { justify-content: flex-end; }
}

.crisis-line { margin: 0; padding: 16px 20px; background: var(--care-bg); border-radius: var(--radius); color: var(--ink); }
.crisis-line a { color: var(--care); font-weight: 700; }

/* Progress */
.progress { list-style: none; border-top: 1px solid var(--ink); }
.progress li { display: grid; gap: 4px 40px; padding-block: 16px; border-bottom: 1px solid var(--line); }
.progress__date { font-weight: 700; color: var(--muted); }
@media (min-width: 800px) {
  .progress li { grid-template-columns: 10rem minmax(0, 1fr); }
}

/* Privacy */
.plain-list { list-style: none; display: grid; gap: 0; border-top: 1px solid var(--ink); }
.plain-list li { padding-block: 18px; border-bottom: 1px solid var(--line); }
.leaves { margin-top: clamp(36px, 5vw, 64px); padding: clamp(24px, 4vw, 44px); background: var(--bg-band); border-radius: var(--radius); }
.leaves h3 { margin-bottom: 16px; }
.leaves__cols { display: grid; gap: 8px 48px; }
@media (min-width: 800px) {
  .leaves__cols { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}

/* Questions */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  display: flex; align-items: baseline; justify-content: space-between; gap: 20px;
  padding-block: 20px; min-height: 44px; cursor: pointer; list-style: none;
  font: 500 clamp(1.25rem, 2vw, 1.5rem)/1.25 var(--serif); color: var(--ink);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; flex: none; font: 400 1.75rem/0.8 var(--sans); color: var(--brook); }
.faq details[open] summary::after { content: "\2212"; }
.faq summary:hover { color: var(--brook); }
.faq__body { padding-bottom: 22px; max-width: 42em; }

/* Closing call to action */
.get { display: grid; gap: 22px; justify-items: start; }
.get > * { margin: 0; }
.get__wave { width: 120px; height: 14px; color: var(--brook); }
.get__contact { color: var(--text); }
.stores { display: flex; flex-wrap: wrap; gap: 8px 28px; color: var(--muted); font-size: 0.9375rem; }
.store { display: inline-flex; gap: 6px; align-items: baseline; color: var(--muted); text-decoration: none; }
.store strong { color: var(--ink); font-weight: 600; }
a.store { text-decoration: underline; }
.store-badge img { height: 48px; width: auto; display: block; }

/* ---------- Footer ---------- */

.site-footer { padding-block: clamp(40px, 6vw, 72px) 32px; border-top: 1px solid var(--ink); font-size: 0.9375rem; }
.footer__grid { display: grid; gap: 32px; }
.footer__about { display: grid; gap: 12px; max-width: 26em; }
.footer__about p { margin: 0; }
.footer__col h2 { margin-bottom: 10px; font: 700 0.8125rem/1.3 var(--sans); letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.footer__col ul { list-style: none; display: grid; gap: 2px; }
.footer__col a { display: inline-flex; align-items: center; min-height: 36px; color: var(--ink); text-decoration: none; }
.footer__col a:hover { color: var(--brook); text-decoration: underline; }
@media (min-width: 620px) {
  .footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .footer__about { grid-column: 1 / -1; }
}
@media (min-width: 1020px) {
  .footer__grid { grid-template-columns: minmax(0, 2fr) repeat(3, minmax(0, 1fr)); }
  .footer__about { grid-column: auto; }
}
.footer__crisis { margin: 32px 0 0; padding: 16px 20px; background: var(--care-bg); border-radius: var(--radius); color: var(--ink); }
.footer__crisis a { color: var(--care); font-weight: 700; }
.footer__bottom { display: flex; flex-wrap: wrap; gap: 6px 32px; justify-content: space-between; margin-top: 24px; color: var(--muted); }
.footer__bottom p { margin: 0; }

/* ---------- Inner pages (support, 404, legal) ---------- */

.page-head { display: grid; gap: 16px; padding-block: clamp(28px, 5vw, 64px) clamp(28px, 4vw, 48px); }
.page-head > * { margin: 0; }
.page-head h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
.page-body { display: grid; gap: clamp(40px, 6vw, 72px); padding-bottom: clamp(56px, 8vw, 104px); max-width: 52rem; }
.page-body section > h2 { font-size: clamp(1.75rem, 3.2vw, 2.25rem); margin-bottom: 18px; }

.crisis-panel { padding: clamp(22px, 4vw, 36px); background: var(--care-bg); border-radius: var(--radius); }
.crisis-panel > * + * { margin-top: 16px; }
.call-grid { display: grid; gap: 12px; }
@media (min-width: 520px) {
  .call-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

.prose ul, .prose ol, .doc ul, .doc ol { padding-left: 1.3em; margin: 0 0 1em; }
.prose li, .doc li { margin-bottom: 0.4em; }

.legal-nav { list-style: none; display: flex; flex-wrap: wrap; gap: 6px 24px; padding: 0; margin: 0; }
.legal-nav a { display: inline-flex; align-items: center; min-height: 40px; }
.legal-nav a[aria-current="page"] { color: var(--ink); font-weight: 700; text-decoration: none; }

.doc { max-width: 46rem; padding-block: clamp(24px, 4vw, 48px) clamp(56px, 8vw, 104px); }
.doc > nav { margin-bottom: clamp(24px, 4vw, 40px); padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.doc h1 { font-size: clamp(2.25rem, 5.4vw, 3.75rem); margin-bottom: 20px; }
.doc h2 { font-size: clamp(1.5rem, 2.8vw, 1.875rem); margin: 2.2em 0 0.6em; padding-top: 1.1em; border-top: 1px solid var(--line); scroll-margin-top: 16px; }
.doc h3 { font-size: 1.25rem; margin: 1.6em 0 0.5em; }
.doc hr { border: 0; border-top: 1px solid var(--line); margin: 2em 0; }
.doc code { font-size: 0.9em; padding: 1px 5px; background: var(--bg-band); border-radius: 3px; }
.doc blockquote { margin: 0 0 1.2em; padding: 14px 18px; background: var(--bg-band); border-radius: var(--radius); }
.doc blockquote.draft-banner { background: var(--mark); color: var(--mark-ink); font-weight: 600; }
.doc blockquote.draft-banner strong, .doc blockquote.draft-banner a { color: var(--mark-ink); }
.doc blockquote.draft-banner code { background: rgba(29, 42, 37, 0.1); color: var(--mark-ink); }
.doc blockquote.drafting-note { background: var(--paper); border: 1.5px dashed var(--muted); }
.doc blockquote.callout { background: var(--care-bg); color: var(--ink); }
.doc-meta { margin-top: 2.5em; padding-top: 1em; border-top: 1px solid var(--line); color: var(--muted); font-size: 0.9375rem; }

.toc { margin: 0 0 1.5em; border-block: 1px solid var(--line); }
.toc summary { padding-block: 14px; min-height: 44px; font-weight: 600; color: var(--ink); cursor: pointer; }
.toc ol { margin: 0 0 16px; padding-left: 1.4em; columns: 2 16em; column-gap: 32px; }
.toc li { margin-bottom: 0.35em; break-inside: avoid; }

.table-wrap { overflow-x: auto; margin: 0 0 1.4em; border: 1px solid var(--line); border-radius: var(--radius); background: var(--paper); }
.table-wrap table { width: 100%; min-width: 34rem; border-collapse: collapse; font-size: 0.9375rem; }
.table-wrap th, .table-wrap td { padding: 10px 14px; text-align: left; vertical-align: top; border-bottom: 1px solid var(--line); }
.table-wrap th { color: var(--ink); font-weight: 700; background: var(--bg-band); }
.table-wrap tr:last-child td { border-bottom: 0; }

mark.ph { background: var(--mark); color: var(--mark-ink); padding: 0 3px; border-radius: 2px; }

/* ---------- Pricing ---------- */

.pricing { padding-bottom: clamp(48px, 7vw, 88px); }
.plans { display: grid; gap: 20px; }
@media (min-width: 820px) {
  .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; }
}
.plan {
  display: flex; flex-direction: column; gap: 18px;
  padding: clamp(24px, 3.5vw, 40px);
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
}
.plan > * { margin: 0; }
.plan--plus { border: 1.5px solid var(--ink); }
.plan__tag {
  align-self: flex-start; padding: 3px 10px;
  background: var(--bg-band); border-radius: 3px;
  font-size: 0.8125rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--ink);
}
.plan__name { font-size: clamp(1.875rem, 3vw, 2.375rem); font-style: italic; }
.plan__prices { display: grid; gap: 8px; }
.plan__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 4px 10px; margin: 0; }
.plan__amount { font: 500 clamp(2.5rem, 4.6vw, 3.25rem)/1 var(--serif); letter-spacing: -0.02em; color: var(--ink); }
.plan__price--alt .plan__amount { font-size: clamp(1.625rem, 2.8vw, 2rem); }
.plan__per { font-weight: 500; color: var(--muted); }
.plan__save { padding: 1px 8px; border: 1px solid var(--brook); border-radius: 3px; font-size: 0.875rem; font-weight: 700; color: var(--brook); }
.plan__note { font-size: 0.9375rem; color: var(--muted); }
.plan__list { list-style: none; border-top: 1px solid var(--line); }
.plan__list li { position: relative; padding: 12px 0 12px 30px; border-bottom: 1px solid var(--line); }
.plan__list li::before {
  content: ""; position: absolute; left: 3px; top: 1.15em; width: 13px; height: 7px;
  border-left: 2px solid var(--brook); border-bottom: 2px solid var(--brook); transform: rotate(-45deg);
}
.plan__cta { display: grid; gap: 10px; margin-top: auto; padding-top: 6px; }
.plan__cta > * { margin: 0; }
.plan__fine { font-size: 0.875rem; color: var(--muted); }
.pricing__fine { margin: 24px 0 0; max-width: 46em; font-size: 0.9375rem; color: var(--muted); }

.steps { list-style: none; counter-reset: step; border-top: 1px solid var(--ink); }
.steps li {
  counter-increment: step; display: grid; grid-template-columns: 2.25rem minmax(0, 1fr); gap: 4px 12px;
  padding-block: 18px; border-bottom: 1px solid var(--line);
}
.steps li::before { content: counter(step); grid-row: span 2; font: italic 500 1.75rem/1.1 var(--serif); color: var(--brook); }
.steps h3 { font-size: 1.375rem; font-style: italic; }
.steps p { margin: 0; }

/* ---------- Print and motion ---------- */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media print {
  .site-header, .site-footer, .skip-link, .hero__actions, .menu, .signup { display: none; }
  body { background: #fff; }
}

/* Talk button and the homepage voice sample */
.btn--talk { gap: 10px; min-height: 56px; padding-inline: 26px 30px; font-size: 1.0625rem; border-radius: 999px; }
.btn__icon { flex: none; }
.listen { margin: 0; width: 100%; max-width: 36rem; padding: 18px 20px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; display: grid; gap: 14px; }
.listen__head { display: flex; align-items: center; gap: 14px; }
.listen__head p { margin: 0; }
.listen__play { flex: none; width: 52px; height: 52px; border-radius: 50%; border: 0; background: var(--brook); color: #fff; display: grid; place-items: center; cursor: pointer; }
.listen__play:hover { background: var(--ink); }
.listen__play:focus-visible { outline: 3px solid var(--brook); outline-offset: 3px; }
.listen__icon--pause, .listen--playing .listen__icon--play { display: none; }
.listen--playing .listen__icon--pause { display: block; }
.listen__title { font-weight: 700; color: var(--ink); }
.listen__meta { font-size: 0.875rem; color: var(--muted); }
.listen__audio { width: 100%; }
.listen--js .listen__audio { display: none; }
.listen__lines { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; font-size: 0.9375rem; line-height: 1.5; color: var(--muted); }
.listen__lines li { padding-left: 12px; border-left: 2px solid transparent; transition: color .2s, border-color .2s; }
.listen__who { display: block; font-size: 0.75rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
.listen__reply .listen__who { color: var(--brook); }
.listen__lines li.is-current { color: var(--ink); border-left-color: var(--brook); }
.listen--js:not(.listen--started) .listen__lines li:nth-child(n+3) { display: none; }
.listen figcaption { font-size: 0.8125rem; color: var(--muted); }
@media (prefers-reduced-motion: reduce) { .listen__lines li { transition: none; } }
.page-body > * { min-width: 0; }

/* Homepage: "Prepare for your next session" example card and the guides link grid */
.prep-card { margin: 0; align-self: start; padding: 22px 24px 18px; background: var(--paper); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 10px 30px rgba(29, 42, 37, 0.06); }
.prep-card p { margin: 0 0 8px; font-size: 0.9375rem; line-height: 1.5; }
.prep-card__title { font: italic 400 1.375rem/1.2 var(--serif); color: var(--ink); margin-bottom: 14px !important; }
.prep-card__head { margin-top: 14px !important; font-size: 0.75rem !important; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; color: var(--brook); }
.prep-card figcaption { margin-top: 12px; font-size: 0.8125rem; color: var(--muted); }
.link-grid { list-style: none; margin: 0; padding: 0; display: grid; gap: 0 32px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); border-top: 1px solid var(--ink); }
.link-grid li { border-bottom: 1px solid var(--line); }
.link-grid a { display: block; padding: 16px 0; font-weight: 600; color: var(--ink); text-decoration: none; }
.link-grid a::after { content: " \2192"; color: var(--brook); }
.link-grid a:hover { color: var(--brook); }
