:root {
  --cream: #f4efe6;
  --paper: #fffaf3;
  --sand: #ebe3d4;
  --ink: #1b1814;
  --ink-soft: #4d473e;
  --muted: #7a7266;
  --sage: #3f5c4a;
  --sage-mid: #547a61;
  --sage-light: #dce8df;
  --terracotta: #c45a38;
  --terracotta-dark: #9e4428;
  --gold: #c4a06a;
  --line: #e4d9c8;
  --white: #ffffff;
  --shadow: 0 18px 50px rgba(27, 24, 20, 0.08);
  --radius: 18px;
  --max: 1180px;
  --font-serif: "Fraunces", "Iowan Old Style", Georgia, serif;
  --font-sans: "Source Sans 3", "Segoe UI", system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.6;
  font-size: 18px;
}
img { max-width: 100%; display: block; }
a { color: var(--sage); text-decoration: none; }
a:hover { color: var(--terracotta); }
.skip {
  position: absolute; left: -999px; top: 8px;
}
.skip:focus {
  left: 12px; z-index: 100; background: #fff; padding: 8px 12px; border-radius: 8px;
}

/* Crisis bar */
.crisis {
  background: var(--ink);
  color: #efe8dc;
  font-size: 0.82rem;
  letter-spacing: 0.01em;
  padding: 8px 20px;
  text-align: center;
}
.crisis a { color: #f3d7b0; text-decoration: underline; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 40;
  background: rgba(244, 239, 230, 0.9);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid transparent;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.nav-wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  gap: 24px;
}
.logo {
  display: flex; align-items: center; gap: 10px;
  color: var(--ink); font-weight: 600; letter-spacing: -0.02em;
  font-family: var(--font-serif);
  font-size: 1.35rem;
}
.mark {
  width: 32px; height: 32px;
}
.nav {
  margin-left: auto;
  display: flex; align-items: center; gap: 22px;
}
.nav a { color: var(--ink-soft); font-size: 0.98rem; font-weight: 500; }
.nav a:hover, .nav a.active { color: var(--ink); }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  border: 0; cursor: pointer;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 600;
  font-size: 1rem;
  font-family: inherit;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary {
  background: var(--terracotta);
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(196, 90, 56, 0.25);
}
.btn-primary:hover { background: var(--terracotta-dark); }
.btn-ghost {
  background: transparent;
  color: var(--ink) !important;
  border: 1px solid var(--line);
}
.btn-dark {
  background: var(--ink);
  color: var(--cream) !important;
}
.btn-sage {
  background: var(--sage);
  color: #fff !important;
}
.menu-toggle {
  display: none;
  background: none; border: 0; font-size: 1.4rem; cursor: pointer;
}

/* Hero */
.hero {
  max-width: var(--max);
  margin: 0 auto;
  padding: 56px 24px 28px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 56px;
  align-items: center;
}
.eyebrow {
  color: var(--sage);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}
h1, h2, h3, h4 { font-family: var(--font-serif); letter-spacing: -0.03em; line-height: 1.15; }
h1 { font-size: clamp(2.4rem, 5vw, 4.1rem); font-weight: 500; margin: 12px 0 18px; }
.lede { font-size: 1.2rem; color: var(--ink-soft); max-width: 36rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 28px 0 18px; }
.trust-row {
  display: flex; flex-wrap: wrap; gap: 18px;
  color: var(--muted); font-size: 0.9rem;
}
.trust-row span { display: flex; align-items: center; gap: 6px; }
.hero-visual {
  position: relative;
}
.hero-visual img {
  width: 100%; height: 520px; object-fit: cover;
  border-radius: 28px;
  box-shadow: var(--shadow);
}
.float-card {
  position: absolute;
  background: var(--paper);
  border-radius: 16px;
  padding: 14px 16px;
  box-shadow: var(--shadow);
  font-size: 0.9rem;
}
.float-card.one { bottom: 28px; left: -28px; }
.float-card.two { top: 32px; right: -18px; }
.float-card strong { display: block; font-family: var(--font-serif); }

/* Sections */
section { padding: 72px 24px; }
.wrap { max-width: var(--max); margin: 0 auto; }
.section-head { max-width: 640px; margin-bottom: 36px; }
.section-head h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: 8px 0 10px; }
.muted { color: var(--ink-soft); }

.band { background: var(--paper); }
.band-sage { background: var(--sage); color: #f4efe6; }
.band-sage h2, .band-sage p { color: inherit; }
.band-sage .muted { color: #d5e3d8; }

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.step {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px;
}
.step .num {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  color: var(--terracotta);
}
.step h3 { margin: 8px 0; font-size: 1.35rem; }

/* Features */
.features {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.feature {
  background: var(--cream);
  border-radius: var(--radius);
  padding: 24px;
  border: 1px solid var(--line);
}
.feature h3 { margin: 0 0 8px; font-size: 1.25rem; }

/* Audience pills */
.audiences {
  display: flex; flex-wrap: wrap; gap: 10px;
}
.pill {
  background: var(--sage-light);
  color: var(--sage);
  border-radius: 999px;
  padding: 8px 14px;
  font-size: 0.92rem;
  font-weight: 600;
}

/* Therapists */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.card {
  background: var(--paper);
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid var(--line);
}
.card img { height: 210px; width: 100%; object-fit: cover; }
.card-body { padding: 18px 20px 22px; }
.tag {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sage);
  background: var(--sage-light);
  padding: 4px 8px;
  border-radius: 6px;
}

/* Pricing */
.price-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr 1fr;
  gap: 18px;
  align-items: stretch;
}
.price {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 28px;
}
.price.featured {
  background: var(--ink);
  color: var(--cream);
  border-color: var(--ink);
  transform: scale(1.03);
}
.price.featured .muted { color: #cfc6b6; }
.price .amt {
  font-family: var(--font-serif);
  font-size: 2.6rem;
  margin: 8px 0;
}
.price ul { padding-left: 18px; }
.price li { margin: 8px 0; }

/* Quotes */
.quotes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.quote {
  background: var(--paper);
  border-radius: 18px;
  padding: 22px;
  border: 1px solid var(--line);
}
.quote p { font-family: var(--font-serif); font-size: 1.15rem; line-height: 1.45; }
.quote cite { color: var(--muted); font-style: normal; font-size: 0.9rem; }

/* FAQ */
.faq details {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 10px;
}
.faq summary { cursor: pointer; font-weight: 600; }
.faq details p { color: var(--ink-soft); margin: 10px 0 4px; }

/* Footer */
footer {
  background: var(--ink);
  color: #d7cbb8;
  padding: 48px 24px 24px;
  font-size: 0.95rem;
}
.foot-grid {
  max-width: var(--max);
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 28px;
}
footer a { color: #efe4d2; }
footer a:hover { color: #fff; }
.fineprint {
  max-width: var(--max);
  margin: 28px auto 0;
  border-top: 1px solid #3a342c;
  padding-top: 16px;
  font-size: 0.8rem;
  color: #9d9284;
}

/* Inner pages */
.page-hero {
  padding: 48px 24px 12px;
  max-width: var(--max);
  margin: 0 auto;
}
.page-hero h1 { font-size: clamp(2.1rem, 4vw, 3.4rem); }

/* Quiz */
.quiz {
  max-width: 720px;
  margin: 0 auto 80px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 24px;
  padding: 32px;
  box-shadow: var(--shadow);
}
.progress {
  height: 6px; background: var(--sand); border-radius: 99px; overflow: hidden; margin-bottom: 22px;
}
.progress span { display: block; height: 100%; background: var(--sage); width: 16%; transition: width .25s ease; }
.q { display: none; }
.q.active { display: block; }
.choices { display: grid; gap: 10px; margin-top: 16px; }
.choice {
  text-align: left;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 16px;
  cursor: pointer;
  font-size: 1rem;
  font-family: inherit;
}
.choice:hover, .choice.selected { border-color: var(--sage); background: var(--sage-light); }
.quiz-nav { display: flex; justify-content: space-between; margin-top: 22px; }
.result { display: none; text-align: center; }
.result.show { display: block; }

.compare {
  width: 100%;
  border-collapse: collapse;
  background: var(--paper);
  border-radius: 16px;
  overflow: hidden;
}
.compare th, .compare td {
  text-align: left;
  padding: 12px 14px;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.compare th { background: var(--sand); }

.notice {
  background: #fff6e8;
  border: 1px solid #ead7b0;
  border-radius: 12px;
  padding: 14px 16px;
  font-size: 0.92rem;
  color: var(--ink-soft);
}

@media (max-width: 900px) {
  .hero, .steps, .features, .cards, .price-grid, .quotes, .foot-grid {
    grid-template-columns: 1fr;
  }
  .hero-visual img { height: 340px; }
  .float-card.one, .float-card.two { position: static; margin-top: 12px; }
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: var(--cream);
    padding: 16px 24px 24px;
    border-bottom: 1px solid var(--line);
    align-items: flex-start;
  }
  .menu-toggle { display: block; margin-left: auto; }
  .price.featured { transform: none; }
}
