/*
 * calllegend.css
 * Shared stylesheet — all CallLegend pages
 * Bible Section 8 design system · Mobile-first architecture
 * Last updated: April 30, 2026
 *
 * COLOR ROLE DOCTRINE (April 30, 2026):
 * --gold   → section labels on dark backgrounds (navy, navy2, navy3)
 * --navy   → section labels on light backgrounds (bg, white, blue-bg)
 * --blue   → interactive elements ONLY (buttons, links, inputs, focus)
 * White text on dark: minimum rgba(255,255,255,0.65) — never below
 */

/* ── RESET & BASE ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html, body { overflow-x: hidden; width: 100%; }
html { scroll-behavior: smooth; }

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

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

img { display: block; max-width: 100%; }
a { color: inherit; }

/* ── CANONICAL BRAND TOKENS — Bible Section 8 ── */
:root {
  /* Production design tokens — added June 2026
     Source: index.html standalone redesign */
  --navy-deep: #0F172A;
  --navy: #1E3A5F;
  --gold: #D4930A;
  --gold-light: #F4E4C1;
  --white: #FFFFFF;
  --offwhite: #F8F9FC;
  --text: #0F172A;
  --muted: #475569;
  --card-shadow: 0 10px 30px -15px rgba(15, 23, 42, 0.12), 0 4px 6px -1px rgba(15, 23, 42, 0.08);
  --radius: 16px;

  /* Original Bible tokens (kept for backward compat on existing pages;
     old names/values preserved where names conflicted with production tokens) */
  --bg:        #F4F5FA;
  --white:     #FFFFFF;
  --navy:      #1E3A5F;
  --navy2:     #0F172A;
  --navy3:     #0A1E35;
  --blue:      #2563EB;
  --cl-blue:   #2563EB;
  --blue-mid:  #3B82F6;
  --blue-bg:   #EFF6FF;
  --blue-line: #BFDBFE;
  --text:      #0F172A;
  --muted:     #374151;
  --light:     #6B7280;
  --line:      #E2E8F0;
  --success:   #059669;
  --success-bg:#ECFDF5;
  --gold:      #D4930A;
  --gold-bg:   #FFFBEB;
  --gold-line: #FDE68A;
  --red:       #DC2626;

  --font-heading: 'DM Sans', sans-serif;
  --font-body:    'DM Sans', sans-serif;
  --font-mono:    'DM Mono', monospace;

  --max:     1160px;
  --gutter:  1.25rem;
  --pad:     1.25rem;
  --section: 5rem;
}

/* ── LAYOUT ── */
.container {
  width: 100%;
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 var(--gutter);
}

section { position: relative; }
.section-pad { padding: var(--section) 0; }

/* Alternate section backgrounds — light lavender-grey to match app (non-hero) */
.section-pad {
  background: #F4F5FA;
}

/* ── TYPOGRAPHY ── */
/* Section labels: navy on light, gold on dark (Color Role Doctrine) */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  margin-bottom: 0.75rem;
}

/* Override for dark sections */
.on-dark .section-label { color: var(--gold); }

h1 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.75rem, 7vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 1.1rem;
}

h1 em { font-style: italic; color: var(--gold); }

h2 {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  line-height: 1.08;
  color: var(--navy);
  letter-spacing: -0.03em;
  margin-bottom: 0.875rem;
}

h2.on-dark { color: #fff; }

h3 {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 0.5rem;
  line-height: 1.3;
}

h3.on-dark { color: #fff; }

.section-sub {
  font-size: 0.97rem;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 2rem;
}

.on-dark .section-sub { color: rgba(255,255,255,0.78); }

/* ── NETWORK BAR (small dark top strip — from bible dashboard/onboard) */
.network-bar {
  display: none;
  background: #0F172A;
  border-bottom: 1px solid rgba(255,255,255,.06);
  padding: 0 20px;
}
.network-bar-inner {
  max-width: 1000px; margin: 0 auto;
  display: flex; align-items: center;
  justify-content: space-between;
  height: 36px; gap: 12px;
}
.network-bar-brand {
  font-family: 'DM Mono', monospace;
  font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
  color: rgba(255,255,255,.3); white-space: nowrap; flex-shrink: 0;
}
.network-bar-links {
  display: flex; gap: 2px; list-style: none;
  overflow-x: auto; scrollbar-width: none;
}
.network-bar-links::-webkit-scrollbar { display: none; }
.network-bar-links a {
  font-family: 'DM Mono', monospace;
  font-size: 10px; letter-spacing: 1px; text-transform: uppercase;
  color: rgba(255,255,255,.3); text-decoration: none;
  padding: 4px 8px; border-radius: 4px;
  transition: color .15s; white-space: nowrap;
}
.network-bar-links a.current { color: var(--blue-mid); background: rgba(59,130,246,.12); }
@media (max-width: 640px) {
  .network-bar-brand { display: none; }
  .network-bar-links a { font-size: 9px; padding: 3px 5px; }
}

/* ── NAVIGATION — elevate to match app (glass on light) */
nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
  gap: 1rem;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  text-decoration: none;
  flex-shrink: 0;
}

.nav-logo-mark {
  width: 30px; height: 30px;
  background: #0F172A;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'DM Sans', sans-serif;
  font-weight: 800;
  font-size: 0.85rem;
  color: #fff;
}

.nav-wordmark {
  font-family: 'DM Sans', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--text);
}

.nav-links {
  display: none;
  list-style: none;
}

.nav-network { display: none; }

.nav-cta {
  background: var(--blue);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 0.5rem 0.875rem;
  border-radius: 5px;
  text-decoration: none;
  white-space: nowrap;
  min-height: 36px;
  display: flex;
  align-items: center;
  transition: background 0.2s;
}

.nav-cta:hover { background: var(--blue-mid); }

.nav-mobile-toggle {
  background: none;
  border: none;
  color: var(--text);
  cursor: pointer;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.nav-drawer {
  display: none;
  flex-direction: column;
  background: var(--navy2);
  padding: 1rem var(--gutter) 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.nav-drawer.open { display: flex; }

.nav-drawer a {
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  text-decoration: none;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
  min-height: 44px;
  display: flex;
  align-items: center;
}

.nav-drawer a:last-child { border-bottom: none; }

/* ── ALERT BANNER ── */
.alert-banner {
  background: var(--gold-bg);
  border-bottom: 1px solid var(--gold-line);
  padding: 0.6rem var(--gutter);
  text-align: center;
  font-family: var(--font-body);
  font-size: 0.82rem;
  color: var(--text);
  line-height: 1.5;
  margin-top: 56px;
}

.alert-banner strong { color: var(--gold); }
.alert-banner a { color: var(--navy); font-weight: 600; text-decoration: underline; }

/* Shift nav + alert down ONLY on pages that include the network-bar header (sibling selectors, no global restructure) */
/* network-bar now display:none site-wide (see .network-bar rule); no shift needed to keep nav at top and content flush */
header.network-bar + .alert-banner {
  margin-top: 0;
}
header.network-bar ~ nav {
  top: 0;
}

/* ── PAGE HERO VARIANTS ── */

/* Dark navy hero (homepage style) — match app with subtle dot grid texture */
.hero-dark {
  background: var(--navy2);
  background-image: radial-gradient(
    circle,
    rgba(255,255,255,0.07) 1px,
    transparent 1px
  );
  background-size: 24px 24px;
  padding: 3rem 0;
}

/* Interior page hero — shorter, still navy */
.page-hero {
  background: var(--navy);
  padding: 2.5rem 0 3rem;
  border-bottom: 3px solid var(--blue);
}

.page-hero-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.75rem;
}

.page-hero-breadcrumb {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: rgba(255,255,255,0.55);
  margin-bottom: 1.5rem;
}

.page-hero-breadcrumb a {
  color: rgba(255,255,255,0.55);
  text-decoration: none;
}

.page-hero-breadcrumb a:hover { color: rgba(255,255,255,0.85); }

.page-hero-sub {
  font-size: 1rem;
  color: rgba(255,255,255,0.78);
  line-height: 1.75;
  max-width: 580px;
  margin-top: 0.875rem;
}

/* ── BUTTONS — match app pill style, navy primary, generous pad — */
.btn-primary {
  background: var(--navy);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  text-align: center;
}

.btn-primary:hover {
  background: #152D4A;
  transform: translateY(-1px);
}

.btn-primary-full {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: center;
  background: var(--navy);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  min-height: 48px;
  text-align: center;
}

.btn-primary-full:hover {
  background: #152D4A;
  transform: translateY(-1px);
}

.btn-secondary {
  background: transparent;
  color: #1E3A5F;
  font-family: var(--font-body);
  font-size: 0.97rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 14px 28px;
  border-radius: 999px;
  text-decoration: none;
  border: 1.5px solid #1E3A5F;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: rgba(30,58,95,0.06);
  border-color: #152D4A;
  color: #152D4A;
}

/* Context overrides for dark hero (navy bg): use light/contrasting buttons */
.hero-dark .btn-primary,
.hero-dark .btn-primary-full {
  background: #FFFFFF;
  color: var(--navy);
  border: 1px solid rgba(255,255,255,0.2);
}
.hero-dark .btn-primary:hover,
.hero-dark .btn-primary-full:hover {
  background: #F4F5FA;
  color: var(--navy2);
  transform: translateY(-1px);
}

.hero-dark .btn-secondary {
  border-color: rgba(255,255,255,0.7);
  color: #FFFFFF;
}
.hero-dark .btn-secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: #FFFFFF;
  color: #FFFFFF;
}

.btn-navy {
  background: var(--navy);
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  transition: background 0.2s;
}

.btn-navy:hover { background: var(--navy2); }

.btn-ghost-navy {
  background: transparent;
  color: var(--navy);
  font-family: var(--font-body);
  font-size: 0.875rem;
  font-weight: 600;
  padding: 0.75rem 1.25rem;
  border-radius: 6px;
  text-decoration: none;
  border: 1.5px solid var(--navy);
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  transition: all 0.2s;
}

.btn-ghost-navy:hover { background: var(--navy); color: #fff; }

/* ── CARDS — Match app card style: white, subtle shadow, 12px r, clean border */
.card,
.roi-item {
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06),
              0 1px 2px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.card:hover,
.roi-item:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.10),
              0 2px 4px rgba(0,0,0,0.06);
  border-color: var(--blue-line);
}

.card-icon {
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
  display: block;
}

.card-desc {
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.75;
}

/* Metric / stat cards for Real Results section — app style large num + label */
.metric-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 2rem;
}
@media (max-width: 900px) {
  .metric-grid { grid-template-columns: 1fr; }
}
.metric-card {
  background: #FFFFFF;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
  padding: 2rem 1.25rem;
  text-align: center;
}
.metric-number {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(2rem, 6vw, 2.75rem);
  font-weight: 800;
  color: var(--navy);
  line-height: 1;
  letter-spacing: -0.02em;
}
.metric-label {
  font-size: 0.9rem;
  color: var(--muted);
  margin-top: 0.5rem;
  line-height: 1.35;
}

/* ── GRIDS ── */
/* Single column on mobile — expand with min-width queries */
.grid-2 { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: 1fr; gap: 1rem; }
.grid-4 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ── FORMS ── */
.form-group { display: flex; flex-direction: column; gap: 0.35rem; margin-bottom: 0.875rem; }

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.875rem;
  margin-bottom: 0.875rem;
}

.form-label {
  font-family: var(--font-mono);
  font-size: 0.63rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

/* 16px prevents iOS auto-zoom on focus */
.form-input, .form-select, .form-textarea {
  background: var(--bg);
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--text);
  font-family: var(--font-body);
  font-size: 16px;
  padding: 0.65rem 0.875rem;
  width: 100%;
  min-height: 44px;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
  line-height: 1.6;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(37,99,235,0.1);
}

.form-input::placeholder, .form-textarea::placeholder { color: var(--light); }

.form-consent {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 1rem;
}

.form-consent input[type="checkbox"] {
  width: 20px; height: 20px;
  accent-color: var(--blue);
  flex-shrink: 0;
  margin-top: 0.15rem;
  cursor: pointer;
}

.form-consent-label {
  font-size: 0.8rem;
  color: var(--muted);
  line-height: 1.55;
}

.form-consent-label a { color: var(--navy); text-decoration: underline; }

.form-fine {
  text-align: center;
  font-size: 0.75rem;
  color: var(--light);
  margin-top: 0.5rem;
  line-height: 1.5;
}

/* ── PROOF / STATS STRIP ── */
.proof-strip {
  background: var(--navy);
  padding: 2rem 0;
}

.proof-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem 1rem;
}

.proof-item { text-align: center; }

.proof-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 0.3rem;
}

.proof-title {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 0.25rem;
  line-height: 1.4;
}

.proof-source {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: rgba(255,255,255,0.70);
  line-height: 1.5;
}

/* ── RESEARCH STATS STRIP (below calculator results) ── */
.research-strip {
  background: var(--blue-bg);
  padding: 2.5rem var(--pad);
  margin-top: 2rem;
}
.research-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--navy);
  text-align: center;
  margin-bottom: 1.5rem;
}
.research-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  max-width: 900px;
  margin: 0 auto;
}
@media (max-width: 700px) {
  .research-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
}
.research-stat {
  display: flex;
  flex-direction: column;
  gap: 4px;
  text-align: center;
}
.stat-number {
  font-family: 'DM Sans', sans-serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.stat-text {
  font-size: 0.85rem;
  color: var(--navy);
  line-height: 1.4;
  margin-top: 4px;
}
.stat-source {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--text-muted, #6B7280);
  margin-top: 6px;
}

/* ── FAQ ── */
.faq-item { border-bottom: 1px solid var(--line); }

.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 1rem 0;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.875rem;
  color: var(--navy);
  font-family: 'DM Sans', sans-serif;
  font-size: 0.93rem;
  font-weight: 600;
  line-height: 1.4;
  min-height: 44px;
}

.faq-icon {
  width: 22px; height: 22px;
  border: 1.5px solid var(--line);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 0.85rem;
  color: var(--blue);
  transition: transform 0.25s, border-color 0.2s;
  margin-top: 0.1rem;
}

.faq-item.open .faq-icon {
  transform: rotate(45deg);
  border-color: var(--blue);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.faq-item.open .faq-answer { max-height: 600px; }

.faq-answer-inner {
  padding-bottom: 1.25rem;
  font-size: 0.92rem;
  color: var(--muted);
  line-height: 1.78;
}

/* ── NETWORK CARDS ── */
.network-section { background: var(--navy2); }

.network-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.875rem;
}

.network-card {
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 10px;
  padding: 1.25rem;
  text-decoration: none;
  transition: background 0.2s;
  display: block;
}

.network-card:hover { background: rgba(255,255,255,0.08); }
.network-card.current { border-color: rgba(59,130,246,0.5); }

.network-badge {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.58rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.18rem 0.55rem;
  border-radius: 3px;
  margin-bottom: 0.75rem;
}

.badge-live     { background: rgba(5,150,105,0.2); color: #6EE7B7; border: 1px solid rgba(5,150,105,0.35); }
.badge-building { background: rgba(37,99,235,0.2); color: #93C5FD; border: 1px solid rgba(37,99,235,0.35); }
.badge-planning { background: rgba(255,255,255,0.07); color: rgba(255,255,255,0.70); border: 1px solid rgba(255,255,255,0.15); }
.badge-roadmap  { background: rgba(212,147,10,0.15); color: #FCD34D; border: 1px solid rgba(212,147,10,0.3); }

.network-card-name {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255,255,255,0.92);
  margin-bottom: 0.25rem;
}

.network-card-role {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #93C5FD;
  margin-bottom: 0.6rem;
}

.network-card-desc {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
}

/* ── FOOTER ── */
footer {
  background: var(--navy3);
  padding: 3rem 0 1.75rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-brand {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.65rem;
}

.footer-tagline {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.72);
  line-height: 1.65;
  margin-bottom: 1.1rem;
}

.footer-network-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-mono);
  font-size: 0.6rem;
  letter-spacing: 0.08em;
  color: #93C5FD;
  text-decoration: none;
  border: 1px solid rgba(59,130,246,0.3);
  padding: 0.35rem 0.75rem;
  border-radius: 3px;
  min-height: 36px;
}

.footer-col-title {
  font-family: var(--font-body);
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.70);
  margin-bottom: 0.875rem;
}

.footer-links { list-style: none; }
.footer-links li { margin-bottom: 0.5rem; }

.footer-links a {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.72);
  text-decoration: none;
  min-height: 36px;
  display: inline-flex;
  align-items: center;
}

.footer-links a:hover { color: #fff; }

.footer-tag {
  font-family: var(--font-mono);
  font-size: 0.57rem;
  color: rgba(255,255,255,0.65);
  margin-left: 0.3rem;
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-legal { font-size: 0.76rem; color: rgba(255,255,255,0.65); }
.footer-legal a { color: rgba(255,255,255,0.65); text-decoration: underline; }
.footer-address { font-size: 0.76rem; color: rgba(255,255,255,0.65); }
.footer-address a { color: rgba(255,255,255,0.65); }

/* ── CALLOUT BOXES ── */
.callout-gold {
  background: var(--gold-bg);
  border: 1px solid var(--gold-line);
  border-radius: 8px;
  padding: 1rem 1.25rem;
}

.callout-blue {
  background: var(--blue-bg);
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  padding: 1rem 1.25rem;
}

.callout-success {
  background: var(--success-bg);
  border: 1px solid #A7F3D0;
  border-radius: 8px;
  padding: 1rem 1.25rem;
}

/* ── SOURCE CITATION ── */
.stat-source {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  color: var(--light);
  margin-top: 0.875rem;
  line-height: 1.5;
  display: block;
}

/* ── ANIMATION ── */
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(16px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ══════════════════════════════════════════
   MISSED CALL CALCULATOR — PREMIUM TWO-COLUMN
   Matches dark professional aesthetic + Bible tokens
══════════════════════════════════════════ */
#calculator {
  background: var(--white);
}

#calculator .calc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
  margin-top: 1.5rem;
}

@media (min-width: 768px) {
  #calculator .calc-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: start;
  }
}

/* Left: clean white card for inputs */
#calculator .calc-inputs {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 1.5rem 1.25rem;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

/* Labels: DM Mono uppercase per target + tokens */
#calculator .calc-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--navy);
  display: block;
  margin-bottom: 0.35rem;
  font-weight: 600;
}

/* Inputs: 48px min, full width, navy focus ring */
#calculator .calc-input {
  width: 100%;
  min-height: 48px;
  font-size: 1rem;
  padding: 0.65rem 0.875rem;
  border: 1.5px solid var(--navy);
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  font-family: var(--font-body);
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
  appearance: none;
}

#calculator .calc-input:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 4px rgba(30, 58, 95, 0.12);
}

#calculator .calc-input::placeholder {
  color: var(--light);
}

/* Custom select with chevron (no browser default) */
#calculator .select-wrap {
  position: relative;
}

#calculator .select-wrap::after {
  content: '▾';
  position: absolute;
  right: 14px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.75rem;
  color: var(--navy);
  pointer-events: none;
  line-height: 1;
}

#calculator .calc-select {
  padding-right: 2.4rem;
  cursor: pointer;
}

#calculator .calc-select:hover {
  border-color: var(--navy2);
}

/* ══════════════════════════════════════════
   INTERIOR PAGE COMPONENTS (Pricing, About, Support, Blog)
══════════════════════════════════════════ */

/* Pricing page specific — redesigned for premium (Stripe/Linear quality) */
.pricing-hero {
  background: var(--navy);
  padding: 3rem 0 3.5rem;
}

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
@media (max-width: 900px) {
  .pricing-grid {
    grid-template-columns: 1fr;
    max-width: 480px;
  }
}

.pricing-card {
  background: var(--white);
  border: 1.5px solid rgba(0,0,0,0.1);
  border-radius: 16px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.pricing-card:hover {
  box-shadow: 0 8px 30px rgba(30,58,95,0.12);
  border-color: var(--blue-line);
}

/* Base card (clean, standard) */
.pricing-card--base {
  /* default white + navy header */
}

/* Plus hero card: elevated, stronger presence — subtle gradient treatment via shadow per spec */
.pricing-card--plus {
  border: 2px solid var(--gold);
  box-shadow: 0 20px 60px rgba(212,147,10,0.15),
              0 4px 16px rgba(0,0,0,0.08);
  transform: translateY(-2px);
}

.pricing-card--plus:hover {
  box-shadow: 0 24px 70px rgba(212,147,10,0.20),
              0 6px 20px rgba(0,0,0,0.10);
  transform: translateY(-4px);
}

/* Bundle: dark navy full card, aspirational */
.pricing-card--bundle {
  background: var(--navy);
  border-color: var(--navy);
  color: #fff;
}

.pricing-card--bundle:hover {
  box-shadow: 0 12px 48px rgba(10, 30, 53, 0.4);
  border-color: var(--navy2);
}

.pricing-card-header {
  padding: 28px 28px 20px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* Gold header band for Plus "Most Popular" */
.pricing-card--plus .pricing-card-header {
  background: var(--gold);
  color: #fff;
  padding-top: 0.75rem;
  padding-bottom: 1rem;
}

.pricing-tier {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.pricing-card--bundle .pricing-card-header {
  background: var(--navy);
}

.pricing-card-body {
  padding: 1.5rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pricing-features {
  list-style: none;
  margin: 0;
  padding: 0;
  flex: 1;
}

.pricing-feature {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.55;
}

.pricing-card--bundle .pricing-feature {
  color: #FFFFFF !important;
}

.pricing-feature:last-child {
  border-bottom: none;
}

.feature-check {
  color: var(--success);
  flex-shrink: 0;
  font-size: 0.95rem;
  margin-top: 0.1rem;
}

.pricing-card--bundle .feature-check {
  color: var(--gold);
}

.pricing-amount {
  display: flex;
  align-items: baseline;
  gap: 2px;
  margin-bottom: 8px;
}

.pricing-dollar {
  font-family: 'DM Sans', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--navy);
}

.pricing-number {
  font-family: 'DM Sans', sans-serif;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  color: var(--navy);
}

.pricing-period {
  font-size: 0.875rem;
  color: var(--text-muted, #6B7280);
  margin-left: 4px;
}

.pricing-desc {
  font-size: 0.875rem;
  color: var(--muted);
  line-height: 1.4;
}

/* Bundle contrast rules (explicitly set per spec) */
.pricing-card--bundle .pricing-tier {
  color: #FFFFFF !important;
  opacity: 1;
}
.pricing-card--bundle .pricing-amount,
.pricing-card--bundle .pricing-dollar,
.pricing-card--bundle .pricing-number,
.pricing-card--bundle .pricing-period {
  color: #FFFFFF !important;
  opacity: 1;
}
.pricing-card--bundle .pricing-desc {
  color: rgba(255,255,255,0.85) !important;
}

.pricing-cta {
  display: block;
  width: 100%;
  text-align: center;
  margin-top: auto;
  padding-top: 1rem;
}

/* Legacy charter rules kept for compatibility but not used in new cards */
.charter-pricing-wrapper .pricing-card {
  border: 3px solid var(--gold);
}

.charter-badge {
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.most-popular {
  display: inline-block;
  background: rgba(255,255,255,0.25);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  margin-bottom: 0.5rem;
}

/* Overage note removed per redesign; style kept only if used elsewhere */
.overage-note {
  text-align: center;
  font-size: 0.85rem;
  color: var(--light);
  margin-top: 1.25rem;
  padding: 0.75rem 1rem;
  background: var(--blue-bg);
  border-radius: 6px;
}

/* FIX 1: Plus card "why it matters" context (added to header area in HTML) */
.plus-why {
  background: rgba(212,147,10,0.08);
  border-left: 3px solid var(--gold);
  padding: 12px 16px;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--navy);
}
.plus-stat {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--text-muted, #6B7280);
  margin-top: 6px;
}

/* Article / Support / About page layout */
.article-hero {
  background: var(--navy);
  color: white;
  padding: 3rem 0;
}

.article-content {
  max-width: 720px;
  margin: 0 auto;
  font-size: 1.02rem;
  line-height: 1.75;
}

.article-content h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
}

.article-content ul,
.article-content ol {
  margin: 1rem 0 1.5rem 1.25rem;
}

.article-content li {
  margin-bottom: 0.4rem;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.25rem;
}

.support-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 1.25rem;
  text-decoration: none;
  transition: all 0.2s;
}

.support-card:hover {
  border-color: var(--blue-line);
  box-shadow: 0 4px 12px rgba(30,58,95,0.08);
}

.support-card h3 {
  margin-bottom: 0.5rem;
  color: var(--navy);
}

/* Right column: dark navy results panel */
#calculator .calc-results .results-box {
  background: var(--navy2);
  color: #fff;
  border-radius: 12px;
  padding: 1.25rem 1rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}

#calculator .results-heading {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.875rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.15);
}

#calculator .result-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  font-size: 0.9rem;
}

#calculator .result-row:last-of-type {
  border-bottom: none;
}

#calculator .r-label {
  color: rgba(255,255,255,0.72);
}

#calculator .r-val {
  font-weight: 600;
  color: #fff;
  text-align: right;
  font-variant-numeric: tabular-nums;
  transition: all 0.25s ease;
}

/* TOTAL is the hero: navy3 block, Lora large white */
#calculator .result-total {
  background: var(--navy3);
  margin: 0.75rem -0.25rem -0.25rem;
  padding: 1rem 0.75rem;
  border-radius: 8px;
}

#calculator .total-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.6);
  margin-bottom: 0.25rem;
}

#calculator .total-num {
  font-family: 'DM Sans', sans-serif;
  font-size: clamp(1.85rem, 6vw, 2.65rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

/* CTA block appears after calc: red/charter bg */
#calculator #calc-cta {
  background: var(--red);
  color: #fff;
  padding: 1.25rem;
  border-radius: 10px;
  margin-top: 1rem;
}

#calculator .calc-cta-line {
  font-size: 0.95rem;
  line-height: 1.5;
  margin-bottom: 0.875rem;
}

#calculator .calc-cta-line span {
  font-weight: 700;
  white-space: nowrap;
}

/* Full-width button on red block — white bg / red text for contrast */
#calculator #calc-cta .btn-primary-full {
  background: #fff;
  color: var(--red);
  font-weight: 700;
  border: none;
}

#calculator #calc-cta .btn-primary-full:hover {
  background: #fee2e2;
}

#calculator #calc-cta .btn-sub {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.75);
  text-align: center;
  margin-top: 0.5rem;
}

/* Source note: small italic muted */
#calculator .source-note {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  font-style: italic;
  color: var(--light);
  line-height: 1.6;
  margin-top: 1rem;
}

#calculator .source-note a {
  color: var(--navy);
  text-decoration: underline;
}

/* Smooth pop animation for results values (pairs with JS countUp) */
#calculator .results-box .r-val,
#calculator .results-box .total-num {
  animation: calcPop 420ms ease-out forwards;
}

@keyframes calcPop {
  from {
    opacity: 0;
    transform: translateY(6px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* ══════════════════════════════════════════
   TABLET: 600px+
══════════════════════════════════════════ */
@media (min-width: 600px) {
  :root { --gutter: 1.75rem; --section: 4.5rem; }

  .grid-2 { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .grid-3 { grid-template-columns: 1fr 1fr; gap: 1.25rem; }
  .grid-4 { grid-template-columns: 1fr 1fr; gap: 1.25rem; }

  .proof-inner { grid-template-columns: repeat(2, 1fr); gap: 2rem; }

  .network-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: row; justify-content: space-between; align-items: center; }
  .footer-address { text-align: right; }
}

/* ══════════════════════════════════════════
   DESKTOP: 960px+
══════════════════════════════════════════ */
@media (min-width: 960px) {
  :root { --gutter: 2.5rem; --section: 6rem; }

  /* Show full nav */
  .nav-inner { height: 64px; }
  .alert-banner { margin-top: 64px; }

  .nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
  }

  .nav-links a {
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text);
    text-decoration: none;
    transition: color 0.2s;
  }

  .nav-links a:hover { color: var(--navy); }

  .nav-network {
    display: flex;
    align-items: center;
    font-family: var(--font-mono);
    font-size: 0.65rem;
    letter-spacing: 0.06em;
    color: rgba(255,255,255,0.78);
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.22);
    padding: 0.3rem 0.8rem;
    border-radius: 4px;
    white-space: nowrap;
    min-height: 34px;
    transition: all 0.2s;
  }

  .nav-network:hover { color: #fff; border-color: rgba(255,255,255,0.45); }

  .nav-mobile-toggle { display: none; }

  .grid-3 { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
  .grid-4 { grid-template-columns: repeat(4, 1fr); gap: 1.5rem; }

  .proof-inner { grid-template-columns: repeat(4, 1fr); }
  .proof-num { font-size: 2.25rem; }

  .network-grid { grid-template-columns: repeat(3, 1fr); }

  .footer-grid { grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem; }
}

/* ══════════════════════════════════════════
   CALLLEGEND LANDING V2 — PREMIUM POLISH
   (Continues the Bible + new calculator standard)
══════════════════════════════════════════ */

/* Hero refinements */
.landing-hero {
  padding: 4rem 0 5rem;
}

.landing-hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

@media (max-width: 768px) {
  .landing-hero-grid {
    grid-template-columns: 1fr;
  }
  .landing-hero-visual {
    display: none;
  }
}

.landing-hero h1 {
  font-size: clamp(2rem, 7vw, 3.25rem);
  line-height: 1.1;
  margin-bottom: 1rem;
}

.landing-hero .hero-sub {
  font-size: 1.05rem;
  color: rgba(255,255,255,0.78);
  max-width: 520px;
  line-height: 1.6;
}

.landing-hero-ctas {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin-top: 1.5rem;
}

.landing-hero-note {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.7);
}

/* How it Works + What You Get cards */
.landing-card img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
  display: block;
}

/* Charter Pricing card */
.charter-card {
  border: 3px solid var(--gold);
  max-width: 520px;
}

.charter-badge {
  font-size: 0.9rem;
  color: var(--gold);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.charter-price {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1;
  margin: 0.5rem 0;
}

.charter-price span {
  font-size: 1rem;
  font-weight: 400;
}

.charter-note {
  color: var(--muted);
}

.charter-features {
  margin: 1.5rem 0;
  padding-left: 1.25rem;
}

.charter-features li {
  margin-bottom: 0.4rem;
}

.charter-disclaimer {
  text-align: center;
  font-size: 0.85rem;
  color: var(--muted);
  margin-top: 0.5rem;
}

/* Final dark CTA */
.final-cta-dark {
  background: var(--navy);
  color: white;
  text-align: center;
}

.final-cta-dark h2 {
  color: white;
  margin-bottom: 1rem;
}

.final-cta-dark .btn-primary {
  font-size: 1.1rem;
  padding: 1rem 2.25rem;
}

/* Proof / empty state section */
.proof-empty {
  text-align: center;
  max-width: 640px;
  margin: 0 auto;
}

.proof-empty .section-sub {
  font-size: 1.05rem;
  color: var(--muted);
}

/* FAQ already uses Bible .faq-item — good */

/* Remove old inline-heavy styles via higher specificity when needed */
#how-it-works .grid-3,
#what-you-get .grid-2 {
  gap: 1.5rem;
}
