/* ============================================================
   SAGA — global stylesheet
   "Manuscript page meets warm modern UI."
   Brand palette + typography + utilities used across all surfaces.
   ============================================================ */

:root {
  /* Palette — heirloom / hearth */
  --paper:        #faf6ed;
  --paper-deep:   #f1e9d5;
  --paper-soft:   #f7f1e0;
  --ink:          #2a1f17;
  --ink-2:        #5a4938;
  --ink-3:        #8a7560;
  --ember:        #b8551f;
  --ember-deep:   #8a3e16;
  --ember-soft:   #d97a3f;
  --gold-leaf:    #c4a76a;
  --gold-soft:    #e2d2a8;
  --moss:         #5d7a4a;
  --moss-soft:    #a8b990;

  /* Type */
  --font-display: "Cardo", "Cormorant Garamond", "Iowan Old Style", "Georgia", serif;
  --font-italic:  "Cardo", "Lora", "Georgia", serif;
  --font-body:    "Source Sans 3", "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  /* Spacing scale */
  --s-1: 4px;
  --s-2: 8px;
  --s-3: 12px;
  --s-4: 16px;
  --s-5: 24px;
  --s-6: 32px;
  --s-7: 48px;
  --s-8: 64px;
  --s-9: 96px;
  --s-10: 128px;

  /* Radius */
  --r-sm: 6px;
  --r-md: 10px;
  --r-lg: 16px;
  --r-xl: 22px;

  /* Shadows — soft, paper-like */
  --shadow-1: 0 1px 2px rgba(42, 31, 23, 0.06), 0 2px 6px rgba(42, 31, 23, 0.04);
  --shadow-2: 0 4px 14px rgba(42, 31, 23, 0.08), 0 1px 4px rgba(42, 31, 23, 0.04);
  --shadow-3: 0 18px 40px rgba(42, 31, 23, 0.10), 0 4px 10px rgba(42, 31, 23, 0.05);

  /* Layout */
  --w-page: 1180px;
  --w-prose: 720px;
  --w-narrow: 560px;
}

/* Reset + base ---------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body {
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  font-weight: 400;
  font-feature-settings: "kern", "liga", "onum";
  text-rendering: optimizeLegibility;
}
@media (max-width: 480px) {
  /* Older eyes / iPhone — bump body baseline to 18px */
  body { font-size: 18px; }
}
img, svg { display: block; max-width: 100%; }
a { color: var(--ember); text-decoration: none; transition: color .15s ease; }
a:hover { color: var(--ember-deep); }
hr { border: 0; border-top: 1px solid var(--gold-soft); margin: var(--s-7) 0; }

::selection { background: var(--gold-soft); color: var(--ink); }

button { font: inherit; cursor: pointer; }
input, textarea, select { font: inherit; color: inherit; }

/* Typography utility classes -------------------------------- */
.display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: -0.012em;
  line-height: 1.08;
  color: var(--ink);
}
.italic-display {
  font-family: var(--font-italic);
  font-style: italic;
  font-weight: 400;
}
.kicker {
  font-family: var(--font-body);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ember-deep);
  margin: 0 0 var(--s-4);
  font-weight: 600;
}
.lede {
  font-family: var(--font-display);
  font-size: 22px;
  line-height: 1.45;
  color: var(--ink-2);
  font-weight: 400;
}

/* Page chrome ----------------------------------------------- */
.page {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
}

.shell {
  width: 100%;
  max-width: var(--w-page);
  margin: 0 auto;
  padding: 0 var(--s-6);
}

/* Header ---------------------------------------------------- */
.site-header {
  padding: var(--s-5) 0 var(--s-4);
  border-bottom: 1px solid rgba(196, 167, 106, 0.35);
  background: var(--paper);
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: blur(8px);
}
.site-header .shell {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-5);
}
.brand-link {
  display: flex; align-items: center; gap: var(--s-3);
  color: var(--ink); font-family: var(--font-display);
  font-size: 28px; letter-spacing: 2px;
}
.brand-link:hover { color: var(--ink); }
.brand-link svg { width: 34px; height: 34px; }
.nav {
  display: flex; align-items: center; gap: var(--s-6);
  font-size: 15px;
}
.nav a { color: var(--ink-2); }
.nav a:hover { color: var(--ember); }
.nav-cta {
  background: var(--ember);
  color: var(--paper) !important;
  padding: 10px 18px;
  border-radius: var(--r-md);
  font-weight: 500;
}
.nav-cta:hover { background: var(--ember-deep); color: var(--paper) !important; }

@media (max-width: 720px) {
  .nav .nav-link { display: none; }
}

/* Hero ------------------------------------------------------ */
.hero {
  padding: var(--s-10) 0 var(--s-9);
  background:
    radial-gradient(ellipse at top right, rgba(184, 85, 31, 0.07), transparent 55%),
    radial-gradient(ellipse at bottom left, rgba(196, 167, 106, 0.10), transparent 60%),
    var(--paper);
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-soft), transparent);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: var(--s-9);
  align-items: center;
}
.hero h1 {
  font-size: clamp(48px, 7.2vw, 92px);
  margin: 0 0 var(--s-5);
}
.hero h1 em {
  font-style: italic;
  color: var(--ember);
}
.hero .lede { max-width: 540px; }
.hero-actions {
  display: flex; gap: var(--s-4); align-items: center;
  margin-top: var(--s-7); flex-wrap: wrap;
}
.hero-meta {
  margin-top: var(--s-7);
  font-size: 14px;
  color: var(--ink-3);
  display: flex; gap: var(--s-5); flex-wrap: wrap;
}
.hero-meta span { display: flex; align-items: center; gap: 6px; }
.hero-meta .dot { width: 6px; height: 6px; border-radius: 999px; background: var(--moss); }

.hero-card {
  background: var(--paper-deep);
  border: 1px solid var(--gold-soft);
  border-radius: var(--r-xl);
  padding: var(--s-6);
  box-shadow: var(--shadow-2);
  transform: rotate(-0.4deg);
  position: relative;
}
.hero-card::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(196, 167, 106, 0.4);
  border-radius: calc(var(--r-xl) + 8px);
  pointer-events: none;
}
.hero-card .chapter-label {
  font-family: var(--font-italic);
  font-style: italic;
  color: var(--gold-leaf);
  font-size: 13px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-align: center;
  margin: 0 0 var(--s-2);
}
.hero-card .chapter-title {
  font-family: var(--font-display);
  font-size: 28px;
  text-align: center;
  margin: 0 0 var(--s-4);
  line-height: 1.2;
}
.hero-card .chapter-divider {
  text-align: center; color: var(--gold-leaf); margin: var(--s-3) 0;
  font-size: 16px; letter-spacing: 12px;
}
.hero-card .chapter-snippet {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.7;
  color: var(--ink);
}
.hero-card .chapter-snippet::first-letter {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 56px;
  line-height: 0.88;
  float: left;
  padding: 6px 8px 0 0;
  color: var(--ember);
  font-weight: 400;
}
.hero-card .chapter-attr {
  margin-top: var(--s-4);
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 14px;
  color: var(--ink-3);
  text-align: center;
}

@media (max-width: 920px) {
  .hero-grid { grid-template-columns: 1fr; gap: var(--s-7); }
  .hero { padding: var(--s-8) 0 var(--s-7); }
}

/* Buttons --------------------------------------------------- */
.btn {
  display: inline-flex; align-items: center; gap: var(--s-2);
  padding: 14px 22px;
  border-radius: var(--r-md);
  font-weight: 500;
  font-size: 16px;
  border: 1px solid transparent;
  text-decoration: none;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, color .15s ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--ember);
  color: var(--paper);
  box-shadow: var(--shadow-1);
}
.btn-primary:hover { background: var(--ember-deep); color: var(--paper); transform: translateY(-1px); box-shadow: var(--shadow-2); }
.btn-primary:active { transform: translateY(0); }
.btn-ghost {
  background: transparent; color: var(--ink); border-color: var(--ink-3);
}
.btn-ghost:hover { color: var(--ember); border-color: var(--ember); }
.btn-quiet {
  background: var(--paper-deep); color: var(--ink);
}
.btn-quiet:hover { background: var(--paper-soft); color: var(--ember-deep); }
.btn-lg { padding: 18px 28px; font-size: 17px; border-radius: var(--r-lg); min-height: 56px; }
.btn-xl {
  padding: 22px 34px; font-size: 19px; border-radius: var(--r-lg);
  font-weight: 500;
  min-height: 64px;
}
.btn-block { display: flex; width: 100%; justify-content: center; }
@media (max-width: 480px) {
  .btn { min-height: 52px; padding: 16px 22px; font-size: 17px; }
  .btn-lg { min-height: 60px; }
  .btn-xl { min-height: 68px; padding: 22px 28px; }
}

/* Section primitives ---------------------------------------- */
.section { padding: var(--s-10) 0; }
.section-tight { padding: var(--s-8) 0; }
.section-alt { background: var(--paper-soft); }
.section-deep { background: var(--paper-deep); }
.section-title {
  font-size: clamp(34px, 4.8vw, 56px);
  margin: 0 0 var(--s-5);
  max-width: 880px;
}
.section-lede {
  font-family: var(--font-display);
  font-size: 22px;
  color: var(--ink-2);
  max-width: 720px;
  margin: 0 0 var(--s-7);
  line-height: 1.5;
}
.section-divider {
  text-align: center; color: var(--gold-leaf);
  font-size: 18px; letter-spacing: 18px;
  margin: var(--s-7) auto;
}

/* Problem ornament ----------------------------------------- */
.stat-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-6);
  margin-top: var(--s-7);
}
.stat-card {
  background: var(--paper);
  border: 1px solid var(--gold-soft);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  box-shadow: var(--shadow-1);
}
.stat-card .stat-num {
  font-family: var(--font-display);
  font-size: 56px;
  font-weight: 400;
  color: var(--ember);
  line-height: 1;
}
.stat-card .stat-label {
  font-size: 16px;
  color: var(--ink-2);
  margin-top: var(--s-3);
}
.stat-card .stat-source {
  font-size: 13px;
  color: var(--ink-3);
  margin-top: var(--s-3);
}
@media (max-width: 720px) {
  .stat-row { grid-template-columns: 1fr; }
}

/* How-it-works --------------------------------------------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
  margin-top: var(--s-7);
}
.step {
  background: var(--paper);
  border: 1px solid var(--gold-soft);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  position: relative;
}
.step .step-num {
  font-family: var(--font-display);
  font-style: italic;
  color: var(--gold-leaf);
  font-size: 14px;
  letter-spacing: 0.15em;
}
.step h3 {
  font-family: var(--font-display);
  font-size: 24px;
  margin: var(--s-3) 0 var(--s-3);
  font-weight: 400;
}
.step p { color: var(--ink-2); font-size: 15px; margin: 0; }
@media (max-width: 920px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .steps { grid-template-columns: 1fr; }
}

/* Pull quote ------------------------------------------------ */
.pullquote {
  font-family: var(--font-display);
  font-style: italic;
  font-size: clamp(28px, 3.6vw, 44px);
  line-height: 1.3;
  color: var(--ink);
  text-align: center;
  max-width: 920px;
  margin: 0 auto;
  position: relative;
  padding: var(--s-7) var(--s-5);
}
.pullquote::before, .pullquote::after {
  content: "◆";
  display: block;
  text-align: center;
  color: var(--gold-leaf);
  font-size: 14px;
  letter-spacing: 12px;
  margin: var(--s-4) 0;
  font-style: normal;
}

/* Pricing --------------------------------------------------- */
.tiers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-4);
  margin-top: var(--s-7);
  align-items: stretch;
}
.tier {
  background: var(--paper);
  border: 1px solid var(--gold-soft);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  display: flex; flex-direction: column;
  position: relative;
}
.tier.featured {
  border: 2px solid var(--ember);
  box-shadow: var(--shadow-2);
}
.tier .tier-tag {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--ember); color: var(--paper);
  font-size: 11px; letter-spacing: 0.15em; text-transform: uppercase;
  padding: 5px 12px; border-radius: 999px;
  font-weight: 600;
}
.tier h3 {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 400;
  margin: 0 0 var(--s-3);
}
.tier .price {
  font-family: var(--font-display);
  font-size: 42px; line-height: 1;
  color: var(--ink);
  margin: var(--s-3) 0;
}
.tier .price small { font-size: 16px; color: var(--ink-3); }
.tier .price-note { font-size: 13px; color: var(--ink-3); margin-top: -4px; }
.tier ul {
  list-style: none; padding: 0; margin: var(--s-5) 0;
  font-size: 15px; color: var(--ink-2);
}
.tier ul li {
  padding: 7px 0;
  display: flex; align-items: flex-start; gap: 10px;
}
.tier ul li::before {
  content: "◆";
  color: var(--gold-leaf);
  font-size: 10px;
  margin-top: 7px;
  flex-shrink: 0;
}
.tier .btn { margin-top: auto; }
@media (max-width: 920px) {
  .tiers { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 540px) {
  .tiers { grid-template-columns: 1fr; }
}

/* FAQ ------------------------------------------------------- */
.faq-list {
  max-width: var(--w-prose);
  margin: var(--s-7) auto 0;
  border-top: 1px solid var(--gold-soft);
}
.faq-item {
  border-bottom: 1px solid var(--gold-soft);
  padding: var(--s-4) 0;
}
.faq-item summary {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  cursor: pointer;
  color: var(--ink);
  list-style: none;
  position: relative;
  padding: var(--s-3) 32px var(--s-3) 0;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "+";
  position: absolute; right: 0; top: 50%;
  transform: translateY(-50%);
  color: var(--ember);
  font-size: 28px;
  font-weight: 300;
  transition: transform .2s ease;
}
.faq-item[open] summary::after { content: "−"; }
.faq-item p {
  color: var(--ink-2);
  font-size: 16px;
  margin: var(--s-2) 0 var(--s-3);
  max-width: 640px;
  line-height: 1.7;
}

/* Family note ----------------------------------------------- */
.family-note {
  background: var(--paper-deep);
  border-left: 3px solid var(--ember);
  padding: var(--s-7) var(--s-7);
  border-radius: var(--r-md);
  max-width: 880px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: 21px;
  line-height: 1.6;
  color: var(--ink);
}
.family-note .signoff {
  display: block;
  margin-top: var(--s-5);
  font-style: italic;
  font-size: 17px;
  color: var(--ink-3);
}

/* Who-it's-for --------------------------------------------- */
.audience {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-5);
  margin-top: var(--s-6);
}
.audience-card {
  border: 1px solid var(--gold-soft);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  background: var(--paper);
}
.audience-card h3 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 400;
  margin: 0 0 var(--s-2);
}
.audience-card p { font-size: 15px; color: var(--ink-2); margin: 0; }
@media (max-width: 720px) { .audience { grid-template-columns: 1fr; } }

/* Footer ---------------------------------------------------- */
.site-footer {
  background: var(--paper-deep);
  border-top: 1px solid var(--gold-soft);
  padding: var(--s-7) 0 var(--s-6);
  margin-top: auto;
}
.site-footer .shell {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s-7);
}
.site-footer h5 {
  font-family: var(--font-body);
  font-size: 12px; letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin: 0 0 var(--s-3);
  font-weight: 600;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 8px; font-size: 15px; }
.site-footer a { color: var(--ink-2); }
.site-footer a:hover { color: var(--ember); }
.footer-brand .brand-line {
  font-family: var(--font-display);
  font-size: 26px; letter-spacing: 2px; color: var(--ink);
}
.footer-brand p {
  margin: var(--s-3) 0 0;
  font-size: 14px; color: var(--ink-3); max-width: 320px;
  font-family: var(--font-display); font-style: italic;
}
.footer-meta {
  grid-column: 1 / -1;
  margin-top: var(--s-6);
  padding-top: var(--s-5);
  border-top: 1px solid var(--gold-soft);
  display: flex; justify-content: space-between; align-items: center;
  font-size: 13px; color: var(--ink-3);
}
@media (max-width: 720px) {
  .site-footer .shell { grid-template-columns: 1fr 1fr; }
  .footer-meta { flex-direction: column; gap: var(--s-3); align-items: flex-start; }
}

/* ============================================================
   CHAPTER PAGE — the signature typography moment
   Manuscript-page feel. Take David's breath away.
   ============================================================ */
.chapter-page {
  background: var(--paper);
  background-image:
    radial-gradient(ellipse at top, rgba(196, 167, 106, 0.08), transparent 60%),
    radial-gradient(ellipse at bottom, rgba(184, 85, 31, 0.04), transparent 60%);
  min-height: 100vh;
  min-height: 100dvh;
  padding: var(--s-9) 0 var(--s-10);
}
.chapter-paper {
  max-width: 620px;
  margin: 0 auto;
  background: var(--paper);
  padding: 0 var(--s-7);
}
.chapter-eyebrow {
  text-align: center;
  font-family: var(--font-italic);
  font-style: italic;
  color: var(--gold-leaf);
  font-size: 13px;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  margin-bottom: var(--s-3);
}
.chapter-eyebrow::before, .chapter-eyebrow::after {
  content: "·"; margin: 0 var(--s-3); color: var(--gold-leaf);
  font-weight: 700;
}
.chapter-title-display {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(38px, 5.4vw, 60px);
  line-height: 1.12;
  text-align: center;
  margin: 0 0 var(--s-3);
  letter-spacing: -0.008em;
  color: var(--ink);
  font-feature-settings: "kern", "liga", "dlig", "onum";
  text-wrap: balance;
}
.chapter-byline {
  text-align: center;
  font-family: var(--font-italic);
  font-style: italic;
  color: var(--ink-3);
  font-size: 16px;
  margin: 0 0 var(--s-7);
}
.chapter-divider-grand {
  text-align: center;
  margin: var(--s-7) 0 var(--s-8);
  color: var(--gold-leaf);
  font-size: 16px;
  letter-spacing: 18px;
  /* trailing letter-spacing pushes text right; offset for visual centering */
  text-indent: 18px;
}
.chapter-divider-grand::before {
  content: "";
  display: block;
  width: 84px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-leaf), transparent);
  margin: 0 auto var(--s-4);
}
.chapter-divider-grand::after {
  content: "";
  display: block;
  width: 84px;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold-leaf), transparent);
  margin: var(--s-4) auto 0;
}

.chapter-body {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.78;
  color: var(--ink);
  letter-spacing: 0.005em;
  font-feature-settings: "kern", "liga", "onum";
}
.chapter-body p {
  margin: 0;
  text-align: justify;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphenate-limit-chars: 6 3 3;
  /* Continuation paragraphs get a manuscript indent; first paragraph stays flush */
  text-indent: 1.5em;
}
.chapter-body section.chapter-section {
  margin: 0;
}
.chapter-body section.chapter-section + section.chapter-section {
  margin-top: var(--s-6);
}
/* The first paragraph of EVERY section (including new ones after a divider) starts flush */
.chapter-body section.chapter-section > p:first-child,
.chapter-body section.chapter-section > blockquote + p {
  text-indent: 0;
}
/* Section divider — the gilt fleuron between sub-sections */
.chapter-body section.chapter-section:not(:first-of-type)::before {
  content: "◆";
  display: block;
  text-align: center;
  color: var(--gold-leaf);
  font-size: 14px;
  margin: var(--s-7) auto;
  width: 1em;
  opacity: 0.85;
}
/* Drop cap — proper 3-line lift, italic display, gilt-leaf shadow for warmth */
.chapter-body section:first-of-type p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 5.4em;
  line-height: 0.88;
  float: left;
  padding: 0.08em 0.08em 0 0;
  margin: 0.05em 0.04em 0 0;
  color: var(--ember);
  font-weight: 400;
  text-shadow: 0 1px 0 rgba(196, 167, 106, 0.18);
}
/* Small caps run-in on the first three words after the drop cap — subtle manuscript touch */
.chapter-body section:first-of-type p:first-of-type::first-line {
  font-variant: small-caps;
  letter-spacing: 0.04em;
  color: var(--ink);
}
.chapter-body blockquote {
  margin: var(--s-5) 0;
  padding: var(--s-2) 0 var(--s-2) var(--s-5);
  border-left: 2px solid var(--gold-leaf);
  font-style: italic;
  color: var(--ink-2);
  font-size: 20px;
  line-height: 1.55;
  text-indent: 0;
}
.chapter-body blockquote::before {
  content: "\201C";
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.4em;
  line-height: 0;
  color: var(--gold-leaf);
  margin-right: 0.06em;
  vertical-align: -0.18em;
  font-style: normal;
}

.chapter-end {
  text-align: center;
  margin-top: var(--s-8);
  color: var(--gold-leaf);
  font-family: var(--font-display);
  font-style: italic;
  font-size: 18px;
  letter-spacing: 10px;
  text-indent: 10px;
}
.chapter-end::before {
  content: "";
  display: block;
  width: 60px;
  height: 1px;
  background: var(--gold-soft);
  margin: 0 auto var(--s-3);
}

.chapter-meta {
  text-align: center;
  margin-top: var(--s-6);
  font-size: 13px;
  color: var(--ink-3);
  font-family: var(--font-body);
  font-style: italic;
  letter-spacing: 0.02em;
}

/* "Hear the opening" TTS button — soft, optional, dignified */
.chapter-listen {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 auto;
  padding: 11px 20px;
  background: var(--paper-deep);
  border: 1px solid var(--gold-soft);
  border-radius: 999px;
  color: var(--ink-2);
  font-family: var(--font-italic);
  font-style: italic;
  font-size: 15px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.chapter-listen:hover {
  background: var(--paper-soft);
  color: var(--ember-deep);
  border-color: var(--ember-soft);
}
.chapter-listen:focus-visible {
  outline: 2px solid var(--ember);
  outline-offset: 3px;
}
.chapter-listen .listen-icon {
  width: 18px; height: 18px;
  color: var(--ember);
}
.chapter-listen.playing { background: var(--paper-soft); color: var(--ember-deep); }
.chapter-listen.playing .listen-icon { animation: gentle-pulse 1.6s ease-in-out infinite; }
@keyframes gentle-pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.55; transform: scale(0.9); }
}
.chapter-listen-wrap {
  text-align: center;
  margin: calc(-1 * var(--s-5)) 0 var(--s-7);
}

.chapter-actions {
  margin: var(--s-8) auto 0;
  display: flex; justify-content: center; gap: var(--s-3);
  flex-wrap: wrap;
}

/* Chapter typography — mobile refinements ------------------- */
@media (max-width: 720px) {
  .chapter-page { padding: var(--s-7) 0 var(--s-9); }
  .chapter-paper { padding: 0 var(--s-5); max-width: 100%; }
  .chapter-body { font-size: 18px; line-height: 1.8; }
  .chapter-body p { text-indent: 1.2em; }
  .chapter-body section:first-of-type p:first-of-type::first-letter {
    font-size: 4.6em;
    padding: 0.06em 0.08em 0 0;
  }
  .chapter-body blockquote { font-size: 18px; padding-left: var(--s-4); }
  .chapter-divider-grand { letter-spacing: 14px; text-indent: 14px; font-size: 14px; }
  .chapter-title-display { font-size: clamp(34px, 9vw, 46px); }
}

/* Demo page ------------------------------------------------- */
.demo-hero {
  background: var(--paper-deep);
  padding: var(--s-9) 0 var(--s-7);
  border-bottom: 1px solid var(--gold-soft);
}
.demo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-7);
  align-items: start;
}
.demo-elder-card {
  background: var(--paper);
  border: 1px solid var(--gold-soft);
  border-radius: var(--r-xl);
  padding: var(--s-6);
  box-shadow: var(--shadow-2);
}
.elder-portrait {
  width: 120px; height: 120px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 30% 30%, var(--paper-soft), var(--gold-soft) 70%, var(--ember-soft));
  border: 2px solid var(--gold-leaf);
  margin: 0 auto var(--s-4);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 48px; color: var(--ember-deep);
  font-style: italic;
  position: relative;
}
.elder-portrait::after {
  content: "";
  position: absolute; inset: -8px;
  border: 1px dashed var(--gold-leaf);
  border-radius: 50%;
  opacity: 0.6;
}
.elder-name {
  font-family: var(--font-display);
  font-size: 32px;
  text-align: center;
  margin: 0 0 var(--s-2);
  font-weight: 400;
}
.elder-meta {
  text-align: center;
  color: var(--ink-2);
  font-size: 15px;
  margin-bottom: var(--s-4);
}
.elder-demo-pill {
  display: inline-block;
  background: var(--gold-soft);
  color: var(--ink);
  font-size: 11px;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 5px 11px;
  border-radius: 999px;
  margin: 0 auto var(--s-4);
}
.elder-pill-wrap { text-align: center; }

.chapter-list { display: flex; flex-direction: column; gap: var(--s-3); }
.chapter-card {
  background: var(--paper);
  border: 1px solid var(--gold-soft);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  text-decoration: none;
  display: block;
  transition: transform .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.chapter-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-2);
  border-color: var(--ember-soft);
}
.chapter-card .ch-num {
  font-family: var(--font-italic);
  font-style: italic;
  color: var(--gold-leaf);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.chapter-card .ch-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 400;
  margin: 6px 0 8px;
  color: var(--ink);
  line-height: 1.25;
}
.chapter-card .ch-snippet {
  color: var(--ink-2);
  font-size: 15px;
  margin: 0;
  line-height: 1.6;
}
.chapter-card .ch-meta {
  font-size: 12px;
  color: var(--ink-3);
  margin-top: var(--s-3);
  letter-spacing: 0.04em;
}

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

/* Forms ----------------------------------------------------- */
.form-card {
  max-width: 640px;
  margin: 0 auto;
  background: var(--paper);
  border: 1px solid var(--gold-soft);
  border-radius: var(--r-xl);
  padding: var(--s-7);
  box-shadow: var(--shadow-1);
}
.form-row { display: flex; flex-direction: column; gap: 6px; margin-bottom: var(--s-5); }
.form-row label {
  font-size: 13px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--ink-3);
  font-weight: 600;
}
.form-row .help {
  font-size: 13px;
  color: var(--ink-3);
  font-family: var(--font-italic);
  font-style: italic;
}
.form-row input, .form-row textarea, .form-row select {
  background: var(--paper-soft);
  border: 1px solid var(--gold-soft);
  border-radius: var(--r-md);
  padding: 14px 16px;
  font-size: 17px;
  color: var(--ink);
  transition: border-color .15s ease, background .15s ease;
}
.form-row input:focus, .form-row textarea:focus, .form-row select:focus {
  outline: none;
  border-color: var(--ember);
  background: var(--paper);
}
.form-row textarea { min-height: 110px; resize: vertical; line-height: 1.55; }
.form-grid-2 {
  display: grid; grid-template-columns: 1fr 1fr; gap: var(--s-4);
}
@media (max-width: 540px) { .form-grid-2 { grid-template-columns: 1fr; } }
.form-divider {
  margin: var(--s-6) 0;
  height: 1px;
  background: var(--gold-soft);
  position: relative;
}
.form-divider::after {
  content: "◆";
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  background: var(--paper);
  padding: 0 12px;
  color: var(--gold-leaf);
}

/* Family dashboard ------------------------------------------ */
.dash-shell { padding: var(--s-7) 0; }
.dash-grid {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: var(--s-7);
}
.dash-side h2 {
  font-family: var(--font-display);
  font-size: 28px;
  margin: 0 0 var(--s-4);
  font-weight: 400;
}
.elder-tile {
  background: var(--paper-deep);
  border: 1px solid var(--gold-soft);
  border-radius: var(--r-lg);
  padding: var(--s-5);
  margin-bottom: var(--s-3);
}
.elder-tile h3 {
  font-family: var(--font-display);
  font-size: 22px; font-weight: 400;
  margin: 0 0 4px;
}
.elder-tile p { font-size: 14px; color: var(--ink-2); margin: 0; }
.elder-tile .next-call {
  margin-top: var(--s-3);
  font-size: 13px;
  color: var(--moss);
  font-weight: 600;
}
.dash-main h1 {
  font-family: var(--font-display);
  font-size: 44px; font-weight: 400;
  margin: 0 0 var(--s-3);
}

/* Interview surface ----------------------------------------- */
.interview-page {
  background: var(--paper);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex; flex-direction: column;
  /* Safe-area for iPhone notch + home-bar */
  padding-top: env(safe-area-inset-top);
  padding-bottom: env(safe-area-inset-bottom);
}
.interview-shell {
  max-width: 760px;
  width: 100%;
  margin: 0 auto;
  padding: var(--s-6) var(--s-5);
  padding-left: max(var(--s-5), env(safe-area-inset-left));
  padding-right: max(var(--s-5), env(safe-area-inset-right));
  flex: 1; display: flex; flex-direction: column;
}
.interview-header {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: var(--s-4);
  border-bottom: 1px solid var(--gold-soft);
}
.interview-header .who {
  font-family: var(--font-display);
  font-size: 20px;
}
.interview-header .who small {
  font-size: 13px; color: var(--ink-3); margin-left: 8px;
  font-family: var(--font-italic); font-style: italic;
}
.interview-status {
  font-size: 13px; color: var(--ink-3);
  display: flex; align-items: center; gap: 8px;
}
.interview-status .pulse {
  width: 8px; height: 8px; border-radius: 999px; background: var(--ink-3);
}
.interview-status.live .pulse {
  background: var(--ember);
  animation: pulse 1.6s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(1.4); }
}

.transcript {
  flex: 1;
  margin: var(--s-6) 0;
  overflow-y: auto;
}
.bubble {
  margin: var(--s-5) 0;
  font-family: var(--font-display);
  font-size: 20px;
  line-height: 1.6;
  max-width: 92%;
}
@media (max-width: 480px) {
  .bubble { font-size: 19px; }
}
.bubble.saga {
  color: var(--ink);
}
.bubble.saga::before {
  content: "Saga";
  display: block;
  font-family: var(--font-italic);
  font-style: italic;
  color: var(--gold-leaf);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.bubble.elder {
  color: var(--ink-2);
  margin-left: auto;
  text-align: right;
  font-style: italic;
}
.bubble.elder::before {
  content: "You";
  display: block;
  font-family: var(--font-italic);
  font-style: italic;
  color: var(--ember);
  font-size: 12px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.bubble.thinking {
  color: var(--ink-3);
  font-style: italic;
}
.bubble.thinking::before {
  content: "Saga";
}

.interview-controls {
  position: sticky; bottom: 0;
  padding: var(--s-5) 0;
  background: linear-gradient(to bottom, transparent, var(--paper) 30%);
  display: flex; flex-direction: column; align-items: center; gap: var(--s-3);
}
.mic-btn {
  width: 104px; height: 104px;
  border-radius: 50%;
  background: var(--ember);
  color: var(--paper);
  border: none;
  display: flex; align-items: center; justify-content: center;
  font-size: 36px;
  box-shadow: var(--shadow-2), 0 0 0 6px rgba(184, 85, 31, 0.06);
  transition: transform .12s ease, background .15s ease, box-shadow .15s ease;
  -webkit-tap-highlight-color: transparent;
  touch-action: manipulation;
}
.mic-btn:hover { background: var(--ember-deep); transform: scale(1.04); }
.mic-btn:active { transform: scale(0.96); }
.mic-btn:focus-visible { outline: 3px solid var(--ember); outline-offset: 5px; }
.mic-btn.listening {
  background: var(--ember-deep);
  animation: listen 1.4s ease-in-out infinite;
}
@keyframes listen {
  0%, 100% { box-shadow: 0 0 0 0 rgba(184, 85, 31, 0.5); }
  50%  { box-shadow: 0 0 0 18px rgba(184, 85, 31, 0); }
}
.mic-hint {
  font-size: 14px; color: var(--ink-3);
  font-family: var(--font-italic); font-style: italic;
}
.text-input {
  width: 100%;
  background: var(--paper-soft);
  border: 1px solid var(--gold-soft);
  border-radius: var(--r-lg);
  padding: 14px 18px;
  font-size: 17px;
  font-family: var(--font-body);
}
.text-input:focus { outline: none; border-color: var(--ember); background: var(--paper); }
.toggle-mode {
  font-size: 13px; color: var(--ink-3);
  background: none; border: none; cursor: pointer;
  text-decoration: underline; text-decoration-color: var(--gold-soft);
}
.toggle-mode:hover { color: var(--ember); }

/* Banners --------------------------------------------------- */
.demo-banner {
  background: var(--gold-soft);
  color: var(--ink);
  text-align: center;
  font-size: 13px;
  padding: 10px 16px;
  letter-spacing: 0.04em;
}
.demo-banner strong { color: var(--ember-deep); }

/* Genesis card embed (used for cross-promo) ------------------ */
.tfg-mark {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; color: var(--ink-3);
  letter-spacing: 0.12em; text-transform: uppercase;
  font-weight: 600;
}
.tfg-mark::before {
  content: ""; width: 6px; height: 6px; border-radius: 999px; background: var(--ember);
}

/* Tiny utilities -------------------------------------------- */
.center { text-align: center; }
.hidden { display: none !important; }
.muted { color: var(--ink-3); }
.spacer-sm { height: var(--s-4); }
.spacer-md { height: var(--s-7); }
.spacer-lg { height: var(--s-10); }
.tight-prose { max-width: var(--w-prose); margin: 0 auto; }
.narrow { max-width: var(--w-narrow); margin: 0 auto; }

/* ============================================================
   TRUST STRIP — honest signals beneath the hero
   ============================================================ */
.trust-strip {
  background: var(--paper);
  border-top: 1px solid var(--gold-soft);
  border-bottom: 1px solid var(--gold-soft);
  padding: var(--s-5) 0;
}
.trust-list {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-5);
  align-items: center;
}
.trust-item {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; line-height: 1.45;
  color: var(--ink-2);
  letter-spacing: 0.01em;
}
.trust-item strong { color: var(--ink); font-weight: 600; }
.trust-item a { color: var(--ember); }
.trust-item a:hover { color: var(--ember-deep); }
.trust-mark {
  display: inline-block;
  color: var(--gold-leaf);
  font-size: 10px;
  flex-shrink: 0;
  margin-top: 2px;
}
@media (max-width: 920px) {
  .trust-list { grid-template-columns: repeat(2, 1fr); gap: var(--s-4); }
}
@media (max-width: 540px) {
  .trust-list { grid-template-columns: 1fr; gap: var(--s-3); }
  .trust-strip { padding: var(--s-4) 0; }
}

/* ============================================================
   WORKFLOW — the rich "How It Works" panel
   ============================================================ */
.workflow {
  display: grid;
  gap: var(--s-5);
  margin-top: var(--s-7);
  /* Two columns on wide, one on narrow */
  grid-template-columns: repeat(2, 1fr);
}
@media (max-width: 920px) {
  .workflow { grid-template-columns: 1fr; }
}
.workflow-step {
  background: var(--paper);
  border: 1px solid var(--gold-soft);
  border-radius: var(--r-lg);
  padding: var(--s-6);
  display: flex; gap: var(--s-5);
  align-items: flex-start;
  position: relative;
  box-shadow: var(--shadow-1);
  transition: border-color .15s ease, box-shadow .15s ease, transform .15s ease;
}
.workflow-step:hover {
  border-color: var(--ember-soft);
  box-shadow: var(--shadow-2);
  transform: translateY(-1px);
}
.workflow-num {
  flex-shrink: 0;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--gold-leaf);
  min-width: 56px;
  padding-top: 4px;
}
.workflow-body { flex: 1; min-width: 0; }
.workflow-body h3 {
  font-family: var(--font-display);
  font-size: 26px;
  font-weight: 400;
  margin: 0 0 var(--s-3);
  line-height: 1.2;
  color: var(--ink);
}
.workflow-summary {
  font-family: var(--font-display);
  font-size: 17px;
  color: var(--ink-2);
  line-height: 1.55;
  margin: 0 0 var(--s-4);
  font-style: italic;
}
.workflow-detail {
  list-style: none;
  padding: 0;
  margin: 0;
}
.workflow-detail li {
  padding: 6px 0 6px 22px;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.55;
  position: relative;
}
.workflow-detail li::before {
  content: "◆";
  position: absolute;
  left: 0; top: 9px;
  color: var(--gold-leaf);
  font-size: 9px;
}
@media (max-width: 540px) {
  .workflow-step {
    flex-direction: column;
    gap: var(--s-3);
    padding: var(--s-5);
  }
  .workflow-num { min-width: 0; padding-top: 0; }
  .workflow-body h3 { font-size: 23px; }
}
.workflow-honest {
  margin-top: var(--s-7);
  padding: var(--s-5) var(--s-6);
  background: var(--paper-deep);
  border-left: 3px solid var(--moss);
  border-radius: var(--r-md);
  max-width: 880px;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.65;
}
.workflow-honest strong { color: var(--ink); }

/* family-note signoff link tweak */
.family-note .why-link {
  display: inline-block;
  margin-top: var(--s-4);
  font-family: var(--font-body);
  font-style: normal;
  font-size: 14px;
  letter-spacing: 0.04em;
  color: var(--ember);
}
.family-note .why-link:hover { color: var(--ember-deep); }

/* ============================================================
   WAITLIST — pre-launch capture
   ============================================================ */
.waitlist-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-9);
  align-items: start;
}
@media (max-width: 920px) {
  .waitlist-grid { grid-template-columns: 1fr; gap: var(--s-7); }
}
.waitlist-bullets {
  list-style: none;
  margin: var(--s-5) 0 0;
  padding: 0;
}
.waitlist-bullets li {
  display: flex;
  gap: 10px;
  font-size: 15px;
  color: var(--ink-2);
  line-height: 1.55;
  padding: 6px 0;
}
.waitlist-bullets .trust-mark { font-size: 10px; }

.waitlist-form {
  background: var(--paper);
  border: 1px solid var(--gold-soft);
  border-radius: var(--r-xl);
  padding: var(--s-6);
  box-shadow: var(--shadow-2);
  position: relative;
}
.waitlist-form::before {
  content: "";
  position: absolute;
  inset: -8px;
  border: 1px solid rgba(196, 167, 106, 0.35);
  border-radius: calc(var(--r-xl) + 8px);
  pointer-events: none;
}
.waitlist-form .form-row { margin-bottom: var(--s-4); }
.waitlist-form .form-row label .optional {
  font-weight: 400;
  font-size: 12px;
  color: var(--ink-3);
  letter-spacing: normal;
  text-transform: none;
  margin-left: 6px;
  font-style: italic;
}
.waitlist-success {
  text-align: center;
  padding: var(--s-5) var(--s-3);
}
.waitlist-success-mark {
  font-size: 16px;
  letter-spacing: 14px;
  color: var(--gold-leaf);
  margin-bottom: var(--s-4);
}
.waitlist-success h3 {
  font-family: var(--font-display);
  font-size: 32px;
  margin: 0 0 var(--s-3);
  font-weight: 400;
  color: var(--ink);
}
.waitlist-success p {
  font-family: var(--font-display);
  font-size: 18px;
  line-height: 1.6;
  color: var(--ink-2);
  margin: 0 auto;
  max-width: 420px;
}
.waitlist-success a { color: var(--ember); }

/* ============================================================
   "About this elder" sidebar on chapter pages
   ============================================================ */
.elder-aside {
  margin: var(--s-9) auto 0;
  max-width: 620px;
  padding: var(--s-5) var(--s-6);
  background: var(--paper-deep);
  border: 1px solid var(--gold-soft);
  border-radius: var(--r-lg);
}
.elder-aside-eyebrow {
  font-family: var(--font-italic);
  font-style: italic;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-leaf);
  font-size: 11px;
  margin: 0 0 var(--s-3);
  text-align: center;
}
.elder-aside-grid {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: var(--s-5);
  align-items: center;
}
.elder-aside-portrait {
  width: 64px; height: 64px;
  border-radius: 50%;
  background:
    radial-gradient(ellipse at 30% 30%, var(--paper-soft), var(--gold-soft) 70%, var(--ember-soft));
  border: 2px solid var(--gold-leaf);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display);
  font-style: italic;
  font-size: 28px;
  color: var(--ember-deep);
}
.elder-aside-name {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 400;
  margin: 0 0 4px;
  color: var(--ink);
}
.elder-aside-line {
  margin: 0 0 4px;
  font-size: 14px;
  color: var(--ink-2);
  line-height: 1.5;
}
.elder-aside-flag {
  margin: 6px 0 0;
  font-size: 12px;
  font-style: italic;
  color: var(--ink-3);
  letter-spacing: 0.02em;
}

/* Chapter pager — prev/next chapter navigation */
.chapter-pager {
  margin: var(--s-7) auto 0;
  max-width: 620px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: var(--s-4);
  align-items: center;
  padding: var(--s-5) 0 0;
  border-top: 1px solid var(--gold-soft);
}
.pager-link {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-decoration: none;
  color: var(--ink-2);
  padding: var(--s-3);
  border-radius: var(--r-md);
  transition: background .15s ease, color .15s ease;
  min-width: 0;
}
.pager-link:hover {
  background: var(--paper-deep);
  color: var(--ember-deep);
}
.pager-link[hidden] { display: none; }
.pager-prev { text-align: left; }
.pager-next { text-align: right; align-items: flex-end; }
.pager-roman {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 12px;
  letter-spacing: 0.18em;
  color: var(--gold-leaf);
  text-transform: uppercase;
}
.pager-arrow {
  display: inline-block;
  font-size: 16px;
  color: var(--gold-leaf);
}
.pager-prev .pager-arrow { margin-left: 0; margin-right: 6px; }
.pager-next .pager-arrow { margin-left: 6px; }
.pager-title {
  font-family: var(--font-display);
  font-size: 17px;
  line-height: 1.3;
  color: var(--ink);
  font-style: italic;
}
.pager-mark {
  color: var(--gold-leaf);
  font-size: 14px;
  letter-spacing: 0;
  align-self: center;
  padding: 0 var(--s-3);
}

@media (max-width: 540px) {
  .chapter-pager {
    grid-template-columns: 1fr;
    gap: var(--s-3);
    text-align: left;
  }
  .pager-mark { display: none; }
  .pager-next { text-align: left; align-items: flex-start; }
  .pager-next .pager-arrow { margin-left: 6px; }
}

/* Chapter listen note (honest browser-TTS callout) */
.listen-note {
  margin: 8px auto 0;
  max-width: 320px;
  font-size: 12px;
  font-family: var(--font-body);
  color: var(--ink-3);
  line-height: 1.55;
  letter-spacing: 0.01em;
  text-align: center;
}
.listen-note em {
  font-family: var(--font-italic);
  font-style: italic;
  color: var(--ember-deep);
  font-weight: 400;
}

/* ============================================================
   /why page — manuscript-page founder note
   ============================================================ */
.why-page {
  background: var(--paper);
  background-image:
    radial-gradient(ellipse at top, rgba(196, 167, 106, 0.08), transparent 60%),
    radial-gradient(ellipse at bottom, rgba(184, 85, 31, 0.04), transparent 60%);
  min-height: 100vh;
  min-height: 100dvh;
  padding: var(--s-9) 0 var(--s-10);
}
.why-paper {
  max-width: 620px;
  margin: 0 auto;
  padding: 0 var(--s-7);
}
.why-body {
  font-family: var(--font-display);
  font-size: 19px;
  line-height: 1.78;
  color: var(--ink);
  letter-spacing: 0.005em;
}
.why-body p {
  margin: 0 0 var(--s-5);
  text-align: justify;
  hyphens: auto;
}
.why-body p:first-of-type::first-letter {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 5em;
  line-height: 0.88;
  float: left;
  padding: 0.08em 0.08em 0 0;
  margin: 0.05em 0.04em 0 0;
  color: var(--ember);
  font-weight: 400;
  text-shadow: 0 1px 0 rgba(196, 167, 106, 0.18);
}
.why-divider {
  text-align: center;
  color: var(--gold-leaf);
  font-size: 14px;
  margin: var(--s-7) 0 var(--s-6);
  letter-spacing: 0;
}
.why-cta {
  margin: var(--s-8) 0 0;
  text-align: center;
  display: flex;
  gap: var(--s-3);
  justify-content: center;
  flex-wrap: wrap;
}
@media (max-width: 720px) {
  .why-paper { padding: 0 var(--s-5); }
  .why-body { font-size: 18px; }
}

/* Print (manuscript chapter print preview) ------------------- */
@media print {
  body { background: white; }
  .site-header, .site-footer, .chapter-actions, .demo-banner, .share-modal, .listen-scrubber, .chapter-listen { display: none; }
  .chapter-paper { max-width: 600px; }
  .chapter-body { font-size: 14pt; line-height: 1.8; }
  .chapter-title-display { font-size: 32pt; }
}

/* Listen scrubber — quiet, gilt, dignified ------------------- */
.listen-scrubber {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 460px;
  margin: 14px auto 0;
  padding: 10px 14px;
  background: var(--paper-deep);
  border: 1px solid var(--gold-soft);
  border-radius: 999px;
  font-family: var(--font-body);
}
.scrubber-skip {
  background: none;
  border: none;
  color: var(--ember);
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 50%;
  transition: background .15s ease;
  line-height: 1;
}
.scrubber-skip:hover { background: var(--paper-soft); color: var(--ember-deep); }
.scrubber-track {
  position: relative;
  flex: 1;
  height: 6px;
  background: var(--paper-soft);
  border-radius: 999px;
  cursor: pointer;
  outline: none;
}
.scrubber-track:focus-visible { box-shadow: 0 0 0 2px var(--ember); }
.scrubber-fill {
  position: absolute; inset: 0 auto 0 0;
  width: 0%;
  background: linear-gradient(90deg, var(--ember-soft), var(--ember));
  border-radius: 999px;
  transition: width .12s linear;
}
.scrubber-thumb {
  position: absolute;
  top: 50%; left: 0%;
  transform: translate(-50%, -50%);
  width: 12px; height: 12px;
  background: var(--ember);
  border: 2px solid var(--paper);
  border-radius: 50%;
  box-shadow: 0 1px 3px rgba(42, 31, 23, 0.18);
  pointer-events: none;
  transition: left .12s linear;
}
.scrubber-time {
  font-size: 12px;
  color: var(--ink-3);
  font-variant-numeric: tabular-nums;
  letter-spacing: 0.02em;
  min-width: 70px;
  text-align: right;
}
@media (max-width: 480px) {
  .listen-scrubber { max-width: 340px; padding: 8px 10px; gap: 8px; }
  .scrubber-time { min-width: 60px; font-size: 11px; }
}

/* Hover pulse on listen button — invites attention ----------- */
.chapter-listen:not(.playing):hover .listen-icon {
  animation: listen-hover-pulse 1.6s ease-in-out infinite;
}
@keyframes listen-hover-pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.18); }
}

/* Share-card modal ------------------------------------------- */
.share-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.share-modal[hidden] { display: none; }
.share-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(42, 31, 23, 0.62);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  animation: share-fade .25s ease-out;
}
@keyframes share-fade { from { opacity: 0 } to { opacity: 1 } }
.share-modal-panel {
  position: relative;
  background: var(--paper);
  border: 1px solid var(--gold-soft);
  border-radius: 16px;
  box-shadow: 0 30px 80px -20px rgba(42, 31, 23, 0.45);
  max-width: 580px;
  width: 100%;
  max-height: calc(100vh - 48px);
  overflow-y: auto;
  padding: 32px 28px 24px;
  animation: share-rise .28s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes share-rise {
  from { opacity: 0; transform: translateY(16px) scale(0.985); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}
.share-modal-close {
  position: absolute;
  top: 12px; right: 14px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: var(--ink-3);
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 50%;
  transition: background .15s ease, color .15s ease;
}
.share-modal-close:hover { background: var(--paper-deep); color: var(--ink); }
.share-modal-title {
  font-family: var(--font-display);
  font-style: italic;
  font-size: 28px;
  font-weight: 400;
  color: var(--ink);
  margin: 0 0 6px;
  text-align: center;
}
.share-modal-sub {
  text-align: center;
  color: var(--ink-3);
  font-size: 14px;
  margin: 0 0 18px;
}
.share-format {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin: 0 0 16px;
}
.share-format-btn {
  background: var(--paper-deep);
  border: 1px solid var(--gold-soft);
  color: var(--ink-2);
  padding: 7px 14px;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 13px;
  cursor: pointer;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.share-format-btn:hover { background: var(--paper-soft); border-color: var(--ember-soft); }
.share-format-btn.is-active {
  background: var(--ember);
  color: white;
  border-color: var(--ember-deep);
}
.share-preview-wrap {
  background: var(--paper-deep);
  border: 1px solid var(--gold-soft);
  border-radius: 10px;
  padding: 12px;
  display: flex;
  justify-content: center;
  margin: 0 0 18px;
  max-height: 50vh;
  overflow: auto;
}
.share-preview {
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 6px;
  box-shadow: 0 8px 24px -8px rgba(42, 31, 23, 0.25);
}
.share-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
}
.share-modal-actions .btn { flex: 1 1 auto; min-width: 140px; }
@media (max-width: 520px) {
  .share-modal-panel { padding: 24px 18px 18px; }
  .share-modal-title { font-size: 24px; }
  .share-preview-wrap { max-height: 40vh; }
}
