/* Scripture With Me home page. Colors, type, and spacing come from the Scripture With Me design system. */
:root {
  --paper: #F6F1E7;
  --surface: #FFFFFD;
  --linen: #EFE7D8;
  --rule: #E2D9C7;
  --text: #2B2A26;
  --muted: #645F55;
  --heading: #2E3322;
  --sage: #66784A;
  --sage-deep: #4F5D39;
  --sage-tint: #E3E4CE;
  --on-sage: #FFFFFD;
  --olive-ink: #2E3322;
  --on-olive: #F6F1E7;
  --gold: #B8873F;
  --font-display: "Playfair Display", Georgia, serif;
  --font-reading: "Source Serif 4", Georgia, serif;
  --font-ui: "Inter", "Segoe UI", Arial, sans-serif;
  --radius-md: 14px;
  --radius-lg: 20px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--text);
  font-family: var(--font-ui);
  font-size: 16px;
  line-height: 26px;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: var(--sage-deep); }
a:hover { color: var(--heading); }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 2px; border-radius: 4px; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 16px; }
@media (min-width: 768px) { .wrap { padding: 0 32px; } }

.eyebrow {
  margin: 0;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: var(--sage-deep);
}
h1, h2, h3 { margin: 0; color: var(--heading); font-family: var(--font-display); font-weight: 600; font-variant-numeric: lining-nums; }

/* Header */
.site-header { border-bottom: 1px solid var(--rule); background: var(--paper); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 72px; }
.brand { display: inline-flex; align-items: center; gap: 12px; min-height: 44px; text-decoration: none; color: var(--heading); font-family: var(--font-display); font-size: 20px; font-weight: 600; }
.brand img { width: 36px; height: 36px; border-radius: 9px; }
.site-nav { display: flex; align-items: center; gap: 8px; }
.site-nav a.link { display: none; align-items: center; min-height: 44px; padding: 0 12px; text-decoration: none; color: var(--text); font-size: 15px; font-weight: 500; }
.site-nav a.link:hover { color: var(--sage-deep); }
@media (min-width: 900px) { .site-nav a.link { display: inline-flex; } }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 0 20px; border-radius: var(--radius-md); background: var(--sage); color: var(--on-sage); font-size: 15px; font-weight: 600; text-decoration: none; }
.btn:hover { background: var(--sage-deep); color: var(--on-sage); }

/* Hero */
.hero { padding: 48px 0 56px; }
.hero .wrap { display: grid; gap: 40px; align-items: center; }
@media (min-width: 900px) { .hero { padding: 80px 0; } .hero .wrap { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 64px; } }
.hero h1 { margin-top: 12px; font-size: 44px; line-height: 50px; }
@media (min-width: 768px) { .hero h1 { font-size: 64px; line-height: 70px; } }
.hero .lede { margin: 20px 0 0; max-width: 34em; font-size: 18px; line-height: 29px; color: var(--text); }
.badges { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin-top: 28px; }
.badges a { display: inline-flex; min-height: 44px; align-items: center; }
.badges .apple img { height: 48px; width: auto; }
.badges .play img { height: 70px; width: auto; margin: -11px 0; }
.hero .note { margin: 16px 0 0; font-size: 14px; line-height: 21px; color: var(--muted); }

/* Phone mockup */
.phone { justify-self: center; width: 100%; max-width: 330px; padding: 12px; border-radius: 44px; background: var(--olive-ink); }
.phone-screen { display: flex; flex-direction: column; gap: 14px; padding: 28px 18px 24px; border-radius: 34px; background: var(--paper); }
.phone-screen h2 { font-size: 26px; line-height: 32px; }
.phone-block { display: flex; flex-direction: column; gap: 6px; padding: 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--rule); }
.phone-label { margin: 0; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--sage-deep); }
.phone-block p { margin: 0; font-size: 14px; line-height: 21px; }
.phone-verse { margin: 0; padding: 18px 16px; border-radius: 16px; background: var(--surface); border: 1px solid var(--rule); text-align: center; }
.phone-verse blockquote { margin: 0; font-family: var(--font-reading); font-size: 18px; line-height: 27px; font-weight: 500; }
.phone-verse figcaption { margin-top: 8px; font-size: 12px; line-height: 16px; font-weight: 600; color: var(--sage-deep); }
.phone-context { display: flex; flex-direction: column; gap: 4px; padding: 14px 16px; border-radius: 16px; background: var(--linen); }
.phone-context p { margin: 0; font-size: 14px; line-height: 21px; }

/* Founder */
.founder { background: var(--linen); padding: 56px 0; }
@media (min-width: 768px) { .founder { padding: 80px 0; } }
.founder .wrap { max-width: 820px; display: flex; flex-direction: column; gap: 20px; }
.founder blockquote { margin: 0; font-family: var(--font-display); font-size: 26px; line-height: 38px; font-weight: 500; color: var(--heading); }
@media (min-width: 768px) { .founder blockquote { font-size: 32px; line-height: 46px; } }
.founder .signed { margin: 0; font-size: 15px; line-height: 22px; color: var(--muted); }
.founder .signed strong { color: var(--text); font-weight: 600; }

/* Sections */
.section { padding: 64px 0; }
@media (min-width: 768px) { .section { padding: 96px 0; } }
.section-head { max-width: 680px; display: flex; flex-direction: column; gap: 12px; margin-bottom: 40px; }
.section-head h2 { font-size: 34px; line-height: 40px; }
@media (min-width: 768px) { .section-head h2 { font-size: 44px; line-height: 50px; } }
.section-head p { margin: 0; font-size: 18px; line-height: 29px; }

/* Features */
.features { display: grid; gap: 16px; }
@media (min-width: 700px) { .features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
@media (min-width: 1000px) { .features { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
.feature { display: flex; flex-direction: column; gap: 10px; padding: 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--rule); }
.feature .icon { width: 44px; height: 44px; border-radius: 999px; background: var(--sage-tint); color: var(--sage-deep); display: flex; align-items: center; justify-content: center; }
.feature h3 { font-size: 22px; line-height: 28px; }
.feature p { margin: 0; font-size: 16px; line-height: 25px; }
.feature.wide { background: var(--sage-tint); border-color: var(--sage-tint); }
@media (min-width: 1000px) { .feature.wide { grid-column: span 1; } }

/* AI note */
.ai-note { margin-top: 32px; display: flex; flex-direction: column; gap: 8px; padding: 24px 28px; border-radius: var(--radius-lg); background: var(--linen); max-width: 820px; }
.ai-note p { margin: 0; font-size: 16px; line-height: 26px; }

/* Pricing */
.pricing { background: var(--surface); border-top: 1px solid var(--rule); border-bottom: 1px solid var(--rule); }
.plans { display: grid; gap: 16px; max-width: 760px; }
@media (min-width: 700px) { .plans { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; } }
.plan { display: flex; flex-direction: column; gap: 8px; padding: 28px; border-radius: var(--radius-lg); border: 1px solid var(--rule); background: var(--paper); }
.plan.best { border: 1.5px solid var(--sage); background: var(--sage-tint); }
.plan .plan-top { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.plan h3 { font-family: var(--font-ui); font-size: 17px; line-height: 24px; font-weight: 600; color: var(--heading); }
.tag { display: inline-block; padding: 4px 10px; border-radius: 999px; background: var(--sage); color: var(--on-sage); font-size: 12px; line-height: 16px; font-weight: 600; }
.plan .price { margin: 0; font-family: var(--font-display); font-size: 36px; line-height: 42px; font-weight: 600; color: var(--heading); font-variant-numeric: lining-nums; }
.plan .price span { font-family: var(--font-ui); font-size: 16px; font-weight: 500; color: var(--muted); }
.plan p { margin: 0; font-size: 15px; line-height: 23px; }
.pricing .fine { margin: 20px 0 0; font-size: 14px; line-height: 21px; color: var(--muted); }

/* FAQ */
.faq-list { max-width: 820px; display: flex; flex-direction: column; border-top: 1px solid var(--rule); }
.faq-list details { border-bottom: 1px solid var(--rule); }
.faq-list summary { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding: 16px 0; cursor: pointer; list-style: none; font-size: 18px; line-height: 26px; font-weight: 600; color: var(--heading); }
.faq-list summary::-webkit-details-marker { display: none; }
.faq-list summary::after { content: "+"; flex: none; width: 28px; height: 28px; border-radius: 999px; background: var(--sage-tint); color: var(--sage-deep); display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: 500; }
.faq-list details[open] summary::after { content: "\2212"; }
.faq-list details p { margin: 0 0 20px; max-width: 42em; font-size: 16px; line-height: 26px; }

/* Final call to action */
.final { background: var(--olive-ink); color: var(--on-olive); text-align: center; padding: 72px 0; }
.final .wrap { display: flex; flex-direction: column; align-items: center; gap: 16px; }
.final img.mark { width: 64px; height: 64px; border-radius: 16px; }
.final h2 { color: var(--on-olive); font-size: 36px; line-height: 42px; }
@media (min-width: 768px) { .final h2 { font-size: 48px; line-height: 54px; } }
.final p { margin: 0; max-width: 32em; font-size: 18px; line-height: 29px; color: var(--on-olive); }
.final .badges { justify-content: center; margin-top: 12px; }

/* Legal and help pages */
.site-nav a.link[aria-current="page"] { color: var(--sage-deep); font-weight: 600; }
.legal-page { padding: 40px 0 64px; }
@media (min-width: 768px) { .legal-page { padding: 64px 0 96px; } }
.legal-head { max-width: 760px; margin: 0 auto 24px; display: flex; flex-direction: column; gap: 8px; }
.legal-head h1 { font-size: 36px; line-height: 42px; }
@media (min-width: 768px) { .legal-head h1 { font-size: 48px; line-height: 54px; } }
.legal-head .updated { margin: 0; font-size: 15px; line-height: 22px; color: var(--muted); }
.legal-body { max-width: 760px; margin: 0 auto; padding: 28px 24px; border-radius: var(--radius-lg); background: var(--surface); border: 1px solid var(--rule); }
@media (min-width: 768px) { .legal-body { padding: 40px 48px; } }
.legal-body > :first-child { margin-top: 0; }
.legal-body h2 { margin: 32px 0 8px; font-family: var(--font-reading); font-size: 22px; line-height: 28px; font-weight: 600; color: var(--heading); }
.legal-body h3 { margin: 24px 0 6px; font-family: var(--font-ui); font-size: 17px; line-height: 24px; font-weight: 600; color: var(--heading); }
.legal-body p { margin: 0 0 12px; font-size: 16px; line-height: 26px; }
.legal-body ul { margin: 0 0 12px; padding-left: 20px; }
.legal-body li { font-size: 16px; line-height: 26px; }
.legal-body li + li { margin-top: 8px; }
.legal-body .note { margin: 0 0 12px; padding: 16px 20px; border-radius: var(--radius-md); background: var(--linen); }
.legal-body .note p { margin: 0; }

/* Footer */
.site-footer { padding: 40px 0 48px; }
.site-footer .wrap { display: flex; flex-direction: column; gap: 16px; }
.site-footer nav { display: flex; flex-wrap: wrap; column-gap: 20px; }
.site-footer nav a { display: inline-flex; align-items: center; min-height: 44px; font-size: 15px; font-weight: 500; text-decoration: none; }
.site-footer .copy { margin: 0; font-size: 13px; line-height: 19px; color: var(--muted); }
