/* Self-hosted fonts (SIL Open Font License, see assets/fonts/OFL-*.txt). No requests to Google. */
@font-face { font-family: 'Newsreader'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fonts/newsreader-latin-ext.woff2) format('woff2'); 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: 'Newsreader'; font-style: normal; font-weight: 400 600; font-display: swap; src: url(fonts/newsreader-latin.woff2) format('woff2'); 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: 'Hanken Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/hanken-grotesk-latin-ext.woff2) format('woff2'); 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: 'Hanken Grotesk'; font-style: normal; font-weight: 400 700; font-display: swap; src: url(fonts/hanken-grotesk-latin.woff2) format('woff2'); 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; }

/* Sex Addiction Solutions: design tokens + layout
   Mark: cairn. Palette: Spruce / Mist / Paper / Lichen / Amber (--blaze)
   Type: Newsreader (display serif) + Hanken Grotesk (everything read or tapped) */

:root {
  --spruce: #173D38;      /* primary ink, buttons, dark sections */
  --spruce-2: #22524B;    /* hover */
  --mist: #EDF1EE;        /* page background */
  --paper: #FFFFFF;       /* raised surfaces */
  --lichen: #C9D8CF;      /* soft lines, quiet fills */
  --blaze: #E8B13A;       /* amber: top stone of the cairn. Fills only, never text on light */
  --ink: #18231F;         /* body text */
  --muted: #4A5A55;       /* secondary text (7:1 on mist) */
  --line: #D5DFD9;

  --font: "Hanken Grotesk", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-display: "Newsreader", Georgia, "Times New Roman", serif;

  /* Type scale: 1.25 ratio from 18px body */
  --t-sm: 0.889rem;
  --t-base: 1.125rem;
  --t-md: 1.406rem;
  --t-lg: 1.758rem;
  --t-xl: 2.197rem;
  --t-2xl: clamp(2.2rem, 1.4rem + 3.4vw, 3.4rem);

  --measure: 66ch;
  --radius-s: 6px;
  --radius-m: 12px;
  --wrap: 1180px;
  --gutter: clamp(1rem, 4vw, 2.5rem);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { transition: none !important; animation: none !important; } }

body {
  margin: 0;
  background: var(--mist);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--t-base);
  line-height: 1.6;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--spruce); text-underline-offset: 0.18em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-family: var(--font-display); line-height: 1.12; margin: 0 0 0.5em; letter-spacing: -0.012em; color: var(--spruce); font-optical-sizing: auto; }
h1 { font-size: clamp(2.5rem, 1.6rem + 3.6vw, 3.9rem); font-weight: 500; letter-spacing: -0.02em; line-height: 1.06; }
h2 { font-size: clamp(2rem, 1.6rem + 1.4vw, 2.6rem); font-weight: 500; }
h3 { font-size: var(--t-md); font-weight: 600; }
p { margin: 0 0 1em; max-width: var(--measure); }

:focus-visible { outline: 3px solid var(--blaze); outline-offset: 3px; border-radius: 4px; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: 1rem; top: -4rem; background: var(--spruce); color: #fff; padding: .6rem 1rem; z-index: 100; border-radius: var(--radius-s); }
.skip:focus { top: 1rem; }

/* ---------- Utility bar ---------- */
.utility { background: var(--spruce); color: #DCE7E1; font-size: var(--t-sm); }
.utility .wrap { display: flex; justify-content: space-between; align-items: center; gap: 1rem; min-height: 44px; }
.utility a { color: #fff; }
.utility p { margin: 0; }

/* Quick exit: always reachable */
.quick-exit {
  position: fixed; right: max(12px, env(safe-area-inset-right)); bottom: max(12px, env(safe-area-inset-bottom)); z-index: 50;
  font: inherit; font-size: var(--t-sm); font-weight: 700;
  background: var(--paper); color: var(--spruce);
  border: 2px solid var(--spruce); border-radius: 999px;
  padding: .7rem 1.1rem; min-height: 44px; cursor: pointer;
  box-shadow: 0 4px 14px rgba(23, 61, 56, .18);
}
.quick-exit:hover { background: var(--spruce); color: #fff; }
.quick-exit kbd { font: inherit; font-weight: 400; opacity: .75; margin-left: .35rem; }
@media (max-width: 640px) { .quick-exit kbd { display: none; } }

/* ---------- Header ---------- */
.site-header { background: var(--mist); border-bottom: 1px solid var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; min-height: 76px; }
.logo { display: flex; align-items: center; gap: .6rem; text-decoration: none; color: var(--spruce); }
.logo svg { width: 38px; height: 38px; flex: none; }
.logo span { font-family: var(--font-display); font-weight: 600; font-size: 1.32rem; letter-spacing: -0.01em; line-height: 1.05; }
.logo small { display: block; font-family: var(--font); font-weight: 400; font-size: .8rem; letter-spacing: 0; color: var(--muted); margin-top: .15rem; }

.nav-list { list-style: none; margin: 0; padding: 0; display: flex; gap: .25rem; align-items: center; }
.nav-list > li > a, .mega-toggle { display: inline-flex; align-items: center; min-height: 44px; padding: 0 .8rem; text-decoration: none; font-weight: 600; font-size: 1rem; border-radius: var(--radius-s); }
.nav-list > li > a:hover, .mega-toggle:hover { background: var(--lichen); }
.nav-list > li > a[aria-current="page"], .mega-toggle[aria-current] { box-shadow: inset 0 -3px 0 var(--blaze); }
.nav-toggle { display: none; }

@media (max-width: 900px) {
  .nav-toggle { display: inline-flex; align-items: center; gap: .5rem; font: inherit; font-weight: 700; background: none; border: 2px solid var(--spruce); color: var(--spruce); border-radius: var(--radius-s); min-height: 44px; padding: 0 .9rem; cursor: pointer; }
  .nav { position: absolute; left: 0; right: 0; top: 100%; background: var(--mist); border-bottom: 1px solid var(--line); display: none; z-index: 40; }
  .nav.open { display: block; }
  .nav-list { flex-direction: column; align-items: stretch; padding: .5rem var(--gutter) 1rem; }
  .nav-list > li > a, .mega-toggle { width: 100%; }
  .site-header { position: relative; }
}

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; min-height: 52px; padding: 0 1.4rem; border-radius: var(--radius-s); font: inherit; font-weight: 700; text-decoration: none; cursor: pointer; border: 2px solid var(--spruce); }
.btn-primary { background: var(--spruce); color: #fff; }
.btn-primary:hover { background: var(--spruce-2); border-color: var(--spruce-2); }
.btn-ghost { background: transparent; color: var(--spruce); }
.btn-ghost:hover { background: var(--lichen); }

/* ---------- Hero + wayfinder ---------- */
.hero { padding: clamp(2.5rem, 6vw, 5rem) 0 clamp(3rem, 6vw, 5rem); }
.hero .wrap { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(2rem, 5vw, 4.5rem); align-items: start; }
.hero h1 { max-width: 15ch; }
.lede { font-size: 1.3rem; line-height: 1.55; color: var(--ink); max-width: 36ch; }
.assurances { list-style: none; padding: 0; margin: 1.75rem 0 0; display: grid; gap: .75rem; }
.assurances li { display: grid; grid-template-columns: 22px 1fr; gap: .75rem; align-items: start; color: var(--muted); max-width: 46ch; }
.assurances li::before { content: ""; width: 16px; height: 10px; margin-top: .55em; border-radius: 5px; background: var(--blaze); }

.wayfinder { background: var(--paper); border-radius: var(--radius-m); padding: clamp(1.25rem, 3vw, 2rem); border: 1px solid var(--line); }
.wayfinder h2 { font-size: 1.9rem; margin-bottom: .3rem; }
.wayfinder .hint { color: var(--muted); margin-bottom: 1.25rem; }
.wayfinder fieldset { border: 0; padding: 0; margin: 0 0 1.4rem; }
.wayfinder legend { font-weight: 600; margin-bottom: .6rem; padding: 0; }

.choice-list { display: grid; gap: .6rem; }
.choice { position: relative; }
.choice input { position: absolute; opacity: 0; inset: 0; }
.choice label {
  display: grid; grid-template-columns: 24px 1fr; gap: .85rem; align-items: start;
  padding: .9rem 1rem; border: 2px solid var(--line); border-radius: var(--radius-s);
  cursor: pointer; background: var(--paper);
}
.choice label strong { display: block; color: var(--spruce); }
.choice label span { color: var(--muted); font-size: var(--t-sm); line-height: 1.45; }
.choice label::before { content: ""; width: 20px; height: 20px; margin-top: .15em; border-radius: 50%; border: 2px solid var(--muted); }
.choice input:checked + label { border-color: var(--spruce); background: #F4F8F6; }
.choice input:checked + label::before { border: 6px solid var(--spruce); }
.choice input:focus-visible + label { outline: 3px solid var(--blaze); outline-offset: 2px; }

.field { display: grid; gap: .35rem; margin-bottom: 1.25rem; }
.field label { font-weight: 700; }
.field select, .field input { font: inherit; min-height: 52px; padding: 0 .9rem; border: 2px solid var(--line); border-radius: var(--radius-s); background: var(--paper); color: var(--ink); }
.field select:focus-visible, .field input:focus-visible { border-color: var(--spruce); }
.row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: .75rem; }
.wayfinder .btn { width: 100%; }
.privacy-note { font-size: var(--t-sm); color: var(--muted); margin: .9rem 0 0; }

@media (max-width: 900px) {
  .hero .wrap { grid-template-columns: 1fr; }
}
@media (max-width: 520px) { .row-2 { grid-template-columns: 1fr; } }

/* ---------- Section rhythm ---------- */
.section { padding: clamp(3rem, 7vw, 5.5rem) 0; }
.section-head { max-width: 46rem; margin-bottom: clamp(2rem, 4vw, 3rem); }
.section-head p { color: var(--muted); font-size: 1.2rem; }

/* ---------- Levels of help: the trail (signature) ---------- */
.trail-section { background: var(--paper); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.trail { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; }
.trail::before { /* the path line */
  content: ""; position: absolute; left: 0; right: 0; top: 14px; height: 0;
  border-top: 3px dashed var(--lichen);
}
.stop { position: relative; padding: 0 1.25rem 0 0; }
.blaze { position: relative; z-index: 1; width: 44px; height: 30px; border-radius: 15px; background: var(--spruce); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .95rem; box-shadow: 0 0 0 5px var(--paper); }
.stop:first-child .blaze { background: var(--blaze); color: var(--spruce); }
.stop h3 { margin: 1.1rem 0 .4rem; font-size: 1.5rem; }
.stop p { color: var(--muted); font-size: 1rem; margin-bottom: .9rem; }
.facts { margin: 0 0 1rem; display: grid; gap: .3rem; font-size: var(--t-sm); }
.facts div { display: flex; gap: .4rem; }
.facts dt { color: var(--muted); }
.facts dd { margin: 0; font-weight: 700; color: var(--ink); }
.stop a { font-weight: 700; }

@media (max-width: 1000px) {
  .trail { grid-template-columns: 1fr; gap: 2rem; }
  .trail::before { left: 20px; right: auto; top: 0; bottom: 0; height: auto; border-top: 0; border-left: 3px dashed var(--lichen); }
  .stop { display: grid; grid-template-columns: 44px 1fr; gap: 0 1.25rem; padding: 0; }
  .stop > *:not(.blaze) { grid-column: 2; }
  .stop h3 { margin-top: .2rem; }
}

/* ---------- Intensives comparison ---------- */
.table-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius-m); background: var(--paper); }
table { border-collapse: collapse; width: 100%; min-width: 760px; font-size: 1rem; }
caption { text-align: left; padding: 1rem 1.25rem; color: var(--muted); font-size: var(--t-sm); caption-side: bottom; border-top: 1px solid var(--line); }
th, td { text-align: left; padding: 1rem 1.25rem; border-bottom: 1px solid var(--line); vertical-align: top; }
thead th { font-size: var(--t-sm); color: var(--muted); font-weight: 700; background: #F6F9F7; }
tbody th { color: var(--spruce); }
tbody th span { display: block; font-weight: 400; color: var(--muted); font-size: var(--t-sm); }
tbody tr:last-child th, tbody tr:last-child td { border-bottom: 0; }
.tag { display: inline-block; padding: .1rem .55rem; border-radius: 999px; background: var(--mist); border: 1px solid var(--line); font-size: var(--t-sm); white-space: nowrap; }
.section-actions { margin-top: 1.5rem; display: flex; flex-wrap: wrap; gap: .75rem; }

/* ---------- Partners ---------- */
.partners .wrap { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: start; }
.partners ul { padding-left: 1.2rem; margin: 0 0 1.5rem; }
.partners li { margin-bottom: .6rem; max-width: 48ch; }
.first-days { background: var(--paper); border-left: 6px solid var(--blaze); border-radius: 0 var(--radius-m) var(--radius-m) 0; padding: 1.5rem 1.75rem; }
.first-days h3 { margin-top: 0; font-size: 1.5rem; }
@media (max-width: 900px) { .partners .wrap { grid-template-columns: 1fr; } }

/* ---------- Standard / reviewers (dark band) ---------- */
.standard { background: var(--spruce); color: #DCE7E1; }
.standard h2, .standard h3 { color: #fff; }
.standard a { color: #fff; }
.standard .section-head p { color: #C3D3CB; }
.standard-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: clamp(2rem, 5vw, 4rem); }
.criteria { list-style: none; margin: 0; padding: 0; display: grid; gap: 1rem; }
.criteria li { display: grid; grid-template-columns: 22px 1fr; gap: .8rem; max-width: 52ch; }
.criteria li::before { content: ""; width: 16px; height: 10px; margin-top: .6em; border-radius: 5px; background: var(--blaze); }
.never { margin-top: 2rem; padding-top: 1.5rem; border-top: 1px solid rgba(255,255,255,.18); }
.never ul { margin: 0; padding-left: 1.2rem; }
.never li { margin-bottom: .4rem; }
.reviewers { display: grid; gap: 1.25rem; align-content: start; }
.reviewer { display: grid; grid-template-columns: 80px 1fr; gap: 1.1rem; align-items: center; padding: 1.25rem; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-m); }
.portrait { width: 72px; height: 72px; border-radius: 50%; background: #2C5F57; display: grid; place-items: center; font-family: var(--font-display); font-weight: 500; color: #fff; font-size: 1.5rem; }
.reviewer h3 { margin: 0; font-size: 1.4rem; }
.reviewer p { margin: .2rem 0 0; color: #C3D3CB; font-size: 1rem; }
@media (max-width: 900px) { .standard-grid { grid-template-columns: 1fr; } }

/* ---------- Footer ---------- */
.site-footer { padding: 3rem 0 6rem; font-size: 1rem; color: var(--muted); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 2rem; }
.site-footer h2 { font-family: var(--font); font-size: 1rem; font-weight: 700; letter-spacing: 0; color: var(--ink); margin-bottom: .6rem; }
.site-footer ul { list-style: none; margin: 0; padding: 0; display: grid; gap: .35rem; }
.crisis { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.25rem; }
.crisis strong { color: var(--ink); }
.fine { margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line); font-size: var(--t-sm); }
@media (max-width: 800px) { .footer-grid { grid-template-columns: 1fr; } }

/* Intensives table becomes stacked rows on phones */
@media (max-width: 700px) {
  .table-scroll { overflow: visible; }
  table { min-width: 0; }
  thead { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
  tbody tr { display: grid; grid-template-columns: 1fr 1fr; gap: .5rem 1rem; padding: 1.1rem 1.25rem; border-bottom: 1px solid var(--line); }
  tbody th { grid-column: 1 / -1; padding: 0; border: 0; }
  tbody td { padding: 0; border: 0; }
  tbody td::before { content: attr(data-label); display: block; font-size: var(--t-sm); color: var(--muted); }
  caption { padding: 1rem 1.25rem; }
}

/* Phone refinements */
.choice label div > span { display: block; margin-top: .15rem; }
@media (max-width: 560px) { .utility p + p { display: none; } }

/* Reviewer headshots */
img.portrait { width: 80px; height: 80px; object-fit: cover; border-radius: 50%; box-shadow: 0 0 0 3px rgba(255,255,255,.18); background: #2C5F57; }

/* =========================================================
   Support groups page
   ========================================================= */
.page-intro { padding: clamp(2rem, 5vw, 3.5rem) 0 clamp(1.5rem, 3vw, 2.25rem); }
.page-intro h1 { margin-bottom: .35em; }
.crumbs { display: flex; gap: .5rem; font-size: var(--t-sm); color: var(--muted); margin-bottom: 1.25rem; }
.crumbs a { color: var(--muted); }

.groups-body { padding-bottom: clamp(3rem, 7vw, 5rem); }

/* Audience tabs: a two-way switch, the main decision on this page */
.audience-tabs { display: grid; grid-template-columns: 1fr 1fr; gap: .4rem; padding: .4rem; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); max-width: 760px; }
.audience-tabs [role="tab"] { font: inherit; font-weight: 600; font-size: 1.05rem; min-height: 56px; padding: .6rem 1rem; border: 0; border-radius: 8px; background: transparent; color: var(--spruce); cursor: pointer; }
.audience-tabs [role="tab"]:hover { background: var(--mist); }
.audience-tabs [role="tab"][aria-selected="true"] { background: var(--spruce); color: #fff; }

.panel { padding-top: clamp(2rem, 4vw, 2.75rem); }
.choose { max-width: none; }
.choose h2 { font-size: clamp(1.7rem, 1.4rem + 1vw, 2.1rem); }
.choose > p { color: var(--muted); font-size: 1.15rem; }
.choose-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(175px, 1fr)); gap: 1rem; margin: 1.5rem 0 0; }
.choose-grid div { border-top: 3px solid var(--lichen); padding-top: .9rem; }
.choose-grid div:first-child { border-top-color: var(--blaze); }
.choose-grid dt { font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: var(--spruce); line-height: 1.2; margin-bottom: .35rem; }
.choose-grid dd { margin: 0; color: var(--muted); font-size: 1rem; }
.choose-grid dd span { display: block; margin-top: .45rem; color: var(--ink); font-weight: 600; font-size: var(--t-sm); }

@media (max-width: 520px) { .choose-grid { grid-template-columns: 1fr; } }

.filter-bar { display: flex; flex-wrap: wrap; gap: .5rem; margin: 2.5rem 0 .5rem; }
.chip { font: inherit; font-size: 1rem; font-weight: 600; min-height: 44px; padding: 0 1rem; border-radius: 999px; border: 2px solid var(--line); background: var(--paper); color: var(--spruce); cursor: pointer; }
.chip:hover { border-color: var(--spruce); }
.chip[aria-pressed="true"] { background: var(--spruce); border-color: var(--spruce); color: #fff; }
.result-count { font-size: var(--t-sm); color: var(--muted); margin: 0 0 .75rem; }

.group-list { list-style: none; margin: 0; padding: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); }
.group { display: grid; grid-template-columns: minmax(0, 1fr) 210px 280px; gap: 1.5rem 2rem; align-items: start; padding: 1.5rem 1.75rem; border-bottom: 1px solid var(--line); }
.group:last-child { border-bottom: 0; }
.group[hidden] { display: none; }
.group h3 { font-size: 1.45rem; margin-bottom: .35rem; }
.group h3 abbr { font-family: var(--font); font-size: .95rem; font-weight: 600; color: var(--muted); text-decoration: none; margin-left: .35rem; letter-spacing: 0; }
.group-main p { margin: 0 0 .8rem; font-size: 1.05rem; }
.tags { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: .35rem; }
.tags li { font-size: var(--t-sm); padding: .1rem .6rem; border-radius: 999px; background: var(--mist); border: 1px solid var(--line); color: var(--ink); }
.group-facts { margin: .2rem 0 0; display: grid; gap: .6rem; font-size: 1rem; }
.group-facts dt { font-size: var(--t-sm); color: var(--muted); }
.group-facts dd { margin: 0; font-weight: 600; }
.group-link { min-height: 48px; margin-top: .2rem; justify-self: end; text-align: center; }
@media (max-width: 960px) {
  .group { grid-template-columns: 1fr; gap: 1rem; }
  .group-facts { grid-template-columns: 1fr 1fr; }
  .group-link { justify-self: start; white-space: normal; }
}

.safety-note { margin-top: 1.5rem; background: var(--paper); border-left: 6px solid var(--blaze); border-radius: 0 var(--radius-m) var(--radius-m) 0; padding: 1.25rem 1.5rem; }
.safety-note h2 { font-size: 1.4rem; margin-bottom: .35rem; }
.safety-note p { margin: 0; }

.after-list { margin-top: clamp(2.5rem, 5vw, 3.5rem); display: grid; gap: 1.5rem; }
.first-meeting { background: var(--spruce); color: #DCE7E1; border-radius: var(--radius-m); padding: clamp(1.5rem, 3vw, 2.25rem); }
.first-meeting h2 { color: #fff; font-size: clamp(1.6rem, 1.3rem + 1vw, 2rem); }
.first-meeting ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: .9rem 2.5rem; }
.first-meeting li { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; max-width: 48ch; }
.first-meeting li::before { content: ""; width: 16px; height: 10px; margin-top: .6em; border-radius: 5px; background: var(--blaze); }
@media (max-width: 760px) { .first-meeting ul { grid-template-columns: 1fr; } }
.source-note { font-size: var(--t-sm); color: var(--muted); max-width: 80ch; }

/* =========================================================
   Intensives page
   ========================================================= */
.section-tight { padding: 0 0 clamp(2.5rem, 5vw, 3.5rem); }
.section-tight h2 { font-size: clamp(1.7rem, 1.4rem + 1vw, 2.1rem); }
.fit-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.fit-grid > div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.5rem; }
.fit-grid > div:first-child { border-top: 4px solid var(--blaze); }
.fit-grid h2 { font-size: 1.45rem; margin-bottom: .6rem; }
.fit-grid ul { margin: 0; padding-left: 1.1rem; }
.fit-grid li { margin-bottom: .5rem; }
@media (max-width: 900px) { .fit-grid { grid-template-columns: 1fr; } }

table.compare td:last-child { white-space: nowrap; }
table.compare tbody tr[hidden] { display: none; }
.tag + .tag { margin-left: .25rem; }
@media (max-width: 700px) { .tag + .tag { margin-left: 0; margin-top: .25rem; } table.compare td .tag { margin-right: .25rem; } }
.empty-note { margin-top: 1rem; }
.linklike { font: inherit; color: var(--spruce); background: none; border: 0; padding: 0; text-decoration: underline; cursor: pointer; }

.ask-box { background: var(--spruce); color: #DCE7E1; border-radius: var(--radius-m); padding: clamp(1.5rem, 3vw, 2.25rem); }
.ask-box h2 { color: #fff; }
.ask-box ul { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem 2.5rem; }
.ask-box li { max-width: 52ch; }
.ask-box strong { display: block; color: #fff; font-weight: 700; margin-bottom: .15rem; }
@media (max-width: 760px) { .ask-box ul { grid-template-columns: 1fr; } }
.ask-box + .source-note { margin-top: 1.25rem; }
.row-note { display: block; font-weight: 400; font-size: var(--t-sm); color: var(--muted); margin-top: .35rem; }
.row-note.disclosure { color: var(--ink); padding-left: .6rem; border-left: 3px solid var(--blaze); }

/* =========================================================
   Podcasts page
   ========================================================= */
.audience-tabs.tabs-3 { grid-template-columns: repeat(3, 1fr); max-width: 900px; }
@media (max-width: 560px) { .audience-tabs.tabs-3 { grid-template-columns: 1fr; } }
.pod-list .group { grid-template-columns: minmax(0, 1fr) auto; }
.pod-host { color: var(--muted); font-size: 1rem; margin: -.15rem 0 .55rem; }
.pod-list .row-note { margin: .8rem 0 0; }
@media (max-width: 960px) { .pod-list .group { grid-template-columns: 1fr; } }

/* Podcast listen links: one per app the show is on */
.listen { display: flex; flex-direction: column; gap: .4rem; min-width: 180px; }
.listen-label { font-size: var(--t-sm); color: var(--muted); }
.listen a { display: flex; align-items: center; min-height: 44px; padding: 0 1rem; border: 2px solid var(--line); border-radius: var(--radius-s); background: var(--paper); color: var(--spruce); font-weight: 600; text-decoration: none; }
.listen a:hover { border-color: var(--spruce); }
@media (max-width: 960px) {
  .listen { flex-direction: row; flex-wrap: wrap; align-items: center; min-width: 0; }
  .listen-label { width: 100%; }
}

/* =========================================================
   Find help: two-step drill-down (who, then what kind)
   ========================================================= */
.step-label { font-family: var(--font); font-size: 1rem; font-weight: 700; color: var(--ink); letter-spacing: 0; margin: 0 0 .75rem; }
.who-tabs { display: grid; grid-template-columns: repeat(3, 1fr); gap: .75rem; }
.who-tabs [role="tab"] { font: inherit; text-align: left; display: grid; gap: .25rem; align-content: start; min-height: 96px; padding: 1.1rem 1.25rem; border: 2px solid var(--line); border-radius: var(--radius-m); background: var(--paper); color: var(--ink); cursor: pointer; }
.who-tabs [role="tab"] strong { font-family: var(--font-display); font-weight: 600; font-size: 1.4rem; line-height: 1.15; color: var(--spruce); }
.who-tabs [role="tab"] span { color: var(--muted); font-size: 1rem; line-height: 1.45; }
.who-tabs [role="tab"]:hover { border-color: var(--spruce); }
.who-tabs [role="tab"][aria-selected="true"] { background: var(--spruce); border-color: var(--spruce); }
.who-tabs [role="tab"][aria-selected="true"] strong { color: #fff; }
.who-tabs [role="tab"][aria-selected="true"] span { color: #DCE7E1; }
@media (max-width: 760px) { .who-tabs { grid-template-columns: 1fr; } .who-tabs [role="tab"] { min-height: 0; } }

.drill-panel { padding-top: clamp(2rem, 4vw, 2.75rem); }
.drill-panel > p { color: var(--muted); }
.help-list { list-style: none; margin: 0; padding: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); }
.help-list li + li { border-top: 1px solid var(--line); }
.help-row { display: grid; grid-template-columns: 44px minmax(0, 1fr) 200px 190px; gap: .4rem 1.5rem; align-items: center; padding: 1.35rem 1.75rem; text-decoration: none; color: var(--ink); }
.help-row:hover { background: #F6F9F7; }
.help-row:hover .help-go { text-decoration: underline; text-decoration-thickness: 2px; }
.help-row .blaze { box-shadow: none; }
.help-row.plain { grid-template-columns: minmax(0, 1fr) 200px 190px; }
.help-go { justify-self: end; }
.help-row h3 { margin: 0 0 .15rem; font-size: 1.4rem; }
.help-row p { margin: 0; color: var(--muted); font-size: 1rem; }
.help-row .facts { margin: 0; }
.help-go { font-weight: 700; color: var(--spruce); text-decoration: underline; text-underline-offset: .18em; white-space: nowrap; }
@media (max-width: 900px) {
  .help-row { grid-template-columns: 44px minmax(0, 1fr); padding: 1.2rem 1.25rem; }
  .help-row > :not(.blaze) { grid-column: 2; }
  .help-row.plain { grid-template-columns: 1fr; }
  .help-row.plain > * { grid-column: 1; }
  .help-go { justify-self: start; }
  .help-row .facts { display: flex; flex-wrap: wrap; gap: .2rem 1.25rem; }
}
.drill-note { margin-top: 1.25rem; font-size: 1rem; color: var(--muted); }

.guide-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; margin-top: clamp(2rem, 4vw, 2.75rem); }
.guide { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.5rem 1.75rem; scroll-margin-top: 1rem; }
.guide h3 { font-size: 1.45rem; }
.guide ul { margin: 0; padding-left: 1.1rem; }
.guide li { margin-bottom: .55rem; }
.guide .row-note { margin-top: 1rem; }
@media (max-width: 860px) { .guide-grid { grid-template-columns: 1fr; } }

/* Shared content blocks for the guide pages */
.prose-section { padding: 0 0 clamp(2.5rem, 5vw, 3.5rem); }
.prose-section h2 { font-size: clamp(1.7rem, 1.4rem + 1vw, 2.1rem); }
.prose-section > .wrap > p { color: var(--ink); }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(1.5rem, 4vw, 3rem); align-items: start; }
@media (max-width: 860px) { .two-col { grid-template-columns: 1fr; } }
.bullets { list-style: none; margin: 0; padding: 0; display: grid; gap: .8rem; }
.bullets li { display: grid; grid-template-columns: 22px 1fr; gap: .7rem; max-width: 56ch; }
.bullets li::before { content: ""; width: 16px; height: 10px; margin-top: .6em; border-radius: 5px; background: var(--lichen); }
.cred-list { margin: 0; display: grid; gap: 1rem; }
.cred-list div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.1rem 1.35rem; }
.cred-list dt { font-weight: 700; color: var(--spruce); }
.cred-list dd { margin: .2rem 0 0; color: var(--muted); font-size: 1rem; }
.callout { background: var(--paper); border-left: 6px solid var(--blaze); border-radius: 0 var(--radius-m) var(--radius-m) 0; padding: 1.5rem 1.75rem; }
.callout h2, .callout h3 { margin-top: 0; }
.callout ul { margin: 0; padding-left: 1.1rem; }
.callout li { margin-bottom: .55rem; max-width: 60ch; }
.callout p:last-child { margin-bottom: 0; }
.ext-links { list-style: none; margin: 1rem 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: .6rem; }
.ext-links a { display: inline-flex; align-items: center; min-height: 48px; padding: 0 1.1rem; border: 2px solid var(--spruce); border-radius: var(--radius-s); font-weight: 700; text-decoration: none; background: var(--paper); }
.ext-links a:hover { background: var(--lichen); }
.status-note { background: #F6F9F7; border: 1px dashed var(--muted); border-radius: var(--radius-m); padding: 1.25rem 1.5rem; }
.status-note h2 { font-size: 1.45rem; margin-bottom: .35rem; }
.status-note p { margin-bottom: .5rem; }

/* How we vet: the review process is a real sequence, so it is numbered */
.process { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; position: relative; counter-reset: step; }
.process::before { content: ""; position: absolute; left: 0; right: 0; top: 14px; border-top: 3px dashed var(--lichen); }
.process li { position: relative; padding-right: 1.25rem; counter-increment: step; }
.process li::before { content: counter(step); position: relative; z-index: 1; width: 44px; height: 30px; border-radius: 15px; background: var(--spruce); color: #fff; display: grid; place-items: center; font-weight: 700; font-size: .95rem; box-shadow: 0 0 0 5px var(--mist); }
.process li:last-child::before { background: var(--blaze); color: var(--spruce); }
.process h3 { margin: 1rem 0 .35rem; font-size: 1.3rem; }
.process p { margin: 0; color: var(--muted); font-size: 1rem; }
@media (max-width: 1000px) {
  .process { grid-template-columns: 1fr; gap: 1.5rem; }
  .process::before { left: 20px; right: auto; top: 0; bottom: 0; border-top: 0; border-left: 3px dashed var(--lichen); }
  .process li { display: grid; grid-template-columns: 44px 1fr; gap: 0 1.25rem; padding: 0; }
  .process li > * { grid-column: 2; }
  .process h3 { margin-top: .1rem; }
}
@media (min-width: 701px) { table.standard-table { min-width: 720px; } }
table.standard-table td ul { margin: 0; padding-left: 1.1rem; }
table.standard-table td li { margin-bottom: .3rem; }
@media (max-width: 700px) { table.standard-table tbody tr { grid-template-columns: minmax(0, 1fr); } table.standard-table td::before { display: none; } }
.label-list { margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 1rem; }
.label-list div { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); padding: 1.1rem 1.35rem; }
.label-list dt { margin-bottom: .35rem; }
.label-list dd { margin: 0; color: var(--muted); font-size: 1rem; }
.reviewer-band { background: var(--spruce); color: #DCE7E1; border-radius: var(--radius-m); padding: clamp(1.5rem, 3vw, 2.25rem); scroll-margin-top: 1rem; }
.reviewer-band h2, .reviewer-band h3 { color: #fff; }
.reviewer-band a { color: #fff; }
.reviewer-band .reviewers { grid-template-columns: 1fr 1fr; margin: 1.25rem 0; }
@media (max-width: 760px) { .reviewer-band .reviewers { grid-template-columns: 1fr; } }
.reviewer-band p { max-width: 70ch; }
[id] { scroll-margin-top: 1rem; }
table.standard-table tbody th { width: 240px; }

/* =========================================================
   Megamenu: "Find help" opens a full-width panel (disclosure pattern)
   ========================================================= */
.site-header { position: relative; }
.mega-toggle { font: inherit; font-weight: 600; font-size: 1rem; color: var(--spruce); background: none; border: 0; cursor: pointer; gap: .45rem; }
.mega-toggle svg { width: 12px; height: 8px; transition: transform .15s; }
.mega-toggle[aria-expanded="true"] { background: var(--lichen); }
.mega-toggle[aria-expanded="true"] svg { transform: rotate(180deg); }
.mega { position: absolute; left: 0; right: 0; top: 100%; z-index: 45; background: var(--paper); border-bottom: 1px solid var(--line); box-shadow: 0 18px 30px -18px rgba(23, 61, 56, .35); }
.mega-grid { max-width: var(--wrap); margin: 0 auto; padding: 2rem var(--gutter) 2.25rem; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)) minmax(0, 1.1fr); gap: 2rem; align-items: start; }
.mega-col { border-top: 3px solid var(--lichen); padding-top: 1rem; }
.mega-col:first-child { border-top-color: var(--blaze); }
.mega-col h2 { font-size: 1.35rem; margin: 0 0 .1rem; }
.mega-col h2 a { text-decoration: none; }
.mega-col h2 a:hover { text-decoration: underline; }
.mega-col > p { margin: 0 0 .6rem; font-size: var(--t-sm); color: var(--muted); }
.mega-col ul { list-style: none; margin: 0; padding: 0; }
.mega-col li a { display: flex; align-items: center; min-height: 40px; font-size: 1rem; font-weight: 400; color: var(--ink); text-decoration: none; }
.mega-col li a:hover { color: var(--spruce); text-decoration: underline; }
.mega-feature { background: var(--mist); border-radius: var(--radius-m); padding: 1.4rem 1.5rem; align-self: start; }
.mega-feature h2 { font-size: 1.45rem; margin-bottom: .35rem; }
.mega-feature p { font-size: 1rem; color: var(--muted); }
.mega-feature .btn { min-height: 48px; }
.mega-feature .mega-crisis { margin: 1rem 0 0; font-size: var(--t-sm); }
@media (max-width: 1100px) and (min-width: 901px) {
  .mega-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .mega-feature { grid-column: 1 / -1; display: flex; flex-wrap: wrap; align-items: center; gap: .5rem 1.5rem; }
  .mega-feature p { margin: 0; }
}
@media (max-width: 900px) {
  .mega { position: static; box-shadow: none; border: 0; background: transparent; }
  .mega-grid { grid-template-columns: 1fr; gap: 1.25rem; padding: .75rem 0 1rem .9rem; }
  .mega-toggle { justify-content: space-between; }
  .mega-col li a { min-height: 44px; }
  .nav.open { max-height: calc(100vh - 120px); overflow-y: auto; }
}

/* ---------- Footer: dark spruce band, reversed type ---------- */
.site-footer { background: var(--spruce); color: #C3D3CB; border-top: 1px solid rgba(255,255,255,.14); }
.site-footer a { color: #fff; }
.site-footer h2 { color: #fff; }
.site-footer .logo { color: #fff; }
.site-footer .logo svg rect:not(:last-child) { fill: #fff; } /* reversed cairn: white stones, amber top */
.site-footer .crisis { background: rgba(255,255,255,.07); border-color: rgba(255,255,255,.18); }
.site-footer .crisis strong { color: #fff; }
.site-footer .fine { border-top-color: rgba(255,255,255,.18); }
.site-footer :focus-visible { outline-color: var(--blaze); }

/* ---------- Long-term recovery: the foundation under the five levels ---------- */
.foundation { margin-top: 2.75rem; display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 1rem 2.5rem; align-items: end; background: var(--mist); border: 1px solid var(--line); border-radius: 28px; padding: 1.6rem 2rem 1.75rem; position: relative; }
.foundation .base-stone { grid-column: 1 / -1; height: 14px; border-radius: 7px; background: var(--spruce); }
.foundation h3 { margin: .2rem 0 .35rem; font-size: 1.5rem; }
.foundation p { margin: 0; color: var(--muted); font-size: 1rem; max-width: 70ch; }
.foundation-links { display: grid; gap: .35rem; justify-items: start; }
.foundation-links a { font-weight: 700; }
@media (max-width: 1000px) {
  .foundation { grid-template-columns: 1fr; margin-top: 2rem; padding: 1.4rem 1.4rem 1.5rem; }
}
/* Find help: foundation row under the numbered levels */
.help-row .base { width: 44px; height: 14px; border-radius: 7px; background: var(--spruce); }
.help-list li.foundation-item { border-top: 2px solid var(--spruce); background: #F6F9F7; }

/* Hovering a level lights its marker amber (homepage trail + Find help rows) */
.blaze { transition: background-color .15s, color .15s; }
.stop:hover .blaze, .stop:focus-within .blaze,
.help-row:hover .blaze, .help-row:focus-visible .blaze { background: var(--blaze); color: var(--spruce); }
.base, .base-stone { transition: background-color .15s; }
.help-row:hover .base, .foundation:hover .base-stone, .foundation:focus-within .base-stone { background: var(--blaze); }

/* ---------- Clinical review board ---------- */
.board-card { align-self: start; padding: clamp(1.25rem, 3vw, 1.75rem); border: 1px solid rgba(255,255,255,.18); border-top: 4px solid var(--blaze); border-radius: var(--radius-m); }
.board-card h3 { margin: 0 0 .6rem; font-size: 1.5rem; }
.board-card p { margin: 0 0 .8rem; color: #DCE7E1; max-width: 46ch; }
.board-card p:last-child { margin-bottom: 0; }
.reviewer-band .band-lede { font-size: 1.15rem; color: #fff; }
.reviewer-band .band-lede strong { color: #fff; }
.board-kicker { margin: 0 0 .4rem; color: var(--blaze); font-weight: 600; }
#rev-title { max-width: 30ch; }
.board-creds dd strong { color: #fff; }
.reviewer-band h3 { margin-top: 2rem; }
.board-standard { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem 2.5rem; margin-top: 1.75rem; padding-top: .25rem; border-top: 1px solid rgba(255,255,255,.18); }
.board-standard h3 { margin-top: 1.25rem; }
.board-creds { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; margin: 1.5rem 0 .5rem; }
.board-creds > div { padding-left: 1rem; border-left: 3px solid var(--blaze); }
.board-creds dt { color: #fff; font-weight: 700; margin-bottom: .3rem; }
.board-creds dd { margin: 0; color: #C3D3CB; }
.board-list { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem; }
.board-member { padding: 1.25rem; border: 1px solid rgba(255,255,255,.18); border-radius: var(--radius-m); }
.board-member h4 { margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.25rem; color: #fff; }
.board-member .creds { margin: .3rem 0 .7rem; color: var(--blaze); font-weight: 600; font-size: var(--t-sm); }
.board-member p:last-child { margin: 0; color: #C3D3CB; }
@media (max-width: 900px) { .board-creds { grid-template-columns: 1fr; } }
@media (max-width: 760px) { .board-standard, .board-list { grid-template-columns: 1fr; } }

/* ---------- Book covers ---------- */
.pod-list .group.book { grid-template-columns: 104px minmax(0, 1fr) auto; }
.book-cover { display: block; width: 104px; height: auto; border-radius: 3px; box-shadow: 0 1px 2px rgba(24,35,31,.18), 0 6px 14px -6px rgba(24,35,31,.35); background: var(--mist); }
.book-card { aspect-ratio: 2 / 3; display: flex; align-items: flex-end; padding: .7rem .65rem; background: var(--spruce); border-top: 5px solid var(--blaze); color: #fff; font-family: var(--font-display); font-weight: 600; font-size: .98rem; line-height: 1.15; }
@media (max-width: 960px) {
  .pod-list .group.book { grid-template-columns: 84px minmax(0, 1fr); }
  .pod-list .group.book .book-cover { width: 84px; grid-row: span 2; }
  .pod-list .group.book .listen { grid-column: 2; }
}

/* ---------- Legal pages ---------- */
.legal .wrap > * { max-width: 70ch; }
.legal h2 { margin-top: 2.25rem; }
.legal h3 { margin: 1.25rem 0 .35rem; font-size: 1.15rem; }
mark.draft { background: #FBE7B2; color: var(--ink); padding: 0 .2em; border-radius: 2px; }
.group-list + .source-note { margin-top: 1rem; }

/* ---------- Homepage search results ---------- */
.wayfinder .optional { font-weight: 400; color: var(--muted); }
.results { padding-top: 0; scroll-margin-top: 1rem; }
.results-head { display: flex; flex-wrap: wrap; align-items: baseline; gap: .25rem 1.25rem; margin-bottom: 1.5rem; padding-top: 2rem; border-top: 3px solid var(--blaze); }
.results-head h2 { margin: 0; }
.results-head h2:focus { outline: none; }
.results-head h2:focus-visible { outline: 3px solid var(--spruce); outline-offset: 4px; }
.results-head p { margin: 0; color: var(--muted); }
.result-guide { background: var(--paper); border: 1px solid var(--line); border-left: 4px solid var(--blaze); border-radius: var(--radius-m); padding: 1.25rem 1.5rem; margin-bottom: 2rem; max-width: 760px; }
.result-guide h3 { margin: 0 0 .35rem; }
.result-guide p { margin: 0 0 .6rem; }
.guide-links { display: flex; flex-wrap: wrap; gap: .5rem 1.5rem; margin: 0 !important; font-weight: 600; }
.result-group { margin-bottom: 2.25rem; }
.result-group h3 { display: flex; align-items: baseline; gap: .6rem; margin: 0 0 .75rem; }
.result-group .count { font-family: var(--font-body); font-size: var(--t-sm); font-weight: 600; color: var(--muted); }
.result-list { list-style: none; margin: 0; padding: 0; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-m); }
.result { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .75rem 2rem; align-items: start; padding: 1.1rem 1.5rem; border-bottom: 1px solid var(--line); }
.result:last-child { border-bottom: 0; }
.result h4 { display: inline; margin: 0; font-family: var(--font-display); font-weight: 600; font-size: 1.2rem; }
.result .here { display: inline-block; margin-left: .5rem; padding: .05rem .5rem; border-radius: 999px; background: var(--spruce); color: #fff; font-size: var(--t-sm); font-weight: 600; vertical-align: .15em; }
.result p { margin: .3rem 0 0; }
.result-meta, .result-for { color: var(--muted); font-size: 1rem; }
.result .tags { margin-top: .6rem; }
.result-go a { display: inline-flex; align-items: center; min-height: 44px; padding: 0 1rem; border: 2px solid var(--line); border-radius: var(--radius-s); color: var(--spruce); font-weight: 600; text-decoration: none; white-space: nowrap; }
.result-go a:hover { border-color: var(--spruce); }
.result-note { margin: 0 0 .75rem; color: var(--muted); }
.result-more { margin: .75rem 0 0; font-weight: 600; }
.results-note { margin-top: .5rem; }
@media (max-width: 700px) { .result { grid-template-columns: 1fr; padding: 1rem 1.1rem; } }
