/* Same Sermon brand tokens. Warm linen paper, clay and candle-gold accents, plum ink.
   Stained-glass accents give each language chip its own color. */
:root {
  --linen: #fbf7f0;
  --linen-deep: #f3ebdd;
  --paper: #ffffff;
  --ink: #2a2238;
  --ink-soft: #5b5268;
  --ink-faint: #8a8295;
  --line: #e6dccb;
  --clay: #b4532a;
  --clay-dark: #8f3f1e;
  --clay-soft: #f6e3d8;
  --gold: #e9b44c;
  --gold-soft: #fbefd2;
  --sage: #5f8264;
  --sage-soft: #e3ece2;
  --plum: #7a4e8c;
  --lake: #3e7ca6;
  --danger: #a3261b;

  --font-display: 'Fraunces', Georgia, 'Times New Roman', serif;
  --font-body: 'Figtree', system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', sans-serif;
  --font-captions: system-ui, -apple-system, 'Segoe UI', Roboto, 'Noto Sans', 'Noto Sans Arabic', 'Noto Sans Devanagari', 'Noto Sans CJK SC', sans-serif;

  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 1px 2px rgba(42, 34, 56, .06), 0 8px 24px rgba(42, 34, 56, .08);
  --max: 1120px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--linen);
  color: var(--ink);
  font: 17px/1.6 var(--font-body);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; line-height: 1.15; letter-spacing: -.01em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.2rem, 5vw, 3.6rem); font-variation-settings: 'SOFT' 100, 'opsz' 144; }
h2 { font-size: clamp(1.7rem, 3.4vw, 2.5rem); font-variation-settings: 'SOFT' 100; }
h3 { font-size: 1.3rem; }
p { margin: 0 0 1em; }
a { color: var(--clay-dark); text-underline-offset: 3px; }
a:hover { color: var(--clay); }
img, svg { max-width: 100%; }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 6px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .5em;
  padding: .8em 1.4em; border-radius: 999px; border: 2px solid transparent;
  font: 600 1rem/1.2 var(--font-body); text-decoration: none; cursor: pointer;
  transition: background .15s, color .15s, border-color .15s, transform .1s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--clay); color: #fff; }
.btn-primary:hover { background: var(--clay-dark); color: #fff; }
.btn-secondary { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-secondary:hover { background: var(--ink); color: var(--linen); }
.btn-quiet { background: var(--linen-deep); color: var(--ink); }
.btn-quiet:hover { background: var(--line); color: var(--ink); }
.btn[disabled] { opacity: .55; cursor: not-allowed; }

.card { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 28px; box-shadow: var(--shadow); }
.eyebrow { font: 700 .78rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--clay); margin-bottom: 14px; }
.muted { color: var(--ink-soft); }
.chip { display: inline-flex; align-items: center; gap: 6px; padding: 5px 12px; border-radius: 999px; font-size: .9rem; font-weight: 600; background: var(--linen-deep); }
.chip-1 { background: var(--clay-soft); color: var(--clay-dark); }
.chip-2 { background: var(--gold-soft); color: #7a5410; }
.chip-3 { background: var(--sage-soft); color: #36513a; }
.chip-4 { background: #eee3f3; color: var(--plum); }
.chip-5 { background: #e1edf5; color: #2b5a7a; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

input, select, textarea {
  font: inherit; color: var(--ink); background: var(--paper);
  border: 1.5px solid var(--line); border-radius: 10px; padding: .65em .8em; width: 100%;
}
input:focus, select:focus, textarea:focus { border-color: var(--clay); outline: none; box-shadow: 0 0 0 3px var(--clay-soft); }
label { font-weight: 600; font-size: .95rem; display: block; margin-bottom: 6px; }

/* ==========================================================================
   Same Sermon marketing site
   Loaded after src/styles/brand.css, which defines tokens and base components.
   ========================================================================== */

/* ---------- Base & layout ---------- */
html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body { overflow-x: hidden; }
main { display: block; }
[id] { scroll-margin-top: 24px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 16px; }
@media (min-width: 640px) { .wrap { padding: 0 28px; } }
.narrow { max-width: 760px; margin-left: auto; margin-right: auto; }
.wrap.narrow { max-width: calc(760px + 56px); }
.center { text-align: center; }
.small { font-size: .9rem; }
.lede { font-size: 1.15rem; color: var(--ink-soft); max-width: 42em; }
.center .lede, .lede.center { margin-left: auto; margin-right: auto; }
.h3 { font-size: 1.3rem; }

.section { padding: 64px 0; }
.section.tight { padding: 24px 0; }
.section-alt { background: var(--linen-deep); }
.narrow-section .wrap { max-width: calc(820px + 56px); }
@media (min-width: 900px) { .section { padding: 88px 0; } }

.section-head { max-width: 720px; margin: 0 auto 40px; text-align: center; }
.section-head .lede { margin: 0 auto; }

.actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.actions.center { justify-content: center; }
.text-link { font-weight: 600; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.icon { width: 24px; height: 24px; flex: none; }

.tag {
  display: inline-block; vertical-align: middle; margin-left: 6px;
  padding: 3px 10px; border-radius: 999px; background: var(--gold-soft); color: #7a5410;
  font: 700 .72rem/1.3 var(--font-body); letter-spacing: .04em; text-transform: uppercase;
}
.tag-good { background: var(--sage-soft); color: #36513a; }
p.tag { margin: 0 0 12px; margin-left: 0; }

/* ---------- Skip link & offer bar ---------- */
.skip {
  position: absolute; left: 12px; top: -60px; z-index: 100;
  background: var(--ink); color: var(--linen); padding: 10px 16px; border-radius: 10px; font-weight: 600;
}
.skip:focus { top: 12px; color: var(--linen); }

.offer-bar { background: var(--gold-soft); border-bottom: 1px solid #f0dca9; text-align: center; }
.offer-bar a {
  display: block; padding: 8px 16px; color: var(--ink); text-decoration: none;
  font-size: .92rem; font-weight: 500; line-height: 1.4;
}
.offer-bar a span { color: var(--clay-dark); font-weight: 700; white-space: nowrap; }
.offer-bar a:hover span { text-decoration: underline; }

/* ---------- Header ---------- */
.site-header { background: rgba(251, 247, 240, .96); border-bottom: 1px solid var(--line); position: relative; z-index: 10; }
.header-inner { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 20px; padding-top: 12px; padding-bottom: 12px; }
.brand {
  display: inline-flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink);
  font: 600 1.3rem/1 var(--font-display); letter-spacing: -.01em;
}
.brand:hover { color: var(--ink); }
.logo-mark { flex: none; }
.site-nav {
  order: 3; flex: 1 1 100%; display: flex; gap: 4px;
  overflow-x: auto; scrollbar-width: none; margin: 0 -8px; padding: 2px 0;
}
.site-nav::-webkit-scrollbar { display: none; }
.site-nav a {
  flex: none; padding: 8px 10px; border-radius: 10px; color: var(--ink-soft);
  text-decoration: none; font-weight: 600; font-size: .95rem; white-space: nowrap;
}
.site-nav a:hover { color: var(--ink); background: var(--linen-deep); }
.site-nav a[aria-current="page"] { color: var(--clay-dark); box-shadow: inset 0 -2px 0 var(--clay); border-radius: 10px 10px 0 0; }
.header-actions { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.signin { color: var(--ink); font-weight: 600; text-decoration: none; font-size: .95rem; }
.signin:hover { text-decoration: underline; }
.btn-small { padding: .55em 1.05em; font-size: .92rem; }

@media (min-width: 900px) {
  .header-inner { flex-wrap: nowrap; padding-top: 16px; padding-bottom: 16px; }
  .site-nav { order: 0; flex: 0 1 auto; margin: 0 auto; overflow: visible; }
  .header-actions { margin-left: 0; }
}
@media (max-width: 479px) {
  .header-inner { gap: 6px 10px; }
  .brand { gap: 8px; font-size: 1.12rem; }
  .brand .logo-mark { width: 28px; height: 28px; }
  .header-actions { gap: 10px; }
  .signin { font-size: .9rem; }
  .btn-small { padding: .5em .85em; font-size: .88rem; }
}

/* ---------- Page heroes ---------- */
.page-hero { padding: 64px 0 40px; }
.page-hero h1 { max-width: 16em; }
.page-hero.center h1, .page-hero .center h1 { margin-left: auto; margin-right: auto; }
@media (min-width: 900px) { .page-hero { padding: 96px 0 56px; } }

/* ---------- Home hero ---------- */
.hero { padding: 48px 0 64px; background: radial-gradient(ellipse at 85% 20%, var(--gold-soft), transparent 55%), var(--linen); }
.hero-grid { display: grid; gap: 48px; align-items: center; }
.hero-note { margin-top: 18px; color: var(--ink-soft); font-size: .95rem; }
@media (min-width: 900px) {
  .hero { padding: 88px 0 104px; }
  .hero-grid { grid-template-columns: 1.1fr .9fr; gap: 64px; }
}

/* ---------- Phone mockup ---------- */
.hero-visual { margin: 0; display: flex; flex-direction: column; align-items: center; gap: 18px; }
.phone {
  width: min(300px, 100%); aspect-ratio: 9 / 17.5; padding: 12px;
  background: var(--ink); border-radius: 40px; box-shadow: 0 30px 60px -20px rgba(42, 34, 56, .45), var(--shadow);
  position: relative;
}
.phone::before {
  content: ""; position: absolute; top: 20px; left: 50%; transform: translateX(-50%);
  width: 72px; height: 6px; border-radius: 6px; background: #4a4058;
}
.phone-screen {
  height: 100%; border-radius: 30px; background: var(--paper); overflow: hidden;
  display: flex; flex-direction: column; padding: 38px 20px 18px;
}
.phone-status { display: flex; align-items: center; gap: 8px; font-size: .78rem; font-weight: 700; color: var(--ink-soft); letter-spacing: .02em; }
.live-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--clay); box-shadow: 0 0 0 4px var(--clay-soft); flex: none; }
.phone-prev { margin: 22px 0 0; color: var(--ink-faint); font-size: .92rem; line-height: 1.45; }
.caption-stack { position: relative; flex: 1; margin-top: 14px; }
.caption-slide { position: absolute; inset: 0; opacity: 0; animation: caption-cycle 16s infinite; }
.caption-slide.s2 { animation-delay: 4s; }
.caption-slide.s3 { animation-delay: 8s; }
.caption-slide.s4 { animation-delay: 12s; }
.caption-lang {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  background: var(--clay-soft); color: var(--clay-dark); font-size: .75rem; font-weight: 700;
}
.caption-slide p { margin: 12px 0 0; font: 600 1.18rem/1.45 var(--font-captions); color: var(--ink); }
.caption-slide p[dir="rtl"] { text-align: right; }
.phone-bar { display: flex; gap: 8px; }
.phone-bar > span {
  flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 6px;
  padding: 10px 6px; border-radius: 999px; font-size: .8rem; font-weight: 700;
}
.phone-bar .icon { width: 16px; height: 16px; }
.phone-listen { background: var(--clay); color: #fff; }
.phone-lang { background: var(--linen-deep); color: var(--ink); }
.hero-caption { max-width: 320px; text-align: center; font-size: .92rem; line-height: 1.5; }

@keyframes caption-cycle {
  0% { opacity: 0; transform: translateY(8px); }
  3%, 20% { opacity: 1; transform: none; }
  23%, 100% { opacity: 0; transform: translateY(-4px); }
}
@media (prefers-reduced-motion: reduce) {
  .caption-slide { animation: none; }
  .caption-slide.s1 { opacity: 1; }
}

/* ---------- Steps ---------- */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: 20px; counter-reset: none; }
.step {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 24px;
}
.step h3 { margin-bottom: .35em; }
.step p { margin: 0; color: var(--ink-soft); }
.step-num {
  flex: none; width: 44px; height: 44px; border-radius: 50%;
  display: grid; place-items: center; background: var(--gold-soft); color: var(--clay-dark);
  font: 700 1.3rem/1 var(--font-display);
}
@media (min-width: 900px) {
  .steps { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; }
  .step { flex-direction: column; padding: 28px; }
}
.steps + p { margin-top: 28px; }

/* ---------- Feature cards ---------- */
.feature-grid { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 640px) { .feature-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 980px) { .feature-grid { grid-template-columns: repeat(3, 1fr); } }
.feature-grid + p { margin-top: 28px; }
.feature { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius-lg); padding: 26px; }
.feature h3 { margin: 16px 0 8px; font-size: 1.2rem; }
.feature p { margin: 0; color: var(--ink-soft); }
.feature-icon {
  display: inline-grid; place-items: center; width: 48px; height: 48px; border-radius: 14px;
  background: var(--clay-soft); color: var(--clay-dark);
}
.feature:nth-child(5n+2) .feature-icon { background: var(--gold-soft); color: #7a5410; }
.feature:nth-child(5n+3) .feature-icon { background: var(--sage-soft); color: #36513a; }
.feature:nth-child(5n+4) .feature-icon { background: #eee3f3; color: var(--plum); }
.feature:nth-child(5n+5) .feature-icon { background: #e1edf5; color: #2b5a7a; }

/* ---------- Checklists ---------- */
.checklist { list-style: none; padding: 0; margin: 0 0 8px; display: grid; gap: 12px; }
.checklist li { display: flex; gap: 12px; align-items: flex-start; }
.checklist .icon { width: 22px; height: 22px; margin-top: 2px; color: var(--sage); stroke-width: 2.4; }

/* ---------- Two columns ---------- */
.two-col { display: grid; gap: 32px; }
.two-col > .card h3:first-child, .two-col > .card .h3:first-child { margin-top: 0; }
@media (min-width: 900px) {
  .two-col { grid-template-columns: 1fr 1fr; gap: 56px; }
  .two-col.align-center { align-items: center; }
}
.two-col .section-head { text-align: left; margin: 0 0 24px; }
.option h3 { margin-top: 0; }

/* ---------- Pew illustration ---------- */
.pew-grid { display: grid; gap: 40px; align-items: center; }
@media (min-width: 980px) { .pew-grid { grid-template-columns: 1.15fr 1fr; gap: 56px; } }
.pew-svg { display: block; width: 100%; height: auto; }
.pew-svg text { font: 600 17px var(--font-captions); fill: var(--ink); }

.scripture {
  margin: 28px 0 0; padding: 4px 0 4px 20px; border-left: 3px solid var(--gold);
  font: italic 500 1.15rem/1.5 var(--font-display); color: var(--ink);
}
.scripture p { margin: 0 0 6px; }
.scripture cite { font: 600 .9rem/1.3 var(--font-body); font-style: normal; color: var(--ink-soft); }
.center .scripture { text-align: left; }

/* ---------- Chips & languages ---------- */
.chip-cloud { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; max-width: 900px; margin: 0 auto; }
.chip-cloud.left { justify-content: flex-start; }
.chip-cloud .chip, .related .chip { font-family: var(--font-captions); }
.chip-more, .related a.chip { text-decoration: none; }
.chip-more { background: var(--ink); color: var(--linen); }
.chip-more:hover { background: var(--clay-dark); color: #fff; }
.related a.chip { margin: 4px 4px 4px 0; }
.related a.chip:hover { text-decoration: underline; }

.lang-legend { display: flex; flex-wrap: wrap; gap: 12px 28px; justify-content: center; margin-bottom: 28px; color: var(--ink-soft); font-size: .95rem; }
.lang-legend > span { display: inline-flex; align-items: center; gap: 8px; }
.mark { display: inline-grid; place-items: center; width: 26px; height: 26px; border-radius: 50%; }
.mark .icon { width: 15px; height: 15px; }
.mark-voice { background: var(--clay-soft); color: var(--clay-dark); }
.mark-preach { background: var(--sage-soft); color: #36513a; }

.lang-grid { list-style: none; padding: 0; margin: 0 0 24px; display: grid; gap: 12px; grid-template-columns: repeat(auto-fill, minmax(min(100%, 210px), 1fr)); }
.lang-card {
  height: 100%; display: grid; grid-template-columns: 1fr auto; grid-template-rows: auto auto; gap: 2px 10px;
  padding: 14px 16px; background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ink); text-decoration: none;
}
a.lang-card { border-color: #dcc9ad; }
a.lang-card:hover { border-color: var(--clay); color: var(--ink); box-shadow: var(--shadow); }
.lang-native { font: 600 1.15rem/1.35 var(--font-captions); grid-column: 1; }
.lang-name { grid-column: 1; color: var(--ink-soft); font-size: .9rem; }
a.lang-card .lang-name::after { content: " →"; color: var(--clay-dark); }
.lang-marks { grid-column: 2; grid-row: 1 / span 2; display: flex; gap: 4px; align-items: center; }

/* Language page sample caption */
.sample { margin: 0 auto; max-width: 560px; }
.sample-phone {
  background: var(--paper); border: 1px solid var(--line); border-radius: 28px;
  padding: 22px 24px 26px; box-shadow: var(--shadow); border-top: 6px solid var(--clay);
}
.sample-text { margin: 16px 0 0; font: 600 1.4rem/1.55 var(--font-captions); color: var(--ink); }
.sample-text[dir="rtl"] { text-align: right; }
.sample figcaption { margin-top: 14px; text-align: center; font-size: .95rem; }

/* ---------- Pricing ---------- */
.plan-teaser { display: grid; gap: 20px; max-width: 820px; margin: 0 auto 28px; text-align: left; }
@media (min-width: 700px) { .plan-teaser { grid-template-columns: 1fr 1fr; } }
.plan-mini h3 { margin-bottom: 4px; }
.plan-mini p:last-child { margin: 0; }
.featured { border: 2px solid var(--clay); }
.price { margin: 0 0 10px; display: flex; align-items: baseline; gap: 6px; flex-wrap: wrap; }
.amount { font: 600 2.6rem/1 var(--font-display); color: var(--ink); }
.per { color: var(--ink-soft); font-weight: 600; }

.billing-toggle {
  display: flex; width: fit-content; margin: 0 auto 32px; padding: 5px; gap: 4px;
  background: var(--linen-deep); border: 1px solid var(--line); border-radius: 999px;
}
.billing-toggle[hidden] { display: none; }
.billing-toggle button {
  font: 600 .95rem/1.2 var(--font-body); color: var(--ink-soft); background: none; border: 0;
  padding: 10px 18px; border-radius: 999px; cursor: pointer;
}
.billing-toggle button[aria-pressed="true"] { background: var(--paper); color: var(--ink); box-shadow: var(--shadow); }
.save { color: #36513a; font-size: .82rem; margin-left: 4px; }

.plans { display: grid; gap: 24px; max-width: 880px; margin: 0 auto 20px; }
@media (min-width: 760px) { .plans { grid-template-columns: 1fr 1fr; align-items: start; } }
.plan { position: relative; display: flex; flex-direction: column; }
.plan h2 { font-size: 1.7rem; margin-bottom: 4px; }
.plan-for { color: var(--ink-soft); margin-bottom: 18px; }
.price-note { color: var(--ink-soft); font-size: .92rem; min-height: 1.5em; }
.plan > .btn { margin: 6px 0 24px; }
.plan-badge {
  position: absolute; top: -14px; left: 28px; margin: 0; padding: 4px 12px; border-radius: 999px;
  background: var(--clay); color: #fff; font-size: .78rem; font-weight: 700; letter-spacing: .03em;
}
.plans [data-show="yearly"] { display: none; }
.plans.js[data-period="yearly"] [data-show="monthly"] { display: none; }
.plans.js[data-period="yearly"] [data-show="yearly"] { display: inline; }

.xmas-callout {
  display: flex; gap: 14px; align-items: center; max-width: 880px; margin: 0 auto; padding: 16px 22px;
  background: var(--gold-soft); border: 1px solid #f0dca9; border-radius: var(--radius);
}
.xmas-callout p { margin: 0; }
.xmas-callout > span { flex: none; display: inline-flex; }
.xmas-callout .icon { color: var(--clay-dark); }

.table-wrap { overflow-x: auto; max-width: 880px; margin: 0 auto; border-radius: var(--radius-lg); border: 1px solid var(--line); background: var(--paper); }
.compare { width: 100%; border-collapse: collapse; font-size: .98rem; }
.compare th, .compare td { padding: 14px 18px; border-bottom: 1px solid var(--line); text-align: left; vertical-align: middle; }
.compare thead th { background: var(--paper); font-family: var(--font-display); font-size: 1.1rem; }
.compare tbody th { font-weight: 500; }
.compare td { text-align: center; width: 28%; }
.compare tr:last-child > * { border-bottom: 0; }
.yes { color: var(--sage); display: inline-flex; }
@media (max-width: 559px) {
  .compare { font-size: .9rem; }
  .compare th, .compare td { padding: 12px 10px; }
  .compare td { width: 26%; }
}
.no { color: var(--ink-faint); }

/* ---------- Honest note ---------- */
.honest { display: grid; gap: 32px; align-items: start; }
.honest .card h3 { margin-top: 0; }
@media (min-width: 900px) { .honest { grid-template-columns: 1.1fr 1fr; gap: 56px; } }

/* ---------- Christmas ---------- */
.offer-band { background: linear-gradient(135deg, var(--gold-soft), #f8e2b3); padding: 64px 0; border-top: 1px solid #f0dca9; border-bottom: 1px solid #f0dca9; }
.offer-band-inner { display: grid; gap: 24px; align-items: center; }
.offer-band h2 { margin-bottom: .35em; }
.offer-band .eyebrow { color: var(--clay-dark); }
.offer-band p { max-width: 40em; }
.offer-band .actions { margin-top: 20px; }
.offer-candle svg { width: 96px; height: auto; display: block; }
@media (min-width: 760px) { .offer-band-inner { grid-template-columns: auto 1fr; gap: 48px; } .offer-candle svg { width: 120px; } }

.xmas-hero { background: radial-gradient(ellipse at 50% 0%, var(--gold-soft), transparent 65%), var(--linen); }
.xmas-hero h1 { margin-left: auto; margin-right: auto; }
.xmas-candle svg { width: 92px; height: auto; margin: 0 auto 12px; display: block; }
.flame { transform-origin: 60px 46px; animation: flicker 3.2s ease-in-out infinite; }
.glow { animation: glow 3.2s ease-in-out infinite; }
@keyframes flicker { 0%, 100% { transform: scale(1) rotate(0); } 30% { transform: scale(1.04, .97) rotate(-2deg); } 60% { transform: scale(.97, 1.03) rotate(2deg); } }
@keyframes glow { 0%, 100% { opacity: .22; } 50% { opacity: .32; } }
@media (prefers-reduced-motion: reduce) { .flame, .glow { animation: none; } }

.timeline { list-style: none; margin: 0 auto; padding: 0; max-width: 720px; }
.timeline li { position: relative; padding: 0 0 28px 34px; border-left: 2px solid var(--line); margin-left: 8px; }
.timeline li:last-child { padding-bottom: 0; border-left-color: transparent; }
.timeline li::before {
  content: ""; position: absolute; left: -9px; top: 4px; width: 16px; height: 16px; border-radius: 50%;
  background: var(--gold); box-shadow: 0 0 0 4px var(--gold-soft);
}
.timeline strong { display: block; font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 4px; }
.timeline span { color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq { max-width: 820px; margin: 0 auto 24px; display: grid; gap: 12px; }
.faq details { background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius); }
.faq summary {
  list-style: none; cursor: pointer; padding: 18px 52px 18px 22px; position: relative;
  font-weight: 700; font-size: 1.05rem; border-radius: var(--radius);
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+"; position: absolute; right: 20px; top: 50%; transform: translateY(-50%);
  font: 500 1.5rem/1 var(--font-body); color: var(--clay);
}
.faq details[open] summary::after { content: "−"; }
.faq summary:hover { color: var(--clay-dark); }
.faq-answer { padding: 0 22px 8px; color: var(--ink-soft); }
.faq-group { margin-bottom: 48px; }
.faq-group h2 { font-size: 1.6rem; }

/* ---------- Table of contents ---------- */
.toc { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; }
.toc a {
  padding: 7px 14px; border-radius: 999px; border: 1px solid var(--line); background: var(--paper);
  color: var(--ink); text-decoration: none; font-size: .92rem; font-weight: 600;
}
.toc a:hover { border-color: var(--clay); color: var(--clay-dark); }
.narrow-section .toc { margin-bottom: 40px; }

/* ---------- Prose (about, legal) ---------- */
.prose-lg { font-size: 1.1rem; }
.prose-lg h2 { margin-top: 1.6em; font-size: clamp(1.5rem, 3vw, 2rem); }
.prose-lg h2:first-child { margin-top: 0; }
.prose-lg ul, .prose ul { padding-left: 1.3em; }
.prose-lg li, .prose li { margin-bottom: .5em; }
.prose h2 { font-size: 1.5rem; margin-top: 1.8em; }
.prose h3 { font-size: 1.15rem; margin-top: 1.4em; }
.legal { font-size: 1rem; }
.notice { background: var(--gold-soft); border-radius: var(--radius); padding: 14px 18px; margin-bottom: 24px; }
.notice p { margin: 0; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; gap: 28px; }
@media (min-width: 900px) { .contact-grid { grid-template-columns: 1.4fr 1fr; gap: 40px; align-items: start; } }
.contact-aside { display: grid; gap: 20px; }
.contact-aside .card h2 { margin: 14px 0 8px; }
.contact-aside .card p:last-child { margin: 0; }
.field { margin-bottom: 18px; }
.optional { font-weight: 400; color: var(--ink-soft); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.contact-form { position: relative; }
.form-status { margin: 14px 0 0; font-weight: 600; min-height: 1.6em; }
.form-status.success { color: #36513a; }
.form-status.error { color: var(--danger); }

/* ---------- CTA band ---------- */
.cta-band { background: var(--ink); color: var(--linen); padding: 72px 0; }
.cta-band h2 { color: #fff; max-width: 18em; margin-left: auto; margin-right: auto; }
.cta-band .lede { color: #d9d2e2; }
.cta-band .btn-secondary { color: #fff; border-color: #fff; }
.cta-band .btn-secondary:hover { background: #fff; color: var(--ink); }
.cta-band :focus-visible { outline-color: var(--gold); }

/* ---------- 404 ---------- */
.not-found { padding: 96px 0; }
.not-found .actions { margin-bottom: 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--linen-deep); border-top: 1px solid var(--line); padding: 56px 0 28px; font-size: .95rem; }
.footer-grid { display: grid; gap: 32px; grid-template-columns: 1fr 1fr; }
.footer-grid > div:first-child { grid-column: 1 / -1; max-width: 340px; }
.footer-grid .brand { margin-bottom: 12px; }
.footer-grid h4 { font: 700 .78rem/1 var(--font-body); letter-spacing: .12em; text-transform: uppercase; color: var(--ink-soft); margin-bottom: 14px; }
.footer-grid div > a:not(.brand) { display: block; color: var(--ink); text-decoration: none; padding: 5px 0; }
.footer-grid div > a:not(.brand):hover { color: var(--clay-dark); text-decoration: underline; }
.footer-bottom { margin-top: 40px; padding-top: 20px; border-top: 1px solid var(--line); font-size: .88rem; }
@media (min-width: 760px) {
  .footer-grid { grid-template-columns: 1.6fr 1fr 1fr 1fr; }
  .footer-grid > div:first-child { grid-column: auto; }
}

/* ---------- Print ---------- */
@media print {
  .offer-bar, .site-header, .site-footer, .cta-band, .offer-band { display: none; }
  body { background: #fff; }
}
