:root {
  --ink: #17202a;
  --muted: #617180;
  --line: #d9e1e7;
  --paper: #f8faf8;
  --surface: #ffffff;
  --blue: #1565c0;
  --blue-deep: #0b3f8a;
  --teal: #00897b;
  --saffron: #f5a524;
  --rose: #c2415b;
  --shadow: 0 18px 45px rgba(23, 32, 42, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.5;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px clamp(20px, 5vw, 72px);
  background: rgba(248, 250, 248, 0.88);
  border-bottom: 1px solid rgba(217, 225, 231, 0.8);
  backdrop-filter: blur(18px);
}

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

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 10px;
}

nav {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 650;
}

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

.hero {
  min-height: calc(100vh - 73px);
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  align-items: center;
  gap: clamp(32px, 7vw, 92px);
  padding: clamp(42px, 7vw, 78px) clamp(20px, 6vw, 88px);
  background:
    radial-gradient(circle at 84% 16%, rgba(245, 165, 36, 0.18), transparent 28%),
    linear-gradient(132deg, #fbfcfb 0%, #edf7f5 55%, #f7f1df 100%);
}

.hero-copy {
  max-width: 680px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

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

h1 {
  margin-bottom: 18px;
  font-size: clamp(52px, 8vw, 104px);
  line-height: 0.92;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 18px;
}

.hero-text {
  max-width: 590px;
  color: #334554;
  font-size: clamp(18px, 2vw, 23px);
}

.hero-actions,
.download {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}

.button {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  padding: 12px 18px;
  font-size: 15px;
  font-weight: 800;
  border: 1px solid transparent;
}

.button.primary {
  color: white;
  background: var(--blue);
  box-shadow: 0 10px 22px rgba(21, 101, 192, 0.22);
}

.button.primary:hover {
  background: var(--blue-deep);
}

.button.secondary {
  color: var(--blue-deep);
  background: rgba(255, 255, 255, 0.72);
  border-color: var(--line);
}

.phone-shell {
  justify-self: center;
  width: min(360px, 100%);
  padding: 14px;
  border-radius: 34px;
  background: #121922;
  box-shadow: var(--shadow);
}

.phone-screen {
  min-height: 640px;
  padding: 22px;
  overflow: hidden;
  border-radius: 24px;
  background: linear-gradient(180deg, #f6fbff 0%, #ffffff 58%, #eef6f3 100%);
}

.app-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 26px;
}

.app-top img {
  width: 46px;
  height: 46px;
  border-radius: 13px;
}

.app-top strong,
.app-top span,
.quiz-card span {
  display: block;
}

.app-top span,
.verse-card small,
.quiz-card span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.verse-card,
.quiz-card {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 10px 26px rgba(23, 32, 42, 0.08);
}

.verse-card {
  margin-bottom: 16px;
}

.verse-card p {
  margin: 8px 0 0;
  font-size: 19px;
  font-weight: 750;
  line-height: 1.35;
}

.quiz-card p {
  margin: 8px 0 14px;
  font-size: 16px;
  font-weight: 750;
}

.option {
  margin-top: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  font-weight: 700;
  color: #34495e;
  background: #f9fbfc;
}

.option.selected {
  border-color: rgba(0, 137, 123, 0.44);
  background: rgba(0, 137, 123, 0.09);
  color: #006d62;
}

.progress-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  margin-top: 22px;
}

.progress-strip span {
  height: 8px;
  border-radius: 99px;
  background: var(--teal);
}

.progress-strip .muted {
  background: #dce8e6;
}

.section,
.practice,
.download,
.policy-page {
  padding: clamp(54px, 8vw, 104px) clamp(20px, 6vw, 88px);
}

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

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

.feature-grid article {
  min-height: 188px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: 0 8px 22px rgba(23, 32, 42, 0.06);
}

.feature-grid p,
.download p,
.policy-content p,
.policy-content li {
  color: var(--muted);
}

.practice {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(300px, 1fr);
  gap: clamp(26px, 6vw, 70px);
  align-items: start;
  background: #142033;
  color: white;
}

.practice .eyebrow {
  color: var(--saffron);
}

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

.practice-list div {
  display: flex;
  gap: 14px;
  align-items: center;
  min-height: 66px;
  padding: 16px 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
  color: #e8eef5;
  font-weight: 700;
}

.practice-list span {
  color: var(--saffron);
  font-size: 13px;
  font-weight: 900;
}

.download {
  justify-content: space-between;
  background: #eef7f5;
}

.download div {
  max-width: 760px;
}

.policy-page {
  max-width: 980px;
  margin: 0 auto;
}

.policy-hero {
  margin-bottom: 34px;
  padding-bottom: 26px;
  border-bottom: 1px solid var(--line);
}

.policy-hero h1 {
  font-size: clamp(38px, 7vw, 72px);
}

.policy-content section {
  margin-bottom: 30px;
}

.policy-content h2 {
  font-size: 24px;
}

.policy-content a {
  color: var(--blue);
  font-weight: 800;
}

.policy-content li {
  margin-bottom: 10px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 24px clamp(20px, 6vw, 88px);
  color: var(--muted);
  border-top: 1px solid var(--line);
  background: white;
  font-size: 14px;
}

footer a {
  color: var(--blue);
  font-weight: 750;
}

@media (max-width: 920px) {
  .hero,
  .practice {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 42px;
  }

  .phone-shell {
    width: min(330px, 100%);
  }

  .phone-screen {
    min-height: 560px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  nav {
    width: 100%;
    justify-content: space-between;
    gap: 12px;
  }

  .hero {
    min-height: auto;
  }

  .hero-actions,
  .download {
    align-items: stretch;
    flex-direction: column;
  }

  .button {
    width: 100%;
  }

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

  footer {
    flex-direction: column;
  }
}
