/* =========================================================
   Prayer Explorer — marketing site
   System fonts only. Light + dark via prefers-color-scheme.
   ========================================================= */

:root {
  --bg:        #FAF6EC;
  --surface:   #FFFFFF;
  --gold:      #B8902E;
  --gold-deep: #9A7522;
  --gold-soft: #E8D9A8;
  --gold-tint: #F6EECF;
  --text:      #2A2620;
  --muted:     #6B6358;
  --border:    #E5DCC6;

  --shadow-sm: 0 1px 2px rgba(42, 38, 32, 0.04), 0 2px 8px rgba(42, 38, 32, 0.05);
  --shadow-md: 0 4px 14px rgba(42, 38, 32, 0.07), 0 18px 40px rgba(42, 38, 32, 0.08);
  --shadow-lg: 0 10px 30px rgba(42, 38, 32, 0.10), 0 30px 70px rgba(42, 38, 32, 0.12);

  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-display: "Iowan Old Style", "Palatino Linotype", Palatino, "Book Antiqua", Georgia, serif;

  --maxw: 1080px;
  --readw: 720px;
  --radius: 16px;
  --radius-sm: 12px;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg:        #16120D;
    --surface:   #241F17;
    --gold:      #D4B560;
    --gold-deep: #C7A346;
    --gold-soft: #6A521C;
    --gold-tint: #3A2D14;
    --text:      #F4EDDD;
    --muted:     #C0B5A1;
    --border:    #3D3324;

    --shadow-sm: 0 1px 2px rgba(0,0,0,0.3), 0 2px 10px rgba(0,0,0,0.35);
    --shadow-md: 0 6px 18px rgba(0,0,0,0.4), 0 20px 44px rgba(0,0,0,0.45);
    --shadow-lg: 0 12px 34px rgba(0,0,0,0.5), 0 34px 80px rgba(0,0,0,0.55);
  }
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
@media (min-width: 768px) { body { font-size: 18px; } }

img { max-width: 100%; display: block; }
h1, h2, h3 { margin: 0; font-weight: 600; letter-spacing: -0.01em; }
p { margin: 0; }
a { color: var(--gold-deep); text-decoration: none; }
a:hover { text-decoration: underline; text-underline-offset: 3px; }

:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation: none !important; transition: none !important; }
}

/* ---------- layout ---------- */
.wrap { width: 100%; max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }
.section { padding-block: 72px; }
@media (min-width: 768px) { .section { padding-block: 104px; } }

.eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-deep);
  margin: 0 0 14px;
}
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.7rem, 1.1rem + 2.4vw, 2.5rem);
  line-height: 1.15;
  letter-spacing: -0.015em;
}
.section-head p { color: var(--muted); margin-top: 14px; font-size: 1.05rem; }

.lead { color: var(--muted); font-size: 1.08rem; }

/* ---------- top bar ---------- */
.topbar {
  position: sticky; top: 0; z-index: 50;
  background: color-mix(in srgb, var(--bg) 86%, transparent);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid var(--border);
}
.topbar .wrap {
  display: flex; align-items: center; justify-content: space-between;
  min-height: 64px;
}
.brand { display: flex; align-items: center; gap: 11px; color: var(--text); }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 9px; box-shadow: var(--shadow-sm); }
.brand span { font-family: var(--font-display); font-size: 1.18rem; font-weight: 600; letter-spacing: -0.01em; }
.topbar nav { display: flex; align-items: center; gap: 26px; }
.topbar nav a { color: var(--muted); font-size: 0.95rem; }
.topbar nav a:hover { color: var(--text); text-decoration: none; }
.topbar .nav-privacy { display: none; }
@media (min-width: 560px) { .topbar .nav-privacy { display: inline; } }

/* ---------- buttons & pills ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 9px;
  font: inherit; font-weight: 600; font-size: 1rem;
  padding: 13px 26px; border-radius: 999px;
  border: 1px solid transparent; cursor: pointer;
  transition: transform 0.15s ease, box-shadow 0.2s ease, background 0.2s ease;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: var(--gold); color: #fff; box-shadow: var(--shadow-sm); }
.btn-primary:hover { background: var(--gold-deep); transform: translateY(-1px); box-shadow: var(--shadow-md); }
.btn-secondary { background: var(--surface); color: var(--gold-deep); border-color: var(--gold-soft); }
.btn-secondary:hover { border-color: var(--gold); transform: translateY(-1px); }
@media (prefers-color-scheme: dark) {
  .btn-primary { color: #1a1408; }
}

.pill {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 9px 18px; border-radius: 999px;
  background: var(--gold-tint); border: 1px solid var(--gold-soft);
  color: var(--gold-deep); font-size: 0.9rem; font-weight: 600;
  letter-spacing: 0.02em;
}
.pill .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold); flex: none;
}

/* ---------- hero ---------- */
.hero { text-align: center; padding-top: 60px; padding-bottom: 24px; }
.hero-mark {
  width: 92px; height: 92px; border-radius: 22px;
  margin: 0 auto 28px; box-shadow: var(--shadow-md);
  border: 1px solid var(--border);
}
.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.6rem, 1.7rem + 4.2vw, 4.4rem);
  line-height: 1.04;
  letter-spacing: -0.02em;
}
.hero h1 .gold { color: var(--gold-deep); }
.hero .subtitle {
  color: var(--muted);
  font-size: clamp(1.1rem, 1rem + 0.6vw, 1.35rem);
  margin: 20px auto 0;
  max-width: 30ch;
}
.hero-actions {
  display: flex; flex-wrap: wrap; gap: 14px;
  justify-content: center; align-items: center;
  margin-top: 34px;
}
.hero-note { color: var(--muted); font-size: 0.9rem; margin-top: 16px; }

.hero-divider {
  display: flex; align-items: center; justify-content: center; gap: 16px;
  margin: 44px auto 0; max-width: 320px; color: var(--gold-soft);
}
.hero-divider::before, .hero-divider::after {
  content: ""; height: 1px; flex: 1;
  background: linear-gradient(to var(--dir, right), transparent, var(--border));
}
.hero-divider svg { width: 26px; height: 26px; color: var(--gold); flex: none; }

/* hero phone */
.hero-phone { margin: 8px auto 0; max-width: 300px; }

/* ---------- phone frame ---------- */
.phone {
  position: relative;
  background: #0c0b09;
  border-radius: 44px;
  padding: 9px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(0,0,0,0.4);
}
.phone img {
  width: 100%;
  border-radius: 36px;
  display: block;
}

/* ---------- features ---------- */
.features {
  display: grid; gap: 0;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.feature {
  display: flex; align-items: center; gap: 18px;
  padding: 22px 26px;
  border-bottom: 1px solid var(--border);
}
.feature:last-child { border-bottom: none; }
.feature .ico {
  flex: none; width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  background: var(--gold-tint); color: var(--gold-deep);
  border: 1px solid var(--gold-soft);
}
.feature .ico svg { width: 22px; height: 22px; }
.feature .txt { min-width: 0; }
.feature .txt strong { font-weight: 600; font-size: 1.06rem; }
.feature .txt span { display: block; color: var(--muted); font-size: 0.96rem; margin-top: 1px; }
@media (min-width: 760px) {
  .features { grid-template-columns: 1fr 1fr; }
  .feature { padding: 26px 30px; }
  .feature:nth-last-child(2):nth-child(odd) { border-bottom: none; }
}

/* ---------- gallery (screens) ---------- */
.gallery-section { background: var(--gold-tint); border-block: 1px solid var(--border); }
@media (prefers-color-scheme: dark) {
  .gallery-section { background: color-mix(in srgb, var(--surface) 60%, var(--bg)); }
}
.gallery {
  display: flex; gap: 22px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 24px 28px;
  margin: 0 -24px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.gallery::-webkit-scrollbar { display: none; }
.gallery .item { scroll-snap-align: center; flex: 0 0 auto; width: 230px; }
.gallery .item .phone { border-radius: 38px; padding: 7px; }
.gallery .item .phone img { border-radius: 31px; }
.gallery .item .cap {
  text-align: center; margin-top: 16px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.14em;
  text-transform: uppercase; color: var(--gold-deep);
}
.gallery-hint { text-align: center; color: var(--muted); font-size: 0.88rem; margin-top: 6px; }

/* ---------- principles ---------- */
.cards { display: grid; gap: 20px; grid-template-columns: 1fr; }
@media (min-width: 760px) { .cards { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 34px 30px;
  box-shadow: var(--shadow-sm);
}
.card .ico {
  width: 46px; height: 46px; border-radius: 12px; margin-bottom: 20px;
  display: grid; place-items: center;
  background: var(--gold-tint); color: var(--gold-deep);
  border: 1px solid var(--gold-soft);
}
.card .ico svg { width: 24px; height: 24px; }
.card h3 { font-family: var(--font-display); font-size: 1.3rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.99rem; }

/* ---------- thanksgiving ---------- */
.thanks {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
  padding: 44px 32px;
  text-align: center;
  max-width: var(--readw);
  margin-inline: auto;
}
@media (min-width: 768px) { .thanks { padding: 56px 64px; } }
.thanks .ico {
  width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 22px;
  display: grid; place-items: center;
  background: var(--gold-tint); color: var(--gold-deep);
  border: 1px solid var(--gold-soft);
}
.thanks .ico svg { width: 28px; height: 28px; }
.thanks h2 { font-family: var(--font-display); font-size: clamp(1.6rem, 1.2rem + 1.6vw, 2.1rem); }
.thanks p { color: var(--muted); margin-top: 16px; font-size: 1.05rem; }
.thanks .tag {
  display: inline-block; margin-top: 22px;
  font-size: 0.82rem; font-weight: 700; letter-spacing: 0.08em;
  color: var(--gold-deep); text-transform: uppercase;
}

/* ---------- footer ---------- */
.footer {
  border-top: 1px solid var(--border);
  padding-block: 48px;
  background: var(--bg);
}
.footer .wrap { display: grid; gap: 28px; }
.footer-top { display: flex; flex-wrap: wrap; gap: 22px 40px; align-items: flex-start; justify-content: space-between; }
.footer-brand { display: flex; align-items: center; gap: 12px; }
.footer-brand img { width: 38px; height: 38px; border-radius: 10px; box-shadow: var(--shadow-sm); }
.footer-brand .name { font-family: var(--font-display); font-size: 1.15rem; font-weight: 600; }
.footer-brand .tld { color: var(--muted); font-size: 0.85rem; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px 28px; align-items: center; }
.footer-links a { color: var(--muted); font-size: 0.95rem; }
.footer-links a:hover { color: var(--text); text-decoration: none; }
.footer-base {
  display: flex; flex-wrap: wrap; gap: 8px 18px;
  align-items: center; justify-content: space-between;
  padding-top: 24px; border-top: 1px solid var(--border);
  color: var(--muted); font-size: 0.86rem;
}
.footer-base .honor { font-style: italic; font-family: var(--font-display); font-size: 0.98rem; }

/* ---------- privacy page ---------- */
.doc { max-width: var(--readw); margin-inline: auto; }
.doc .updated { color: var(--muted); font-size: 0.92rem; margin-top: 8px; }
.doc h1 { font-family: var(--font-display); font-size: clamp(2.1rem, 1.5rem + 2.4vw, 3rem); line-height: 1.08; }
.doc h2 {
  font-family: var(--font-display);
  font-size: 1.42rem; margin-top: 48px; margin-bottom: 12px;
  padding-top: 24px; border-top: 1px solid var(--border);
}
.doc h2:first-of-type { border-top: none; padding-top: 0; }
.doc p { color: var(--text); margin-top: 14px; }
.doc p.intro { color: var(--muted); font-size: 1.08rem; margin-top: 20px; }
.doc ul { margin: 14px 0 0; padding-left: 0; list-style: none; display: grid; gap: 12px; }
.doc li {
  position: relative; padding-left: 28px; color: var(--text);
}
.doc li::before {
  content: ""; position: absolute; left: 6px; top: 11px;
  width: 7px; height: 7px; border-radius: 50%; background: var(--gold);
}
.doc li strong { font-weight: 600; }
.doc .short {
  background: var(--gold-tint); border: 1px solid var(--gold-soft);
  border-radius: var(--radius-sm); padding: 22px 24px; margin-top: 20px;
}
.doc .short p { margin: 0; color: var(--text); }
.back-link {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--muted); font-size: 0.95rem; margin-bottom: 6px;
}
.back-link:hover { color: var(--text); text-decoration: none; }
.back-link svg { width: 16px; height: 16px; }
