/* ============================================================
   Bible Scholar — shared design system
   ============================================================ */
:root{
  --ink:#14111f;
  --ink-soft:#1d1930;
  --vellum:#ece2c6;
  --vellum-dark:#d8c9a3;
  --gold:#c9a227;
  --gold-light:#e8c766;
  --rubric:#8a2c2c;
  --text-light:#f3ecd9;
  --text-muted:#a89f8a;
  --line: rgba(201,162,39,0.28);
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--ink);
  color:var(--text-light);
  font-family:'Crimson Pro', serif;
  font-size:18px;
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
}
h1,h2,h3,.display{
  font-family:'Fraunces', serif;
  font-weight:600;
  letter-spacing:-0.01em;
  margin:0;
  color:var(--text-light);
}
.eyebrow{
  font-family:'Inter', sans-serif;
  font-size:12px;
  font-weight:600;
  letter-spacing:0.18em;
  text-transform:uppercase;
  color:var(--gold-light);
}
a{color:inherit;}
img,svg{display:block;max-width:100%;}
.wrap{
  max-width:1120px;
  margin:0 auto;
  padding:0 32px;
}
@media (max-width:600px){
  .wrap{padding:0 22px;}
}

body::before{
  content:"";
  position:fixed;
  inset:0;
  pointer-events:none;
  z-index:0;
  opacity:0.5;
  background-image:
    radial-gradient(circle at 20% 20%, rgba(201,162,39,0.05), transparent 40%),
    radial-gradient(circle at 80% 60%, rgba(201,162,39,0.04), transparent 45%);
}

/* ---------- HEADER ---------- */
header{
  position:sticky; top:0; z-index:40;
  backdrop-filter:blur(10px);
  background:rgba(20,17,31,0.86);
  border-bottom:1px solid var(--line);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:18px 32px;
  max-width:1120px; margin:0 auto;
}
.brand{
  display:flex; align-items:center; gap:12px;
  font-family:'Fraunces', serif; font-weight:600; font-size:19px;
  letter-spacing:0.01em;
  text-decoration:none;
}
.brand .mark{width:32px;height:32px;border-radius:8px;object-fit:cover;}
.navlinks{
  display:flex; gap:34px;
  font-family:'Inter', sans-serif; font-size:13px;
  letter-spacing:0.06em; text-transform:uppercase;
  color:var(--text-muted);
}
.navlinks a{text-decoration:none; transition:color .2s;}
.navlinks a:hover{color:var(--gold-light);}
.nav-cta{
  font-family:'Inter', sans-serif; font-size:13px; font-weight:600;
  letter-spacing:0.04em;
  border:1px solid var(--gold);
  color:var(--gold-light);
  padding:9px 18px; border-radius:2px;
  text-decoration:none;
  transition:background .2s, color .2s;
  white-space:nowrap;
}
.nav-cta:hover{background:var(--gold); color:var(--ink);}
@media (max-width:820px){
  .navlinks{display:none;}
}

/* ---------- BUTTONS ---------- */
.cta-row{display:flex; gap:16px; flex-wrap:wrap;}
.btn{
  display:inline-flex; align-items:center; gap:10px;
  font-family:'Inter', sans-serif; font-size:14px; font-weight:600;
  padding:14px 26px; border-radius:2px; text-decoration:none;
  letter-spacing:0.02em;
  border:1px solid transparent;
  cursor:pointer;
  transition:transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}
.btn-gold{
  background:linear-gradient(180deg, var(--gold-light), var(--gold));
  color:var(--ink);
}
.btn-gold:hover{transform:translateY(-2px); box-shadow:0 10px 24px rgba(201,162,39,0.25);}
.btn-ghost{
  border:1px solid var(--line); color:var(--text-light);
  background:transparent;
}
.btn-ghost:hover{border-color:var(--gold); transform:translateY(-2px);}

/* ---------- PAGE HERO (interior pages) ---------- */
.page-hero{
  padding:88px 0 64px;
  border-bottom:1px solid var(--line);
  position:relative; z-index:1;
}
.page-hero h1{font-size:clamp(34px,4.6vw,52px); line-height:1.08; margin-top:14px;}
.page-hero p.lede{color:var(--text-muted); font-size:18px; max-width:560px; margin-top:18px;}

/* ---------- SECTION HEADERS ---------- */
.section{padding:104px 0; position:relative; z-index:1;}
.section-head{max-width:620px; margin-bottom:64px;}
.section-head .eyebrow{margin-bottom:14px;}
.section-head h2{font-size:clamp(30px,3.4vw,42px); line-height:1.12;}
.section-head p{color:var(--text-muted); margin-top:16px; font-size:17px;}

/* ---------- FEATURES ---------- */
.feature-list{
  display:grid;
  grid-template-columns:repeat(2, 1fr);
  border-top:1px solid var(--line);
  border-left:1px solid var(--line);
}
.feature{
  border-right:1px solid var(--line);
  border-bottom:1px solid var(--line);
  padding:42px 38px;
  position:relative;
  transition:background .25s ease;
}
.feature:hover{background:rgba(201,162,39,0.045);}
.feature .ficon{width:34px; height:34px; margin-bottom:22px; color:var(--gold-light);}
.feature h3{font-size:22px; margin-bottom:12px; font-weight:600;}
.feature p{color:var(--text-muted); font-size:16px; margin:0;}
@media (max-width:760px){
  .feature-list{grid-template-columns:1fr;}
}

/* ---------- TRANSLATIONS (smooth, breathing card layout) ---------- */
.translations{
  background:var(--ink-soft);
  border-top:1px solid var(--line);
  border-bottom:1px solid var(--line);
}
.trans-grid{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:28px;
}
.trans-card{
  background:rgba(236,226,198,0.03);
  border:1px solid var(--line);
  border-radius:6px;
  padding:44px 40px;
  transition:border-color .25s ease, transform .25s ease, background .25s ease;
}
.trans-card:hover{
  border-color:rgba(201,162,39,0.55);
  background:rgba(236,226,198,0.05);
  transform:translateY(-3px);
}
.trans-card .initial{
  font-family:'Fraunces', serif; font-size:56px; color:var(--gold);
  line-height:1; margin-bottom:14px;
}
.trans-card h3{font-size:24px; margin-bottom:10px;}
.trans-card p{color:var(--text-muted); font-size:16px;}
.trans-card .tag{
  display:inline-block; margin-top:18px;
  font-family:'Inter', sans-serif; font-size:11px; letter-spacing:0.14em;
  text-transform:uppercase; color:var(--rubric);
  border:1px solid rgba(138,44,44,0.5);
  padding:5px 10px; border-radius:2px;
}
@media (max-width:760px){
  .trans-grid{grid-template-columns:1fr; gap:20px;}
  .trans-card{padding:36px 28px;}
}

/* ---------- QUOTE / MARGINALIA STRIP ---------- */
.marginalia{
  padding:90px 0;
  text-align:center;
}
.marginalia blockquote{
  font-family:'Fraunces', serif; font-style:italic; font-weight:500;
  font-size:clamp(24px,3vw,34px); line-height:1.4; margin:0 auto;
  max-width:760px; color:var(--text-light);
}
.marginalia .attrib{
  margin-top:22px; font-family:'Inter', sans-serif; font-size:13px;
  letter-spacing:0.08em; text-transform:uppercase; color:var(--gold-light);
}

/* ---------- FINAL CTA ---------- */
.final-cta{
  border-top:1px solid var(--line);
  padding:110px 0;
  text-align:center;
}
.final-cta h2{font-size:clamp(32px,4.4vw,52px); margin-bottom:20px;}
.final-cta p{color:var(--text-muted); font-size:18px; max-width:520px; margin:0 auto 40px;}
.final-cta .cta-row{justify-content:center;}

/* ---------- CONTACT / SUPPORT ---------- */
.support-grid{
  display:grid;
  grid-template-columns:0.85fr 1.15fr;
  gap:64px;
  align-items:start;
}
.support-info h3{font-size:22px; margin-bottom:14px;}
.support-info p{color:var(--text-muted); font-size:16px; margin-bottom:28px;}
.info-block{
  border-top:1px solid var(--line);
  padding:22px 0;
}
.info-block .eyebrow{margin-bottom:8px;}
.info-block a, .info-block span{
  font-family:'Fraunces', serif; font-size:18px; color:var(--text-light);
  text-decoration:none;
}
.info-block a:hover{color:var(--gold-light);}

.form-card{
  background:rgba(236,226,198,0.03);
  border:1px solid var(--line);
  border-radius:6px;
  padding:44px;
}
.field{margin-bottom:22px;}
.field label{
  display:block;
  font-family:'Inter', sans-serif; font-size:12px; letter-spacing:0.1em;
  text-transform:uppercase; color:var(--gold-light); margin-bottom:9px;
}
.field input, .field select, .field textarea{
  width:100%;
  background:rgba(20,17,31,0.6);
  border:1px solid var(--line);
  border-radius:4px;
  padding:13px 14px;
  font-family:'Crimson Pro', serif;
  font-size:16px;
  color:var(--text-light);
  transition:border-color .2s ease, background .2s ease;
}
.field textarea{resize:vertical; min-height:130px;}
.field input:focus, .field select:focus, .field textarea:focus{
  outline:none;
  border-color:var(--gold);
  background:rgba(20,17,31,0.85);
}
.field input::placeholder, .field textarea::placeholder{color:var(--text-muted);}
.form-note{
  font-family:'Inter', sans-serif; font-size:13px; color:var(--text-muted);
  margin-top:8px;
}
select{appearance:none; -webkit-appearance:none;
  background-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%23a89f8a' stroke-width='2'><path d='m6 9 6 6 6-6'/></svg>");
  background-repeat:no-repeat;
  background-position:right 14px center;
}
@media (max-width:820px){
  .support-grid{grid-template-columns:1fr;}
}

/* ---------- POLICY / PROSE PAGES ---------- */
.prose{
  max-width:760px;
}
.prose h2{
  font-size:26px;
  margin-top:52px;
  margin-bottom:16px;
}
.prose h2:first-of-type{margin-top:0;}
.prose p{color:var(--text-muted); margin:0 0 16px; font-size:17px;}
.prose ul{color:var(--text-muted); font-size:17px; padding-left:22px; margin:0 0 16px;}
.prose li{margin-bottom:8px;}
.prose strong{color:var(--text-light);}
.updated-tag{
  font-family:'Inter', sans-serif; font-size:13px; letter-spacing:0.06em;
  color:var(--text-muted); margin-bottom:8px;
}

/* ---------- FOOTER ---------- */
footer{
  border-top:1px solid var(--line);
  padding:50px 0 40px;
  position:relative; z-index:1;
}
.foot-grid{
  display:flex; justify-content:space-between; align-items:flex-start; gap:40px; flex-wrap:wrap;
}
.foot-brand{font-family:'Fraunces', serif; font-size:18px; margin-bottom:10px;}
.foot-tag{color:var(--text-muted); font-size:14px; max-width:280px;}
.foot-cols{display:flex; gap:64px; flex-wrap:wrap;}
.foot-col h4{
  font-family:'Inter', sans-serif; font-size:12px; letter-spacing:0.12em;
  text-transform:uppercase; color:var(--gold-light); margin-bottom:14px; font-weight:600;
}
.foot-col a{
  display:block; text-decoration:none; color:var(--text-muted);
  font-size:14px; margin-bottom:10px; font-family:'Inter', sans-serif;
  transition:color .2s;
}
.foot-col a:hover{color:var(--text-light);}
.foot-bottom{
  margin-top:50px; padding-top:24px; border-top:1px solid var(--line);
  display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px;
  font-family:'Inter', sans-serif; font-size:12px; color:var(--text-muted);
}

::selection{background:var(--gold); color:var(--ink);}

@media (prefers-reduced-motion: reduce){
  html{scroll-behavior:auto;}
  .btn, .feature, .trans-card{transition:none;}
}
