/* ═══════════════════════════════════════════════════════════
   YEAR IN BIBLE — Design System
   Warm devotional · Conversion-focused · Mobile-first
═══════════════════════════════════════════════════════════ */

:root {
  --bg:           #fdfaf5;
  --surface:      #ffffff;
  --text:         #1c1917;
  --muted:        #78716c;
  --line:         #e8e2d9;
  --brand:        #6d3fc0;
  --brand-dark:   #4c2a8c;
  --brand-light:  #f0eafb;
  --gold:         #c97c1a;
  --gold-light:   #fef3c7;
  --green:        #166534;
  --green-light:  #dcfce7;
  --radius:       16px;
  --radius-sm:    10px;
  --shadow:       0 4px 24px rgba(0,0,0,0.07);
  --shadow-md:    0 8px 40px rgba(0,0,0,0.10);
  --max:          1140px;
  --font-serif:   'Lora', Georgia, serif;
  --font-sans:    'Inter', system-ui, sans-serif;
}

/* ── RESET ─────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
img { max-width: 100%; display: block; }

body {
  font-family: var(--font-sans);
  background: var(--bg);
  color: var(--text);
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}

/* ── TYPOGRAPHY ────────────────────────────────────────── */
h1, h2, h3, h4 {
  font-family: var(--font-serif);
  line-height: 1.2;
  letter-spacing: -0.01em;
  margin-top: 0;
}
h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 20px; }
h2 { font-size: clamp(1.6rem, 3vw, 2.2rem); margin-bottom: 14px; }
h3 { font-size: 1.15rem; margin-bottom: 10px; }
p  { margin-top: 0; }

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

.eyebrow {
  font-family: var(--font-sans);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--brand);
  margin: 0 0 12px;
}
.subhead {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 58ch;
  margin-bottom: 24px;
}
.mx-auto { margin-left: auto; margin-right: auto; }
.text-center { text-align: center; }

/* ── LAYOUT ────────────────────────────────────────────── */
.container {
  width: min(var(--max), calc(100% - 40px));
  margin: 0 auto;
}
.narrow {
  width: min(720px, calc(100% - 40px));
  margin: 0 auto;
}
.section { padding: 72px 0; }
.section-alt {
  background: #faf6ff;
  border-top: 1px solid #ede8f5;
  border-bottom: 1px solid #ede8f5;
}
.section-header {
  text-align: center;
  margin-bottom: 52px;
}
.section-header .subhead { margin: 0 auto; }

/* ── HEADER ────────────────────────────────────────────── */
.site-header {
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 14px 0;
}
.nav nav {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
}
.nav nav a { color: var(--text); font-size: 0.9rem; font-weight: 500; }
.nav nav a:hover { color: var(--brand); text-decoration: none; }
.logo {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--brand);
  letter-spacing: -0.01em;
}
.logo:hover { text-decoration: none; }

/* ── HERO ──────────────────────────────────────────────── */
.hero {
  background: linear-gradient(150deg, #faf5ff 0%, #fdfaf5 55%, #fffbeb 100%);
  padding: 72px 0 64px;
  border-bottom: 1px solid var(--line);
}
.hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 56px;
  align-items: center;
}
.hero-ctas {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin: 28px 0 24px;
}
.value-bullets {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font-size: 0.95rem;
}
.value-bullets li { display: flex; align-items: center; gap: 8px; }
.check { color: var(--brand); font-weight: 700; }

/* OPT-IN CARD */
.optin-card {
  background: var(--surface);
  border: 1.5px solid var(--line);
  border-radius: 20px;
  padding: 32px;
  box-shadow: var(--shadow-md);
}
.optin-badge {
  display: inline-block;
  background: var(--gold);
  color: white;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 16px;
}
.optin-title {
  font-size: 1.5rem;
  margin-bottom: 8px;
}
.optin-desc {
  color: var(--muted);
  font-size: 0.95rem;
  margin-bottom: 16px;
}
.pack-contents {
  list-style: none;
  padding: 0;
  margin: 0 0 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 0.95rem;
  background: var(--brand-light);
  border-radius: var(--radius-sm);
  padding: 16px;
}
.pack-contents li { display: flex; align-items: center; gap: 10px; }
.optin-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.optin-form input {
  padding: 13px 16px;
  border: 1.5px solid var(--line);
  border-radius: var(--radius-sm);
  font: inherit;
  font-size: 0.95rem;
  background: var(--bg);
  transition: border-color 0.2s;
}
.optin-form input:focus {
  outline: none;
  border-color: var(--brand);
  background: white;
}
.optin-note {
  font-size: 0.78rem;
  color: var(--muted);
  text-align: center;
  margin: 6px 0 0;
}

/* ── PROOF BAR ─────────────────────────────────────────── */
.proof-bar {
  background: var(--brand);
  color: rgba(255,255,255,0.9);
  padding: 12px 0;
  font-size: 0.88rem;
  font-weight: 500;
}
.proof-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  text-align: center;
}
.proof-divider { opacity: 0.4; }

/* ── PROBLEM CALLOUT ───────────────────────────────────── */
.problem-callout {
  background: var(--gold-light);
  border: 1px solid #fde68a;
  border-radius: var(--radius);
  padding: 24px 32px;
  margin: 28px auto 0;
  max-width: 560px;
  font-size: 1.05rem;
  color: var(--text);
  text-align: center;
}

/* ── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--brand);
  color: white;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.1s;
  white-space: nowrap;
}
.btn:hover { background: var(--brand-dark); text-decoration: none; color: white; }
.btn:active { transform: scale(0.98); }
.btn-lg { padding: 15px 30px; font-size: 1rem; }
.btn-sm { padding: 9px 16px; font-size: 0.85rem; }
.btn-small { padding: 9px 16px; font-size: 0.85rem; }
.btn-full { width: 100%; display: block; }
.btn-ghost {
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
}
.btn-ghost:hover { background: var(--brand-light); color: var(--brand); }
.btn-outline {
  background: transparent;
  color: var(--brand);
  border: 2px solid var(--brand);
}
.btn-outline:hover { background: var(--brand-light); color: var(--brand); }
.btn-outline-sm {
  display: inline-block;
  background: transparent;
  color: var(--brand);
  border: 1.5px solid var(--brand);
  padding: 9px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.88rem;
  margin-top: 16px;
}
.btn-outline-sm:hover { background: var(--brand-light); text-decoration: none; }
.btn-light {
  background: white;
  color: var(--brand);
  font-weight: 700;
}
.btn-light:hover { background: #f3eeff; color: var(--brand); }

/* ── CARDS ──────────────────────────────────────────────── */
.card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

/* ── GRIDS ──────────────────────────────────────────────── */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid-2x2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* ── SOLUTION CARDS ─────────────────────────────────────── */
.solution-card { }
.sol-icon { font-size: 2.2rem; margin-bottom: 14px; }

/* ── STARTER PACK GRID ──────────────────────────────────── */
.starter-pack-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.pack-item { }
.pack-num {
  font-family: var(--font-serif);
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--brand-light);
  line-height: 1;
  margin-bottom: 12px;
  -webkit-text-stroke: 2px var(--brand);
}

/* ── PATH CARDS ─────────────────────────────────────────── */
.path-card { }
.path-icon { font-size: 2rem; margin-bottom: 12px; }

/* ── PRODUCT LADDER ─────────────────────────────────────── */
.ladder {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}
.ladder-item {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
}
.ladder-arrow {
  text-align: center;
  color: var(--brand);
  font-size: 1.5rem;
  padding: 4px 0;
  opacity: 0.4;
}
.ladder-step {
  flex-shrink: 0;
  width: 72px;
  text-align: center;
  padding: 8px 4px;
  border-radius: 10px;
  font-weight: 800;
  font-size: 0.85rem;
}
.ladder-step.free     { background: var(--green-light); color: var(--green); }
.ladder-step.low      { background: var(--gold-light);  color: #854d0e; }
.ladder-step.mid      { background: #fce7f3;            color: #9d174d; }
.ladder-step.flagship { background: var(--brand-light); color: var(--brand-dark); }
.ladder-step.membership { background: var(--brand); color: white; }
.ladder-content h3 { font-size: 1rem; margin-bottom: 6px; }
.ladder-content p  { font-size: 0.9rem; color: var(--muted); margin: 0 0 8px; }
.ladder-link { font-size: 0.88rem; font-weight: 700; color: var(--brand); }

/* ── TESTIMONIALS ───────────────────────────────────────── */
.testimonial {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.testimonial-text {
  font-family: var(--font-serif);
  font-style: italic;
  color: var(--text);
  font-size: 0.98rem;
  margin-bottom: 16px;
}
.testimonial-author { display: flex; flex-direction: column; gap: 2px; }
.testimonial-author strong { font-size: 0.9rem; }
.testimonial-author span  { font-size: 0.82rem; color: var(--muted); }

/* ── FAQ ────────────────────────────────────────────────── */
.faq-item {
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}
.faq-item:first-of-type { padding-top: 0; }
.faq-item:last-of-type  { border-bottom: none; }
.faq-item h3 { font-size: 1.05rem; margin-bottom: 8px; }

/* ── CTA BAND ───────────────────────────────────────────── */
.cta-band {
  background: linear-gradient(135deg, var(--brand) 0%, var(--brand-dark) 100%);
  padding: 80px 0;
  color: white;
}
.cta-band h2 { color: white; margin-bottom: 16px; }
.cta-band-sub {
  font-size: 1.1rem;
  opacity: 0.88;
  margin: 0 auto 32px;
  max-width: 50ch;
}

/* ── FOOTER ─────────────────────────────────────────────── */
.site-footer {
  background: var(--surface);
  border-top: 1px solid var(--line);
  padding: 40px 0;
}
.footer-inner {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
}
.footer-brand p { color: var(--muted); font-size: 0.88rem; margin: 4px 0 0; }
.footer-nav {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  align-items: center;
}
.footer-nav a { color: var(--muted); font-size: 0.9rem; }
.footer-nav a:hover { color: var(--brand); }
.footer-copy { color: var(--muted); font-size: 0.82rem; margin: 0; }

/* ── PAGE-SPECIFIC ──────────────────────────────────────── */
.cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 24px;
}
.page-hero {
  background: linear-gradient(150deg, #faf5ff 0%, #fdfaf5 100%);
  padding: 60px 0 48px;
  border-bottom: 1px solid var(--line);
}
.product-card {
  display: flex;
  flex-direction: column;
}
.product-price {
  font-family: var(--font-serif);
  font-size: 2rem;
  font-weight: 700;
  color: var(--brand);
  margin: 12px 0;
}
.tag {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.tag-free { background: var(--green-light); color: var(--green); }
.tag-paid { background: var(--gold-light); color: #854d0e; }
.tag-membership { background: var(--brand-light); color: var(--brand-dark); }

/* ── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner         { grid-template-columns: 1fr; gap: 40px; }
  .grid-3             { grid-template-columns: 1fr; }
  .grid-2x2           { grid-template-columns: 1fr; }
  .starter-pack-grid  { grid-template-columns: repeat(2, 1fr); }
  .nav                { flex-direction: column; align-items: flex-start; gap: 12px; }
  .footer-inner       { flex-direction: column; }
  .proof-inner        { flex-direction: column; gap: 8px; }
  .proof-divider      { display: none; }
}
@media (max-width: 560px) {
  .starter-pack-grid  { grid-template-columns: 1fr; }
  .hero-ctas          { flex-direction: column; }
  .ladder-item        { flex-direction: column; gap: 12px; }
  .ladder-step        { width: auto; align-self: flex-start; }
}
