/* Solstice marketing site
 * Palette: "Empathetic Guard" (see ../ColorPalette.md) — deep teal authority, slate-blue calm,
 * mint reserved for conversion buttons (charcoal text on mint for contrast).
 * Type: Merriweather (headings) + Lato (body), self-hosted under /static/fonts (SIL OFL 1.1).
 * No framework, no build step. Every page shares this one stylesheet.
 */

/* ── Fonts ─────────────────────────────────────────────────────────────── */
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("/static/fonts/lato-400.woff2") format("woff2");
}
@font-face {
  font-family: "Lato";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/static/fonts/lato-700.woff2") format("woff2");
}
@font-face {
  font-family: "Merriweather";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("/static/fonts/merriweather-700.woff2") format("woff2");
}

/* ── Tokens ────────────────────────────────────────────────────────────── */
:root {
  --teal: #0b4f55;          /* primary: headings, nav, primary buttons */
  --teal-strong: #083c41;
  --teal-soft: #e3f0ef;
  --slate: #5b84b1;         /* secondary accent: icons, decorative */
  --link: #2f5f8f;          /* slate darkened to clear 4.5:1 as text */
  --mint: #48c0a4;          /* CTA fill only */
  --mint-strong: #36a98e;
  --sun: #f2b84b;           /* brand sun — decorative only, never text */
  --sun-soft: #fdf1d8;
  --ice: #f4f8fa;           /* 60% background */
  --surface: #ffffff;
  --ink: #2d3748;           /* body text */
  --ink-2: #4a5568;         /* secondary text */
  --muted: #5f6b7c;         /* captions, sources (>=4.5:1 on white and ice) */
  --line: #d9e2ea;
  --line-strong: #c3cfdb;
  --cta-ink: #1c2530;       /* text on mint */
  --chart-accent: #00897b;  /* validated: light surface */
  --chart-muted: #8793a5;   /* de-emphasis bars */
  --chart-grid: #e6ecf1;
  --shadow: 0 1px 2px rgba(16, 42, 67, 0.06), 0 8px 24px rgba(16, 42, 67, 0.08);
  --shadow-lg: 0 2px 4px rgba(16, 42, 67, 0.06), 0 18px 48px rgba(16, 42, 67, 0.14);
  --radius: 14px;
  --radius-sm: 8px;
  --font-head: "Merriweather", Georgia, "Times New Roman", serif;
  --font-body: "Lato", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --max: 1160px;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --teal: #5dd9c1;
    --teal-strong: #8ee6d4;
    --teal-soft: #13302f;
    --slate: #9cc0e8;
    --link: #9cc0e8;
    --mint: #48c0a4;
    --mint-strong: #5fcfb4;
    --sun: #f2b84b;
    --sun-soft: #33291a;
    --ice: #0f1419;
    --surface: #161d26;
    --ink: #e8ebf0;
    --ink-2: #c3cad5;
    --muted: #a3adbb;
    --line: #2a3441;
    --line-strong: #3a4656;
    --cta-ink: #0f1419;
    --chart-accent: #26a68f;
    --chart-muted: #808da0;
    --chart-grid: #232c38;
    --shadow: 0 1px 2px rgba(0, 0, 0, 0.3), 0 8px 24px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 2px 4px rgba(0, 0, 0, 0.3), 0 18px 48px rgba(0, 0, 0, 0.45);
  }
}

/* ── Base ──────────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: clamp(1rem, 0.35vw + 0.93rem, 1.125rem);
  line-height: 1.65;
  color: var(--ink);
  background: var(--ice);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: var(--font-head);
  color: var(--teal);
  line-height: 1.22;
  margin: 0 0 0.5em;
  font-weight: 700;
  letter-spacing: -0.01em;
}
h1 { font-size: clamp(2rem, 4.2vw, 3.1rem); line-height: 1.14; }
h2 { font-size: clamp(1.55rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.15rem, 1.6vw, 1.35rem); }
h4 { font-size: 1.05rem; }
p { margin: 0 0 1em; }
a { color: var(--link); text-underline-offset: 3px; }
a:hover { text-decoration-thickness: 2px; }
img, svg { max-width: 100%; }
strong { font-weight: 700; }
small { font-size: 0.875rem; }

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

.container { width: min(100% - 2.5rem, var(--max)); margin-inline: auto; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--muted); }
.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap;
}

.skip-link {
  position: absolute; left: 1rem; top: 0; transform: translateY(-120%);
  background: var(--teal); color: #fff;
  padding: 0.6rem 1rem; border-radius: var(--radius-sm);
  z-index: 100; font-weight: 700;
}
.skip-link:focus { transform: translateY(1rem); }

/* ── Coverage bar: where Solstice works today, on every page ───────────── */
.coverage-bar {
  background: var(--teal); color: #fff; font-size: 0.9rem; line-height: 1.45;
  padding: 0.5rem 0; text-align: center;
}
.coverage-bar p { margin: 0; }
.coverage-bar a { color: #fff; font-weight: 700; }
.coverage-bar .pin { color: var(--sun); margin-right: 0.35rem; vertical-align: -2px; }
@media (prefers-color-scheme: dark) {
  .coverage-bar { background: #0b4f55; }
}

/* ── Header / navigation ───────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--surface) 92%, transparent);
  backdrop-filter: saturate(1.4) blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1rem; min-height: 68px;
}
.logo {
  display: inline-flex; align-items: center; gap: 0.6rem;
  text-decoration: none; color: var(--teal);
}
.logo-mark { width: 36px; height: 36px; flex: none; }
.logo-text {
  font-family: var(--font-head); font-weight: 700;
  font-size: 1.35rem; letter-spacing: 0.01em;
}

.nav { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
  color: var(--ink-2); text-decoration: none; font-weight: 700;
  font-size: 0.95rem; padding: 0.5rem 0.7rem; border-radius: var(--radius-sm);
}
.nav-link:hover { color: var(--teal); background: var(--teal-soft); }
.nav-link[aria-current="page"] { color: var(--teal); box-shadow: inset 0 -3px 0 var(--mint); border-radius: 0; }
.nav-cta { margin-left: 0.5rem; }

.nav-toggle {
  display: none;
  background: none; border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 0.45rem 0.6rem; color: var(--teal); cursor: pointer;
}
.nav-toggle svg { display: block; }

@media (max-width: 940px) {
  .nav-toggle { display: inline-flex; }
  .nav {
    display: none;
    position: absolute; left: 0; right: 0; top: 100%;
    flex-direction: column; align-items: stretch;
    background: var(--surface); border-bottom: 1px solid var(--line);
    padding: 0.75rem 1.25rem 1.25rem; gap: 0.25rem;
    box-shadow: var(--shadow);
  }
  .nav.nav-open { display: flex; }
  .nav-link[aria-current="page"] { box-shadow: inset 3px 0 0 var(--mint); }
  .nav-cta { margin: 0.5rem 0 0; text-align: center; }
}

/* ── Buttons ───────────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  font-family: var(--font-body); font-weight: 700; font-size: 1rem;
  padding: 0.85rem 1.4rem; border-radius: 999px;
  text-decoration: none; border: 2px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, background-color 0.15s ease, box-shadow 0.15s ease;
  line-height: 1.2;
}
.btn:hover { transform: translateY(-1px); text-decoration: none; }
.btn-cta { background: var(--mint); color: var(--cta-ink); box-shadow: 0 6px 18px rgba(72, 192, 164, 0.35); }
.btn-cta:hover { background: var(--mint-strong); }
.btn-primary { background: var(--teal); color: #fff; }
@media (prefers-color-scheme: dark) { .btn-primary { color: #0f1419; } }
.btn-primary:hover { background: var(--teal-strong); }
.btn-secondary { background: transparent; color: var(--teal); border-color: var(--teal); }
.btn-secondary:hover { background: var(--teal-soft); }
.btn-sm { padding: 0.55rem 1rem; font-size: 0.92rem; }
.btn-block { width: 100%; }
.btn-arrow::after { content: "→"; transition: transform 0.15s ease; }
.btn-arrow:hover::after { transform: translateX(3px); }

/* ── Sections ──────────────────────────────────────────────────────────── */
.section { padding: clamp(3.5rem, 7vw, 6rem) 0; }
.section-alt { background: var(--surface); border-block: 1px solid var(--line); }
.section-teal {
  background: linear-gradient(160deg, #0b4f55 0%, #0e3f52 100%);
  color: #e8f3f2;
}
.section-teal h2, .section-teal h3 { color: #ffffff; }
.section-teal a:not(.btn) { color: #bfe9df; }
.section-header { max-width: 760px; margin: 0 auto clamp(2rem, 4vw, 3rem); text-align: center; }
.section-header p { color: var(--ink-2); font-size: 1.1rem; }
.section-teal .section-header p { color: #cfe5e2; }
.eyebrow {
  display: inline-block; font-family: var(--font-body); font-weight: 700;
  font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
  color: var(--link); margin-bottom: 0.75rem;
}
.section-teal .eyebrow { color: var(--mint); }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(3rem, 7vw, 5.5rem) 0 clamp(3.5rem, 7vw, 6rem);
  background:
    radial-gradient(1100px 520px at 88% -8%, var(--sun-soft) 0%, transparent 60%),
    radial-gradient(900px 520px at -10% 110%, var(--teal-soft) 0%, transparent 60%),
    var(--ice);
}
.hero-inner {
  display: grid; grid-template-columns: 1.08fr 0.92fr;
  gap: clamp(2rem, 5vw, 4rem); align-items: center;
}
.hero-lede { font-size: clamp(1.08rem, 1vw + 0.85rem, 1.3rem); color: var(--ink-2); max-width: 36em; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.85rem; margin: 1.75rem 0 1rem; }
.hero-assurances {
  display: flex; flex-wrap: wrap; gap: 0.5rem 1.25rem;
  list-style: none; padding: 0; margin: 0 0 1.25rem;
  font-size: 0.95rem; color: var(--ink-2);
}
.hero-assurances li { display: inline-flex; align-items: center; gap: 0.4rem; }
.hero-assurances svg { color: var(--mint-strong); flex: none; }
.hero-note { font-size: 0.9rem; color: var(--muted); max-width: 40em; }
.page-hero { padding-bottom: clamp(2.5rem, 5vw, 4rem); }
.page-hero .hero-inner { grid-template-columns: 1fr; text-align: center; }
.page-hero .hero-lede { margin-inline: auto; }
.page-hero .hero-actions { justify-content: center; }

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

/* Hero illustration: a conversation card rising over a sunrise */
.hero-visual { position: relative; margin: 0; max-width: 460px; margin-left: auto; }
/* The sun rises from behind the conversation: its base sits under the card's top edge. */
.hero-sun { display: block; width: 86%; margin: 0 auto -9%; pointer-events: none; }
.chat-card {
  position: relative; z-index: 1;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 20px; box-shadow: var(--shadow-lg);
  padding: 1.25rem; max-width: 460px; margin-left: auto;
}
.chat-head {
  display: flex; align-items: center; gap: 0.6rem;
  padding-bottom: 0.9rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line);
  font-weight: 700; color: var(--teal); font-size: 0.95rem;
}
.chat-head .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--mint); }
.bubble {
  padding: 0.8rem 1rem; border-radius: 16px; font-size: 0.95rem;
  line-height: 1.5; margin-bottom: 0.75rem; max-width: 88%;
}
.bubble-user { background: var(--teal); color: #fff; margin-left: auto; border-bottom-right-radius: 4px; }
@media (prefers-color-scheme: dark) { .bubble-user { color: #0f1419; } }
.bubble-ai { background: var(--ice); border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.bubble-ai .cite {
  display: inline-block; margin-top: 0.35rem; font-size: 0.78rem;
  color: var(--link); font-weight: 700;
}
.chat-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.chip {
  display: inline-flex; align-items: center; gap: 0.35rem;
  font-size: 0.8rem; font-weight: 700; padding: 0.35rem 0.7rem;
  border-radius: 999px; background: var(--teal-soft); color: var(--teal);
}
.chip-sun { background: var(--sun-soft); color: #7a5410; }
@media (prefers-color-scheme: dark) { .chip-sun { color: var(--sun); } }

/* ── Path chooser ("Where are you right now?") ─────────────────────────── */
.path-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
@media (max-width: 1000px) { .path-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .path-grid { grid-template-columns: 1fr; } }
.path-card {
  display: flex; flex-direction: column; gap: 0.5rem;
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.4rem; text-decoration: none; color: var(--ink);
  box-shadow: var(--shadow); transition: transform 0.18s ease, border-color 0.18s ease;
}
.path-card:hover { transform: translateY(-3px); border-color: var(--mint); }
.path-card h3 { margin: 0.25rem 0 0; font-size: 1.12rem; }
.path-card p { margin: 0; color: var(--ink-2); font-size: 0.97rem; }
.path-card .go { margin-top: auto; padding-top: 0.5rem; font-weight: 700; color: var(--link); }
.path-card .go::after { content: " →"; }
.icon-badge {
  width: 48px; height: 48px; border-radius: 12px; display: grid; place-items: center;
  background: var(--teal-soft); color: var(--teal); flex: none;
}
.icon-badge.sun { background: var(--sun-soft); color: #b07a12; }
@media (prefers-color-scheme: dark) { .icon-badge.sun { color: var(--sun); } }
.icon-badge svg { width: 26px; height: 26px; }

/* ── Pro se explainer + stat tiles ─────────────────────────────────────── */
.explainer { display: grid; grid-template-columns: 0.9fr 1.1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 900px) { .explainer { grid-template-columns: 1fr; } }
.term-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow-lg); position: relative;
}
.term-card::before {
  content: ""; position: absolute; left: 0; top: 1.5rem; bottom: 1.5rem;
  width: 5px; border-radius: 0 5px 5px 0; background: var(--mint);
}
.term-word { font-family: var(--font-head); font-size: clamp(2rem, 4vw, 2.8rem); color: var(--teal); margin: 0; }
.term-say { color: var(--muted); font-size: 1rem; margin: 0.15rem 0 1rem; }
.term-def { font-size: 1.12rem; margin-bottom: 0.75rem; }
.term-also { font-size: 0.95rem; color: var(--ink-2); margin: 0; }

.stat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
/* Beside the pro se card the stats read as a ranked list: figure left, meaning right. */
.explainer .stat-grid { grid-template-columns: 1fr; }
.explainer .stat-tile {
  display: grid; grid-template-columns: minmax(10.5rem, 36%) 1fr; column-gap: 1.25rem; row-gap: 0.2rem;
  align-items: center;
}
.explainer .stat-value { grid-row: span 3; font-size: clamp(1.9rem, 2.8vw, 2.4rem); white-space: nowrap; }
.explainer .stat-meter { margin-top: 0.2rem; }
.explainer .stat-source { padding-top: 0.15rem; }
@media (max-width: 480px) { .explainer .stat-tile { grid-template-columns: 1fr; } .explainer .stat-value { grid-row: auto; } }
@media (max-width: 760px) { .stat-grid { grid-template-columns: 1fr; } }
.stat-tile {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.35rem; display: flex; flex-direction: column; gap: 0.35rem;
}
.stat-value {
  font-family: var(--font-body); font-weight: 700; color: var(--teal);
  font-size: clamp(2.4rem, 4.5vw, 3.1rem); line-height: 1;
}
.stat-label { font-size: 1rem; color: var(--ink); }
.stat-source { font-size: 0.82rem; color: var(--muted); margin-top: auto; padding-top: 0.5rem; }
.stat-meter { height: 8px; border-radius: 4px; background: var(--teal-soft); overflow: hidden; margin-top: 0.4rem; }
.stat-meter span { display: block; height: 100%; border-radius: 4px; background: var(--chart-accent); }

/* ── Steps (numbered walkthrough) ──────────────────────────────────────── */
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; counter-reset: step; }
@media (max-width: 1000px) { .steps { grid-template-columns: 1fr; max-width: 640px; margin-inline: auto; } }
.step {
  position: relative; background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--radius); padding: 1.5rem 1.25rem 1.35rem;
  counter-increment: step;
}
.step::before {
  content: counter(step);
  display: grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--teal); color: #fff; font-weight: 700; font-size: 1.05rem;
  margin-bottom: 0.85rem;
}
@media (prefers-color-scheme: dark) { .step::before { color: #0f1419; } }
.step:first-child::before { background: var(--mint); color: var(--cta-ink); }
.step h3 { font-size: 1.08rem; margin-bottom: 0.35rem; }
.step p { font-size: 0.96rem; color: var(--ink-2); margin: 0; }
.steps-cta { text-align: center; margin-top: 2.25rem; }

/* ── Feature cards ─────────────────────────────────────────────────────── */
.card-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.card-grid.two { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .card-grid, .card-grid.two { grid-template-columns: 1fr; } }
.card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.6rem; box-shadow: var(--shadow);
}
.card h3 { margin-top: 0.9rem; }
.card p { color: var(--ink-2); margin-bottom: 0; }
.card ul { margin: 0.75rem 0 0; padding-left: 1.2rem; color: var(--ink-2); }
.card li { margin-bottom: 0.35rem; }
.tag {
  display: inline-block; font-size: 0.75rem; font-weight: 700; letter-spacing: 0.04em;
  padding: 0.2rem 0.55rem; border-radius: 999px; margin: 0.9rem 0.3rem 0 0;
  background: var(--teal-soft); color: var(--teal);
}
.tag.sun { background: var(--sun-soft); color: #7a5410; }
@media (prefers-color-scheme: dark) { .tag.sun { color: var(--sun); } }

.split { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(2rem, 5vw, 4rem); align-items: center; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }
.check-list { list-style: none; padding: 0; margin: 1rem 0 1.5rem; }
.check-list li { position: relative; padding-left: 2rem; margin-bottom: 0.7rem; }
.check-list li::before {
  content: ""; position: absolute; left: 0; top: 0.25em;
  width: 1.2rem; height: 1.2rem; border-radius: 50%;
  background: var(--mint) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M5 10.5l3.2 3.2L15 7' fill='none' stroke='%231c2530' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}
.x-list li::before {
  background: var(--line-strong) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath d='M6.5 6.5l7 7M13.5 6.5l-7 7' fill='none' stroke='%232d3748' stroke-width='2.2' stroke-linecap='round'/%3E%3C/svg%3E") center / 80% no-repeat;
}

/* ── Testimonials ──────────────────────────────────────────────────────── */
.testimonial-feature {
  position: relative; margin: 0 auto; max-width: 920px; text-align: center;
  padding: clamp(2rem, 5vw, 3.25rem) clamp(1.5rem, 5vw, 3.5rem);
  background: var(--surface); border: 1px solid var(--line); border-radius: 24px;
  box-shadow: var(--shadow-lg);
}
.testimonial-feature .quote-mark { width: 54px; height: 54px; color: var(--mint); margin: 0 auto 0.5rem; display: block; }
.testimonial-feature blockquote { margin: 0; }
.testimonial-feature blockquote p {
  font-family: var(--font-head); color: var(--teal);
  font-size: clamp(1.35rem, 2.6vw, 2rem); line-height: 1.4; margin: 0 0 1.25rem;
}
.testimonial-feature figcaption { color: var(--ink-2); font-size: 1rem; }
.testimonial-feature figcaption strong { color: var(--ink); }
.testimonial-avatar {
  width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 0.6rem;
  display: grid; place-items: center; font-weight: 700; font-size: 1.2rem;
  background: var(--sun-soft); color: #7a5410; border: 2px solid var(--sun);
}
@media (prefers-color-scheme: dark) { .testimonial-avatar { color: var(--sun); } }
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1.25rem; margin-top: 1.5rem; }
.testimonial-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin: 0; }
.testimonial-card blockquote { margin: 0 0 1rem; font-size: 1.05rem; }
.testimonial-card figcaption { font-size: 0.92rem; color: var(--ink-2); }
.testimonial-compact { margin: 2rem auto 0; max-width: 720px; text-align: center; }
.testimonial-compact blockquote { margin: 0 0 0.6rem; font-family: var(--font-head); color: var(--teal); font-size: 1.2rem; }
.testimonial-compact figcaption { color: var(--ink-2); font-size: 0.95rem; }
.testimonial-disclosure { text-align: center; font-size: 0.82rem; color: var(--muted); margin-top: 1rem; }

/* ── Trust band ────────────────────────────────────────────────────────── */
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; }
@media (max-width: 1000px) { .trust-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .trust-grid { grid-template-columns: 1fr; } }
.trust-item h3 { font-size: 1.05rem; margin: 0.85rem 0 0.35rem; }
.trust-item p { font-size: 0.95rem; margin: 0; color: #cfe5e2; }
.section-teal .icon-badge { background: rgba(255, 255, 255, 0.1); color: var(--mint); }

/* ── CTA band ──────────────────────────────────────────────────────────── */
.cta-band {
  text-align: center; border-radius: 24px;
  padding: clamp(2.5rem, 6vw, 4rem) clamp(1.5rem, 5vw, 3rem);
  background:
    radial-gradient(600px 300px at 90% 0%, rgba(242, 184, 75, 0.25), transparent 70%),
    linear-gradient(160deg, #0b4f55 0%, #0e3f52 100%);
  color: #e8f3f2;
}
.cta-band h2 { color: #fff; }
.cta-band p { color: #cfe5e2; max-width: 40em; margin-inline: auto; font-size: 1.1rem; }
.cta-band .hero-actions { justify-content: center; }
.cta-band .btn-secondary { color: #fff; border-color: rgba(255, 255, 255, 0.7); }
.cta-band .btn-secondary:hover { background: rgba(255, 255, 255, 0.1); }
.cta-band small { color: #b9d6d2; }

/* ── Pricing ───────────────────────────────────────────────────────────── */
.segmented {
  display: inline-flex; padding: 5px; gap: 4px; border-radius: 999px;
  background: var(--surface); border: 1px solid var(--line); box-shadow: var(--shadow);
}
.segmented a, .segmented button {
  font: inherit; font-weight: 700; font-size: 0.97rem; cursor: pointer;
  padding: 0.6rem 1.25rem; border-radius: 999px; border: 0; background: none;
  color: var(--ink-2); text-decoration: none;
}
.segmented [aria-selected="true"] { background: var(--teal); color: #fff; }
@media (prefers-color-scheme: dark) { .segmented [aria-selected="true"] { color: #0f1419; } }
.pricing-switch { text-align: center; margin-bottom: 2.5rem; }
.plan-group + .plan-group { margin-top: 4rem; }
.plan-group-head { text-align: center; max-width: 720px; margin: 0 auto 2rem; }
.plan-group-head p { color: var(--ink-2); }
.js .plan-group[hidden] { display: none; }

.plan-grid { display: grid; gap: 1.25rem; align-items: stretch; }
.plan-grid.cols-2 { grid-template-columns: repeat(2, minmax(0, 420px)); justify-content: center; }
.plan-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 960px) { .plan-grid.cols-3 { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }
@media (max-width: 760px) { .plan-grid.cols-2 { grid-template-columns: 1fr; max-width: 480px; margin-inline: auto; } }

.plan {
  position: relative; display: flex; flex-direction: column;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: 1.9rem 1.6rem 1.6rem; box-shadow: var(--shadow);
}
.plan.featured { border: 2px solid var(--mint); box-shadow: var(--shadow-lg); }
.plan-badge {
  position: absolute; top: -0.85rem; left: 50%; transform: translateX(-50%);
  background: var(--mint); color: var(--cta-ink); font-weight: 700; font-size: 0.8rem;
  padding: 0.3rem 0.85rem; border-radius: 999px; white-space: nowrap;
}
.plan-name { font-size: 1.3rem; margin: 0 0 0.2rem; }
.plan-for { color: var(--ink-2); font-size: 0.95rem; margin: 0 0 1.25rem; min-height: 3em; }
.plan-price { display: flex; align-items: baseline; gap: 0.35rem; margin-bottom: 0.25rem; }
.plan-price .amount { font-family: var(--font-body); font-weight: 700; font-size: 2.7rem; color: var(--teal); line-height: 1; }
.plan-price .per { color: var(--ink-2); font-size: 0.95rem; }
.plan-alt { font-size: 0.9rem; color: var(--ink-2); min-height: 1.6em; margin: 0 0 1.25rem; }
.plan .btn { margin-bottom: 1.35rem; }
.plan-list-title { font-weight: 700; font-size: 0.9rem; color: var(--ink); margin: 0 0 0.6rem; }
.plan .check-list { margin: 0; font-size: 0.95rem; }
.plan .check-list li { margin-bottom: 0.55rem; }
.plan-foot { margin-top: auto; padding-top: 1.1rem; font-size: 0.85rem; color: var(--muted); }

.compare-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.compare {
  width: 100%; border-collapse: collapse; font-size: 0.95rem; min-width: 760px;
  font-variant-numeric: tabular-nums;
}
.compare caption { text-align: left; padding: 1rem 1.25rem 0; color: var(--muted); font-size: 0.88rem; caption-side: bottom; padding-bottom: 1rem; }
.compare th, .compare td { padding: 0.8rem 1rem; border-bottom: 1px solid var(--line); text-align: center; }
.compare th:first-child, .compare td:first-child { text-align: left; }
.compare thead th { background: var(--ice); color: var(--teal); font-weight: 700; position: sticky; top: 0; }
.compare thead .grp { font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; color: var(--muted); }
.compare tbody th { font-weight: 400; color: var(--ink); }
.compare .yes { color: var(--chart-accent); font-weight: 700; }
.compare .no { color: var(--muted); }
.compare tr.section-row th { background: var(--ice); font-weight: 700; color: var(--teal); text-align: left; }

.honest-box {
  display: grid; grid-template-columns: auto 1fr; gap: 1.25rem; align-items: start;
  background: var(--surface); border: 1px solid var(--line); border-left: 5px solid var(--sun);
  border-radius: var(--radius); padding: 1.6rem;
}
.honest-box h3 { margin-top: 0; }
.honest-box p:last-child { margin-bottom: 0; }
@media (max-width: 600px) { .honest-box { grid-template-columns: 1fr; } }

/* ── Chart (horizontal bars, single series with emphasis) ──────────────── */
.chart-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.5rem 1.25rem; box-shadow: var(--shadow);
}
.chart-title { font-family: var(--font-body); font-size: 1.1rem; color: var(--ink); margin: 0 0 0.2rem; }
.chart-sub { font-size: 0.92rem; color: var(--ink-2); margin: 0 0 1.25rem; }
.bar-chart { list-style: none; margin: 0; padding: 0; position: relative; }
.bar-row {
  display: grid; grid-template-columns: minmax(150px, 34%) 1fr; gap: 1rem;
  align-items: center; padding: 0.35rem 0; position: relative; cursor: default;
}
.bar-label { font-size: 0.93rem; color: var(--ink); line-height: 1.3; }
.bar-label small { display: block; color: var(--muted); font-size: 0.8rem; }
/* The right padding reserves room for the value label, so a bar's width is a true share of
   the scale (100% = the largest value) and the longest bar never shrinks to fit its label. */
.bar-track {
  position: relative; height: 34px; display: flex; align-items: center;
  padding-right: 5.5rem;
  background-image: linear-gradient(to right, var(--chart-grid) 1px, transparent 1px);
  background-size: 25% 100%; background-origin: content-box; background-clip: content-box;
}
.bar {
  flex: none; height: 22px; min-width: 4px; border-radius: 0 4px 4px 0;
  background: var(--chart-muted); transition: filter 0.15s ease;
}
.bar-row.is-emphasis .bar { background: var(--chart-accent); }
.bar-value { margin-left: 0.6rem; font-weight: 700; font-size: 0.93rem; color: var(--ink); white-space: nowrap; font-variant-numeric: tabular-nums; }
.bar-row:hover .bar, .bar-row:focus-visible .bar { filter: brightness(1.12); }
.bar-row:focus-visible { outline-offset: 2px; }
.chart-tooltip {
  position: absolute; z-index: 5; pointer-events: none;
  background: var(--ink); color: var(--surface); font-size: 0.85rem; line-height: 1.4;
  padding: 0.55rem 0.75rem; border-radius: var(--radius-sm); max-width: 280px;
  box-shadow: var(--shadow); opacity: 0; transform: translateY(4px);
  transition: opacity 0.12s ease, transform 0.12s ease;
}
.chart-tooltip.show { opacity: 1; transform: none; }
.chart-foot { margin-top: 1rem; font-size: 0.85rem; color: var(--muted); }
.chart-foot details { margin-top: 0.5rem; }
.chart-foot summary { cursor: pointer; color: var(--link); font-weight: 700; }
.data-table { width: 100%; border-collapse: collapse; margin-top: 0.75rem; font-variant-numeric: tabular-nums; }
.data-table th, .data-table td { text-align: left; padding: 0.45rem 0.5rem; border-bottom: 1px solid var(--line); font-size: 0.85rem; color: var(--ink-2); }
@media (max-width: 560px) { .bar-row { grid-template-columns: 1fr; gap: 0.25rem; } }

/* ── Timeline infographic (vertical) ───────────────────────────────────── */
.timeline { list-style: none; margin: 0; padding: 0; position: relative; }
.timeline::before {
  content: ""; position: absolute; left: 28px; top: 8px; bottom: 8px; width: 3px;
  background: linear-gradient(var(--mint), var(--slate)); border-radius: 3px;
}
.tl-item { position: relative; padding: 0 0 1.75rem 5rem; min-height: 60px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-dot {
  position: absolute; left: 0; top: 0; width: 59px; height: 59px; border-radius: 50%;
  display: grid; place-items: center; background: var(--surface); padding: 4px;
  border: 3px solid var(--teal); color: var(--teal); font-weight: 700; font-size: 0.72rem;
  text-align: center; line-height: 1.05;
}
.tl-item.milestone .tl-dot { background: var(--mint); border-color: var(--mint); color: var(--cta-ink); }
.tl-when { font-size: 0.8rem; font-weight: 700; letter-spacing: 0.06em; text-transform: uppercase; color: var(--link); }
.tl-item h3 { font-size: 1.12rem; margin: 0.15rem 0 0.3rem; }
.tl-item p { margin: 0; color: var(--ink-2); font-size: 0.97rem; }
.tl-cite { display: block; font-size: 0.8rem; color: var(--muted); margin-top: 0.3rem; }

/* ── Situation panels (self-represented page) ──────────────────────────── */
.situation {
  scroll-margin-top: 90px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px;
  padding: clamp(1.5rem, 3vw, 2.25rem); box-shadow: var(--shadow);
}
.situation + .situation { margin-top: 1.5rem; }
.situation-head { display: flex; gap: 1rem; align-items: center; margin-bottom: 1rem; }
.situation-head h3 { margin: 0; font-size: 1.3rem; }
.situation ol { padding-left: 1.3rem; margin: 0 0 1rem; }
.situation li { margin-bottom: 0.5rem; }
.callout {
  background: var(--teal-soft); border-radius: var(--radius-sm); padding: 0.9rem 1.1rem;
  font-size: 0.95rem; color: var(--ink);
}
.callout.sun { background: var(--sun-soft); }

/* ── Glossary / FAQ ────────────────────────────────────────────────────── */
.glossary { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1rem 2rem; margin: 0; }
@media (max-width: 760px) { .glossary { grid-template-columns: 1fr; } }
.glossary div { border-bottom: 1px solid var(--line); padding-bottom: 0.9rem; }
.glossary dt { font-family: var(--font-head); color: var(--teal); font-size: 1.05rem; }
.glossary dd { margin: 0.25rem 0 0; color: var(--ink-2); font-size: 0.97rem; }

.faq { max-width: 820px; margin: 0 auto; }
.faq details {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 0 1.25rem; margin-bottom: 0.75rem;
}
.faq summary {
  cursor: pointer; list-style: none; font-weight: 700; color: var(--teal);
  padding: 1.05rem 2rem 1.05rem 0; position: relative;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  font-size: 1.5rem; color: var(--mint-strong); line-height: 1;
}
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--ink-2); }

/* ── Help resources list ───────────────────────────────────────────────── */
.resource-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 1rem; }
.resource { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.1rem 1.2rem; }
.resource h4 { margin: 0 0 0.3rem; font-size: 1rem; }
.resource p { margin: 0; font-size: 0.93rem; color: var(--ink-2); }

/* ── Legal / prose pages ───────────────────────────────────────────────── */
.prose { max-width: 760px; margin: 0 auto; }
.prose h2 { margin-top: 2.25rem; font-size: 1.5rem; }
.prose h3 { margin-top: 1.5rem; }
.prose ul { padding-left: 1.3rem; }
.prose li { margin-bottom: 0.45rem; }
.updated { color: var(--muted); font-size: 0.92rem; }
.prose h3 { font-size: 1.15rem; }
.prose table { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; font-size: 0.95rem; }
.prose th, .prose td { text-align: left; vertical-align: top; padding: 0.6rem 0.75rem; border-bottom: 1px solid var(--line); }
.prose th { color: var(--teal); font-family: var(--font-body); font-weight: 700; }
.prose .caps { text-transform: uppercase; font-size: 0.93rem; letter-spacing: 0.01em; }
.legal-toc {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm);
  padding: 1rem 1.25rem; margin: 1.5rem 0 0;
}
.legal-toc h2 { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin: 0 0 0.5rem; }
.legal-toc ol { columns: 2; column-gap: 2rem; margin: 0; padding-left: 1.2rem; font-size: 0.95rem; }
@media (max-width: 620px) { .legal-toc ol { columns: 1; } }
.legal-toc li { margin-bottom: 0.3rem; break-inside: avoid; }

/* ── AI label: the guide always introduces itself as an AI ─────────────── */
.ai-badge {
  display: inline-block; margin-left: 0.4rem; padding: 0.05rem 0.5rem; border-radius: 999px;
  background: var(--teal-soft); color: var(--teal); font-size: 0.72rem; font-weight: 700;
  letter-spacing: 0.06em; vertical-align: 1px;
}

/* ── Where Solstice works (home) ───────────────────────────────────────── */
.coverage-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.25rem; }
@media (max-width: 760px) { .coverage-grid { grid-template-columns: 1fr; } }
.coverage-card {
  background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 1.5rem 1.6rem; box-shadow: var(--shadow);
}
.coverage-card h3 { display: flex; align-items: center; gap: 0.6rem; }
.coverage-card ul { margin: 0; padding-left: 1.2rem; color: var(--ink-2); }
.coverage-card li { margin-bottom: 0.4rem; }
.coverage-card.everywhere { border-top: 4px solid var(--mint); }
.coverage-card.utah { border-top: 4px solid var(--sun); }

/* ── Footer ────────────────────────────────────────────────────────────── */
.site-footer { background: var(--surface); border-top: 1px solid var(--line); padding: 3.5rem 0 2rem; margin-top: 0; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 2rem; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand p { color: var(--ink-2); font-size: 0.95rem; margin-top: 0.75rem; max-width: 26em; }
.footer-col h2 { font-family: var(--font-body); font-size: 0.8rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--muted); margin-bottom: 0.8rem; }
.footer-col ul { list-style: none; margin: 0; padding: 0; }
.footer-col li { margin-bottom: 0.5rem; }
.footer-col a { color: var(--ink-2); text-decoration: none; font-size: 0.95rem; }
.footer-col a:hover { color: var(--teal); text-decoration: underline; }
.footer-bottom {
  margin-top: 2.5rem; padding-top: 1.5rem; border-top: 1px solid var(--line);
  font-size: 0.85rem; color: var(--muted);
}
.footer-bottom p { margin: 0 0 0.4rem; }

/* ── 404 ───────────────────────────────────────────────────────────────── */
.not-found { min-height: 60vh; display: grid; place-items: center; text-align: center; }
.not-found .hero-actions { justify-content: center; }

/* ── Reveal on scroll (app.js adds .reveal; reduced motion never gets it) ─ */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: none; }

/* ── Forced colors / print ─────────────────────────────────────────────── */
@media (forced-colors: active) {
  .bar { background: CanvasText; forced-color-adjust: none; }
  .bar-row.is-emphasis .bar { background: Highlight; }
  .btn { border: 2px solid ButtonText; }
}
@media print {
  .site-header, .nav-toggle, .hero-actions, .cta-band, .site-footer nav { display: none; }
  body { background: #fff; color: #000; }
  .section { padding: 1.5rem 0; }
}
