/* Holy Bible — static content pages (verses, topics, books of the Bible).
   Same brand system as the landing page (Source Serif 4 + Inter, brand red, gold, parchment),
   but no animation libraries so these pages load instantly and read well for search and answer engines. */
:root {
  --brand-top: #5a181c; --brand-deep: #421318; --ink: #2a0a0d;
  --gold: #f3ca83; --gold-deep: #b9883e;
  --paper: #fbf6ea; --paper-2: #fffaee; --line: #e8dcc0;
  --text: #2b2620; --text-2: #5f5444; --text-3: #8a7c66;
  --on-red: #f6ead3; --on-red-2: rgba(246, 234, 211, 0.72);
  --f-display: "Source Serif 4", Georgia, "Times New Roman", serif;
  --f-text: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --wrap: 1080px; --gutter: clamp(1rem, 4vw, 2rem);
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { background: var(--paper); color: var(--text); font: 400 17px/1.65 var(--f-text); -webkit-font-smoothing: antialiased; }
a { color: inherit; }
img { display: block; }
.wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gutter); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
:focus-visible { outline: 2px solid var(--gold-deep); outline-offset: 3px; border-radius: 6px; }

/* ── Header ── */
.site-head { background: var(--brand-top); color: var(--on-red); border-bottom: 1px solid rgba(243, 202, 131, 0.16); }
.site-head .wrap { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 68px; flex-wrap: wrap; padding-top: 0.6rem; padding-bottom: 0.6rem; }
.brand { display: flex; align-items: center; gap: 0.65rem; text-decoration: none; font: 700 1.25rem/1 var(--f-display); color: #fff8ec; }
.brand em { font-weight: 600; color: var(--gold); }
.brand img { width: 32px; height: 32px; border-radius: 9px; box-shadow: 0 0 0 1px rgba(243, 202, 131, 0.35); }
.site-nav { display: flex; align-items: center; gap: 0.3rem 1.2rem; flex-wrap: wrap; font: 500 0.92rem var(--f-text); }
.site-nav a { text-decoration: none; color: var(--on-red-2); transition: color 0.2s; }
.site-nav a:hover, .site-nav a[aria-current="page"] { color: var(--gold); }
.btn { display: inline-flex; align-items: center; gap: 0.55rem; height: 46px; padding: 0 1.25rem; border-radius: 999px; text-decoration: none; white-space: nowrap;
  font: 600 0.95rem/1 var(--f-text); transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), background-color 0.25s; }
.btn-gold { color: var(--brand-deep); background: linear-gradient(120deg, #fff3d6, #f3ca83 45%, #d9ab5e); box-shadow: 0 8px 22px rgba(243, 202, 131, 0.25); }
.btn-ghost { color: var(--on-red); box-shadow: inset 0 0 0 1px rgba(243, 202, 131, 0.4); }
.btn-ink { color: var(--gold); background: var(--brand-top); }
.site-nav .btn { height: 38px; padding: 0 1rem; font-size: 0.88rem; color: var(--brand-deep); }
@media (hover: hover) { .btn:hover { transform: translateY(-2px); } .btn-gold:hover { box-shadow: 0 12px 30px rgba(243, 202, 131, 0.4); } .btn-ghost:hover { box-shadow: inset 0 0 0 1px var(--gold); } }

/* ── Hero band ── */
.hero { color: var(--on-red); background: radial-gradient(70% 90% at 50% 0%, rgba(243, 202, 131, 0.14), transparent 70%), linear-gradient(180deg, var(--brand-top), var(--brand-deep));
  border-radius: 0 0 clamp(24px, 4vw, 44px) clamp(24px, 4vw, 44px); padding: clamp(2rem, 5vw, 3.4rem) 0 clamp(2.6rem, 6vw, 4rem); }
.crumbs { display: flex; flex-wrap: wrap; gap: 0.35rem; margin-bottom: 1.4rem; font: 500 0.82rem var(--f-text); color: var(--on-red-2); list-style: none; }
.crumbs a { text-decoration: none; }
.crumbs a:hover { color: var(--gold); }
.crumbs li + li::before { content: "/"; margin-right: 0.35rem; opacity: 0.5; }
.eyebrow { display: block; margin-bottom: 0.7rem; font: 600 0.74rem/1.4 var(--f-text); letter-spacing: 0.16em; text-transform: uppercase; color: var(--gold); }
.hero h1 { font: 700 clamp(2.4rem, 6.5vw, 4.4rem)/1.04 var(--f-display); letter-spacing: -0.025em; color: #fff8ec; text-wrap: balance; }
.hero h1 em { font-style: italic; font-weight: 600; color: var(--gold); }
.hero .lead { max-width: 60ch; margin-top: 1rem; font-size: 1.08rem; color: var(--on-red-2); }
.hero-quote { max-width: 34ch; margin-top: 1.3rem; font: italic 500 clamp(1.45rem, 3.4vw, 2.1rem)/1.35 var(--f-display); color: #fff3dc; text-wrap: pretty; }
.hero-quote sup { font: 600 0.55em var(--f-text); font-style: normal; color: var(--gold); margin-right: 0.15em; }
.hero-quote cite { display: block; margin-top: 0.8rem; font: 600 0.8rem/1.4 var(--f-text); font-style: normal; letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.8rem; }

/* ── Content ── */
main { padding: clamp(2.4rem, 6vw, 4rem) 0 clamp(3rem, 7vw, 5rem); }
.section + .section { margin-top: clamp(2.6rem, 6vw, 3.8rem); }
.section h2 { font: 700 clamp(1.6rem, 3.4vw, 2.2rem)/1.15 var(--f-display); letter-spacing: -0.015em; margin-bottom: 0.9rem; text-wrap: balance; }
.section > p, .answer { max-width: 68ch; color: var(--text-2); }
.answer { font-size: 1.08rem; color: var(--text); }
.answer q { font-family: var(--f-display); font-style: italic; }
.context { margin-top: 1rem; padding: 1.4rem 1.5rem; border-radius: 20px; background: var(--paper-2); border: 1px solid var(--line); font: 400 1.18rem/1.7 var(--f-display); }
.context p + p { margin-top: 0.5rem; }
.context sup { font: 600 0.62em var(--f-text); color: var(--text-3); margin-right: 0.3em; }
.context .is-focus { color: var(--brand-top); background: linear-gradient(transparent 62%, rgba(243, 202, 131, 0.45) 62%); }
.tr-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr)); gap: 0.8rem; margin-top: 1.2rem; }
.tr-card { padding: 1.2rem 1.3rem; border-radius: 18px; background: var(--paper-2); border: 1px solid var(--line); }
.tr-card h3 { display: flex; justify-content: space-between; gap: 0.6rem; margin-bottom: 0.5rem; font: 600 0.78rem/1.4 var(--f-text); letter-spacing: 0.06em; text-transform: uppercase; color: var(--text-3); }
.tr-card h3 span:last-child { color: var(--gold-deep); }
.tr-card blockquote { font: 400 1.08rem/1.6 var(--f-display); color: var(--text); }
.tr-card blockquote sup { font: 600 0.62em var(--f-text); color: var(--text-3); margin-right: 0.25em; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 1rem; list-style: none; }
.chips a { display: inline-block; padding: 0.5rem 0.95rem; border-radius: 999px; border: 1px solid var(--line); background: var(--paper-2); text-decoration: none; font: 500 0.92rem var(--f-text); color: var(--text); transition: border-color 0.2s, color 0.2s; }
.chips a:hover { border-color: var(--gold-deep); color: var(--brand-top); }
.verse-list { list-style: none; counter-reset: v; display: grid; gap: 0.9rem; margin-top: 1.2rem; }
.verse-item { position: relative; padding: 1.4rem 1.5rem 1.3rem; border-radius: 20px; background: var(--paper-2); border: 1px solid var(--line); }
.verse-item h2, .verse-item h3 { margin: 0 0 0.45rem; font: 700 1.25rem/1.3 var(--f-display); letter-spacing: -0.01em; }
.verse-item h2 a, .verse-item h3 a { text-decoration: none; }
.verse-item h2 a:hover, .verse-item h3 a:hover { color: var(--brand-top); }
.verse-item blockquote { font: 400 1.14rem/1.6 var(--f-display); color: var(--text); }
.verse-item blockquote sup { font: 600 0.62em var(--f-text); color: var(--text-3); margin-right: 0.25em; }
.verse-item .more { display: inline-block; margin-top: 0.7rem; font: 600 0.88rem var(--f-text); color: var(--brand-top); text-decoration: none; }
.verse-item .more:hover { text-decoration: underline; }
.grid-links { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 220px), 1fr)); gap: 0.6rem; margin-top: 1.1rem; list-style: none; }
.grid-links a { display: block; height: 100%; padding: 1rem 1.1rem; border-radius: 16px; background: var(--paper-2); border: 1px solid var(--line); text-decoration: none; transition: border-color 0.2s, transform 0.3s var(--ease); }
.grid-links a:hover { border-color: var(--gold-deep); transform: translateY(-2px); }
.grid-links b { display: block; font: 700 1.08rem/1.3 var(--f-display); }
.grid-links span { display: block; margin-top: 0.2rem; font-size: 0.86rem; color: var(--text-3); }
.facts { display: grid; grid-template-columns: repeat(auto-fill, minmax(min(100%, 180px), 1fr)); gap: 0.6rem; margin-top: 1.1rem; }
.facts div { padding: 1rem 1.1rem; border-radius: 16px; background: var(--paper-2); border: 1px solid var(--line); }
.facts dt { font: 600 0.74rem/1.4 var(--f-text); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
.facts dd { margin-top: 0.2rem; font: 700 1.25rem/1.25 var(--f-display); }
.table-wrap { margin-top: 1.1rem; overflow-x: auto; border-radius: 18px; border: 1px solid var(--line); background: var(--paper-2); }
table { width: 100%; border-collapse: collapse; font-size: 0.95rem; }
caption { text-align: left; padding: 1rem 1.1rem 0.4rem; font: 700 1.1rem var(--f-display); }
th, td { padding: 0.7rem 1.1rem; text-align: left; border-bottom: 1px solid var(--line); white-space: nowrap; }
th { font: 600 0.74rem/1.4 var(--f-text); letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-3); }
td:first-child, th:first-child { width: 3.2rem; color: var(--text-3); }
td.num, th.num { text-align: right; font-variant-numeric: tabular-nums; }
tbody tr:last-child td { border-bottom: 0; }
td a { color: var(--brand-top); font-weight: 600; text-decoration: none; }
td a:hover { text-decoration: underline; }
.faq { display: grid; gap: 0.7rem; margin-top: 1.1rem; }
.faq details { border-radius: 18px; background: var(--paper-2); border: 1px solid var(--line); }
.faq summary { cursor: pointer; list-style: none; padding: 1.1rem 1.3rem; font: 700 1.1rem/1.35 var(--f-display); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; float: right; margin-left: 1rem; color: var(--gold-deep); font-family: var(--f-text); }
.faq details[open] summary::after { content: "–"; }
.faq details p { padding: 0 1.3rem 1.2rem; color: var(--text-2); }

/* ── App / reader call to action ── */
.cta { margin-top: clamp(3rem, 7vw, 4.4rem); padding: clamp(2rem, 5vw, 3rem); border-radius: 30px; color: var(--on-red); text-align: center;
  background: radial-gradient(80% 90% at 50% 0%, rgba(243, 202, 131, 0.16), transparent 70%), linear-gradient(165deg, #6a1f22, var(--brand-deep)); }
.cta h2 { font: 700 clamp(1.7rem, 4vw, 2.5rem)/1.12 var(--f-display); color: #fff8ec; }
.cta h2 em { font-style: italic; font-weight: 600; color: var(--gold); }
.cta p { max-width: 52ch; margin: 0.8rem auto 1.5rem; color: var(--on-red-2); }
.cta .hero-actions { justify-content: center; margin-top: 0; }

/* ── Footer ── */
.site-foot { padding: 2.4rem 0 2rem; background: var(--ink); color: var(--on-red-2); font-size: 0.9rem; }
.site-foot .cols { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 1.6rem 3rem; }
.site-foot nav { display: flex; flex-direction: column; gap: 0.45rem; }
.site-foot b { margin-bottom: 0.2rem; font: 600 0.74rem/1.4 var(--f-text); letter-spacing: 0.12em; text-transform: uppercase; color: var(--gold); }
.site-foot a { text-decoration: none; }
.site-foot a:hover { color: var(--gold); }
.site-foot .fine { margin-top: 2rem; padding-top: 1.2rem; border-top: 1px solid rgba(243, 202, 131, 0.14); font-size: 0.8rem; }

@media (max-width: 640px) {
  .site-nav { width: 100%; gap: 0.3rem 1rem; font-size: 0.88rem; }
  .site-nav .btn { margin-left: auto; }
  .context { padding: 1.1rem 1.15rem; font-size: 1.08rem; }
  .hero-actions .btn { flex: 1 1 auto; justify-content: center; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; } }
