/* Bible Prayer – Holy Bible App landing site */
:root {
  --blue: #a5814b;            /* gold/bronze accent */
  --blue-dark: #8a6a39;
  --blue-soft: #f3ead9;
  --ink: #2b2317;
  --ink-soft: #6b5f4c;
  --line: #e9e1d2;
  --bg: #faf7f1;
  --bg-alt: #f3eee3;
  --radius: 16px;
  --shadow: 0 10px 30px rgba(60, 48, 30, 0.12);
  --maxw: 1120px;
}

h1, h2, h3, .brand, .cta-band h2 {
  font-family: Georgia, "Times New Roman", "Songti SC", serif;
  font-weight: 600;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

a { color: var(--blue); text-decoration: none; }
a:hover { text-decoration: underline; }

.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(250, 247, 241, 0.92);
  backdrop-filter: saturate(180%) blur(12px);
  border-bottom: 1px solid var(--line);
}
.site-header .container {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 17px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { width: 34px; height: 34px; border-radius: 8px; }
.main-nav { display: flex; gap: 26px; align-items: center; }
.main-nav a { color: var(--ink-soft); font-size: 15px; font-weight: 500; }
.main-nav a:hover { color: var(--blue); text-decoration: none; }
.nav-cta {
  background: var(--blue); color: #fff !important; padding: 9px 18px;
  border-radius: 999px; font-weight: 600;
}
.nav-cta:hover { background: var(--blue-dark); }
@media (max-width: 760px) { .main-nav a:not(.nav-cta) { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 14px 28px; border-radius: 999px; font-size: 16px; font-weight: 600;
  transition: transform 0.15s ease, background 0.15s ease;
}
.btn:hover { text-decoration: none; transform: translateY(-1px); }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 8px 20px rgba(165, 129, 75, 0.35); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-ghost { border: 1.5px solid var(--line); color: var(--ink); background: #fffdf8; }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }

.appstore-badge { display: inline-block; }
.appstore-badge svg { display: block; height: 54px; width: auto; }

/* ---------- Hero ---------- */
.hero {
  background:
    radial-gradient(900px 480px at 85% -10%, rgba(165, 129, 75, 0.18), transparent 60%),
    radial-gradient(700px 420px at -10% 30%, rgba(165, 129, 75, 0.10), transparent 55%),
    var(--bg);
  padding: 72px 0 40px;
  overflow: hidden;
}
.hero .container { display: grid; grid-template-columns: 1.1fr 0.9fr; gap: 48px; align-items: center; }
@media (max-width: 880px) { .hero .container { grid-template-columns: 1fr; text-align: center; } }

.hero-icon { width: 84px; height: 84px; border-radius: 20px; box-shadow: var(--shadow); margin-bottom: 24px; }
@media (max-width: 880px) { .hero-icon { margin-inline: auto; } }

.hero h1 { font-size: clamp(34px, 5vw, 54px); line-height: 1.12; letter-spacing: -0.02em; font-weight: 800; }
.hero h1 em { color: var(--blue); font-style: normal; }
.hero .sub { margin: 20px 0 30px; font-size: 19px; color: var(--ink-soft); max-width: 34em; }
@media (max-width: 880px) { .hero .sub { margin-inline: auto; } }

.hero-ctas { display: flex; gap: 16px; flex-wrap: wrap; align-items: center; }
@media (max-width: 880px) { .hero-ctas { justify-content: center; } }

.hero-trust { display: flex; gap: 22px; margin-top: 26px; font-size: 14px; color: var(--ink-soft); flex-wrap: wrap; }
@media (max-width: 880px) { .hero-trust { justify-content: center; } }
.hero-trust span { display: inline-flex; align-items: center; gap: 7px; }
.hero-trust svg { width: 16px; height: 16px; fill: var(--blue); flex: none; }

.hero-shot { max-width: 340px; margin: 0 auto; border-radius: 28px; box-shadow: 0 30px 60px rgba(16, 24, 43, 0.22); }

/* ---------- Sections ---------- */
section { padding: 76px 0; }
section.alt { background: var(--bg-alt); }
.section-head { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-head h2 { font-size: clamp(26px, 3.6vw, 38px); letter-spacing: -0.02em; line-height: 1.2; }
.section-head p { margin-top: 14px; color: var(--ink-soft); font-size: 17px; }
.kicker {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--blue); margin-bottom: 12px;
}

/* ---------- Feature grid ---------- */
.grid { display: grid; gap: 24px; }
.grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
.grid.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 880px) { .grid.cols-3 { grid-template-columns: 1fr; } .grid.cols-2 { grid-template-columns: 1fr; } }

.card {
  background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px;
}
.card .icon {
  width: 46px; height: 46px; border-radius: 12px; background: var(--blue-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.card .icon svg { width: 24px; height: 24px; fill: var(--blue); }
.card h3 { font-size: 19px; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 15.5px; }

/* ---------- Screenshots ---------- */
.shots {
  display: grid; grid-template-columns: repeat(6, 1fr); gap: 18px;
}
@media (max-width: 1000px) {
  .shots { display: flex; overflow-x: auto; padding-bottom: 12px; scroll-snap-type: x mandatory; }
  .shots figure { flex: 0 0 220px; scroll-snap-align: start; }
}
.shots figure { margin: 0; }
.shots img { border-radius: 18px; box-shadow: var(--shadow); }
.shots figcaption { font-size: 13.5px; color: var(--ink-soft); text-align: center; margin-top: 10px; }

/* ---------- How it works ---------- */
.steps { counter-reset: step; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
@media (max-width: 880px) { .steps { grid-template-columns: 1fr; } }
.step { position: relative; background: #fffdf8; border: 1px solid var(--line); border-radius: var(--radius); padding: 30px 26px 26px; }
.step::before {
  counter-increment: step; content: counter(step);
  position: absolute; top: -18px; left: 24px;
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--blue); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center; font-size: 16px;
  box-shadow: 0 6px 14px rgba(165, 129, 75, 0.35);
}
.step h3 { font-size: 18px; margin-bottom: 8px; }
.step p { color: var(--ink-soft); font-size: 15.5px; }

/* ---------- Guides ---------- */
.guide-card { display: flex; flex-direction: column; }
.guide-card h3 { font-size: 17.5px; line-height: 1.35; }
.guide-card h3 a { color: var(--ink); }
.guide-card h3 a:hover { color: var(--blue); text-decoration: none; }
.guide-card p { flex: 1; margin: 10px 0 14px; }
.guide-card .more { font-weight: 600; font-size: 15px; }

/* ---------- FAQ ---------- */
.faq { max-width: 760px; margin: 0 auto; }
.faq details {
  border: 1px solid var(--line); border-radius: 14px; background: #fffdf8;
  padding: 20px 24px; margin-bottom: 14px;
}
.faq details[open] { border-color: var(--blue); }
.faq summary {
  cursor: pointer; font-weight: 600; font-size: 16.5px; list-style: none;
  display: flex; justify-content: space-between; align-items: center; gap: 14px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 22px; color: var(--blue); flex: none; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { margin-top: 12px; color: var(--ink-soft); font-size: 15.5px; }
.faq .answer a { font-weight: 600; }

/* ---------- CTA band ---------- */
.cta-band {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  border-radius: 24px; padding: 60px 40px; text-align: center; color: #fff;
}
.cta-band h2 { font-size: clamp(26px, 3.6vw, 38px); letter-spacing: -0.02em; }
.cta-band p { margin: 14px auto 30px; max-width: 36em; opacity: 0.92; font-size: 17px; }
.cta-band .btn-primary { background: #fffdf8; color: var(--blue); box-shadow: 0 10px 24px rgba(0, 0, 0, 0.18); }
.cta-band .btn-primary:hover { background: #f0f4ff; }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 52px 0 40px; background: var(--bg-alt); font-size: 14.5px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 32px; }
@media (max-width: 880px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 0.06em; color: var(--ink-soft); margin-bottom: 14px; }
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 9px; }
.site-footer a { color: var(--ink-soft); }
.site-footer a:hover { color: var(--blue); }
.footer-about { color: var(--ink-soft); max-width: 30em; }
.footer-about .brand { margin-bottom: 12px; }
.footer-bottom { margin-top: 36px; padding-top: 22px; border-top: 1px solid var(--line); color: var(--ink-soft); display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }

/* ---------- Guide article pages ---------- */
.article { max-width: 760px; margin: 0 auto; padding: 56px 24px 72px; }
.article .breadcrumb { font-size: 14px; color: var(--ink-soft); margin-bottom: 22px; }
.article h1 { font-size: clamp(30px, 4.2vw, 42px); line-height: 1.15; letter-spacing: -0.02em; margin-bottom: 18px; }
.article .lede { font-size: 18.5px; color: var(--ink-soft); margin-bottom: 34px; }
.article h2 { font-size: 25px; margin: 42px 0 14px; letter-spacing: -0.01em; }
.article h3 { font-size: 19px; margin: 28px 0 10px; }
.article p { margin-bottom: 16px; }
.article ul, .article ol { margin: 0 0 16px 24px; }
.article li { margin-bottom: 8px; }
.article .tip {
  background: var(--blue-soft); border-left: 4px solid var(--blue);
  padding: 16px 20px; border-radius: 0 12px 12px 0; margin: 24px 0;
}
.article img.inline-shot { max-width: 300px; margin: 28px auto; border-radius: 18px; box-shadow: var(--shadow); }
.article-cta {
  margin: 40px 0; padding: 30px; background: var(--bg-alt);
  border: 1px solid var(--line); border-radius: var(--radius); text-align: center;
}
.article-cta h2 { margin: 0 0 10px; font-size: 22px; }
.article-cta p { color: var(--ink-soft); }
.related { margin-top: 48px; padding-top: 28px; border-top: 1px solid var(--line); }
.related h2 { font-size: 20px; margin-bottom: 16px; }
.related ul { list-style: none; margin: 0; }
.related li { margin-bottom: 10px; }
