/* The Morning Watch — public site
   One file, no build step.

   Session 112 (Sept 17, 2026): the landing page was rebuilt for conversion.
   It opens at night (the app's own palette) and brightens to a dawn cream
   as you scroll, because a page people reach from a daytime ad should not
   read as a night screen. The app's palette exists to keep a phone dim at
   5 am; the website has no such job. Both grounds share the same amber and
   the same two faces.

   Session 113 (Sept 17, 2026): the dawn ground spread to every page. A page
   is either `body.landing` (night hero, then .light sections — index,
   churches, join) or `body.page` (a night top bar, then a dawn reading
   column — support, press, privacy, terms, 404). The GROUP PRICING block at
   the end holds the seat calculator, the price bands and the QR tool.

   Palette (DESIGN_DECISIONS.md for the dark half):
     night #1a1714 · card #231f19 · amber #e8b44c
     dawn  #f5eee1 · parchment #fdf8ef · ink #241e19 · amber-deep #8f6412
   Type: Lora for the devotional voice, Inter for utility. */

:root {
  --bg: #1a1714;
  --bg-raised: #221e1a;
  --card: #262119;
  --border: #3a332a;
  --accent: #e8b44c;
  --accent-hover: #f0c05e;
  --accent-soft: rgba(232, 180, 76, 0.12);
  --text: #f1e9d8;
  --text-body: #d6cbb6;
  --text-secondary: #a99e8a;
  --text-muted: #958a78;   /* S152: was #746b5c (3.4:1 on --bg); now 5.3:1 */

  /* The dawn ground — used by .light sections on the landing page. */
  --dawn: #f5eee1;
  --dawn-deep: #ede3d0;
  --parchment: #fdf8ef;
  --dawn-border: #e0d4bd;
  --ink: #241e19;
  --ink-body: #4a4036;
  --ink-secondary: #6f6355;
  --ink-muted: #736656;    /* S152: was #9a8d7b (2.8:1 on --dawn); now 4.8:1 */
  --amber-deep: #8f6412;

  --max: 1040px;
  --serif: "Lora", Georgia, "Times New Roman", serif;
  --sans: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --radius: 16px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text-body);
  font-family: var(--sans);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
  border-radius: 6px;
}

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--text);
  font-weight: 500;
  line-height: 1.2;
  margin: 0 0 0.5em;
  text-wrap: balance;
}
h1 { font-size: clamp(2.2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.6rem, 3.2vw, 2.1rem); }
h3 { font-size: 1.25rem; }

p { margin: 0 0 1em; }
img { max-width: 100%; height: auto; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ── Dawn glow — the Chapel language's one decorative gesture ── */
.glow { position: relative; isolation: isolate; }
.glow::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 520px;
  background: radial-gradient(ellipse 70% 60% at 50% -10%, rgba(232, 180, 76, 0.16), transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* ── Header ── */
.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  font-family: var(--serif);
  font-size: 1.25rem;
}
.brand:hover { text-decoration: none; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.nav { display: flex; align-items: center; gap: 26px; font-size: 0.95rem; }
.nav a { color: var(--text-secondary); }
.nav a:hover, .nav a[aria-current="page"] { color: var(--text); text-decoration: none; }
.nav .btn { padding: 9px 18px; font-size: 0.88rem; }
.nav .btn-primary { color: var(--bg); }

/* ── Hero (shared: churches, 404) ── */
.hero { padding: 72px 0 56px; text-align: center; }
.hero .ornament {
  color: var(--accent);
  font-size: 0.9rem;
  letter-spacing: 0.3em;
  margin-bottom: 20px;
}
.hero h1 { margin-bottom: 18px; }
.hero .lede {
  font-family: var(--serif);
  font-style: italic;
  font-size: clamp(1.1rem, 2vw, 1.35rem);
  color: var(--text-body);
  max-width: 620px;
  margin: 0 auto 30px;
}
.hero .epigraph, .epigraph {
  font-family: var(--serif);
  font-style: italic;
  color: var(--text-secondary);
  font-size: 1rem;
  margin-top: 40px;
}
.epigraph span {
  display: block;
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ── Buttons ── */
.btn {
  display: inline-block;
  padding: 14px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.98rem;
  line-height: 1.25;
  text-align: center;
  border: 1px solid transparent;
  font-family: var(--sans);
  cursor: pointer;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--accent); color: var(--bg); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { color: var(--text); border-color: var(--border); background: transparent; }
.btn-ghost:hover { border-color: var(--accent); }
.btn-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn[aria-disabled="true"] { opacity: 0.55; cursor: default; }
.btn-lg { padding: 17px 30px; font-size: 1.05rem; }
.store-note { font-size: 0.85rem; color: var(--text-muted); margin-top: 12px; }

/* ── Sections ── */
.section { padding: 56px 0; }
.section + .section { border-top: 1px solid var(--border); }
.section-label {
  font-size: 0.72rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 14px;
  font-weight: 600;
}
.section-intro { max-width: 640px; }

.grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: 28px;
}
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--text-secondary); margin: 0; font-size: 0.97rem; }
.grid.four { grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); }
.card .step {
  color: var(--accent);
  font-family: var(--serif);
  font-size: 1.6rem;
  margin-bottom: 10px;
}

.verse {
  font-family: var(--serif);
  font-style: italic;
  font-size: 1.15rem;
  color: var(--text-body);
  border-left: 2px solid var(--accent);
  padding-left: 18px;
  margin: 28px 0;
}
.verse cite {
  display: block;
  font-style: normal;
  font-family: var(--sans);
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 6px;
}

/* ── Tier comparison (shared) ── */
.tiers { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); margin-top: 28px; }
.tier { background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); padding: 26px; }
.tier.featured { border-color: var(--accent); background: linear-gradient(180deg, var(--accent-soft), var(--card) 60%); }
.tier h3 { font-size: 1.4rem; }
.tier ul { padding-left: 18px; margin: 12px 0 0; color: var(--text-secondary); font-size: 0.97rem; }
.tier li { margin-bottom: 6px; }

/* ── Legal / prose pages ── */
.prose { max-width: 720px; padding: 40px 0 72px; }
.prose h1 { font-size: clamp(1.9rem, 4vw, 2.6rem); }
.prose .updated { color: var(--text-muted); font-size: 0.9rem; margin-bottom: 36px; }
.prose h2 { font-size: 1.45rem; margin-top: 2.2em; }
.prose h3 { font-size: 1.1rem; margin-top: 1.6em; color: var(--text); }
.prose ul { padding-left: 22px; }
.prose li { margin-bottom: 0.5em; }
.prose .callout {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 18px 20px;
  margin: 24px 0;
  font-size: 0.97rem;
}
.prose table { border-collapse: collapse; width: 100%; font-size: 0.95rem; margin: 18px 0; }
.prose th, .prose td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
.prose th { color: var(--text); font-weight: 600; }

/* ── FAQ ── */
details { border-bottom: 1px solid var(--border); padding: 16px 0; }
details summary {
  cursor: pointer;
  color: var(--text);
  font-weight: 600;
  list-style: none;
  display: flex;
  justify-content: space-between;
  gap: 16px;
}
details summary::-webkit-details-marker { display: none; }
details summary::after { content: "+"; color: var(--accent); font-weight: 400; flex: none; }
details[open] summary::after { content: "–"; }
details p { margin-top: 12px; color: var(--text-body); }

/* ── Footer ── */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 36px 0 48px;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.site-footer .links { display: flex; gap: 22px; flex-wrap: wrap; margin-bottom: 14px; }
.site-footer .links a { color: var(--text-secondary); }
.site-footer .fleuron { color: var(--accent); margin: 0 8px; }

@media (max-width: 640px) {
  .nav { gap: 16px; font-size: 0.9rem; }
  .hero { padding: 48px 0 40px; }
  .section { padding: 44px 0; }
}

/* ═══════════════════════════════════════════════════════════════════
   LANDING PAGE (index.html) — Session 112
   ═══════════════════════════════════════════════════════════════════ */

/* ── The night hero: copy left, the ring screen right ── */
.landing-hero { padding: 40px 0 64px; }
.landing-hero .wrap {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
  gap: 48px;
  align-items: center;
}
.landing-hero h1 { font-size: clamp(2.6rem, 6vw, 4.2rem); margin-bottom: 18px; }
.landing-hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 22px;
}
.landing-hero .eyebrow::before { content: "◆"; font-size: 0.6rem; }
.landing-hero .lede {
  font-size: clamp(1.1rem, 1.9vw, 1.3rem);
  color: var(--text-body);
  max-width: 34em;
  margin: 0 0 28px;
  line-height: 1.55;
}
.landing-hero .lede strong { color: var(--text); font-weight: 500; }
.landing-hero .btn-row { justify-content: flex-start; }
.trust-line {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 20px;
  font-size: 0.86rem;
  color: var(--text-secondary);
}
.trust-line span::before { content: "✓ "; color: var(--accent); }
.landing-hero .epigraph { margin-top: 34px; font-size: 0.98rem; }

/* ── The phone: the real ring screen (S114; the CSS sketch it replaced
   lived here from S112 to S113) ── */
.phone-wrap { display: flex; justify-content: center; }
.hero-shot {
  margin: 0;
  width: 300px;
  max-width: 100%;
  border-radius: 40px;
  padding: 8px;
  background: #0f0d0b;
  border: 1px solid #3a332a;
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(232, 180, 76, 0.08),
    0 0 120px -20px rgba(232, 180, 76, 0.25);
}
.hero-shot img { display: block; width: 100%; height: auto; border-radius: 33px; }

/* ── Proof strip: four facts, one row, on the night ground ── */
.proof-strip {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: var(--bg-raised);
}
.proof-strip .wrap {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-block: 22px;
}
.proof {
  font-size: 0.9rem;
  color: var(--text-secondary);
  display: flex;
  gap: 10px;
  align-items: flex-start;
  line-height: 1.4;
}
.proof b { display: block; color: var(--text); font-weight: 600; margin-bottom: 2px; }
.proof svg { flex: none; width: 20px; height: 20px; color: var(--accent); margin-top: 1px; }

/* ── The dawn ground: every .light section ── */
.light {
  background: var(--dawn);
  color: var(--ink-body);
}
.light + .light { border-top: 1px solid var(--dawn-border); }
.light h1, .light h2, .light h3 { color: var(--ink); }
.light a { color: var(--amber-deep); }
/* S152: `.light a` outranked `.btn-primary`, so gold buttons in light
   sections had amber text on amber (2.8:1). Buttons keep their own ink. */
.light a.btn-primary, .light a.btn-primary:hover { color: var(--bg); }
.light .section-label { color: var(--amber-deep); }
.light .card, .light .tier {
  background: var(--parchment);
  border-color: var(--dawn-border);
}
.light .card p, .light .tier ul { color: var(--ink-secondary); }
.light .card .step { color: var(--amber-deep); }
.light .verse { color: var(--ink-body); border-color: var(--accent); }
.light .verse cite { color: var(--ink-muted); }
.light .btn-ghost { color: var(--ink); border-color: #c9bca4; }
.light .btn-ghost:hover { border-color: var(--amber-deep); }
.light details { border-color: var(--dawn-border); }
.light details summary { color: var(--ink); }
.light details summary::after { color: var(--amber-deep); }
.light details p { color: var(--ink-body); }
.light .epigraph { color: var(--ink-secondary); }
.light .epigraph span { color: var(--ink-muted); }

/* The first dawn section fades up out of the night. */
.dawn-edge {
  background: linear-gradient(180deg, var(--dawn-deep) 0, var(--dawn) 140px);
}

/* Section header block used on the landing page */
.sec-head { max-width: 640px; margin-bottom: 8px; }
.sec-head h2 { margin-bottom: 12px; }
.sec-head p { font-size: 1.05rem; }

/* ── Hear it: the sample player ── */
.hear {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: center;
}
.player {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 22px 22px 20px;
  color: var(--text-body);
}
.player-top { display: flex; align-items: center; gap: 16px; }
.play-btn {
  flex: none;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: var(--bg);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease;
}
.play-btn:hover { background: var(--accent-hover); transform: scale(1.04); }
.play-btn svg { width: 26px; height: 26px; }
.play-btn .pause { display: none; }
.player[data-state="playing"] .play-btn .play { display: none; }
.player[data-state="playing"] .play-btn .pause { display: block; }
.player-meta { min-width: 0; }
.player-meta b { display: block; color: var(--text); font-family: var(--serif); font-weight: 500; font-size: 1.15rem; }
.player-meta span { font-size: 0.86rem; color: var(--text-secondary); }
.player-bar {
  margin-top: 18px;
  height: 4px;
  border-radius: 2px;
  background: var(--border);
  overflow: hidden;
}
.player-bar i { display: block; height: 100%; width: 0; background: var(--accent); transition: width 0.25s linear; }
.player-time {
  display: flex;
  justify-content: space-between;
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 8px;
  font-variant-numeric: tabular-nums;
}
.player-note { font-size: 0.82rem; color: var(--text-muted); margin: 14px 0 0; }

/* ── Real screens: a horizontal strip of framed screenshots ── */
.screens {
  display: flex;
  gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 24px max(24px, calc((100% - var(--max)) / 2 + 24px)) 12px;
  /* S151b: scroll-snap aligns to scroll-padding, not padding; without this
     the first screenshot snapped flush against the left edge of the window. */
  scroll-padding-inline: max(24px, calc((100% - var(--max)) / 2 + 24px));
  scrollbar-width: thin;
  scrollbar-color: #c9bca4 transparent;
  -webkit-overflow-scrolling: touch;
}
.screens figure {
  flex: 0 0 auto;
  width: 224px;
  margin: 0;
  scroll-snap-align: start;
}
.shot {
  border-radius: 28px;
  padding: 7px;
  background: #0f0d0b;
  border: 1px solid #3a332a;
  box-shadow: 0 24px 50px -24px rgba(36, 30, 25, 0.6);
}
.shot img { display: block; width: 100%; height: auto; border-radius: 22px; }
.screens figcaption {
  margin-top: 12px;
  font-size: 0.86rem;
  line-height: 1.4;
  color: var(--ink-secondary);
  padding: 0 4px;
}

/* ── How it works: three real steps ── */
.steps { counter-reset: step; }

/* ── The thesis band: less phone, not more ── */
.thesis {
  background: var(--bg);
  color: var(--text-body);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.thesis .wrap { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; padding-block: 64px; }
.thesis h2 { font-size: clamp(1.9rem, 3.6vw, 2.6rem); }
.thesis .contrast { display: grid; gap: 14px; }
.contrast-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  font-size: 0.95rem;
}
.contrast-row > div {
  padding: 16px 18px;
  border-radius: 12px;
  border: 1px solid var(--border);
}
.contrast-row .them { color: var(--text-muted); }
.contrast-row .us { color: var(--text); background: var(--accent-soft); border-color: rgba(232, 180, 76, 0.35); }
.contrast-row small { display: block; font-size: 0.72rem; letter-spacing: 0.1em; text-transform: uppercase; margin-bottom: 6px; color: var(--text-muted); }
.contrast-row .us small { color: var(--accent); }

/* ── Feature grid ── */
/* Nine cards. Three columns at desktop (3×3), two at tablet with the
   odd last card spanning the row, one on phones — auto-fit gave four
   columns at 1040px and left the ninth card hanging alone (S120). */
.features { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 860px) {
  .features { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .features > .feature:last-child:nth-child(odd) { grid-column: 1 / -1; }
}
@media (max-width: 560px) {
  .features { grid-template-columns: 1fr; }
  .features > .feature:last-child:nth-child(odd) { grid-column: auto; }
}
.feature svg { width: 26px; height: 26px; color: var(--amber-deep); margin-bottom: 14px; }
.feature .tag {
  display: inline-block;
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  font-weight: 600;
  color: var(--amber-deep);
  background: rgba(232, 180, 76, 0.18);
  border-radius: 999px;
  padding: 3px 9px;
  margin-left: 8px;
  vertical-align: middle;
}

/* ── Reliability: numbered layers, because they really are a sequence ── */
.layers { display: grid; gap: 14px; margin-top: 24px; max-width: 640px; }
.layer { display: grid; grid-template-columns: 40px 1fr; gap: 14px; align-items: start; }
.layer .n {
  width: 40px; height: 40px;
  border-radius: 50%;
  border: 1px solid var(--dawn-border);
  background: var(--parchment);
  display: grid; place-items: center;
  font-family: var(--serif);
  color: var(--amber-deep);
  font-size: 1.1rem;
}
.layer b { color: var(--ink); font-weight: 600; display: block; margin-bottom: 2px; }
.layer p { margin: 0; font-size: 0.97rem; color: var(--ink-secondary); }

/* ── Pricing ── */
.light .tier.featured {
  background: var(--card);
  border-color: var(--accent);
  color: var(--text-body);
}
.light .tier.featured h3 { color: var(--text); }
.light .tier.featured ul, .light .tier.featured p { color: var(--text-secondary); }
.light .tier.featured .price { color: var(--text); }
.tier .plan-note { font-size: 0.9rem; margin: 6px 0 0; }
.tier .price { font-family: var(--serif); color: var(--ink); font-size: 1.15rem; margin: 10px 0 2px; }
.price-row { display: flex; flex-wrap: wrap; gap: 10px; margin: 14px 0 6px; }
.price-chip {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 10px 14px;
  min-width: 96px;
  text-align: center;
}
.price-chip b { display: block; color: var(--text); font-family: var(--serif); font-weight: 500; font-size: 1.15rem; }
.price-chip span { font-size: 0.75rem; color: var(--text-secondary); letter-spacing: 0.06em; text-transform: uppercase; }
.price-chip.best { border-color: var(--accent); background: var(--accent-soft); }
.price-chip.best span { color: var(--accent); }
.tier .btn { margin-top: 18px; width: 100%; }
.tier ul li::marker { color: var(--accent); }
.light .tier ul li::marker { color: var(--amber-deep); }
.light .tier.featured ul li::marker { color: var(--accent); }
.fine { font-size: 0.85rem; color: var(--ink-muted); margin-top: 18px; }

/* ── Giving band ── */
.giving {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: start;
  background: var(--parchment);
  border: 1px solid var(--dawn-border);
  border-radius: var(--radius);
  padding: 26px 28px;
}
.giving svg { width: 56px; height: 56px; color: var(--amber-deep); }
.giving h3 { margin-bottom: 6px; }
.giving p { margin: 0; color: var(--ink-secondary); font-size: 0.97rem; }

/* ── FAQ on the landing page ── */
.faq { max-width: 720px; }
.faq details p { font-size: 0.97rem; }

/* ── Closing CTA on the night ground ── */
.closing {
  background: var(--bg);
  border-top: 1px solid var(--border);
  text-align: center;
  padding: 72px 0 64px;
  position: relative;
  overflow: hidden;
}
.closing::before {
  content: "";
  position: absolute;
  inset: auto 0 -200px 0;
  height: 460px;
  background: radial-gradient(ellipse 60% 60% at 50% 100%, rgba(232, 180, 76, 0.18), transparent 70%);
  pointer-events: none;
}
.closing .wrap { position: relative; }
.closing img { width: 96px; height: 96px; margin-bottom: 8px; }
.closing h2 { font-size: clamp(1.9rem, 4vw, 2.8rem); }
.closing .lede { max-width: 32em; margin: 0 auto 28px; color: var(--text-body); }
.closing .epigraph { margin-top: 40px; }

/* ── Sticky mobile CTA ── */
.sticky-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  display: none;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
  background: rgba(26, 23, 20, 0.94);
  backdrop-filter: blur(10px);
  border-top: 1px solid var(--border);
  transform: translateY(110%);
  transition: transform 0.25s ease;
}
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .btn { width: 100%; display: block; }
.sticky-cta .btn[aria-disabled="true"] { opacity: 1; background: var(--card); color: var(--text-secondary); border-color: var(--border); }

/* ── Responsive ── */
@media (max-width: 900px) {
  .landing-hero .wrap { grid-template-columns: 1fr; gap: 36px; }
  .landing-hero { text-align: center; padding-top: 28px; }
  .landing-hero .lede { margin-inline: auto; }
  .landing-hero .btn-row { justify-content: center; }
  .trust-line { justify-content: center; }
  .hero-shot { width: 260px; }
  .proof-strip .wrap { grid-template-columns: 1fr 1fr; }
  .hear, .thesis .wrap { grid-template-columns: 1fr; gap: 28px; }
  .thesis .wrap { padding-block: 52px; }
}
@media (max-width: 640px) {
  .landing .brand { font-size: 1.05rem; gap: 9px; }
  .landing .brand img { width: 30px; height: 30px; }
  .landing .nav { gap: 14px; font-size: 0.86rem; }
  .landing-hero .eyebrow { display: block; max-width: 22em; margin-inline: auto; line-height: 1.5; }
  .landing-hero .eyebrow::before { content: none; }
  .landing-hero h1 { font-size: 2.5rem; }
  .landing-hero .btn-row .btn { width: 100%; }
  .proof-strip .wrap { grid-template-columns: 1fr; gap: 14px; }
  .contrast-row { grid-template-columns: 1fr; }
  .giving { grid-template-columns: 1fr; }
  .giving svg { width: 40px; height: 40px; }
  .sticky-cta { display: block; }
  body.has-sticky { padding-bottom: 76px; }
  .nav .btn { display: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   EVERY OTHER PAGE — Session 113
   `body.page`: a night top bar carrying the header, then the dawn ground.
   ═══════════════════════════════════════════════════════════════════ */
body.page { background: var(--dawn); color: var(--ink-body); }
.topbar { background: var(--bg); border-bottom: 1px solid var(--border); }
.topbar .site-header { padding: 18px 0; }
body.page main.prose { color: var(--ink-body); }
.light.prose h1, .light.prose h2, .light.prose h3 { color: var(--ink); }
.light.prose .updated { color: var(--ink-muted); }
.light.prose .callout { background: var(--parchment); border-color: var(--dawn-border); color: var(--ink-body); }
.light.prose th, .light.prose td { border-color: var(--dawn-border); }
.light.prose th { color: var(--ink); }
.light.prose strong { color: var(--ink); }
.light.prose li::marker { color: var(--amber-deep); }
body.page .site-footer { border-color: var(--dawn-border); color: var(--ink-muted); }
body.page .site-footer .links a { color: var(--ink-secondary); }
body.page .site-footer .fleuron { color: var(--amber-deep); }
body.page .hero h1 { color: var(--ink); }
body.page .hero .lede { color: var(--ink-body); }
body.page .hero .ornament { color: var(--amber-deep); }
body.landing .site-footer { background: var(--bg); }

/* Nav: the Churches link shortens on phones; brand never wraps */
.brand, .nav a { white-space: nowrap; }
.nav .short { display: none; }
@media (max-width: 640px) {
  .nav .long { display: none; }
  .nav .short { display: inline; }
}

/* Inline-quote used in copy that leans on a verse */
.light .quote-inline { font-family: var(--serif); font-style: italic; color: var(--ink); }

/* Two-column "closet and congregation" contrast on the dawn ground */
.pair { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 28px; }
.pair .card { padding: 28px; }
.pair .card .verse { margin: 0 0 16px; font-size: 1.05rem; }
.pair .card h3 { margin-bottom: 10px; }

/* A subdued note under a section (used for the no-card promise) */
.promise {
  margin-top: 26px;
  padding: 20px 24px;
  border-left: 3px solid var(--accent);
  background: var(--parchment);
  border-radius: 0 12px 12px 0;
  color: var(--ink-body);
  font-size: 0.97rem;
  max-width: 720px;
}
.promise b { color: var(--ink); }

/* The giving band with the app's own icon + the newsletter row */
.giving .icon-ring {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(232, 180, 76, 0.18);
  display: grid; place-items: center;
}
.giving .icon-ring svg { width: 30px; height: 30px; fill: var(--amber-deep); }
.giving .news { margin-top: 16px; display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.giving .news .btn { padding: 11px 20px; font-size: 0.92rem; }
.giving .news small { color: var(--ink-muted); font-size: 0.85rem; }
.giving ul { margin: 10px 0 0; padding-left: 18px; color: var(--ink-secondary); font-size: 0.95rem; }
.giving li { margin-bottom: 4px; }
.giving li::marker { color: var(--amber-deep); }

/* ═══════════════════════════════════════════════════════════════════
   GROUP PRICING (churches.html) + JOIN PAGE (join.html) — Session 113
   ═══════════════════════════════════════════════════════════════════ */
.landing-hero.centered .wrap { grid-template-columns: 1fr; text-align: center; }
.landing-hero.centered .lede { margin-inline: auto; }
.landing-hero.centered .btn-row, .landing-hero.centered .trust-line { justify-content: center; }
.landing-hero.centered .eyebrow { display: inline-flex; }

/* Price bands */
.bands { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); margin-top: 28px; }
.band { background: var(--parchment); border: 1px solid var(--dawn-border); border-radius: var(--radius); padding: 24px; }
.band .who { font-size: 0.72rem; letter-spacing: 0.12em; text-transform: uppercase; color: var(--amber-deep); font-weight: 600; }
.band .seats { font-family: var(--serif); color: var(--ink); font-size: 1.3rem; margin: 6px 0 12px; }
.band .per { font-family: var(--serif); color: var(--ink); font-size: 2rem; line-height: 1; }
.band .per small { font-family: var(--sans); font-size: 0.8rem; color: var(--ink-secondary); margin-left: 4px; }
.band .month { color: var(--ink-secondary); font-size: 0.9rem; margin: 6px 0 0; }
.band .save { display: inline-block; margin-top: 12px; font-size: 0.75rem; letter-spacing: 0.08em; text-transform: uppercase; font-weight: 600; color: var(--amber-deep); background: rgba(232, 180, 76, 0.18); border-radius: 999px; padding: 3px 10px; }

/* Seat calculator */
.calc {
  margin-top: 28px;
  background: var(--card);
  color: var(--text-body);
  border: 1px solid var(--accent);
  border-radius: 20px;
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
  gap: 28px;
  align-items: center;
}
.calc h3 { color: var(--text); margin-bottom: 4px; }
.calc .hint { color: var(--text-secondary); font-size: 0.92rem; margin: 0 0 18px; }
.calc label { display: block; font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--text-secondary); margin-bottom: 8px; }
.calc .seat-row { display: flex; align-items: center; gap: 14px; }
.calc input[type="range"] { flex: 1; accent-color: var(--accent); }
.calc input[type="number"] {
  width: 84px; padding: 10px 12px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--bg); color: var(--text);
  font: 600 1.05rem var(--sans); text-align: center;
}
.calc input[type="text"] {
  width: 100%; padding: 12px 14px; border-radius: 10px;
  border: 1px solid var(--border); background: var(--bg); color: var(--text);
  font: 600 1.05rem var(--sans); letter-spacing: 0.12em; text-transform: uppercase;
}
.calc input::placeholder { color: var(--text-muted); letter-spacing: 0; text-transform: none; font-weight: 400; }
.calc .field + .field { margin-top: 18px; }
.calc .total { text-align: center; padding: 22px 18px; border: 1px solid var(--border); border-radius: 16px; background: var(--bg); }
.calc .total .big { font-family: var(--serif); color: var(--text); font-size: 2.6rem; line-height: 1; }
.calc .total .big small { font-family: var(--sans); font-size: 0.85rem; color: var(--text-secondary); margin-left: 4px; }
.calc .total .line { color: var(--text-secondary); font-size: 0.92rem; margin-top: 8px; }
.calc .total .line b { color: var(--accent); font-weight: 600; }
.calc .total .btn { width: 100%; margin-top: 18px; }
.calc .total .note { font-size: 0.8rem; color: var(--text-muted); margin: 12px 0 0; }
.calc .total .compare { font-size: 0.82rem; color: var(--text-muted); margin-top: 6px; text-decoration: line-through; }

/* QR tool */
.qr-tool { margin-top: 28px; display: grid; grid-template-columns: minmax(0, 1fr) 260px; gap: 28px; align-items: start; }
.qr-tool .card { padding: 24px; }
.qr-tool input[type="text"] {
  width: 100%; padding: 12px 14px; border-radius: 10px; margin-top: 8px;
  border: 1px solid var(--dawn-border); background: #fff; color: var(--ink);
  font: 600 1.1rem var(--sans); letter-spacing: 0.14em; text-transform: uppercase;
}
.qr-tool input::placeholder { letter-spacing: 0; text-transform: none; font-weight: 400; color: var(--ink-muted); }
.qr-tool label { font-size: 0.78rem; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-secondary); font-weight: 600; }
.qr-tool .link-out { margin-top: 12px; font-size: 0.9rem; word-break: break-all; }
.qr-tool .btn-row { justify-content: flex-start; margin-top: 16px; }
.qr-card {
  background: #fff; border: 1px solid var(--dawn-border); border-radius: 16px;
  padding: 18px; text-align: center; color: var(--ink);
}
.qr-card svg { width: 100%; height: auto; display: block; }
.qr-card .code { font-family: var(--sans); font-weight: 600; letter-spacing: 0.16em; font-size: 1.1rem; margin-top: 10px; }
.qr-card .brand-line { font-family: var(--serif); font-size: 0.9rem; color: var(--ink-secondary); margin-top: 2px; }

/* Join page */
.join-code {
  display: inline-block; margin: 6px 0 18px;
  font-family: var(--sans); font-weight: 600; font-size: clamp(2rem, 8vw, 3.2rem);
  letter-spacing: 0.22em; color: var(--accent);
  border: 1px dashed rgba(232, 180, 76, 0.5); border-radius: 16px; padding: 12px 22px 12px 28px;
}
.join-steps { max-width: 640px; margin: 0 auto; }

@media (max-width: 900px) {
  .calc, .qr-tool { grid-template-columns: 1fr; }
  .pair { grid-template-columns: 1fr; }
}
@media print {
  body * { visibility: hidden; }
  .qr-card, .qr-card * { visibility: visible; }
  .qr-card { position: absolute; left: 50%; top: 40px; transform: translateX(-50%); width: 320px; border: none; }
}

/* ═══════════════════════════════════════════════════════════════════
   LANGUAGE — Session 146 (Oct 7, 2026)
   The Korean pages (/ko, /ko/groups) set <html lang="ko">. Inter and
   Lora have no Hangul, so each family gets a Korean partner (Noto Sans
   KR / Noto Serif KR, loaded by the Korean pages only). keep-all stops
   a Korean word breaking in the middle; the wide letter-spacing of the
   small uppercase labels reads as gaps in Hangul, so it is narrowed.
   ═══════════════════════════════════════════════════════════════════ */
html[lang="ko"] {
  --serif: "Lora", "Noto Serif KR", Georgia, serif;
  --sans: "Inter", "Noto Sans KR", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}
html[lang="ko"] body { word-break: keep-all; overflow-wrap: anywhere; line-height: 1.75; }
html[lang="ko"] h1, html[lang="ko"] h2, html[lang="ko"] h3 { word-break: keep-all; }
html[lang="ko"] .section-label,
html[lang="ko"] .eyebrow,
html[lang="ko"] .landing-hero .eyebrow,
html[lang="ko"] .epigraph span,
html[lang="ko"] .feature .tag,
html[lang="ko"] .contrast-row small,
html[lang="ko"] .price-chip span { letter-spacing: 0.02em; }
html[lang="ko"] .epigraph span,
html[lang="ko"] .section-label,
html[lang="ko"] .eyebrow { text-transform: none; }

/* The language switch in the header: a small outlined pill, so it reads
   as a setting rather than a page. */
.nav .lang-link {
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 3px 11px;
  font-size: 0.82rem;
}
.nav .lang-link:hover { border-color: var(--accent); }
@media (max-width: 400px) {
  .landing .nav { gap: 10px; }
  .nav .lang-link { padding: 2px 8px; }
}
/* The very narrowest phones (320 px): no room in the header, so the
   switch lives only in the footer there. */
@media (max-width: 359px) {
  .nav .lang-link { display: none; }
}

/* A plain note under a section (Korean pages: "screens are English"). */
.lang-note { font-size: 0.9rem; color: var(--ink-secondary); margin-top: 10px; }

/* ── S152 (Oct 11): the 43-second tour lives in the hero now, in place of
   the still ring screen. The clip draws its own phone, so it sits in a plain
   rounded card, not a bezel (a bezel made a phone inside a phone). The
   S151 tour-layout rules that placed it under "A morning in the app" are gone. ── */
.hero-video { margin: 0; width: 300px; max-width: 100%; }
.hero-video-frame {
  position: relative;
  border-radius: 28px;
  overflow: hidden;
  background: #0f0d0b;
  border: 1px solid #3a332a;
  box-shadow:
    0 40px 80px -30px rgba(0, 0, 0, 0.8),
    0 0 0 1px rgba(232, 180, 76, 0.08),
    0 0 120px -20px rgba(232, 180, 76, 0.25);
}
.hero-video video { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; background: #0f0d0b; }
.hero-video figcaption { margin-top: 14px; font-size: 0.86rem; line-height: 1.5; color: var(--text-secondary); text-align: center; }
@media (max-width: 900px) { .hero-video { width: min(280px, 78vw); } }

.tour-play {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  border: none;
  background: var(--accent);
  color: var(--bg);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 10px 30px -8px rgba(0, 0, 0, 0.7);
  transition: transform 0.15s ease, background 0.15s ease;
}
.tour-play[hidden] { display: none; }
.tour-play:hover { background: var(--accent-hover); transform: translate(-50%, -50%) scale(1.05); }
.tour-play:focus-visible { outline: 3px solid var(--amber-deep); outline-offset: 3px; }
.tour-play svg { width: 32px; height: 32px; margin-left: 4px; }

/* ── S152: the screenshot strip says it scrolls. A soft fade at the edge
   while there is more to see, and arrow buttons on wide screens (phones
   swipe). The script in index.html adds .has-more and shows the arrows
   only when the strip is wider than the window. ── */
.screens.has-more {
  -webkit-mask-image: linear-gradient(to right, #000 calc(100% - 72px), transparent);
          mask-image: linear-gradient(to right, #000 calc(100% - 72px), transparent);
}
.screens-nav { display: flex; justify-content: flex-end; gap: 10px; margin-top: 6px; }
.screens-nav[hidden] { display: none; }
.screens-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  border: 1px solid var(--dawn-border);
  background: var(--parchment);
  color: var(--ink);
  font-size: 1.1rem;
  line-height: 1;
  cursor: pointer;
}
.screens-btn:hover:not(:disabled) { border-color: var(--amber-deep); }
.screens-btn:disabled { opacity: 0.35; cursor: default; }
.screens-btn:focus-visible { outline: 3px solid var(--amber-deep); outline-offset: 2px; }
@media (max-width: 760px) { .screens-nav { display: none !important; } }

/* S162 (Oct 21, 2026): "The Morning Watch" is four letters longer than the
   old name, and on a 390 px phone the brand ran into the first nav link.
   Below 430 px the brand and the nav tighten a little, and the language
   pill moves to the footer only (as it already did below 360 px). Two
   classes, and placed last, so these win over the rules above. */
@media (max-width: 430px) {
  .site-header .brand { font-size: 0.92rem; gap: 8px; }
  .site-header .brand img { width: 28px; height: 28px; }
  .site-header .nav { gap: 10px; font-size: 0.8rem; }
  .site-header .nav .lang-link { display: none; }
}
/* The pages with three links (How / Churches / Support): below 380 px the
   "How it works" link steps out of the header (it stays in the footer), or,
   on that page itself, the Churches link does. */
@media (max-width: 380px) {
  .site-header .nav a[href="/bible-alarm-clock"]:not([aria-current]) { display: none; }
  .site-header .nav a[aria-current] ~ a[href="/churches"] { display: none; }
}
