:root {
  --ivory: #fffaf0;
  --parchment: #f2e3c7;
  --beige: #e6d2ad;
  --gold: #c99a3b;
  --gold-soft: #e7c677;
  --navy: #14243d;
  --navy-soft: #243a5d;
  --olive: #65724a;
  --olive-soft: #dce2c9;
  --brown: #4c3526;
  --ink: #241d19;
  --muted: #74675d;
  --white: #ffffff;
  --shadow: 0 24px 60px rgba(31, 29, 24, 0.16);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--ivory);
  color: var(--ink);
  font-family: "Inter", Arial, sans-serif;
  line-height: 1.65;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.narrow {
  width: min(820px, calc(100% - 40px));
}

.section-pad {
  padding: 92px 0;
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px clamp(20px, 4vw, 54px);
  color: var(--ivory);
  transition: background 0.25s ease, box-shadow 0.25s ease, padding 0.25s ease;
}

.site-header.is-scrolled {
  padding-top: 12px;
  padding-bottom: 12px;
  background: rgba(20, 36, 61, 0.94);
  box-shadow: 0 12px 30px rgba(14, 24, 41, 0.2);
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 38px;
  height: 38px;
  place-items: center;
  border: 1px solid rgba(255, 250, 240, 0.64);
  color: var(--gold-soft);
  font-family: "Cinzel", Georgia, serif;
  font-size: 0.86rem;
}

.nav {
  display: flex;
  gap: 28px;
  font-size: 0.93rem;
  font-weight: 700;
}

.header-cta {
  border: 1px solid rgba(255, 250, 240, 0.7);
  border-radius: 999px;
  padding: 9px 18px;
  font-weight: 800;
}

.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--ivory);
}

.hero-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-bg {
  background: url("assets/prayer-hero.png") center / cover no-repeat;
  transform: scale(1.02);
}

.hero-overlay {
  background:
    radial-gradient(circle at 70% 35%, rgba(231, 198, 119, 0.2), transparent 32%),
    linear-gradient(90deg, rgba(20, 36, 61, 0.95) 0%, rgba(20, 36, 61, 0.78) 45%, rgba(20, 36, 61, 0.24) 100%),
    linear-gradient(180deg, rgba(18, 22, 29, 0.45), rgba(18, 22, 29, 0.2));
}

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.72fr);
  gap: 56px;
  align-items: center;
  padding-top: 110px;
  padding-bottom: 68px;
}

.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

h1,
h2,
.book h2 {
  font-family: "Cinzel", Georgia, serif;
  line-height: 1.08;
}

h1 {
  max-width: 780px;
  margin: 0;
  font-size: clamp(2.55rem, 5.7vw, 5.8rem);
  text-wrap: balance;
}

h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(2rem, 4vw, 3.35rem);
  text-wrap: balance;
}

h3 {
  margin: 16px 0 8px;
  color: var(--navy);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.12rem;
}

.hero-subtitle {
  max-width: 680px;
  margin: 22px 0 0;
  color: rgba(255, 250, 240, 0.9);
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.05rem, 2vw, 1.42rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 20px;
  margin-top: 34px;
}

.btn {
  display: inline-flex;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  padding: 14px 24px;
  font-weight: 800;
  line-height: 1.1;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold-soft), var(--gold));
  color: var(--navy);
  box-shadow: 0 18px 36px rgba(201, 154, 59, 0.3);
}

.btn-light {
  background: var(--ivory);
  color: var(--navy);
  box-shadow: 0 18px 36px rgba(13, 23, 39, 0.23);
}

.secure-note {
  color: rgba(255, 250, 240, 0.84);
  font-size: 0.94rem;
}

.book-showcase {
  position: relative;
  display: grid;
  justify-items: center;
}

.book {
  width: min(335px, 86vw);
  min-height: 460px;
  padding: 34px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background:
    radial-gradient(circle at 70% 18%, rgba(231, 198, 119, 0.22), transparent 26%),
    linear-gradient(145deg, rgba(20, 36, 61, 0.96), rgba(36, 58, 93, 0.98));
  border: 1px solid rgba(231, 198, 119, 0.42);
  border-radius: var(--radius);
  box-shadow: var(--shadow), 18px 18px 0 rgba(9, 18, 31, 0.32);
  color: var(--ivory);
}

.book-editorial {
  margin: 0;
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.book-icon {
  display: grid;
  width: 112px;
  height: 112px;
  place-items: center;
  margin: 14px auto;
  border: 1px solid rgba(231, 198, 119, 0.42);
  border-radius: 50%;
  color: var(--gold-soft);
  font-size: 2rem;
}

.book h2 {
  margin: 0 0 10px;
  font-size: 2.2rem;
}

.book p {
  color: rgba(255, 250, 240, 0.84);
}

.book span {
  color: var(--gold-soft);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.price-badge {
  position: absolute;
  right: 18px;
  bottom: 28px;
  display: grid;
  gap: 2px;
  padding: 15px 18px;
  background: var(--ivory);
  color: var(--navy);
  border: 1px solid rgba(201, 154, 59, 0.45);
  border-radius: 999px;
  box-shadow: 0 16px 36px rgba(9, 18, 31, 0.26);
}

.price-badge small {
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
}

.price-badge strong {
  font-family: "Cinzel", serif;
  font-size: 1.18rem;
}

.emotional {
  background: var(--navy);
  color: rgba(255, 250, 240, 0.9);
  text-align: center;
}

.emotional h2,
.final-cta h2 {
  color: var(--ivory);
}

.narrow > p,
.pricing-card p,
.editorial p,
.final-cta p {
  font-size: 1.06rem;
}

.parchment {
  background:
    linear-gradient(rgba(255, 250, 240, 0.74), rgba(255, 250, 240, 0.74)),
    radial-gradient(circle at 22% 22%, rgba(201, 154, 59, 0.16), transparent 34%),
    var(--parchment);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 36px;
}

.cards-grid,
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.feature-card,
.benefit-list div,
blockquote,
.pricing-card {
  border: 1px solid rgba(76, 53, 38, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 250, 240, 0.82);
  box-shadow: 0 18px 45px rgba(49, 38, 26, 0.08);
}

.feature-card {
  padding: 28px;
}

.icon {
  display: inline-grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border-radius: 999px;
  background: rgba(20, 36, 61, 0.08);
  color: var(--navy);
  font-family: "Cinzel", serif;
  font-size: 0.83rem;
  font-weight: 800;
}

.feature-card p,
.benefit-list span,
blockquote {
  color: var(--muted);
}

.split-grid,
.audience-grid,
.story-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 58px;
  align-items: center;
}

.benefit-list {
  display: grid;
  gap: 14px;
  margin-top: 30px;
}

.benefit-list div {
  display: grid;
  gap: 4px;
  padding: 20px 22px;
}

.benefit-list strong {
  color: var(--navy);
  font-family: "Libre Baskerville", Georgia, serif;
}

.prayer-panel {
  padding: 46px;
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(20, 36, 61, 0.96), rgba(101, 114, 74, 0.9)),
    radial-gradient(circle at 80% 20%, rgba(231, 198, 119, 0.2), transparent 34%);
  color: var(--ivory);
  box-shadow: var(--shadow);
}

.panel-label {
  display: inline-flex;
  margin-bottom: 22px;
  padding: 7px 12px;
  border: 1px solid rgba(255, 250, 240, 0.28);
  border-radius: 999px;
  color: var(--gold-soft);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.prayer-panel p {
  margin: 0;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.25rem;
}

.audience {
  background: linear-gradient(180deg, var(--olive-soft), rgba(255, 250, 240, 0.96));
}

.check-list {
  display: grid;
  gap: 13px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.62em;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: inset 0 0 0 5px var(--ivory);
  border: 1px solid rgba(76, 53, 38, 0.28);
}

.pricing {
  background:
    linear-gradient(rgba(20, 36, 61, 0.88), rgba(20, 36, 61, 0.9)),
    url("assets/prayer-hero.png") center / cover fixed;
}

.pricing-card {
  max-width: 820px;
  margin: 0 auto;
  padding: clamp(34px, 6vw, 64px);
  text-align: center;
  background: rgba(255, 250, 240, 0.95);
}

.pricing-card h2 span {
  color: var(--gold);
}

.pricing-card .btn {
  margin-top: 16px;
}

.pricing-card small {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-weight: 800;
}

.story-image {
  overflow: hidden;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.story-image img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.testimonials {
  background: var(--parchment);
}

blockquote {
  margin: 0;
  padding: 30px;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.02rem;
}

.faq {
  background: var(--ivory);
}

.faq-list {
  display: grid;
  gap: 12px;
}

details {
  border: 1px solid rgba(76, 53, 38, 0.16);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 12px 34px rgba(49, 38, 26, 0.06);
}

summary {
  position: relative;
  cursor: pointer;
  padding: 20px 54px 20px 22px;
  color: var(--navy);
  font-weight: 800;
  list-style: none;
}

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

summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  color: var(--gold);
  font-size: 1.4rem;
  line-height: 1;
}

details[open] summary::after {
  content: "-";
}

details p {
  margin: 0;
  padding: 0 22px 22px;
  color: var(--muted);
}

.final-cta {
  background:
    linear-gradient(135deg, rgba(20, 36, 61, 0.96), rgba(36, 58, 93, 0.92)),
    radial-gradient(circle at 78% 24%, rgba(231, 198, 119, 0.24), transparent 36%);
  color: rgba(255, 250, 240, 0.9);
  text-align: center;
}

.final-cta .btn {
  margin-top: 18px;
}

.site-footer {
  padding: 26px 0;
  background: #0f1c31;
  color: rgba(255, 250, 240, 0.76);
}

.footer-grid {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  font-size: 0.92rem;
}

.footer-grid p {
  margin: 0;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 920px) {
  .nav {
    display: none;
  }

  .hero-grid,
  .split-grid,
  .audience-grid,
  .story-grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-grid {
    padding-top: 138px;
  }

  .book-showcase {
    justify-items: start;
  }

  .price-badge {
    right: auto;
    left: 220px;
  }

  .cards-grid,
  .testimonial-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 640px) {
  .container,
  .narrow {
    width: min(100% - 28px, 1120px);
  }

  .section-pad {
    padding: 68px 0;
  }

  .site-header {
    padding: 14px;
  }

  .brand span:last-child {
    display: none;
  }

  .header-cta {
    padding: 8px 14px;
  }

  .hero-overlay {
    background:
      linear-gradient(180deg, rgba(20, 36, 61, 0.96), rgba(20, 36, 61, 0.78), rgba(20, 36, 61, 0.6)),
      rgba(20, 36, 61, 0.3);
  }

  h1 {
    font-size: clamp(2.35rem, 12vw, 3.45rem);
  }

  .hero-actions,
  .btn {
    width: 100%;
  }

  .book {
    min-height: 405px;
    width: 100%;
  }

  .price-badge {
    position: static;
    margin-top: 18px;
    justify-self: start;
  }

  .cards-grid,
  .testimonial-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .prayer-panel,
  blockquote {
    padding: 24px;
  }

  .footer-grid {
    display: grid;
  }
}

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

  .reveal {
    opacity: 1;
    transform: none;
  }
}
