:root {
  color-scheme: light dark;
  font-family: ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background: #f7f3ec;
  color: #2a2622;
}

body {
  margin: 0;
  min-height: 100vh;
  background: #f7f3ec;
  color: #2a2622;
}

main {
  box-sizing: border-box;
  width: min(720px, 100%);
  margin: 0 auto;
  padding: 64px 24px 96px;
}

.brand {
  color: #80633f;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

h1 {
  margin: 18px 0 12px;
  font-family: ui-serif, Georgia, serif;
  font-size: clamp(2rem, 7vw, 3.4rem);
  line-height: 1.08;
}

h2 {
  margin-top: 36px;
  font-family: ui-serif, Georgia, serif;
  font-size: 1.35rem;
}

p, li {
  font-size: 1.05rem;
  line-height: 1.7;
}

a { color: #365447; }
.muted { color: #756b61; }
nav { display: flex; gap: 20px; margin-top: 40px; flex-wrap: wrap; }

@media (prefers-color-scheme: dark) {
  :root, body { background: #171a18; color: #f0ebe3; }
  .brand { color: #d2ac75; }
  .muted { color: #bdb3a8; }
  a { color: #a8d2bd; }
}

/* Landing-only rules preserve the shared Support and Privacy presentation. */
.landing-page {
  --paper: #f7f3ec;
  --ink: #273f34;
  --secondary: #586052;
  --accent: #945434;
  --line: #d9d4c9;
  --panel: #ece6da;
  box-sizing: border-box;
  color-scheme: light;
  background: var(--paper);
  color: var(--ink);
}

.landing-page *,
.landing-page *::before,
.landing-page *::after { box-sizing: inherit; }

.landing-page .shell {
  width: min(1120px, 100%);
  margin-inline: auto;
  padding-inline: 24px;
}

.landing-page a { color: var(--ink); }
.landing-page a:hover { text-decoration-thickness: 2px; }
.landing-page a:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 5px;
}

.landing-page .skip-link {
  position: absolute;
  top: 12px;
  left: 16px;
  z-index: 1;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.landing-page .skip-link:focus {
  width: auto;
  height: auto;
  padding: 12px 18px;
  clip-path: none;
  background: var(--paper);
}

.landing-page .page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-block: 20px;
}

.landing-page .landing-brand {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.88rem;
  font-weight: 750;
  letter-spacing: 0.16em;
  text-decoration: none;
}

.landing-page .landing-brand span { color: var(--accent); }
.landing-page nav {
  gap: 12px 24px;
  margin: 0;
}
.landing-page nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  font-size: 0.95rem;
  text-underline-offset: 4px;
}

.landing-page .landing-main {
  width: 100%;
  margin: 0;
  padding: 0;
}

.landing-page h1,
.landing-page h2 {
  color: var(--ink);
  font-family: ui-serif, Georgia, serif;
  font-weight: 500;
}
.landing-page h1 {
  max-width: 16ch;
  margin: 16px 0 24px;
  font-size: clamp(2.6rem, 6vw, 4.75rem);
  line-height: 1.07;
  letter-spacing: -0.045em;
}
.landing-page h2 {
  margin: 0 0 20px;
  font-size: clamp(1.9rem, 4vw, 2.7rem);
  line-height: 1.14;
  letter-spacing: -0.025em;
}
.landing-page p {
  margin: 0 0 20px;
  line-height: 1.75;
}
.landing-page .eyebrow {
  margin: 0 0 16px;
  color: var(--accent);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  line-height: 1.6;
  text-transform: uppercase;
}

.landing-page .hero {
  display: grid;
  align-items: center;
  gap: 40px;
  padding-block: 36px 64px;
}
.landing-page .hero > *,
.landing-page .feature > *,
.landing-page .feature-pair > *,
.landing-page .subscription > * { min-width: 0; }
.landing-page .hero-sub {
  max-width: 36ch;
  margin-bottom: 28px;
  font-size: 1.15rem;
}

.landing-page .download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  max-width: 100%;
  padding: 16px 24px;
  border: 2px solid var(--ink);
  border-radius: 8px;
  background: var(--ink);
  color: var(--paper);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
}
.landing-page .download-button:hover { text-decoration: underline; }
.landing-page .cta-note {
  margin: 16px 0 12px;
  color: var(--secondary);
  font-size: 0.85rem;
  line-height: 1.65;
}
.landing-page .availability {
  color: var(--secondary);
  font-size: 0.85rem;
}
.landing-page .hero-facts {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin: 28px 0 12px;
  padding: 20px 0 0;
  border-top: 1px solid var(--line);
  list-style: none;
}
.landing-page .hero-facts li {
  font-size: 0.83rem;
  font-weight: 650;
  line-height: 1.5;
}
.landing-page .reading-note {
  max-width: 46ch;
  margin-bottom: 0;
  color: var(--secondary);
  font-size: 0.85rem;
}

.landing-page .product-visual {
  width: 100%;
  max-width: 320px;
  margin: 0;
  justify-self: center;
}
.landing-page .product-visual img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  border: 1px solid var(--line);
  border-radius: 20px;
  box-shadow: 0 16px 40px #273f3410;
}
.landing-page figcaption {
  margin-top: 14px;
  color: var(--secondary);
  font-size: 0.8rem;
  line-height: 1.6;
  text-align: center;
}

.landing-page .feature-pair {
  display: grid;
  gap: 32px;
  padding-block: 48px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.landing-page .feature {
  display: grid;
  align-items: center;
  gap: 32px;
  padding-block: 56px;
}
.landing-page .feature-copy { max-width: 34rem; }
.landing-page .detail-note {
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: var(--secondary);
  font-size: 0.9rem;
}

.landing-page .verse-section { padding-block: 16px; }
.landing-page .verse-panel {
  padding: 32px 24px;
  border-radius: 16px;
  background: var(--panel);
}
.landing-page .verse-panel p:last-child {
  max-width: 64ch;
  margin-bottom: 0;
}
.landing-page .access-section { padding-block: 48px; }
.landing-page .access-panel {
  padding: 40px 24px;
  border-radius: 16px;
  background: var(--ink);
  color: var(--paper);
}
.landing-page .access-panel h2,
.landing-page .access-panel .eyebrow,
.landing-page .access-panel .cta-note { color: var(--paper); }
.landing-page .access-panel > p { max-width: 60ch; }
.landing-page .access-panel .download-button {
  margin-top: 8px;
  border-color: var(--paper);
  background: var(--paper);
  color: var(--ink);
}
.landing-page .access-panel a:focus-visible { outline-color: var(--paper); }
.landing-page .access-panel .cta-note { margin-bottom: 0; }

.landing-page .subscription {
  display: grid;
  gap: 12px 48px;
  padding-block: 8px 64px;
}
.landing-page .subscription-terms p {
  color: var(--secondary);
  font-size: 0.95rem;
}
.landing-page .subscription-terms p:last-child { margin-bottom: 0; }

.landing-page .landing-footer {
  padding-block: 48px 24px;
  background: var(--panel);
}
.landing-page .landing-footer h2 { font-size: 1.9rem; }
.landing-page .landing-footer p { margin-bottom: 12px; }
.landing-page .footer-note {
  color: var(--secondary);
  font-size: 0.95rem;
}
.landing-page .landing-footer nav { margin-block: 20px 32px; }
.landing-page .footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.landing-page .footer-bottom p {
  margin: 0;
  color: var(--secondary);
  font-size: 0.85rem;
}

@media (min-width: 760px) {
  .landing-page .page-header { padding-block: 28px; }
  .landing-page .hero {
    grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.75fr);
    gap: 48px;
    padding-block: 48px 80px;
  }
  .landing-page .feature-pair {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 64px;
    padding-block: 64px;
  }
  .landing-page .feature {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 64px;
    padding-block: 72px;
  }
  .landing-page .feature-reverse .product-visual { order: -1; }
  .landing-page .verse-panel { padding: 48px; }
  .landing-page .access-section { padding-block: 64px; }
  .landing-page .access-panel { padding: 56px 48px; }
  .landing-page .subscription {
    grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
    padding-block: 8px 80px;
  }
}
