/* Bible Detect — shared design system (index, privacy, terms).
   Display: Fraunces (editorial serif, warm gravitas).
   Body: DM Sans — the same face the app itself ships, so site and product read
   as one thing. */

:root {
  --bg: #0c0e12;
  --panel: #14171d;
  --panel-2: #1a1e26;
  --text: #f2f4f7;
  --muted: #9aa3b0;
  --accent: #8b93f8;
  --accent-2: #4cc38a;
  --border: rgba(255, 255, 255, 0.08);
  --serif: "Fraunces", ui-serif, "New York", Georgia, serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
/* Sticky nav would otherwise cover an anchored section's heading. */
section[id], main[id] { scroll-margin-top: 84px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* Display type — optical sizing + a touch of Fraunces' softness, which keeps
   the serif from feeling severe on a church-facing page. */
h1, h2, h3.display, .verse, .verse-ref, .verse-footer, .prose h1, .prose h2 {
  font-family: var(--serif);
  font-variation-settings: "SOFT" 20, "WONK" 0;
  letter-spacing: -0.4px;
}

/* Nav */
nav {
  position: sticky; top: 0; z-index: 10; backdrop-filter: blur(14px);
  background: rgba(12, 14, 18, 0.75); border-bottom: 1px solid var(--border);
}
.nav-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; }
.brand img { width: 30px; height: 30px; border-radius: 7px; }
.nav-links { display: flex; gap: 22px; margin-left: auto; font-size: 14px; color: var(--muted); }
.nav-links a:hover { color: var(--text); }

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 11px 22px; border-radius: 10px; font-weight: 600; font-size: 15px;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 2px solid var(--accent); outline-offset: 3px; }
.btn-primary { background: var(--accent); color: #0c0e12; }
.btn-primary:hover { background: #a0a7fa; }
.btn-ghost { border: 1px solid var(--border); color: var(--text); background: rgba(255,255,255,0.04); }
.btn-ghost:hover { border-color: rgba(255,255,255,0.2); }
.nav-cta { margin-left: 8px; padding: 8px 16px; font-size: 14px; }
.btn .glyph { font-size: 17px; line-height: 1; }

/* Store buttons: two-line label, Apple-style hierarchy without using Apple's
   badge artwork (which has its own usage rules). */
.btn-store { flex-direction: row; padding: 10px 20px; text-align: left; line-height: 1.15; }
.btn-store .store-sm { display: block; font-size: 11px; font-weight: 500; opacity: 0.75; letter-spacing: 0.3px; }
.btn-store .store-lg { display: block; font-size: 15px; font-weight: 700; }
/* Before the apps are live on the App Store: same shape, visibly inert, so the
   page never promises a link that 404s. tool/set_appstore_ids.sh flips these. */
.btn.is-soon { background: rgba(255,255,255,0.06); color: var(--muted);
  border: 1px dashed rgba(255,255,255,0.18); cursor: default; }
.btn.is-soon:hover { transform: none; background: rgba(255,255,255,0.06); }
.btn.is-soon .glyph { opacity: 0.6; }
.soon-note { color: var(--muted); font-size: 13.5px; }

/* Footer */
footer { border-top: 1px solid var(--border); padding: 56px 0 36px; color: var(--muted); font-size: 14px; }
.footer-grid {
  display: grid; grid-template-columns: 1.6fr repeat(3, 1fr);
  gap: 40px 28px; padding-bottom: 36px;
}
.footer-brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 16px; color: var(--text); }
.footer-brand img { width: 28px; height: 28px; border-radius: 7px; }
.footer-tag { margin-top: 12px; max-width: 300px; font-size: 13.5px; }
.footer-col h4 {
  font-size: 12px; letter-spacing: 1.2px; text-transform: uppercase;
  color: var(--text); font-weight: 600; margin-bottom: 14px;
}
.footer-col ul { list-style: none; display: grid; gap: 9px; }
.footer-col a { font-size: 13.5px; }
.footer-col a:hover { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }
.footer-bottom {
  border-top: 1px solid var(--border); padding-top: 26px;
  display: flex; justify-content: space-between; gap: 18px; flex-wrap: wrap;
  font-size: 12.5px;
}
.verse-footer { font-family: var(--serif); font-style: italic; font-size: 14px; color: var(--muted); }
.legal-note { opacity: 0.75; }

/* Long-form legal pages */
.prose { max-width: 720px; margin: 0 auto; padding: 72px 24px 88px; }
.eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: 1.5px; font-weight: 600;
  color: var(--accent); text-transform: uppercase; margin-bottom: 18px;
}
.prose .eyebrow { font-size: 12px; margin-bottom: 14px; }
.prose h1 { font-size: clamp(32px, 5vw, 46px); line-height: 1.14; font-weight: 600; }
.prose .updated { margin-top: 12px; font-size: 13.5px; color: var(--muted); }
.prose h2 {
  font-size: 22px; font-weight: 600; margin: 44px 0 12px;
  padding-top: 22px; border-top: 1px solid var(--border);
}
.prose p, .prose li { color: var(--muted); font-size: 15.5px; }
.prose p + p { margin-top: 14px; }
.prose ul { margin: 14px 0 0 20px; display: grid; gap: 9px; }
.prose b { color: var(--text); font-weight: 600; }
.prose a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }
.prose .lede { font-size: 17.5px; color: var(--text); margin-top: 26px; line-height: 1.55; }
.callout {
  margin-top: 28px; background: var(--panel); border: 1px solid var(--border);
  border-left: 3px solid var(--accent-2); border-radius: 12px; padding: 20px 22px;
}
.callout p { color: var(--text); font-size: 15px; }

@media (max-width: 820px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
