:root {
  color-scheme: light dark;
  --paper: #f8f6ed;
  --surface: #fffdf7;
  --ink: #163c32;
  --muted: #52655d;
  --line: #d8dfd2;
  --green: #145247;
  --gold: #8b602b;
  --cream: #f6f0df;
  --serif: "Palatino Linotype", "Book Antiqua", Palatino, Georgia, serif;
  --sans: "Avenir Next", Avenir, "Trebuchet MS", sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 2rem; }
body { margin: 0; background: var(--paper); color: var(--ink); font: 1.05rem/1.7 var(--sans); }
a { color: inherit; text-underline-offset: .22em; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
a:focus-visible, summary:focus-visible { outline: 3px solid var(--gold); outline-offset: 5px; border-radius: 3px; }
img { display: block; max-width: 100%; }
.wrap { width: min(1120px, calc(100% - 3rem)); margin-inline: auto; }
.skip { position: absolute; top: -100px; left: 1rem; padding: .7rem 1rem; z-index: 2; background: var(--surface); }
.skip:focus { top: 1rem; }
.header { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding-block: 1.6rem; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; min-height: 44px; }
.brand img { width: 132px; height: auto; }
nav { display: flex; flex-wrap: wrap; gap: .3rem 1.7rem; align-items: center; }
nav a, footer a { display: inline-flex; align-items: center; min-height: 44px; font-size: .92rem; }
nav a { text-decoration: none; }
nav a:hover, nav a[aria-current="page"] { text-decoration: underline; }
.eyebrow { color: var(--gold); font-size: .76rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
h1, h2, h3, blockquote p { font-family: var(--serif); font-weight: 500; line-height: 1.12; letter-spacing: -.04em; }
h1 { font-size: clamp(2.8rem, 6.1vw, 5.5rem); margin: 1rem 0 1.6rem; }
h2 { font-size: clamp(2rem, 4vw, 3.1rem); }
h3 { font-size: 1.55rem; }
p { margin: 0 0 1rem; }
.hero { display: grid; grid-template-columns: 1.15fr 1fr; align-items: center; gap: 5rem; padding-block: clamp(3rem, 7vw, 6rem); }
.hero > * { min-width: 0; }
.intro { max-width: 31rem; color: var(--muted); font-size: 1.15rem; }
.app-store-link { display: inline-flex; align-items: center; min-height: 52px; border-radius: 8px; text-decoration: none; }
.app-store-link img { width: auto; height: 52px; }
.hero-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem 1.25rem; margin-top: 1rem; }
.hero-details { display: inline-flex; align-items: center; min-height: 44px; font-size: .92rem; }
.availability { font-size: .84rem; color: var(--muted); margin-top: 1rem; }
.scripture { margin: 0; padding: clamp(2rem, 4vw, 3.6rem); min-height: 360px; border-radius: 24px 24px 70px 24px; background: #145247; color: #f6f0df; display: flex; flex-direction: column; justify-content: center; }
.scripture .eyebrow { color: #d9bb83; margin-bottom: 2.7rem; }
.scripture p { font-size: clamp(2rem, 3.8vw, 3.4rem); line-height: 1.24; }
.scripture cite { margin-top: 1.8rem; font: .85rem var(--sans); color: #d5e0d3; }
.section { border-top: 1px solid var(--line); padding-block: 3.5rem; }
.section h2 { margin: .5rem 0 2rem; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2.5rem; list-style: none; padding: 0; margin: 0; }
.step-number { color: var(--gold); font-size: .8rem; letter-spacing: .12em; }
.steps h3 { margin: .7rem 0 .9rem; }
.steps p { color: var(--muted); }
.quiet-note { display: flex; align-items: center; justify-content: space-between; gap: 2rem; background: var(--surface); border: 1px solid var(--line); border-radius: 18px; padding: 1.8rem 2rem; margin-bottom: 4rem; }
.quiet-note p { color: var(--muted); margin: .4rem 0 0; max-width: 44rem; }
.quiet-note a { flex-shrink: 0; min-height: 44px; display: flex; align-items: center; }
footer { display: flex; justify-content: space-between; align-items: center; gap: 1rem 3rem; padding-block: 1.5rem; border-top: 1px solid var(--line); color: var(--muted); flex-wrap: wrap; }
footer p { margin: 0; font-size: .85rem; }
.document { max-width: 760px; margin-inline: auto; padding-block: 3.5rem 5rem; }
.document h1 { font-size: clamp(2.7rem, 6vw, 4.3rem); }
.document h2 { font-size: 1.8rem; margin: 2.3rem 0 .9rem; }
.document p { color: var(--muted); }
.document .intro { max-width: none; }
.language-nav { gap: .35rem .65rem; margin-bottom: 2rem; }
.language-nav a { min-height: 36px; padding: .15rem .7rem; border: 1px solid var(--line); border-radius: 999px; color: var(--muted); font-size: .82rem; }
.language-nav a:hover, .language-nav a[aria-current="page"] { background: var(--surface); color: var(--ink); text-decoration: none; }
.page-language-nav { margin: 2rem 0 0; }
.date { font-size: .88rem; }
.contact { background: var(--surface); border: 1px solid var(--line); padding: 1.8rem; border-radius: 16px; margin: 2rem 0; }
.contact h2 { margin: 0 0 .8rem; }
.email { overflow-wrap: anywhere; }
details { border-top: 1px solid var(--line); padding: 1.15rem 0; }
details:last-child { border-bottom: 1px solid var(--line); }
summary { cursor: pointer; min-height: 44px; padding-block: .4rem; font-weight: 600; }
details p { padding-top: .7rem; }
@media (max-width: 760px) {
  .hero { grid-template-columns: 1fr; gap: 2rem; }
  .hero h1 { max-width: 11ch; }
  .scripture { min-height: 300px; }
  .steps { grid-template-columns: 1fr; gap: 1.7rem; }
  .quiet-note { align-items: flex-start; flex-direction: column; gap: .7rem; }
  .header { gap: 1rem; }
  nav { gap: .2rem 1rem; }
  .brand img { width: 112px; }
}
@media (max-width: 380px) {
  .wrap { width: calc(100% - 2rem); }
  .header { flex-wrap: wrap; }
}
@media (prefers-color-scheme: dark) {
  :root { --paper: #0b1813; --surface: #14271e; --ink: #efeee4; --muted: #b6c5b9; --line: #314439; --green: #225f4f; --gold: #d8b47a; }
  .brand img { filter: invert(1); }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
