@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600&family=Libre+Baskerville:wght@400;700&display=swap');

:root {
  --ink: #171713;
  --muted: #6c6b63;
  --line: #dedbd1;
  --paper: #fbfaf6;
  --warm: #f2efe6;
  --accent: #2d3d34;
  --accent-2: #dfe7dc;
  --white: #ffffff;
  --max: 1160px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

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

a { color: inherit; }

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

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

.narrow { max-width: 760px; }

.centered { text-align: center; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid rgba(222, 219, 209, .8);
  background: rgba(251, 250, 246, .88);
  backdrop-filter: blur(14px);
}

.nav-wrap {
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
}

nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

nav a, .footer-links a {
  text-decoration: none;
  color: var(--muted);
  font-size: .94rem;
}

nav a:hover, .footer-links a:hover { color: var(--ink); }

.hero {
  padding: 92px 0 88px;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, .75fr);
  gap: 80px;
  align-items: center;
}

.eyebrow {
  margin: 0 0 18px;
  letter-spacing: .16em;
  font-weight: 600;
  font-size: .75rem;
  color: var(--accent);
}

h1, h2, h3 {
  font-family: "Libre Baskerville", Georgia, serif;
  line-height: 1.2;
  margin-top: 0;
}

h1 {
  max-width: 760px;
  margin-bottom: 24px;
  font-size: clamp(3rem, 6.3vw, 5.9rem);
  letter-spacing: -.045em;
}

h2 {
  font-size: clamp(2rem, 4vw, 3.35rem);
  letter-spacing: -.03em;
  margin-bottom: 22px;
}

h3 {
  font-size: 1.35rem;
  margin-bottom: 12px;
}

.hero-lead, .section-lead {
  color: var(--muted);
  font-size: 1.16rem;
  max-width: 680px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 9px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .2s ease, opacity .2s ease;
}

.button:hover { transform: translateY(-1px); }

.button.primary {
  background: var(--accent);
  color: var(--white);
}

.button.secondary {
  border: 1px solid var(--line);
  background: rgba(255,255,255,.55);
}

.small-note {
  margin-top: 24px;
  color: var(--muted);
  font-size: .9rem;
}

.app-preview {
  display: flex;
  justify-content: center;
  position: relative;
}

.app-preview::before {
  content: "";
  position: absolute;
  inset: 8% -12% 5%;
  border-radius: 50%;
  background: var(--accent-2);
  filter: blur(1px);
  z-index: 0;
}

.phone {
  position: relative;
  z-index: 1;
  width: 320px;
  min-height: 650px;
  padding: 12px;
  border: 1px solid #c8c6bf;
  border-radius: 42px;
  background: #1c1c1a;
  box-shadow: 0 30px 80px rgba(27, 31, 26, .18);
}

.phone-screen {
  min-height: 626px;
  padding: 52px 22px 28px;
  border-radius: 31px;
  background: #fff;
  overflow: hidden;
}

.phone-top {
  position: absolute;
  top: 19px;
  left: 50%;
  width: 96px;
  height: 24px;
  transform: translateX(-50%);
  border-radius: 999px;
  background: #111;
  z-index: 2;
}

.preview-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  font-size: 1.2rem;
}

.translation {
  font-size: .7rem;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 5px 9px;
}

.search-pill {
  margin: 20px 0;
  padding: 11px 13px;
  border-radius: 10px;
  background: #f4f4f2;
  color: #97958e;
  font-size: .77rem;
}

.verse-card {
  padding: 22px 18px;
  border-radius: 16px;
  background: #f2efe6;
}

.mini-label {
  display: block;
  margin-bottom: 14px;
  color: var(--muted);
  font-size: .57rem;
  letter-spacing: .13em;
}

.verse-card strong {
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: .9rem;
}

.verse-card p {
  margin: 10px 0 0;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: .92rem;
  line-height: 1.55;
}

.mini-section {
  margin: 24px 0 12px;
  font-size: .72rem;
  font-weight: 600;
}

.theme-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 9px;
}

.theme-grid span {
  padding: 12px;
  border: 1px solid #eceae4;
  border-radius: 10px;
  font-size: .7rem;
}

.vault-strip {
  margin-top: 26px;
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 15px;
  border-top: 1px solid #eceae4;
}

.vault-icon { font-size: 1.3rem; }

.vault-strip strong, .vault-strip small { display: block; }

.vault-strip strong { font-size: .77rem; }
.vault-strip small { color: var(--muted); font-size: .62rem; }

.scripture-band {
  padding: 70px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: var(--warm);
}

blockquote {
  margin: 0;
  text-align: center;
  font-family: "Libre Baskerville", Georgia, serif;
  font-size: clamp(1.6rem, 3.2vw, 2.5rem);
  line-height: 1.5;
}

blockquote cite {
  display: block;
  margin-top: 18px;
  color: var(--muted);
  font-family: "DM Sans", sans-serif;
  font-size: .84rem;
  font-style: normal;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.section { padding: 108px 0; }

.feature-section { padding-top: 18px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.feature-grid article {
  padding: 38px 28px 42px;
  border-right: 1px solid var(--line);
}

.feature-grid article:last-child { border-right: 0; }

.feature-number {
  margin-bottom: 50px;
  color: var(--muted);
  font-size: .74rem;
}

.feature-grid p { color: var(--muted); }

.principle-section { background: #f6f4ed; }

.principle-grid {
  display: grid;
  grid-template-columns: .9fr 1fr;
  gap: 90px;
}

.principles p {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 22px;
  margin: 0;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
}

.principles span { color: var(--muted); }

.signup-section a:not(.button) {
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

.signup-section img { margin: 0 auto 24px; }

.site-footer {
  padding: 52px 0;
  border-top: 1px solid var(--line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 40px;
  align-items: start;
}

.footer-brand { margin-bottom: 12px; }

.site-footer p {
  margin: 5px 0;
  color: var(--muted);
  font-size: .86rem;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.legal { text-align: right; }

.legal-page main {
  min-height: 70vh;
}

.legal-hero {
  padding: 86px 0 42px;
}

.legal-content {
  padding: 0 0 100px;
}

.legal-content h2 {
  margin-top: 42px;
  font-size: 1.45rem;
  letter-spacing: -.015em;
}

.legal-content h3 {
  margin-top: 26px;
  font-size: 1.05rem;
}

.legal-content p, .legal-content li {
  color: #4f4f49;
}

.notice {
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--warm);
}

.support-cards {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 34px;
}

.support-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}

.support-card h3 { margin-bottom: 8px; }

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

  .hero-grid { gap: 64px; }
  .hero-copy { text-align: center; }
  .hero-lead { margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }

  .feature-grid { grid-template-columns: 1fr 1fr; }
  .feature-grid article:nth-child(2) { border-right: 0; }
  .feature-grid article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

  .footer-grid { grid-template-columns: 1fr 1fr; }
  .legal { grid-column: 1 / -1; text-align: left; }
}

@media (max-width: 620px) {
  .container { width: min(calc(100% - 28px), var(--max)); }
  .site-header nav a:not(:last-child) { display: none; }
  .hero { padding: 64px 0 70px; }
  h1 { font-size: clamp(2.7rem, 15vw, 4.4rem); }
  .phone { width: 286px; min-height: 590px; }
  .phone-screen { min-height: 566px; }
  .section { padding: 80px 0; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { border-right: 0; border-bottom: 1px solid var(--line); }
  .feature-grid article:last-child { border-bottom: 0; }
  .principles p { grid-template-columns: 1fr; gap: 4px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-links { margin: 12px 0; }
  .legal { grid-column: auto; }
  .support-cards { grid-template-columns: 1fr; }
}

.brand img, .signup-section img {
  object-fit: contain;
  background: #fff;
  border-radius: 10px;
}
.brand img { width: 38px; height: 38px; }
.signup-section img { width: 58px; height: 58px; }


/* Real product screenshot */
.phone-screen.real-screen {
  padding: 0;
  background: #fff;
  display: flex;
  align-items: stretch;
  justify-content: stretch;
}
.phone-screen.real-screen img {
  width: 100%;
  height: 100%;
  min-height: 626px;
  object-fit: cover;
  object-position: top center;
  border-radius: 31px;
}




/* Corrected transparent icon assets */
.brand img,
.signup-section img,
.cta-box > img,
.vault-card img {
  clip-path: none;
  background: transparent;
}

/* The supplied Discovery screenshot is now a single uniform-resolution image. */
.phone-screen.real-screen {
  padding: 0;
  overflow: hidden;
  background: #fff;
  display: flex;
}

.phone-screen.real-screen img {
  width: 100%;
  height: 100%;
  min-height: 626px;
  object-fit: cover;
  object-position: top center;
  border-radius: 31px;
  image-rendering: auto;
}


/* Mobile-only fix for the real Discovery screenshot.
   Desktop remains unchanged. */
@media (max-width: 620px) {
  .phone {
    min-height: 0;
  }

  .phone-screen.real-screen {
    min-height: 0;
    height: auto;
    align-items: flex-start;
  }

  .phone-screen.real-screen img {
    width: 100%;
    height: auto;
    min-height: 0;
    object-fit: contain;
    object-position: top center;
  }
}
