@font-face {
  font-family: "Cormorant DB";
  src: url("assets/fonts/CormorantGaramond-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Cormorant DB";
  src: url("assets/fonts/CormorantGaramond-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter DB";
  src: url("assets/fonts/Inter-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter DB";
  src: url("assets/fonts/Inter-Medium.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter DB";
  src: url("assets/fonts/Inter-SemiBold.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

:root {
  --ink: #0c2d54;
  --ink-soft: #385474;
  --cream: #fbf6ef;
  --cream-deep: #f4eadb;
  --paper: #fffdf8;
  --gold: #d8a74b;
  --gold-strong: #e39b18;
  --sage: #8db9a1;
  --sage-soft: #dcebe1;
  --lavender: #d8cdfb;
  --rose: #f2d8d2;
  --line: rgba(12, 45, 84, 0.12);
  --shadow: 0 24px 70px rgba(67, 50, 25, 0.14);
  --radius-lg: 34px;
  --radius-md: 22px;
  --max: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 16% 8%, rgba(255, 255, 255, 0.92), transparent 28%),
    radial-gradient(circle at 88% 18%, rgba(216, 167, 75, 0.16), transparent 25%),
    linear-gradient(135deg, #fffaf2 0%, var(--cream) 42%, #eef4f0 100%);
  font-family: "Inter DB", "Avenir Next", sans-serif;
  min-height: 100vh;
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  z-index: -2;
  pointer-events: none;
}

body::before {
  inset: 0;
  background-image:
    linear-gradient(rgba(12, 45, 84, 0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(12, 45, 84, 0.02) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.7), transparent 78%);
}

body::after {
  width: 580px;
  height: 580px;
  right: -220px;
  top: 230px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(141, 185, 161, 0.28), transparent 68%);
}

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

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

.section-shell {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}

.site-header {
  position: fixed;
  top: 18px;
  left: 50%;
  z-index: 20;
  width: min(var(--max), calc(100% - 36px));
  transform: translateX(-50%);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 24px;
  padding: 12px 14px 12px 18px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.78);
  box-shadow: 0 18px 50px rgba(47, 31, 14, 0.08);
  backdrop-filter: blur(18px);
}

.site-header.is-scrolled {
  background: rgba(255, 253, 248, 0.92);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: "Cormorant DB", Georgia, serif;
  font-size: 26px;
  font-weight: 700;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.brand-mark,
.mini-icon {
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: linear-gradient(145deg, #f0c568, var(--gold-strong));
  box-shadow: 0 8px 20px rgba(216, 167, 75, 0.32);
}

.brand-mark {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  font-size: 16px;
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 26px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 500;
}

.site-nav a {
  transition: color 160ms ease;
}

.site-nav a:hover {
  color: var(--ink);
}

.nav-cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 600;
  transition:
    transform 180ms ease,
    box-shadow 180ms ease,
    border-color 180ms ease,
    background 180ms ease;
}

.nav-cta {
  min-height: 42px;
  padding: 0 18px;
  color: #fff;
  background: var(--ink);
  box-shadow: 0 12px 28px rgba(12, 45, 84, 0.2);
}

.button {
  min-height: 56px;
  padding: 0 24px;
  border: 1px solid transparent;
}

.button:hover,
.nav-cta:hover,
.text-link:hover {
  transform: translateY(-2px);
}

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, #eeb33a, #c77d08);
  box-shadow: 0 18px 36px rgba(216, 143, 19, 0.28);
}

.button-secondary {
  color: var(--ink);
  border-color: rgba(12, 45, 84, 0.14);
  background: rgba(255, 255, 255, 0.58);
}

.menu-button {
  display: none;
  width: 44px;
  height: 44px;
  border: 0;
  border-radius: 50%;
  background: rgba(12, 45, 84, 0.08);
}

.menu-button span {
  display: block;
  width: 18px;
  height: 2px;
  margin: 5px auto;
  border-radius: 2px;
  background: var(--ink);
}

.hero {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(380px, 0.78fr);
  align-items: center;
  gap: 56px;
  padding: 134px 0 82px;
}

.eyebrow {
  margin: 0 0 16px;
  color: var(--gold-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: "Cormorant DB", Georgia, serif;
  color: var(--ink);
  letter-spacing: -0.045em;
  line-height: 0.92;
}

h1 {
  max-width: 780px;
  margin-bottom: 24px;
  font-size: clamp(74px, 9vw, 132px);
}

h2 {
  margin-bottom: 18px;
  font-size: clamp(46px, 5.8vw, 84px);
}

h3 {
  margin-bottom: 12px;
  font-size: clamp(30px, 3vw, 42px);
}

p {
  color: var(--ink-soft);
  line-height: 1.7;
}

.hero-lede {
  max-width: 590px;
  margin-bottom: 32px;
  font-size: clamp(18px, 1.45vw, 22px);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 34px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 590px;
  gap: 12px;
}

.hero-stats div {
  padding: 18px 18px 16px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.48);
  box-shadow: 0 16px 40px rgba(44, 32, 16, 0.06);
}

.hero-stats strong,
.journey-metrics strong {
  display: block;
  font-family: "Cormorant DB", Georgia, serif;
  color: var(--ink);
  font-size: 34px;
  line-height: 1;
}

.hero-stats span,
.journey-metrics span {
  color: var(--ink-soft);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.hero-visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 650px;
}

.phone-stage {
  position: relative;
  z-index: 2;
  width: min(390px, 78vw);
  padding: 10px;
  border-radius: 46px;
  background: linear-gradient(155deg, rgba(255, 255, 255, 0.72), rgba(244, 234, 219, 0.32));
  box-shadow: var(--shadow);
}

.phone-stage img,
.phone-frame img,
.screenshot-rail img {
  border-radius: 34px;
  box-shadow: 0 22px 60px rgba(34, 28, 18, 0.18);
}

.halo {
  position: absolute;
  z-index: 1;
  border-radius: 50%;
  filter: blur(2px);
}

.halo-gold {
  width: 420px;
  height: 420px;
  top: 40px;
  right: 14px;
  background: radial-gradient(circle, rgba(237, 196, 104, 0.34), transparent 68%);
  animation: drift 7s ease-in-out infinite alternate;
}

.halo-sage {
  width: 330px;
  height: 330px;
  left: 8px;
  bottom: 96px;
  background: radial-gradient(circle, rgba(141, 185, 161, 0.28), transparent 72%);
  animation: drift 8s ease-in-out infinite alternate-reverse;
}

.floating-card {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 16px;
  border: 1px solid rgba(255, 255, 255, 0.82);
  border-radius: 999px;
  background: rgba(255, 253, 248, 0.78);
  box-shadow: 0 16px 40px rgba(47, 31, 14, 0.1);
  backdrop-filter: blur(14px);
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}

.floating-card-top {
  top: 118px;
  left: -18px;
}

.floating-card-bottom {
  right: -10px;
  bottom: 122px;
}

.mini-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-size: 13px;
}

.faith-strip {
  display: flex;
  align-items: center;
  gap: 24px;
  width: min(900px, calc(100% - 40px));
  margin: -26px auto 110px;
  text-align: center;
}

.faith-strip p {
  margin: 0;
  color: var(--ink);
  font-family: "Cormorant DB", Georgia, serif;
  font-size: clamp(28px, 3vw, 42px);
  line-height: 1.06;
}

.strip-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 167, 75, 0.72), transparent);
}

.feature-section,
.showcase,
.ritual-section,
.final-cta {
  padding: 20px 0 110px;
}

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

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

.feature-card,
.scripture-card,
.final-card,
.ritual-step {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: var(--radius-lg);
  background: rgba(255, 253, 248, 0.62);
  box-shadow: 0 20px 70px rgba(62, 44, 20, 0.09);
}

.feature-card {
  min-height: 300px;
  padding: 28px;
}

.feature-card::after,
.final-card::after,
.ritual-step::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  right: -58px;
  bottom: -78px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(141, 185, 161, 0.26), transparent 70%);
}

.feature-card-gold::after {
  background: radial-gradient(circle, rgba(227, 155, 24, 0.24), transparent 70%);
}

.feature-number {
  display: inline-flex;
  margin-bottom: 58px;
  color: var(--gold-strong);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.feature-card p,
.ritual-step p {
  margin-bottom: 0;
}

.showcase {
  display: grid;
  grid-template-columns: 0.56fr 1fr;
  gap: 42px;
  align-items: start;
}

.showcase-copy {
  position: sticky;
  top: 132px;
}

.screenshot-rail {
  display: grid;
  grid-template-columns: repeat(4, minmax(190px, 1fr));
  gap: 14px;
  overflow-x: auto;
  padding: 4px 4px 22px;
  scroll-snap-type: x mandatory;
}

.screenshot-rail figure {
  min-width: 220px;
  margin: 0;
  scroll-snap-align: start;
}

.screenshot-rail figcaption {
  margin-top: 14px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-align: center;
  text-transform: uppercase;
}

.reader-section,
.journey-section {
  position: relative;
  padding: 112px 0;
}

.reader-section {
  background:
    radial-gradient(circle at 18% 16%, rgba(216, 167, 75, 0.16), transparent 28%),
    linear-gradient(135deg, rgba(255, 253, 248, 0.72), rgba(220, 235, 225, 0.55));
}

.split-layout,
.journey-layout {
  display: grid;
  grid-template-columns: 0.95fr 1fr;
  gap: 64px;
  align-items: center;
}

.reader-art {
  min-height: 480px;
  display: grid;
  place-items: center;
}

.scripture-card {
  width: min(100%, 500px);
  padding: 42px;
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.9), rgba(255, 250, 242, 0.72)),
    radial-gradient(circle at 82% 14%, rgba(216, 167, 75, 0.16), transparent 32%);
}

.chapter-mark {
  display: inline-flex;
  margin-bottom: 26px;
  color: var(--sage);
  font-size: 62px;
  font-family: "Cormorant DB", Georgia, serif;
  line-height: 0.78;
}

.scripture-card p {
  max-width: 380px;
}

.tool-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 34px;
}

.tool-row span {
  padding: 10px 14px;
  border-radius: 999px;
  color: var(--ink);
  background: rgba(141, 185, 161, 0.16);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.split-copy p,
.journey-copy p,
.wordle-copy p {
  max-width: 560px;
}

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

.check-list li {
  position: relative;
  padding-left: 34px;
  color: var(--ink-soft);
  line-height: 1.6;
}

.check-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background:
    linear-gradient(135deg, var(--sage), #5a987c);
  box-shadow: 0 8px 18px rgba(90, 152, 124, 0.2);
}

.wordle-section {
  display: grid;
  grid-template-columns: 0.82fr 1fr;
  gap: 52px;
  align-items: center;
  padding: 120px 0;
}

.text-link {
  display: inline-flex;
  margin-top: 14px;
  color: var(--gold-strong);
  font-weight: 700;
  border-bottom: 1px solid rgba(227, 155, 24, 0.34);
}

.wordle-board {
  display: grid;
  grid-template-columns: repeat(5, minmax(54px, 1fr));
  gap: 12px;
  padding: 28px;
  border: 1px solid rgba(255, 255, 255, 0.76);
  border-radius: 32px;
  background:
    radial-gradient(circle at 90% 0%, rgba(216, 167, 75, 0.12), transparent 28%),
    rgba(255, 253, 248, 0.72);
  box-shadow: var(--shadow);
}

.tile {
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #3d4b67;
  background: #fff;
  box-shadow:
    inset 0 0 0 1px rgba(12, 45, 84, 0.06),
    0 12px 26px rgba(44, 32, 16, 0.08);
  font-size: clamp(28px, 4vw, 52px);
  font-weight: 700;
  animation: tileRise 620ms ease both;
}

.tile.correct {
  color: #fff;
  background: linear-gradient(145deg, #abd8bb, #72a987);
}

.tile.present {
  color: #fff;
  background: linear-gradient(145deg, #f0cd78, #d89a1f);
}

.journey-section {
  background:
    radial-gradient(circle at 76% 12%, rgba(216, 167, 75, 0.18), transparent 30%),
    linear-gradient(135deg, rgba(244, 234, 219, 0.88), rgba(255, 253, 248, 0.74));
}

.phone-frame {
  width: min(100%, 390px);
  justify-self: center;
  padding: 10px;
  border-radius: 46px;
  background: rgba(255, 253, 248, 0.62);
  box-shadow: var(--shadow);
}

.journey-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 32px;
}

.journey-metrics div {
  padding: 18px;
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.58);
  border: 1px solid rgba(255, 255, 255, 0.72);
}

.journey-metrics strong {
  margin-top: 8px;
  font-size: 30px;
}

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

.ritual-step {
  min-height: 260px;
  padding: 28px;
}

.ritual-step span {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  margin-bottom: 34px;
  border-radius: 50%;
  color: #fff;
  background: var(--ink);
  font-family: "Cormorant DB", Georgia, serif;
  font-size: 34px;
}

.final-card {
  padding: clamp(36px, 6vw, 76px);
  text-align: center;
  background:
    radial-gradient(circle at 50% 0%, rgba(216, 167, 75, 0.18), transparent 42%),
    rgba(255, 253, 248, 0.74);
}

.final-card h2,
.final-card p {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.final-card .button {
  margin-top: 14px;
}

.site-footer {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
  padding: 34px 0 44px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-top: 1px solid var(--line);
}

.site-footer p {
  margin: 8px 0 0;
  font-size: 14px;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 600;
}

.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 700ms ease var(--delay, 0ms),
    transform 700ms ease var(--delay, 0ms);
}

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

@keyframes drift {
  from {
    transform: translate3d(0, 0, 0) scale(1);
  }
  to {
    transform: translate3d(16px, -20px, 0) scale(1.04);
  }
}

@keyframes tileRise {
  from {
    opacity: 0;
    transform: translateY(12px) rotateX(18deg);
  }
  to {
    opacity: 1;
    transform: translateY(0) rotateX(0);
  }
}

@media (max-width: 980px) {
  .site-header {
    grid-template-columns: auto auto;
    justify-content: space-between;
  }

  .site-nav,
  .nav-cta {
    display: none;
  }

  .menu-button {
    display: inline-block;
  }

  .site-header.nav-open {
    border-radius: 28px;
  }

  .site-header.nav-open .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    border-radius: 24px;
    background: rgba(255, 253, 248, 0.96);
    box-shadow: 0 18px 44px rgba(47, 31, 14, 0.12);
  }

  .site-header.nav-open .site-nav a {
    padding: 13px 14px;
  }

  .hero,
  .showcase,
  .split-layout,
  .journey-layout,
  .wordle-section {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 128px;
  }

  .hero-visual {
    min-height: auto;
  }

  .showcase-copy {
    position: static;
  }

  .feature-grid,
  .ritual-grid {
    grid-template-columns: 1fr;
  }

  .feature-card,
  .ritual-step {
    min-height: auto;
  }
}

@media (max-width: 640px) {
  .section-shell {
    width: min(100% - 28px, var(--max));
  }

  .site-header {
    top: 10px;
    width: calc(100% - 20px);
  }

  .brand {
    font-size: 22px;
  }

  .brand-mark {
    width: 30px;
    height: 30px;
  }

  h1 {
    font-size: clamp(58px, 18vw, 82px);
  }

  .hero {
    gap: 34px;
    min-height: auto;
    padding-bottom: 50px;
  }

  .hero-stats,
  .journey-metrics {
    grid-template-columns: 1fr;
  }

  .floating-card {
    display: none;
  }

  .faith-strip {
    margin-bottom: 70px;
  }

  .strip-line {
    display: none;
  }

  .feature-section,
  .showcase,
  .ritual-section,
  .final-cta {
    padding-bottom: 78px;
  }

  .reader-section,
  .journey-section,
  .wordle-section {
    padding: 76px 0;
  }

  .scripture-card {
    padding: 30px;
  }

  .wordle-board {
    gap: 8px;
    padding: 16px;
  }

  .tile {
    border-radius: 12px;
  }

  .site-footer {
    display: grid;
  }
}
