:root {
  --bg: #FAF8F2;
  --surface: #FFFDF9;
  --text: #25231F;
  --secondary: #716D65;
  --gold: #C99B45;
  --gold-ink: #7A5C1E;
  --sage: #6F7A62;
  --charcoal: #1C1A16;
  --border: rgba(37, 35, 31, 0.1);
  --shadow: 0 12px 40px rgba(28, 26, 22, 0.06);
  --serif: Georgia, "Times New Roman", Times, serif;
  --sans: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --measure: 42rem;
  --wide: 68rem;
  --radius: 22px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--sans);
  font-size: 1.05rem;
  line-height: 1.7;
}

img { max-width: 100%; }

a {
  color: inherit;
}

a:hover { color: var(--gold); }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: 12px;
  z-index: 100;
  padding: 10px 14px;
  background: var(--charcoal);
  color: var(--bg);
  text-decoration: none;
  border-radius: 8px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: none;
  color: var(--bg);
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(250, 248, 242, 0.92);
  border-bottom: 1px solid var(--border);
}

.nav {
  width: min(var(--wide), calc(100% - 2rem));
  margin: 0 auto;
  padding: 0.9rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.brand {
  font-family: var(--serif);
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--text);
}

.brand:hover { color: var(--text); }

.nav-toggle {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.nav-toggle:focus-visible + .nav-toggle-btn {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}

.nav-toggle-btn {
  display: none;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  border-radius: 10px;
  color: var(--text);
  font-size: 0.92rem;
  font-weight: 600;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.15rem 1.15rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.nav-links a {
  color: var(--secondary);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a[aria-current="page"] {
  color: var(--text);
}

.nav-download {
  color: var(--text) !important;
  font-weight: 600 !important;
}

main { display: block; }

.hero,
.section,
.legal-hero {
  width: min(var(--wide), calc(100% - 2.4rem));
  margin: 0 auto;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(17rem, 1fr);
  align-items: center;
  gap: 2.5rem 3rem;
  padding: 5.2rem 0 4.8rem;
}

.eyebrow {
  display: inline-block;
  margin: 0 0 1.1rem;
  color: var(--gold-ink);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero h1,
.statement-title,
.final-cta h2,
.legal-hero h1 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.03em;
  line-height: 1.08;
  margin: 0;
}

.hero h1 {
  max-width: 14ch;
  font-size: clamp(2.6rem, 8vw, 5.2rem);
}

.lede {
  margin: 1.25rem 0 0;
  font-size: 1.25rem;
  color: var(--secondary);
}

.hero-copy {
  max-width: 34rem;
  margin: 1.4rem 0 0;
  color: var(--secondary);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 0.85rem 1.35rem;
  border-radius: 999px;
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.button:hover { color: inherit; }

.button-primary {
  background: var(--charcoal);
  color: var(--bg);
  box-shadow: 0 8px 22px rgba(28, 26, 22, 0.16);
}

.button-secondary {
  background: transparent;
  color: var(--text);
  border-color: var(--border);
}

.statement {
  padding: 5.6rem 0 3.4rem;
}

.statement-inner {
  width: min(46rem, calc(100% - 2.4rem));
  margin: 0 auto;
  text-align: center;
}

.statement-title {
  font-size: clamp(2rem, 5vw, 3.15rem);
}

.statement-title em {
  font-style: italic;
  color: var(--sage);
}

.section {
  padding: 4.5rem 0;
}

.section-header {
  max-width: 36rem;
  margin-bottom: 2.4rem;
}

.section h2,
.card h3,
.faq h3,
.legal-body h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.section h2 {
  font-size: clamp(1.85rem, 4vw, 2.55rem);
  margin: 0 0 0.8rem;
}

.section-header p,
.muted,
.small {
  color: var(--secondary);
  overflow-wrap: anywhere;
}

.flow-grid,
.bible-grid,
.quiet-grid {
  display: grid;
  gap: 1rem;
}

.flow-grid {
  grid-template-columns: repeat(5, 1fr);
}

.step,
.bible-card,
.quiet-card,
.legal-card,
.faq details {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.step {
  padding: 1.35rem 1.2rem 1.4rem;
}

.step-label {
  display: block;
  margin-bottom: 0.7rem;
  color: var(--gold-ink);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.step h3,
.bible-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.2rem;
}

.step p,
.bible-card p,
.quiet-card p {
  margin: 0;
  color: var(--secondary);
  font-size: 0.98rem;
}

.flow-visual {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  list-style: none;
  margin: 0 0 2.4rem;
  padding: 1.4rem 0.4rem 0.4rem;
}

.bible-grid,
.quiet-grid {
  grid-template-columns: repeat(3, 1fr);
}

.bible-card,
.quiet-card {
  padding: 1.15rem 1.25rem 1.55rem;
  overflow: hidden;
}

.rhythm {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(13rem, 0.75fr);
  align-items: center;
  gap: 3rem;
  width: min(var(--wide), calc(100% - 2.4rem));
  margin: 0 auto;
  padding: 0;
}

.rhythm h2 { margin-bottom: 0.9rem; }

.privacy-band {
  position: relative;
  width: min(var(--wide), calc(100% - 2.4rem));
  margin: 1rem auto 0;
  padding: 3.2rem 2.2rem;
  background: var(--charcoal);
  color: #EDE8DC;
  border-radius: 28px;
  overflow: hidden;
}

.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 26rem;
}

.motif {
  color: rgba(111, 122, 98, 0.42);
}

.motif-hero {
  position: absolute;
  width: min(24rem, 100%);
  height: auto;
  z-index: 0;
}

.motif-small {
  width: 2.4rem;
  height: 2.4rem;
  color: rgba(111, 122, 98, 0.45);
}

.motif-cta {
  width: 2.6rem;
  height: 2.6rem;
  margin: 0 auto 1rem;
  color: rgba(226, 194, 122, 0.55);
}

.motif-divider {
  display: flex;
  justify-content: center;
  padding: 0.4rem 0 0.2rem;
}

.shot {
  margin: 0;
  overflow: hidden;
  border-radius: 1.7rem;
  border: 1px solid rgba(37, 35, 31, 0.1);
  background: var(--surface);
  box-shadow: 0 18px 40px rgba(28, 26, 22, 0.1);
}

.shot-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.hero-shots {
  position: relative;
  z-index: 1;
  width: min(22rem, 100%);
  aspect-ratio: 1.05 / 1.2;
}

.shot-hero-main,
.shot-hero-back {
  position: absolute;
}

.shot-hero-main {
  width: 58%;
  right: 6%;
  top: 4%;
  z-index: 2;
}

.shot-hero-back {
  width: 46%;
  left: 3%;
  top: 16%;
  z-index: 1;
  transform: rotate(-4.5deg);
}

.shot-crop {
  height: 8.6rem;
}

.shot-crop .shot-img {
  height: 100%;
  object-fit: cover;
}

.shot-crop-read .shot-img { object-position: center 22%; }
.shot-crop-pray .shot-img { object-position: center 42%; }
.shot-crop-unlock .shot-img { object-position: center 38%; }

.flow-evidence {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.9rem;
  max-width: 36rem;
  margin: 0 auto 2.6rem;
}

.shot-feature,
.shot-rhythm {
  max-width: 18rem;
}

.bible-feature {
  display: grid;
  grid-template-columns: minmax(12rem, 0.8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 3rem;
}

.bible-points {
  display: grid;
  gap: 1.6rem;
}

.bible-points h3 {
  margin: 0 0 0.4rem;
  font-family: var(--serif);
  font-size: 1.35rem;
  font-weight: 500;
}

.bible-points p {
  margin: 0;
  color: var(--secondary);
}

.flow-node {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.7rem;
  text-align: center;
}

.flow-node:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 1.55rem;
  left: calc(50% + 1.7rem);
  width: calc(100% - 3.4rem);
  height: 1px;
  background: rgba(37, 35, 31, 0.12);
}

.flow-icon {
  display: grid;
  place-items: center;
  width: 3.15rem;
  height: 3.15rem;
  color: var(--sage);
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 50%;
}

.flow-icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

.flow-name {
  color: var(--text);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.privacy-mark {
  display: block;
  width: 2.1rem;
  height: 2.1rem;
  margin-bottom: 1rem;
  color: #D4B36A;
}

.privacy-band .eyebrow {
  color: #D4B36A;
}

.privacy-band h2 {
  color: #FAF8F2;
  max-width: 16ch;
}

.privacy-band p {
  max-width: 38rem;
  color: rgba(250, 248, 242, 0.74);
}

.privacy-band a {
  color: #E2C27A;
}

.account {
  text-align: center;
  padding-bottom: 2rem;
}

.account h2 {
  font-family: var(--serif);
  font-size: clamp(2rem, 5vw, 3rem);
  font-weight: 500;
  line-height: 1.15;
  margin: 0;
}

.final-cta {
  margin-top: 2rem;
  padding: 5rem 1.2rem 5.2rem;
  background: var(--charcoal);
  color: #EDE8DC;
  text-align: center;
}

.final-cta .eyebrow { color: #D4B36A; }

.final-cta h2 {
  font-size: clamp(2.2rem, 6vw, 4rem);
  color: #FAF8F2;
}

.final-cta p {
  margin: 1rem auto 0;
  max-width: 28rem;
  color: rgba(250, 248, 242, 0.7);
}

.final-cta .button-primary {
  background: var(--gold);
  color: var(--charcoal);
  margin-top: 2rem;
}

.site-footer {
  padding: 2.2rem 1.2rem 3rem;
  border-top: 1px solid var(--border);
  color: var(--secondary);
  text-align: center;
  font-size: 0.9rem;
}

.site-footer nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.4rem 1rem;
  margin-bottom: 0.7rem;
}

.site-footer a {
  color: var(--secondary);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a[aria-current="page"] {
  color: var(--text);
}

.legal-hero {
  padding: 3.4rem 0 1.4rem;
}

.legal-hero h1 {
  font-size: clamp(2.2rem, 6vw, 3.6rem);
}

.legal-hero p {
  margin: 0.8rem 0 0;
  color: var(--secondary);
}

.legal-body {
  width: min(42rem, calc(100% - 2.4rem));
  margin: 0 auto;
  padding: 0 0 5rem;
}

.legal-body h2 {
  font-size: 1.45rem;
  margin: 2.4rem 0 0.7rem;
}

.legal-body h3 {
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 500;
  margin: 1.6rem 0 0.45rem;
}

.legal-body p,
.legal-body li {
  color: var(--text);
}

.legal-body ul {
  padding-left: 1.2rem;
}

.legal-body a {
  color: var(--gold-ink);
  overflow-wrap: anywhere;
}

.legal-card {
  padding: 1.5rem 1.4rem;
  margin: 1.4rem 0 2rem;
}

.faq {
  display: grid;
  gap: 0.75rem;
  margin: 1.5rem 0 2.5rem;
}

.faq details {
  padding: 0.15rem 1.2rem 0.15rem;
}

.faq summary {
  cursor: pointer;
  list-style: none;
  padding: 1rem 0;
  font-weight: 600;
}

.faq summary::-webkit-details-marker { display: none; }

.faq summary::after {
  content: "+";
  float: right;
  color: var(--gold);
  font-weight: 400;
  font-size: 1.2rem;
}

.faq details[open] summary::after { content: "–"; }

.faq details p,
.faq details ul {
  margin: 0 0 1.1rem;
  color: var(--secondary);
}

@media (hover: hover) {
  .button-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 12px 26px rgba(28, 26, 22, 0.2);
  }

  .step:hover,
  .bible-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 16px 40px rgba(28, 26, 22, 0.08);
  }
}

@media (max-width: 1024px) {
  .hero {
    gap: 2rem;
  }

  .hero-shots {
    width: min(20rem, 100%);
  }
}

@media (max-width: 960px) {
  .hero {
    grid-template-columns: 1fr;
    padding-top: 3.8rem;
  }

  .hero-visual {
    min-height: 0;
    margin: 0.6rem auto 0;
  }

  .hero-shots {
    width: min(14.8rem, 70vw);
    aspect-ratio: auto;
  }

  .shot-hero-back { display: none; }

  .shot-hero-main {
    position: relative;
    width: 100%;
    right: auto;
    top: auto;
  }

  .flow-grid { grid-template-columns: repeat(2, 1fr); }
  .bible-grid,
  .quiet-grid,
  .bible-feature,
  .rhythm {
    grid-template-columns: 1fr;
  }

  .shot-feature,
  .shot-rhythm {
    max-width: 16.5rem;
    margin-inline: auto;
  }
}

@media (min-width: 821px) {
  .nav-toggle {
    display: none;
  }
}

@media (max-width: 820px) {
  .nav-toggle-btn {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    left: 0;
    right: 0;
    top: 100%;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 0.6rem 1.2rem 1rem;
    background: var(--bg);
    border-bottom: 1px solid var(--border);
  }

  .nav-links a {
    display: block;
    padding: 0.85rem 0.2rem;
    font-size: 1rem;
  }

  .nav-toggle:checked ~ .nav-links {
    display: flex;
  }

  .hero { padding: 3.4rem 0 2.8rem; }
  .section { padding: 3.2rem 0; }
  .privacy-band { padding: 2.2rem 1.3rem; }
  .flow-visual {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.3rem 0.6rem;
    padding-top: 0.4rem;
  }
  .flow-node:not(:last-child)::after { display: none; }
}

@media (max-width: 520px) {
  .flow-grid { grid-template-columns: 1fr; }
  .hero-actions { width: 100%; }
  .hero-actions .button { width: 100%; }
  .flow-evidence { gap: 0.55rem; }
  .shot-crop { height: 6.8rem; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }

  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
  }
}
