/* HomilAI marketing site — editorial, restrained, print-leaning */
@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,opsz,wght@0,6..72,300;0,6..72,400;0,6..72,500;0,6..72,600;0,6..72,700;1,6..72,400;1,6..72,500&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

:root {
  --ivory: oklch(0.975 0.012 78);
  --ivory-2: oklch(0.955 0.014 78);
  --ivory-3: oklch(0.92 0.016 78);
  --paper: oklch(0.99 0.008 78);
  --ink: oklch(0.18 0.015 60);
  --ink-2: oklch(0.32 0.014 60);
  --ink-3: oklch(0.5 0.013 60);
  --ink-4: oklch(0.68 0.012 60);
  --rule: oklch(0.88 0.015 70);
  --rule-2: oklch(0.82 0.018 70);

  --ember: oklch(0.56 0.14 42);
  --ember-ink: oklch(0.36 0.12 40);
  --ember-soft: oklch(0.92 0.04 50);

  --sage: oklch(0.7 0.05 150);
  --sage-soft: oklch(0.93 0.025 150);
  --sage-ink: oklch(0.40 0.10 140);

  --gold: oklch(0.78 0.12 85);

  --serif: "Newsreader", "Iowan Old Style", Georgia, serif;
  --sans: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  --mono: "JetBrains Mono", ui-monospace, monospace;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;

  --shadow-sm: 0 1px 2px rgba(48, 30, 16, 0.04);
  --shadow: 0 6px 20px -8px rgba(48, 30, 16, 0.14), 0 2px 4px rgba(48, 30, 16, 0.04);
  --shadow-lg: 0 24px 60px -24px rgba(48, 30, 16, 0.22);

  --container: 1200px;
  --container-narrow: 920px;

  --topnav-bg: oklch(0.975 0.012 78 / 0.85);
  --cta-band-bg: var(--ink);
  --cta-band-ink: var(--paper);
  --cta-band-em: var(--gold);
  --cta-band-rule: oklch(0.99 0.008 78 / 0.25);
  --cta-band-fine: oklch(0.99 0.008 78 / 0.7);
}

/* ============ Dark mode ============
   Warm paper-tone dark — same hue family, inverted L scale.
   Mirrors the app's dark mode in DESIGN_GUIDE §3.1.
============================================================ */
[data-theme="dark"] {
  --ivory: oklch(0.18 0.008 60);
  --ivory-2: oklch(0.22 0.009 60);
  --ivory-3: oklch(0.28 0.011 60);
  --paper: oklch(0.215 0.009 60);

  --ink: oklch(0.96 0.012 78);
  --ink-2: oklch(0.82 0.013 78);
  --ink-3: oklch(0.62 0.013 70);
  --ink-4: oklch(0.48 0.012 70);
  --rule: oklch(0.32 0.012 65);
  --rule-2: oklch(0.40 0.013 65);

  --ember: oklch(0.72 0.14 44);
  --ember-ink: oklch(0.82 0.13 48);
  --ember-soft: oklch(0.32 0.07 45);

  --sage: oklch(0.72 0.07 150);
  --sage-soft: oklch(0.30 0.05 150);

  --gold: oklch(0.82 0.13 85);

  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.3);
  --shadow: 0 6px 20px -8px rgba(0, 0, 0, 0.5), 0 2px 4px rgba(0, 0, 0, 0.25);
  --shadow-lg: 0 24px 60px -24px rgba(0, 0, 0, 0.7);

  --topnav-bg: oklch(0.18 0.008 60 / 0.85);

  /* In dark mode the CTA band needs to invert: the warm dark surface
     would otherwise put a black-on-black panel on the page. */
  --cta-band-bg: oklch(0.12 0.008 60);
  --cta-band-ink: oklch(0.96 0.012 78);
  --cta-band-em: var(--gold);
  --cta-band-rule: oklch(0.96 0.012 78 / 0.18);
  --cta-band-fine: oklch(0.96 0.012 78 / 0.62);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}
img, svg { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: none; color: inherit; }

/* ============ Layout ============ */
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.container.narrow { max-width: var(--container-narrow); }

section { padding: 96px 0; }
section.tight { padding: 64px 0; }
section + section { border-top: 1px solid var(--rule); }

/* ============ Type ============ */
.eyebrow {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-4);
}
.eyebrow .dot { color: var(--ember); margin: 0 6px; }

h1.display {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(44px, 6.2vw, 76px);
  line-height: 1.02;
  letter-spacing: -0.025em;
  margin: 0;
  text-wrap: balance;
}
h1.display em { font-style: italic; color: var(--ember); font-weight: 400; }

h2.section-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(32px, 3.6vw, 44px);
  line-height: 1.08;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
h2.section-title em { font-style: italic; color: var(--ember); font-weight: 400; }

h3.card-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: -0.01em;
  margin: 0 0 8px;
}

.lede {
  font-size: 18px;
  line-height: 1.55;
  color: var(--ink-2);
  margin: 0;
  max-width: 60ch;
  text-wrap: pretty;
}
.body { color: var(--ink-2); margin: 0; max-width: 62ch; text-wrap: pretty; }
.fine { font-size: 12px; color: var(--ink-3); }
.mono { font-family: var(--mono); }

.section-head { display: flex; flex-direction: column; gap: 14px; margin-bottom: 48px; max-width: 720px; }
.section-head .eyebrow { margin: 0; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 44px;
  padding: 0 18px;
  border-radius: var(--radius);
  font-family: var(--sans);
  font-weight: 500;
  font-size: 14px;
  letter-spacing: -0.005em;
  white-space: nowrap;
  transition: transform .15s ease, background .15s ease, box-shadow .15s ease, border-color .15s ease;
}
.btn .arrow { transition: transform .2s ease; }
.btn:hover .arrow { transform: translateX(2px); }

.btn.primary {
  background: var(--ink);
  color: var(--ivory);
}
.btn.primary:hover { transform: translateY(-1px); box-shadow: var(--shadow); }

.btn.secondary {
  background: var(--ivory-2);
  color: var(--ink);
  border: 1px solid var(--rule);
}
.btn.secondary:hover { transform: translateY(-1px); border-color: var(--rule-2); box-shadow: var(--shadow-sm); }

.btn.ghost { color: var(--ink); padding: 0 12px; }
.btn.ghost:hover { background: var(--ivory-2); }

.btn.lg { height: 52px; padding: 0 24px; font-size: 15px; }
.btn.sm { height: 36px; padding: 0 14px; font-size: 13px; }

.btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 500;
  font-size: 14px;
  color: var(--ink);
  border-bottom: 1px solid var(--ink);
  padding-bottom: 1px;
  transition: color .15s ease, border-color .15s ease;
}
.btn-link:hover { color: var(--ember-ink); border-color: var(--ember-ink); }

/* ============ Topnav ============ */
.topnav {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--topnav-bg);
  backdrop-filter: saturate(140%) blur(10px);
  -webkit-backdrop-filter: saturate(140%) blur(10px);
  border-bottom: 1px solid var(--rule);
}
.topnav-inner {
  max-width: var(--container);
  margin: 0 auto;
  padding: 14px 32px;
  display: flex;
  align-items: center;
  gap: 32px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; }
.brand-mark {
  width: 28px; height: 28px;
  background: var(--ink);
  border-radius: 7px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--ivory);
  font-family: var(--serif);
  font-weight: 500;
  font-size: 15px;
  letter-spacing: -0.02em;
}
.brand-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 17px;
  letter-spacing: -0.015em;
}
.nav-links { display: flex; gap: 4px; margin-left: 12px; }
.nav-link {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--ink-2);
  transition: background .12s ease, color .12s ease;
}
.nav-link:hover { background: var(--ivory-2); color: var(--ink); }
.nav-link.active { color: var(--ink); }
.nav-spacer { flex: 1; }
.nav-cta { display: flex; align-items: center; gap: 8px; }

.nav-toggle {
  display: none;
  width: 40px; height: 40px;
  border-radius: 8px;
  align-items: center; justify-content: center;
  border: 1px solid var(--rule);
  background: var(--paper);
}
.nav-toggle span { display: block; width: 16px; height: 1.5px; background: var(--ink); position: relative; }
.nav-toggle span::before, .nav-toggle span::after {
  content: ""; position: absolute; left: 0; width: 16px; height: 1.5px; background: var(--ink);
}
.nav-toggle span::before { top: -5px; }
.nav-toggle span::after { top: 5px; }

/* ============ Theme toggle ============ */
.theme-toggle {
  width: 36px;
  height: 36px;
  flex: 0 0 36px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule);
  background: var(--paper);
  color: var(--ink-2);
  padding: 0;
  transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.theme-toggle:hover { background: var(--ivory-2); color: var(--ink); border-color: var(--rule-2); }
.theme-toggle svg { width: 16px; height: 16px; display: block; flex: 0 0 16px; }
.theme-toggle .icon-sun { display: none; }
.theme-toggle .icon-moon { display: block; }
[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
[data-theme="dark"] .theme-toggle .icon-moon { display: none; }

/* ============ Dark-mode component tweaks ============ */
[data-theme="dark"] .sample-tile { border-color: var(--rule-2); }
[data-theme="dark"] .hero-card { box-shadow: 0 30px 80px -30px rgba(0,0,0,0.7), 0 8px 16px -8px rgba(0,0,0,0.4); }
[data-theme="dark"] .plan.featured { border-color: var(--ink-2); }
[data-theme="dark"] .plan-badge { background: var(--ember); color: oklch(0.16 0.01 60); }
[data-theme="dark"] .btn.primary { background: var(--ink); color: var(--ivory); }
[data-theme="dark"] .footer { background: var(--ivory); }
[data-theme="dark"] .nav-link.active { color: var(--ember-ink); }

/* ============ Hero ============ */
.hero { padding: 96px 0 64px; }
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}
.hero-copy { display: flex; flex-direction: column; gap: 28px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.hero-actions .meta { font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.04em; margin-left: 8px; }
.hero-trust {
  display: flex; flex-wrap: wrap; gap: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-top: 12px;
  border-top: 1px solid var(--rule);
}
.hero-trust b { color: var(--ink); font-weight: 600; letter-spacing: 0.04em; text-transform: none; font-family: var(--serif); font-size: 22px; display: block; margin-bottom: 4px; font-style: italic; }

/* Hero art — stacked sample graphics */
.hero-art {
  position: relative;
  aspect-ratio: 4 / 5;
  width: 100%;
}
.hero-card {
  position: absolute;
  border-radius: var(--radius-lg);
  box-shadow: 0 30px 80px -30px rgba(48,30,16,0.4), 0 8px 16px -8px rgba(48,30,16,0.15);
  overflow: hidden;
}
.hero-card.a { inset: 0 18% 22% 0; transform: rotate(-3deg); }
.hero-card.b { inset: 24% 0 0 22%; transform: rotate(4deg); }
.hero-meta {
  position: absolute;
  bottom: -6px; left: 4%;
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  background: var(--paper);
  padding: 4px 10px;
  border: 1px solid var(--rule);
  border-radius: 4px;
}

/* ============ Sermon-graphic samples (CSS art, no JS) ============ */
.sg {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  font-family: var(--serif);
  color: var(--paper);
  overflow: hidden;
  isolation: isolate;
}
.sg::before {
  content: ""; position: absolute; inset: 0;
  background-image:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,0.18) 0, transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(0,0,0,0.35) 0, transparent 50%);
  z-index: -1;
}
.sg::after {
  content: ""; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(0deg, rgba(0,0,0,0.05) 0 1px, transparent 1px 3px);
  mix-blend-mode: overlay;
  pointer-events: none;
  z-index: -1;
}
.sg-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  opacity: 0.78;
}
.sg-title {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.0;
  letter-spacing: -0.025em;
  font-weight: 500;
  text-wrap: balance;
}
.sg-title em { font-style: italic; font-weight: 400; }
.sg-meta {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  opacity: 0.7;
  display: flex; justify-content: space-between;
}
.sg-rule { height: 1px; background: currentColor; opacity: 0.35; }

/* Palette variants */
.sg-ember { background: linear-gradient(140deg, #2a1810 0%, #6b2d1a 55%, #d97757 100%); }
.sg-ember .accent { color: #f4c174; }
.sg-midnight { background: linear-gradient(140deg, #0a1628 0%, #1e3a5f 55%, #4a7ba6 100%); }
.sg-midnight .accent { color: #f4c174; }
.sg-sage { background: linear-gradient(140deg, #1a2820 0%, #3e5c4a 55%, #7ba587 100%); }
.sg-sage .accent { color: #d9a86c; }
.sg-parchment { background: linear-gradient(140deg, #f2e8d5 0%, #d4b896 55%, #8a6b42 100%); color: #2a1f12; }
.sg-parchment .accent { color: #b8452f; }
.sg-plum { background: linear-gradient(140deg, #1f1028 0%, #4a2560 55%, #8a5cb0 100%); }
.sg-plum .accent { color: #f0b368; }
.sg-clay { background: linear-gradient(140deg, #2a1510 0%, #7a3a20 55%, #d48a5c 100%); }
.sg-clay .accent { color: #f0c874; }
.sg-forest { background: linear-gradient(140deg, #0f1a0f 0%, #2a4a2a 55%, #6b9070 100%); }
.sg-forest .accent { color: #d9a86c; }
.sg-dust { background: linear-gradient(140deg, #1e1a15 0%, #4a3e30 55%, #a08968 100%); }
.sg-dust .accent { color: #c46b4a; }
.sg-rose { background: linear-gradient(140deg, #2a1820 0%, #6b2d45 55%, #c46b8a 100%); }
.sg-rose .accent { color: #f4c174; }

/* ============ Section: How it works (3 steps) ============ */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: var(--rule);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.step {
  background: var(--paper);
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-height: 280px;
}
.step-num {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  color: var(--ember);
}
.step-title {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  letter-spacing: -0.01em;
  line-height: 1.2;
  margin: 0;
}
.step-body { color: var(--ink-2); margin: 0; font-size: 14.5px; }

/* ============ Sample grid ============ */
.sample-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.sample-tile {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--rule);
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease;
}
.sample-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.sample-caption {
  margin-top: 10px;
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex; justify-content: space-between;
}
.sample-caption b { color: var(--ink); font-weight: 600; }

/* ============ Feature rows (alternating) ============ */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.feature-row + .feature-row { margin-top: 96px; padding-top: 96px; border-top: 1px solid var(--rule); }
.feature-row.flip .feature-art { order: 2; }

.feature-copy { display: flex; flex-direction: column; gap: 18px; max-width: 480px; }
.feature-h {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 36px);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0;
  text-wrap: balance;
}
.feature-h em { font-style: italic; color: var(--ember); font-weight: 400; }
.feature-bullets { list-style: none; padding: 0; margin: 8px 0 0; display: flex; flex-direction: column; gap: 12px; }
.feature-bullets li { display: flex; gap: 12px; color: var(--ink-2); font-size: 14.5px; }
.feature-bullets li::before {
  content: "";
  flex: 0 0 6px; height: 6px;
  margin-top: 9px;
  border-radius: 50%;
  background: var(--ember);
}

/* ============ Generic feature art ============ */
.fa-frame {
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--paper);
  padding: 24px;
  box-shadow: var(--shadow);
  position: relative;
}
.fa-frame .fa-eyebrow {
  font-family: var(--mono);
  font-size: 10px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin-bottom: 14px;
}

/* ============ Quote ============ */
.quote {
  font-family: var(--serif);
  font-weight: 400;
  font-size: clamp(24px, 2.6vw, 32px);
  line-height: 1.32;
  letter-spacing: -0.015em;
  margin: 0;
  text-wrap: balance;
  color: var(--ink);
}
.quote em { font-style: italic; color: var(--ember); }
.quote-meta {
  margin-top: 24px;
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  display: flex; gap: 14px; align-items: center;
}
.quote-meta .sep { color: var(--ink-4); }

/* ============ Pricing ============ */
.plans {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.plan {
  background: var(--paper);
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: relative;
}
.plan.featured { border: 1px solid var(--ink); box-shadow: var(--shadow); }
.plan-badge {
  position: absolute;
  top: -10px; left: 32px;
  font-family: var(--mono);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  background: var(--ink);
  color: var(--ivory);
  padding: 4px 10px;
  border-radius: 4px;
}
.plan-name {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  margin: 0;
  letter-spacing: -0.01em;
}
.plan-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  font-family: var(--serif);
}
.plan-price .num {
  font-size: 48px;
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1;
}
.plan-price .per {
  font-family: var(--sans);
  font-size: 13px;
  color: var(--ink-3);
}
.plan-tagline { font-size: 14px; color: var(--ink-2); margin: 0; }
.plan-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 10px; }
.plan-features li { display: flex; gap: 10px; font-size: 14px; color: var(--ink-2); }
.plan-features li::before {
  content: "✓";
  color: var(--ember);
  font-family: var(--serif);
  font-weight: 500;
}
.plan-features li.muted { color: var(--ink-4); }
.plan-features li.muted::before { content: "—"; color: var(--ink-4); }
.plan-cta { margin-top: auto; }

/* ============ FAQ ============ */
.faqs {
  display: flex;
  flex-direction: column;
  border-top: 1px solid var(--rule);
}
.faq {
  border-bottom: 1px solid var(--rule);
}
.faq summary {
  list-style: none;
  cursor: pointer;
  padding: 24px 0;
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--serif);
  font-weight: 500;
  font-size: 19px;
  letter-spacing: -0.01em;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "+";
  margin-left: auto;
  font-family: var(--serif);
  font-size: 24px;
  color: var(--ink-3);
  transition: transform .2s ease;
}
.faq[open] summary::after { content: "–"; }
.faq-body {
  padding: 0 0 24px;
  color: var(--ink-2);
  max-width: 70ch;
  font-size: 15px;
  line-height: 1.6;
}
.faq-body p { margin: 0 0 12px; }
.faq-body p:last-child { margin-bottom: 0; }

/* ============ CTA band ============ */
.cta-band {
  background: var(--cta-band-bg);
  color: var(--cta-band-ink);
  border-radius: var(--radius-lg);
  padding: 56px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 48px;
  align-items: center;
}
.cta-band h2 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.1;
  letter-spacing: -0.02em;
  margin: 0;
  color: var(--cta-band-ink);
  text-wrap: balance;
}
.cta-band h2 em { font-style: italic; color: var(--cta-band-em); font-weight: 400; }
.cta-band p { color: var(--cta-band-fine); margin: 16px 0 0; font-size: 15px; max-width: 50ch; }
.cta-band .btn.primary { background: var(--cta-band-ink); color: var(--cta-band-bg); }
.cta-band .btn.primary:hover { filter: brightness(0.96); }
.cta-band .btn.ghost { color: var(--cta-band-ink); border: 1px solid var(--cta-band-rule); }
.cta-band .btn.ghost:hover { background: var(--cta-band-rule); }
.cta-band .actions { display: flex; flex-direction: column; gap: 10px; align-items: stretch; }
.cta-band .fine { color: var(--cta-band-fine); }

/* ============ Footer ============ */
.footer {
  border-top: 1px solid var(--rule);
  padding: 64px 0 40px;
  background: var(--ivory);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 48px;
}
.footer-col h5 {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-4);
  margin: 0 0 14px;
}
.footer-col ul { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; }
.footer-col a { color: var(--ink-2); font-size: 14px; }
.footer-col a:hover { color: var(--ink); }
.footer-tag {
  font-family: var(--serif);
  font-size: 18px;
  letter-spacing: -0.015em;
  color: var(--ink-2);
  margin: 12px 0 0;
  max-width: 30ch;
}
.footer-tag em { font-style: italic; color: var(--ember-ink); }
.footer-bot {
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 16px;
  margin-top: 56px; padding-top: 24px; border-top: 1px solid var(--rule);
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.08em;
  color: var(--ink-3);
}

/* ============ Page header (interior pages) ============ */
.page-header {
  padding: 96px 0 64px;
  border-bottom: 1px solid var(--rule);
}
.page-header .eyebrow { margin-bottom: 16px; }
.page-header h1 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: clamp(40px, 5vw, 64px);
  line-height: 1.04;
  letter-spacing: -0.025em;
  margin: 0 0 18px;
  text-wrap: balance;
  max-width: 18ch;
}
.page-header h1 em { font-style: italic; color: var(--ember); font-weight: 400; }
.page-header p { font-size: 18px; color: var(--ink-2); max-width: 56ch; margin: 0; }

/* ============ Compare table (pricing) ============ */
.compare {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}
.compare th, .compare td {
  text-align: left;
  padding: 16px 20px;
  border-bottom: 1px solid var(--rule);
  vertical-align: middle;
}
.compare tbody tr { transition: background .12s ease; }
.compare tbody tr:not(.section):hover { background: var(--ivory-2); }
.compare tbody tr:not(.section):hover td { color: var(--ink); }
.compare th {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-4);
  background: transparent;
}
.compare th.plan-col { color: var(--ink); font-family: var(--serif); font-size: 18px; letter-spacing: -0.01em; text-transform: none; font-weight: 500; }
.compare th.plan-col .price { display: block; font-family: var(--sans); font-size: 13px; color: var(--ink-3); margin-top: 2px; font-weight: 500; letter-spacing: 0; }
.compare td.center { text-align: center; }
.compare td .yes { color: var(--ember); font-weight: 600; font-family: var(--serif); }
.compare td .no { color: var(--ink-4); font-family: var(--serif); }
.compare tr.section td {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--ink-3);
  padding-top: 28px;
  border-bottom: none;
}

/* ============ For-churches (about) page ============ */
.values {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}
.value h3 {
  font-family: var(--serif);
  font-weight: 500;
  font-size: 22px;
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
}
.value h3 em { font-style: italic; color: var(--ember); font-weight: 400; }
.value p { color: var(--ink-2); margin: 0; }
.value .num {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.16em;
  color: var(--ember);
  margin-bottom: 14px;
  display: block;
}

/* ============ Two-up ============ */
.two-up {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
}

/* ============ Logo strip ============ */
.logo-strip {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 32px;
  align-items: center;
  padding: 24px 0;
}
.logo-strip .logo {
  font-family: var(--serif);
  font-style: italic;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: -0.01em;
  color: var(--ink-3);
  text-align: center;
  white-space: nowrap;
}
.logo-strip .logo.mono {
  font-family: var(--mono);
  font-style: normal;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-weight: 600;
}

/* ============ Stats row ============ */
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--paper);
  overflow: hidden;
}
.stat {
  padding: 32px;
  border-right: 1px solid var(--rule);
}
.stat:last-child { border-right: 0; }
.stat .num {
  font-family: var(--serif);
  font-size: 42px;
  font-weight: 500;
  letter-spacing: -0.025em;
  line-height: 1;
}
.stat .num em { font-style: italic; color: var(--ember); font-weight: 400; }
.stat .label {
  font-family: var(--mono);
  font-size: 10.5px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--ink-3);
  margin-top: 10px;
  display: block;
}

/* ============ Mock UI panel (feature illustration) ============ */
.mock-panel {
  border: 1px solid var(--rule);
  border-radius: var(--radius-lg);
  background: var(--paper);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.mock-bar {
  display: flex; align-items: center; gap: 8px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--rule);
  background: var(--ivory-2);
}
.mock-dot { width: 9px; height: 9px; border-radius: 50%; background: var(--ivory-3); }
.mock-bar .label {
  font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; color: var(--ink-3); margin-left: 6px;
}
.mock-body { padding: 20px; }
.mock-row { display: flex; flex-direction: column; gap: 6px; padding: 10px 0; border-bottom: 1px solid var(--rule); }
.mock-row:last-child { border-bottom: 0; }
.mock-row .lab { font-family: var(--mono); font-size: 10px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--ink-4); }
.mock-row .val { font-size: 14.5px; color: var(--ink); }
.mock-row .val em { font-style: italic; color: var(--ember-ink); }

/* ============ Responsive ============ */
@media (max-width: 960px) {
  section { padding: 72px 0; }
  .hero { padding: 64px 0 48px; }
  .hero-grid, .feature-row, .two-up, .cta-band, .footer-grid { grid-template-columns: 1fr; gap: 40px; }
  .feature-row.flip .feature-art { order: 0; }
  .steps { grid-template-columns: 1fr; }
  .plans { grid-template-columns: 1fr; }
  .values { grid-template-columns: 1fr; gap: 28px; }
  .sample-grid { grid-template-columns: repeat(2, 1fr); }
  .stats { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(1), .stat:nth-child(2) { border-bottom: 1px solid var(--rule); }
  .logo-strip { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .nav-links { display: none; }
  .nav-toggle { display: inline-flex; }
  .container { padding: 0 24px; }
  .cta-band { padding: 36px; }
  .footer-bot { flex-direction: column; }
}

@media (max-width: 560px) {
  .container { padding: 0 20px; }
  section { padding: 56px 0; }
  .hero-art { aspect-ratio: 4 / 4.6; }
  .stats { grid-template-columns: 1fr; }
  .stat { border-right: 0; border-bottom: 1px solid var(--rule); }
  .stat:last-child { border-bottom: 0; }
  .sample-grid { grid-template-columns: 1fr 1fr; }
  .compare-wrap { overflow-x: auto; }
  .compare { min-width: 640px; }
  .nav-cta .btn:not(.primary) { display: none; }
  .footer-grid { gap: 32px; }
}
