/* ==========================================================================
   Marketing site styles. Direction: "warm with character".
   Mobile-first, low-data, no images beyond inline SVG and one data-URI grain.
   Colours come from tokens.css only — nothing here hard-codes a hex and
   nothing here fetches anything over the network.

   This sheet is loaded by EVERY page (the landing, pricing, help, crisis, 404,
   the legal pages, and — before app.css — login, account and chat), so the
   component classes below are a contract. See the class list at the bottom.
   ========================================================================== */

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

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1.0625rem;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  position: relative;
}
main { flex: 1 0 auto; }

/* Paper grain over the whole page. Fixed, so it never scrolls with the text;
   pointer-events none, so it never eats a click. */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background-image: var(--grain);
  background-size: 180px 180px;
  opacity: var(--grain-opacity);
  mix-blend-mode: var(--grain-blend);
  pointer-events: none;
  z-index: 60;
}

img, svg { max-width: 100%; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  color: var(--ink);
  line-height: 1.12;
  letter-spacing: -.015em;
  margin: 0 0 .5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.35rem, 7.5vw, 4.25rem); line-height: 1.03; letter-spacing: -.028em; }
h2 { font-size: clamp(1.8rem, 4.6vw, 2.75rem); }
h3 { font-size: 1.3rem; line-height: 1.2; }
h4 { font-size: 1rem; letter-spacing: 0; }

p { margin: 0 0 1em; max-width: var(--measure); }
p:last-child { margin-bottom: 0; }

a { color: var(--accent); text-underline-offset: .18em; text-decoration-thickness: from-font; }
a:hover { color: var(--accent-strong); text-decoration-thickness: 2px; }
strong { font-weight: 700; }
hr { border: 0; border-top: 1px solid var(--line); margin: 2rem 0; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, monospace; font-size: .92em; }

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

/* ------------------------------ Utilities -------------------------------- */
.visually-hidden {
  position: absolute !important; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap;
}
.skip {
  position: absolute; left: -9999px; top: 0; z-index: 100;
  background: var(--accent); color: var(--accent-ink);
  padding: .7rem 1rem; border-radius: 0 0 var(--radius-sm) 0;
  text-decoration: none; font-weight: 700;
}
.skip:focus { left: 0; }

.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: 20px;
}
.narrow { max-width: var(--measure); }
.muted { color: var(--ink-2); }
.small { font-size: .9375rem; }
.center { text-align: center; }
.center p, .center .section-intro { margin-left: auto; margin-right: auto; }
.mt-1 { margin-top: .85rem; }
.mt-2 { margin-top: 1.75rem; }
.mt-3 { margin-top: 3rem; }

/* A hand-written margin note. Caveat, never for anything load-bearing. */
.hand-note {
  font-family: var(--font-hand);
  font-size: 1.6rem;
  line-height: 1;
  color: var(--terracotta);
  transform: rotate(-3deg);
  transform-origin: left center;
  margin: 0 0 .6rem;
  max-width: none;
}

/* ------------------------------- Buttons ---------------------------------
   Every button states BOTH colour and background in both schemes, and never
   inherits the link colour — a header button used to render invisible. */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.2;
  padding: .78rem 1.25rem;
  min-height: 2.75rem;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: transform .12s ease, box-shadow .12s ease, background-color .12s ease, color .12s ease;
}
.btn:active { transform: translateY(1px); }

.btn-primary,
a.btn-primary,
button.btn-primary {
  background: var(--accent);
  color: var(--accent-ink);
  border-color: var(--accent);
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover,
.btn-primary:focus,
a.btn-primary:hover {
  background: var(--accent-strong);
  border-color: var(--accent-strong);
  color: var(--accent-ink);
}

.btn-secondary,
a.btn-secondary,
button.btn-secondary {
  background: var(--surface);
  color: var(--ink);
  border-color: var(--line-strong);
}
.btn-secondary:hover,
.btn-secondary:focus,
a.btn-secondary:hover {
  background: var(--surface-2);
  color: var(--ink);
  border-color: var(--ochre-line);
}

.btn-help,
a.btn-help,
button.btn-help {
  background: transparent;
  color: var(--terracotta);
  border-color: var(--terracotta);
  padding: .6rem 1rem;
  font-size: .9375rem;
}
.btn-help:hover,
.btn-help:focus,
a.btn-help:hover { background: var(--ochre-soft); color: var(--terracotta); }

.btn-lg { font-size: 1.0625rem; padding: .95rem 1.6rem; min-height: 3.1rem; }
.btn-block { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: .75rem; max-width: none; align-items: center; }

/* ------------------------------- Header ---------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg);
  background: color-mix(in srgb, var(--bg) 88%, transparent);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
/* Both the old markup (.container alone) and the new (.container.bar). */
.site-header .container,
.site-header .bar {
  display: flex;
  align-items: center;
  gap: .5rem 1rem;
  min-height: 68px;
  flex-wrap: wrap;
  padding-block: .5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  letter-spacing: -.02em;
  color: var(--ink);
  text-decoration: none;
}
.brand:hover { color: var(--ink); }
.brand svg, .brand .logo { width: 34px; height: 34px; flex: none; }

.nav {
  display: flex;
  align-items: center;
  gap: .35rem .9rem;
  margin-left: auto;
  flex-wrap: wrap;
}
.nav a:not(.btn), .nav-link {
  color: var(--ink-2);
  text-decoration: none;
  font-weight: 600;
  font-size: .9375rem;
  padding: .35rem .2rem;
}
.nav a:not(.btn):hover, .nav-link:hover { color: var(--ink); text-decoration: underline; }
.nav a[aria-current="page"]:not(.btn) { color: var(--ink); box-shadow: inset 0 -2px 0 var(--ochre); }
.nav .btn { padding: .55rem 1.05rem; min-height: 2.4rem; font-size: .9375rem; }
.btn-hide-sm { display: none; }

/* -------------------------------- Hero ------------------------------------ */
.hero { padding-block: 2.5rem 1rem; }
.hero .container, .hero-grid { display: grid; gap: 2.5rem; align-items: center; }

.lead {
  font-size: clamp(1.0625rem, 2.6vw, 1.3rem);
  line-height: 1.55;
  color: var(--ink-2);
  max-width: 34ch;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: .75rem;
  align-items: center;
  margin-top: 1.5rem;
}

.trust {
  margin-top: 1.25rem;
  font-size: .9375rem;
  color: var(--ink-2);
  max-width: 44ch;
}

/* Hero art: a conversation excerpt with drawn shapes around it. */
.hero-art {
  position: relative;
  padding: 3.25rem .5rem 4.5rem;
}
.hero-art > svg { position: absolute; }
.art-sun { width: 104px; height: 104px; top: 0; right: 10px; }
.art-hills { width: 220px; height: 82px; left: 12%; bottom: 0; opacity: .85; }
.art-cup { width: 78px; height: 72px; left: 8px; bottom: 6px; }

.excerpt {
  position: relative;
  z-index: 1;
  margin: 0;
  padding: 1.25rem 1.25rem 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  transform: rotate(-1.1deg);
}
.excerpt-cap {
  font-family: var(--font-hand);
  font-size: 1.25rem;
  color: var(--muted);
  margin-bottom: .6rem;
}

.bubble { border-radius: var(--radius); padding: .85rem 1rem; margin-bottom: .7rem; }
.bubble p { margin: 0; font-size: 1rem; line-height: 1.5; max-width: none; }
.bubble-person {
  background: var(--ochre-soft);
  border: 1px solid var(--ochre-line);
  border-bottom-right-radius: 6px;
  margin-left: 2rem;
  color: var(--ink);
}
.bubble-companion {
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
  /* A theme variant may repaint --accent-soft to the same warm tint the person
     bubble uses, so the two voices also differ structurally: this spine and the
     opposite corner. */
  border-left: 3px solid var(--accent);
  border-bottom-left-radius: 6px;
  margin-right: 1.5rem;
  color: var(--ink);
}
.bubble-who {
  font-family: var(--font-display);
  font-size: .8125rem;
  font-weight: 600;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 .3rem;
}

.excerpt-foot {
  display: flex;
  align-items: center;
  gap: .5rem;
  color: var(--muted);
  font-size: .875rem;
  padding-left: .2rem;
}
.excerpt-foot-text { font-family: var(--font-hand); font-size: 1.125rem; }
.dots { display: inline-flex; gap: 4px; }
.dots i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent-line); display: block; }

/* ------------------------------ Sections --------------------------------- */
.section { padding-block: 3.25rem; }
.section-alt {
  background: var(--bg-2);
  border-block: 1px solid var(--line);
}
.page-head { padding: 2.75rem 0 .5rem; }
.page-head p { color: var(--ink-2); font-size: 1.15rem; max-width: var(--measure); }
.page-head + .section { padding-top: 1.75rem; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--terracotta);
  margin-bottom: .6rem;
}
.eyebrow::after {
  content: "";
  display: block;
  width: 2.5rem;
  height: 3px;
  margin-top: .45rem;
  border-radius: 3px;
  background: var(--ochre);
}

.section-intro {
  font-size: 1.125rem;
  color: var(--ink-2);
  max-width: 52ch;
}

.grid { display: grid; gap: 1.25rem; }
.two-col { display: grid; gap: 2rem; }

/* -------------------------------- Cards ---------------------------------- */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.card h3 { margin-top: 0; }
.card p:last-child { margin-bottom: 0; }

/* Numbered step card: big ochre numeral over a dashed rule. */
.card-step { position: relative; padding-top: 1.75rem; }
.step-n {
  display: block;
  font-family: var(--font-display);
  font-size: 3rem;
  line-height: 1;
  font-weight: 600;
  color: var(--ochre);
  margin-bottom: .35rem;
}
.card-step::after {
  content: "";
  position: absolute;
  left: 1.5rem;
  right: 1.5rem;
  top: 5.6rem;
  height: 2px;
  border-radius: 2px;
  background: repeating-linear-gradient(90deg, var(--ochre-line) 0 14px, transparent 14px 22px);
  opacity: .8;
}
.card-step h3 { margin-top: 1.35rem; }

.card-quote { position: relative; background: var(--surface); padding-top: 2.6rem; }
.card-quote::before {
  content: "\201C";
  position: absolute;
  top: .1rem;
  left: 1.25rem;
  font-family: var(--font-display);
  font-size: 4.5rem;
  line-height: 1;
  color: var(--ochre-line);
}
.card-quote h3 { color: var(--accent); }

/* -------------------------------- Chips ---------------------------------- */
.chips {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: .6rem;
  padding: 0;
  margin: 1.5rem 0 0;
}
.chips li {
  background: var(--surface);
  border: 1px solid var(--line-strong);
  border-bottom-width: 3px;
  border-radius: var(--radius-pill);
  padding: .6rem 1.05rem;
  font-size: .9375rem;
  font-weight: 600;
  color: var(--ink);
  box-shadow: var(--shadow-sm);
}
.chips li:nth-child(3n+1) { background: var(--ochre-soft); border-color: var(--ochre-line); }
.chips li:nth-child(3n+2) { background: var(--accent-soft); border-color: var(--accent-line); }

/* ---------------------------- Ticked lists -------------------------------- */
ul.checks, ul.plain { list-style: none; padding: 0; margin: 1rem 0 0; display: grid; gap: .85rem; }
ul.checks li, ul.plain li {
  position: relative;
  padding-left: 2.1rem;
  color: var(--ink-2);
  max-width: var(--measure);
}
ul.checks li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .25em;
  width: 1.3rem;
  height: 1.3rem;
  border-radius: 50%;
  background: var(--accent-soft);
  border: 1px solid var(--accent-line);
}
ul.checks li::after {
  content: "";
  position: absolute;
  left: .38rem;
  top: .58em;
  width: .5rem;
  height: .28rem;
  border-left: 2.5px solid var(--accent);
  border-bottom: 2.5px solid var(--accent);
  transform: rotate(-45deg);
}
ul.plain li::before {
  content: "";
  position: absolute;
  left: .3rem;
  top: .85em;
  width: .85rem;
  height: 2px;
  background: var(--ochre);
  border-radius: 2px;
}

/* -------------------------------- Plans ---------------------------------- */
.plans { display: grid; gap: 1.25rem; }
.plan, .card-plan { display: flex; flex-direction: column; text-align: left; }
.plan ul, .card-plan ul { margin: 0 0 1.5rem; }
.plan .btn, .card-plan .btn { margin-top: auto; align-self: flex-start; }
/* Flex children stretch by default; the badge and the price must not. */
.plan .badge, .card-plan .badge { align-self: flex-start; }
.price {
  font-family: var(--font-display);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1;
  color: var(--accent);
  margin: .25rem 0 .5rem;
}
.price small { font-family: var(--font-body); font-size: .9375rem; font-weight: 600; color: var(--ink-2); }

.plan-featured {
  border-color: var(--accent);
  border-width: 2px;
  box-shadow: var(--shadow);
  background: var(--surface);
}
.badge {
  display: inline-block;
  background: var(--ochre);
  color: #241B0C;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  padding: .25rem .7rem;
  border-radius: var(--radius-pill);
  margin-bottom: .6rem;
}
.card .badge + h3 { margin-top: .25rem; }

/* --------------------------------- FAQ ----------------------------------- */
.faq { display: grid; gap: .6rem; max-width: 58rem; }
.faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: .95rem 1.15rem;
}
.faq summary {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--ink);
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  font-family: var(--font-body);
  font-size: 1.4rem;
  line-height: 1;
  color: var(--terracotta);
  flex: none;
}
.faq details[open] summary::after { content: "\2013"; }
.faq details > :not(summary) { color: var(--ink-2); margin: .75rem 0 0; max-width: var(--measure); }
.faq details ul, .faq details ol { padding-left: 1.4rem; }

/* ---------------------------- Crisis lines -------------------------------- */
.lines { list-style: none; padding: 0; margin: 0; display: grid; gap: .75rem; }
.lines li {
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 5px solid var(--terracotta);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: .15rem 1rem;
  align-items: baseline;
  justify-content: space-between;
  box-shadow: var(--shadow-sm);
}
.lines .who { font-weight: 700; color: var(--ink); }
.lines .hours { color: var(--ink-2); font-size: .9rem; flex-basis: 100%; }
.lines .num {
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--terracotta);
  text-decoration: none;
  white-space: nowrap;
}
.lines a.num:hover { text-decoration: underline; color: var(--terracotta); }
.lines li:focus-within { outline: 2px solid var(--terracotta); outline-offset: 2px; }

/* -------------------------------- Callouts -------------------------------- */
.callout {
  border: 1px solid var(--accent-line);
  border-left: 5px solid var(--accent);
  background: var(--accent-soft);
  color: var(--ink);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  margin: 1.5rem 0;
}
.callout-warn { border-color: var(--ochre-line); border-left-color: var(--warn); background: var(--warn-soft); }
.callout-danger { border-color: var(--danger); border-left-color: var(--danger); background: var(--danger-soft); }
.callout p:last-child { margin-bottom: 0; }
.callout a { color: var(--accent-strong); }
.callout-warn a, .callout-danger a { color: var(--terracotta); }

/* -------------------- Prose: the legal and help pages --------------------- */
.prose { max-width: var(--measure); }
.prose h2 { margin-top: 2.5rem; font-size: clamp(1.4rem, 3vw, 1.75rem); }
.prose h3 { margin-top: 1.75rem; }
.prose ul, .prose ol { padding-left: 1.4rem; }
.prose li { margin: .35rem 0; }
.prose p { color: var(--ink-2); }
.prose .toc {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1rem 1.25rem 1rem 2.5rem;
  margin: 1.5rem 0;
  box-shadow: var(--shadow-sm);
}
.prose .toc li { margin: .25rem 0; }
.prose ol.toc { list-style: decimal; }

.table-wrap { overflow-x: auto; margin: 1rem 0; }
table { border-collapse: collapse; }
.prose table, .table-wrap table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.prose th, .prose td, .table-wrap th, .table-wrap td {
  text-align: left;
  padding: .65rem .8rem;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}
.prose th, .table-wrap th { color: var(--ink); font-weight: 700; }
.prose thead th, .table-wrap thead th { border-bottom: 2px solid var(--line-strong); }

/* A deploy-time placeholder that has not been filled in yet. site.js adds
   .filled once the real value arrives, and the highlight disappears. */
.ph {
  background: var(--ochre-soft);
  padding: 0 .3em;
  border-radius: 4px;
  font-family: ui-monospace, Menlo, monospace;
  font-size: .9em;
  color: var(--warn);
}
.ph.filled { background: none; padding: 0; font-family: inherit; font-size: inherit; color: inherit; }

.consent-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0;
  box-shadow: var(--shadow-sm);
}
.consent-box .check { display: flex; gap: .75rem; align-items: flex-start; margin: .75rem 0; }
.consent-box .check span:first-child {
  flex: none;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: .2rem;
  border: 2px solid var(--accent);
  border-radius: 5px;
  background: var(--accent-soft);
}
.doc-meta { color: var(--muted); font-size: .9rem; margin-bottom: 1.5rem; }

/* ------------------------------- Last CTA --------------------------------- */
.last-cta .art-arc { width: 200px; height: 54px; margin: 0 auto .5rem; display: block; }

/* -------------------------------- Footer ---------------------------------- */
.site-footer {
  background: var(--bg-2);
  border-top: 1px solid var(--line);
  margin-top: 3rem;
  padding-block: 2.5rem 2rem;
  color: var(--ink-2);
  font-size: .9375rem;
}
.crisis-strip {
  background: var(--ochre-soft);
  border: 1px solid var(--ochre-line);
  border-left: 5px solid var(--terracotta);
  border-radius: var(--radius);
  padding: 1rem 1.1rem;
  color: var(--ink);
  margin-bottom: 2rem;
}
.crisis-strip strong { display: block; font-family: var(--font-display); font-size: 1.0625rem; margin-bottom: .2rem; }
.crisis-strip a { color: var(--terracotta); text-decoration: underline; }
.crisis-strip a.num, .crisis-strip .num { font-weight: 700; color: var(--terracotta); white-space: nowrap; text-decoration: none; }
.crisis-strip a.num:hover { text-decoration: underline; }

.site-footer .cols { display: grid; gap: 1.75rem; }
.site-footer h4 {
  font-family: var(--font-body);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: var(--ink);
  margin: 0 0 .6rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .4rem; }
.site-footer li { margin: 0; }
.site-footer a { color: var(--ink-2); text-decoration: none; }
.site-footer a:hover { color: var(--accent); text-decoration: underline; }
.site-footer .brand { font-size: 1.2rem; color: var(--ink); }

.fine, .site-footer .fine {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--line);
  font-size: .8125rem;
  line-height: 1.6;
  color: var(--muted);
  max-width: none;
}
.fine a { color: var(--muted); text-decoration: underline; }

/* ---------------------------- Cookie notice -------------------------------
   Built by scripts/site.js: .cookie-notice > p + .actions > .btn. */
.cookie-notice {
  position: fixed;
  left: 1rem; right: 1rem; bottom: 1rem;
  z-index: 70;
  max-width: 42rem;
  margin-inline: auto;
  background: var(--surface);
  color: var(--ink);
  border: 1px solid var(--line-strong);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lift);
  padding: 1rem 1.25rem;
  display: flex;
  flex-wrap: wrap;
  gap: .75rem 1rem;
  align-items: center;
  font-size: .9375rem;
}
.cookie-notice p { margin: 0; flex: 1 1 16rem; max-width: none; color: var(--ink-2); }
.cookie-notice .actions { display: flex; flex-wrap: wrap; gap: .5rem; }
.cookie-notice .btn { padding: .6rem 1.05rem; min-height: 2.4rem; font-size: .9375rem; }

/* --------------------------------- 404 ------------------------------------ */
.page-404 { text-align: center; padding: 5rem 0; }
.page-404 h1 { font-size: clamp(2.5rem, 8vw, 4.5rem); }

/* ------------------------------ Breakpoints ------------------------------- */
@media (min-width: 40em) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 640px) {
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .btn-hide-sm { display: inline-flex; }
  .site-footer .cols { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 48em) {
  .plans { grid-template-columns: repeat(3, 1fr); align-items: stretch; }
}

@media (min-width: 900px) {
  body { font-size: 1.125rem; }
  .section { padding-block: 4.5rem; }
  .page-head { padding: 4rem 0 .5rem; }
  .hero { padding-block: 4rem 2.5rem; }
  .hero .container, .hero-grid { grid-template-columns: 1.05fr .95fr; gap: 3rem; }
  .hero-art { padding: 4rem 1.5rem 5.5rem 2.5rem; }
  .art-sun { width: 148px; height: 148px; top: 0; right: 22px; }
  .art-cup { width: 100px; height: 92px; left: 18px; bottom: 2px; }
  .art-hills { width: 280px; height: 104px; left: 26%; bottom: 0; }
  .excerpt { padding: 1.5rem 1.5rem 1.15rem; }
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .two-col { grid-template-columns: 1.05fr .95fr; gap: 3rem; align-items: start; }
  .site-footer .cols { grid-template-columns: 2fr 1fr 1fr 1.2fr; gap: 2.5rem; }
  .nav { gap: 1.4rem; }
  .plans { align-items: stretch; }
  .plan-featured { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .excerpt, .hand-note, .plan-featured { transform: none !important; }
}

/* ==========================================================================
   Component contract — classes other pages rely on, kept working here:

   Layout      .container .narrow .section .section-alt .page-head .grid
               .grid-2 .grid-3 .two-col .center .mt-1 .mt-2 .mt-3 .small
               .muted .visually-hidden .skip
   Header      .site-header .brand .logo .nav .nav-link [aria-current=page]
   Buttons     .btn .btn-primary .btn-secondary .btn-help .btn-lg .btn-block
               .btn-hide-sm .btn-row
   Hero        .hero .lead .hero-actions .trust .hero-art .hand-note
               .excerpt .excerpt-cap .bubble .bubble-person .bubble-companion
               .bubble-who .excerpt-foot .dots .art-sun .art-hills .art-cup
   Content     .eyebrow .section-intro .card .card-step .step-n .card-quote
               .chips ul.checks ul.plain .callout .callout-warn .callout-danger
   Pricing     .plans .plan .card-plan .plan-featured .price .badge
   FAQ         .faq (details/summary)
   Crisis      .lines .who .hours .num
   Legal/help  .prose .toc .table-wrap .ph .ph.filled .consent-box .check
               .doc-meta
   Footer      .site-footer .cols .fine .crisis-strip .num
   Notices     .cookie-notice .actions
   404         .page-404
   ========================================================================== */
