/* ============================================================
   BIBLECHAT CREATOR PROGRAMME — styles.css
   Design system: General Sans · Ink / Gold / Mint palette
   ============================================================ */

@import url('https://api.fontshare.com/v2/css?f[]=general-sans@400,500,600,700&display=swap');

/* ============================================================
   TOKENS
   ============================================================ */
:root {
  /* Palette */
  --ink:            #0F1012;
  --ink-soft:       #545C66;
  --gray:           #6E7681;
  --gray-light:     #9CA3AB;
  --line:           #E8EAED;
  --surface:        #FFFFFF;
  --surface-cream:  #FDF3DF;
  --gold:           #F7B500;
  --mint:           #7ADFA8;
  --mint-deep:      #3FBF7F;

  /* Gradient mesh stops */
  --mesh-yellow:    #F2D14E;
  --mesh-butter:    #F7E9A8;
  --mesh-mint:      #BDE9CD;

  /* Buttons */
  --cta-bg:         #0F1012;
  --cta-text:       #FFFFFF;

  /* Radii */
  --r-btn:          14px;
  --r-card:         18px;
  --r-modal:        24px;

  /* Shadows */
  --shadow-card:    0 4px 24px rgba(15,16,18,.06);
  --shadow-lift:    0 12px 40px rgba(15,16,18,.10);
  --shadow-modal:   0 24px 80px rgba(15,16,18,.18);

  /* Layout */
  --max-w:          1040px;
  --font:           "General Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, sans-serif;
}

/* ============================================================
   RESET
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  font-family: var(--font);
  color: var(--ink);
  background: var(--surface);
  font-size: 17px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button { cursor: pointer; font-family: inherit; }

/* Generic hidden state — covers form success/error/steps/modal */
.hidden { display: none !important; }

/* Screen-reader only */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); white-space: nowrap; border: 0;
}

/* ============================================================
   LAYOUT
   ============================================================ */
.container {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 32px;
}

/* ============================================================
   TYPOGRAPHY
   ============================================================ */
h1 { font-size: clamp(32px, 5vw, 52px); font-weight: 700; letter-spacing: -0.035em; line-height: 1.08; }
h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 700; letter-spacing: -0.03em; line-height: 1.1; }
h3 { font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }

/* When a subtitle follows the heading, keep them tight as one unit */
section h2:has(+ .section-sub) { margin-bottom: 10px; }

.gold { color: var(--gold); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--cta-bg);
  color: var(--cta-text);
  border: 0;
  padding: 18px 32px;
  border-radius: var(--r-btn);
  font-size: 17px;
  font-weight: 600;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
  white-space: nowrap;
}
.btn:hover  { transform: translateY(-2px); box-shadow: var(--shadow-lift); }
.btn:active { transform: translateY(0); }
.btn:focus-visible { outline: 3px solid var(--mint-deep); outline-offset: 3px; }

.btn-primary { background: var(--cta-bg); color: var(--cta-text); }
.btn-ghost   { background: transparent; color: var(--ink); border: 2px solid var(--line); padding: 16px 30px; }
.btn-ghost:hover { background: var(--surface-cream); box-shadow: none; }
.btn-full  { width: 100%; justify-content: center; }
.btn-flex  { flex: 1; justify-content: center; }

/* ============================================================
   TOPBAR
   ============================================================ */
.topbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.topbar-logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.logo-img {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
}
.wordmark {
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: var(--ink-soft);
}

/* ============================================================
   HERO — gradient mesh
   ============================================================ */
.hero {
  padding: 100px 0 88px;
  text-align: center;
  background:
    radial-gradient(60% 55% at 12% 78%,  var(--mesh-yellow) 0%, rgba(242,209,78,0)   62%),
    radial-gradient(48% 46% at 34% 60%,  var(--mesh-butter) 0%, rgba(247,233,168,0)  66%),
    radial-gradient(62% 58% at 88% 34%,  var(--mesh-mint)   0%, rgba(189,233,205,0)  64%),
    radial-gradient(50% 44% at 66% 88%,  var(--mesh-mint)   0%, rgba(189,233,205,0)  62%),
    #FFFFFF;
}
.text-block { max-width: 720px; margin: 0 auto; }
.hero h1 { margin-bottom: 20px; }
.hero-sub {
  font-size: 19px;
  color: var(--ink-soft);
  font-weight: 500;
  max-width: 58ch;
  margin: 0 auto 36px;
  line-height: 1.55;
}
.cta-hero { font-size: 18px; padding: 20px 36px; animation: cta-pulse 2.5s ease-in-out infinite; }
.hero-cta-note { font-size: 14px; color: var(--gray-light); margin: 14px 0 0; }

/* ============================================================
   FADE-IN ANIMATION
   ============================================================ */
.fade-in { opacity: 0; transform: translateY(20px); transition: opacity 0.55s ease, transform 0.55s ease; }
.fade-in.visible { opacity: 1; transform: none; }

/* ============================================================
   HOW IT WORKS
   ============================================================ */
.how-it-works { padding: 0 0 96px; }
.how-it-works h2 { margin-bottom: 28px; }

.steps-list {
  list-style: none;
  counter-reset: step;
  display: grid;
  gap: 0;
  max-width: 640px;
}
.steps-list li {
  counter-increment: step;
  display: grid;
  grid-template-columns: 28px 1fr;
  gap: 0 16px;
  padding: 20px 0;
  border-bottom: 1px solid var(--line);
  font-size: 16px;
  color: var(--gray);
  line-height: 1.6;
}
.steps-list li:first-child { padding-top: 0; }
.steps-list li:last-child { border-bottom: 0; }
.steps-list li::before {
  content: counter(step);
  font-size: 13px;
  font-weight: 700;
  color: var(--surface);
  background: var(--ink);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
  flex-shrink: 0;
}

.bonus-line {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 0;
  padding: 20px 24px;
  background: var(--surface-cream);
  border-radius: var(--r-card);
}
.bonus-line p { font-size: 15px; color: var(--ink-soft); margin: 0; line-height: 1.55; }
.bonus-tag {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--ink);
  background: var(--gold);
  padding: 4px 10px;
  border-radius: 6px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ============================================================
   OBJECTIONS
   ============================================================ */
.objections { padding: 0 0 96px; }
.section-intro { padding-top: 48px; }
.objections h2 { margin-bottom: 28px; }
.objection-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.faq-grid .objection { padding: 18px 20px; }
.faq-grid .objection strong { font-size: 15px; margin-bottom: 8px; }
.faq-grid .objection p { font-size: 13px; }
.objection {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 28px 26px;
  box-shadow: var(--shadow-card);
}
.objection strong {
  display: block;
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 12px;
  color: var(--ink);
}
.objection p {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.6;
  margin: 0;
}

/* ============================================================
   SOCIAL PROOF — creator cards
   ============================================================ */
.proof { padding: 0 0 96px; }
.proof-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.proof-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 28px 26px;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.proof-meta {
  font-size: 15px;
  font-weight: 600;
  color: var(--ink-soft);
  margin: 0;
  line-height: 1.45;
}
.proof-quote {
  font-size: 15px;
  color: var(--gray);
  line-height: 1.6;
  border: 0;
  margin: 0;
  padding: 0;
  font-style: normal;
}

/* ============================================================
   VIDEO EXAMPLES — carousel
   ============================================================ */
.creator-examples { padding: 0 0 96px; }
.creator-examples h2 { margin-bottom: 10px; }
.section-sub { font-size: 16px; color: var(--gray-light); margin-bottom: 36px; }
.section-note { font-size: 15px; color: var(--gray-light); margin: 28px 0 0; }

.carousel-wrapper {
  position: relative;
  overflow: hidden;
}
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--line);
  background: var(--surface);
  color: var(--ink);
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.15s;
}
.carousel-btn:hover { box-shadow: var(--shadow-lift); }
.carousel-prev { left: 0; }
.carousel-next { right: 0; }

.carousel-track {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  padding: 8px 52px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}
.carousel-track::-webkit-scrollbar { display: none; }

.video-card {
  flex-shrink: 0;
  width: 180px;
  border-radius: var(--r-card);
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-card);
  scroll-snap-align: start;
  transition: box-shadow 0.18s, transform 0.18s;
}
.video-card:hover { box-shadow: var(--shadow-lift); transform: translateY(-3px); }

.video-card-thumb {
  height: 240px;
  background-color: var(--line);
  background-size: cover;
  background-position: center;
}
.video-card-info {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}
.video-earn  { font-size: 15px; font-weight: 700; color: var(--ink); }
.video-views { font-size: 12px; color: var(--gray-light); }

/* ============================================================
   EARNINGS SNAPSHOT
   ============================================================ */
.earnings { padding: 0 0 96px; }
.earnings h2 { margin-bottom: 28px; }

.earnings-grid {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 28px;
  align-items: start;
}
.earnings-left { display: flex; flex-direction: column; gap: 14px; }
.earnings-base {
  background: var(--surface-cream);
  border-radius: var(--r-card);
  padding: 28px 28px 24px;
}
.earnings-base .label {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-light);
  margin-bottom: 14px;
}
.earnings-base .amount {
  font-size: 52px;
  font-weight: 700;
  letter-spacing: -0.04em;
  color: var(--ink);
  line-height: 1;
  margin-bottom: 6px;
}
.earnings-base .per {
  font-size: 15px;
  color: var(--gray);
}
.earnings-base .note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--gray-light);
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

.earnings-tiers { display: grid; gap: 6px; }
.tier-row {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--surface);
  border: 1px solid var(--line);
  font-size: 14px;
}
.tier-views { color: var(--gray); }
.tier-bonus {
  font-size: 15px;
  font-weight: 700;
  color: var(--ink);
  white-space: nowrap;
}
.tier-row.highlight { background: var(--ink); border-color: var(--ink); }
.tier-row.highlight .tier-views { color: var(--gray-light); }
.tier-row.highlight .tier-bonus { color: var(--gold); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
  padding: 50px 0 110px;
  text-align: center;
  background:
    radial-gradient(60% 55% at 12% 78%,  var(--mesh-yellow) 0%, rgba(242,209,78,0)   62%),
    radial-gradient(62% 58% at 88% 34%,  var(--mesh-mint)   0%, rgba(189,233,205,0)  64%),
    #FFFFFF;
}
.cta-band .container { display: flex; justify-content: center; margin: 0 auto; padding: 0; }
.cta-band-btn { margin: 0; }
.cta-band-title { font-size: clamp(24px, 3.5vw, 34px); font-weight: 700; letter-spacing: -0.025em; margin-bottom: 10px; }
.cta-band-sub   { font-size: 17px; color: var(--ink-soft); margin-bottom: 32px; }
.cta-band-btn   { font-size: 20px; padding: 24px 52px; animation: cta-pulse 2.5s ease-in-out infinite; }

@keyframes cta-pulse {
  0%   { box-shadow: 0 0 0 0 rgba(247, 181, 0, 0.55), 0 8px 28px rgba(0,0,0,0.12); }
  100% { box-shadow: 0 0 0 24px rgba(247, 181, 0, 0),  0 8px 28px rgba(0,0,0,0.12); }
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  padding: 36px 0;
  border-top: 1px solid var(--line);
}
.footer .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
}
.footer-links a {
  font-size: 14px;
  color: var(--gray-light);
  text-decoration: none;
  transition: color 0.15s;
}
.footer-links a:hover { color: var(--ink); }
.footer-legal { font-size: 13px; color: var(--gray-light); }

/* ============================================================
   MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15,16,18,.55);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  overscroll-behavior: contain;
}
.modal-overlay.hidden { display: none; }
body.modal-open { overflow: hidden; }

.modal-dialog {
  background: var(--surface);
  border-radius: var(--r-modal);
  box-shadow: var(--shadow-modal);
  width: 100%;
  max-width: 520px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  overflow: hidden;
}
.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px 18px;
  border-bottom: 1px solid var(--line);
  flex-shrink: 0;
}
.modal-title { font-size: 20px; font-weight: 700; letter-spacing: -0.02em; }
.modal-close {
  background: none;
  border: 0;
  padding: 6px;
  color: var(--gray);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.15s, color 0.15s;
}
.modal-close:hover { background: var(--surface-cream); color: var(--ink); }

.modal-body {
  overflow-y: auto;
  padding: 24px 28px 28px;
  overscroll-behavior: contain;
  flex: 1;
}

/* ============================================================
   FORM
   ============================================================ */
.step-indicator {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 24px;
}
#step-label { font-size: 13px; font-weight: 600; color: var(--gray-light); letter-spacing: 0.04em; text-transform: uppercase; }
.step-dots { display: flex; gap: 6px; }
.dot { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: background 0.2s; }
.dot-active { background: var(--ink); }

.form-step { border: 0; padding: 0; min-width: 0; }
.form-step.hidden { display: none; }

.field { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.field label {
  font-size: 14px;
  font-weight: 600;
  color: var(--ink);
  letter-spacing: -0.005em;
  line-height: 1.45;
}
.field input[type="text"],
.field input[type="email"],
.field input[type="tel"],
.field input[type="url"] {
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  font-family: var(--font);
  font-size: 16px;
  color: var(--ink);
  background: var(--surface);
  transition: border-color 0.15s, box-shadow 0.15s;
  width: 100%;
  -webkit-appearance: none;
}
.field input:focus {
  outline: none;
  border-color: var(--mint-deep);
  box-shadow: 0 0 0 3px rgba(63,191,127,.18);
}
.field input.is-invalid {
  border-color: #E53E3E;
  box-shadow: 0 0 0 3px rgba(229,62,62,.12);
}

/* Side-by-side name fields */
.field-row { display: flex; gap: 16px; margin-bottom: 0; }
.field-row .field { flex: 1; min-width: 0; margin-bottom: 20px; }
@media (max-width: 420px) { .field-row { flex-direction: column; gap: 0; } }

.video-links-group { display: grid; gap: 8px; }

.field-hint { font-size: 13px; color: var(--gray-light); line-height: 1.5; }
.field-error { font-size: 13px; color: #E53E3E; font-weight: 500; min-height: 18px; }

/* Checkbox */
.field-check .check-label {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  cursor: pointer;
  font-size: 13px;
  color: var(--gray);
  line-height: 1.55;
  font-weight: 400;
}
.field-check input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin-top: 2px;
  border: 1.5px solid var(--line);
  border-radius: 5px;
  cursor: pointer;
  flex-shrink: 0;
  accent-color: var(--mint-deep);
}
.field-check a { color: var(--mint-deep); text-decoration: underline; }

/* Radio */
.radio-group { display: grid; gap: 8px; }
.radio-label {
  display: grid;
  grid-template-columns: 20px 1fr;
  gap: 10px;
  align-items: center;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  font-size: 15px;
  color: var(--ink-soft);
}
.radio-label:has(input:checked) {
  border-color: var(--mint-deep);
  background: rgba(63,191,127,.06);
  color: var(--ink);
}
.radio-label input[type="radio"] {
  width: 18px;
  height: 18px;
  accent-color: var(--mint-deep);
  flex-shrink: 0;
}

/* Form actions */
.form-actions {
  display: flex;
  gap: 12px;
  margin-top: 8px;
}

/* Success / error */
.form-success {
  text-align: center;
  padding: 32px 16px;
}
.success-headline {
  font-size: 17px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.5;
  margin: 0;
}
.form-error-box {
  border-radius: 10px;
  background: #FFF5F5;
  border: 1px solid #FEB2B2;
  padding: 14px 16px;
  margin-top: 16px;
}
.form-error-box p { font-size: 14px; color: #C53030; margin: 0; }
.form-error-box.hidden { display: none; }

/* Step animation */
@keyframes step-slide-in { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: none; } }
.step-enter { animation: step-slide-in 0.28s ease forwards; }

/* ============================================================
   LEGAL PAGES — terms.html / privacy.html
   ============================================================ */
.legal-hero {
  padding: 64px 0 40px;
  background:
    radial-gradient(70% 90% at 8% 10%, var(--mesh-butter) 0%, rgba(247,233,168,0) 60%),
    radial-gradient(60% 80% at 96% 0%,  var(--mesh-mint)   0%, rgba(189,233,205,0) 62%),
    var(--surface);
  border-bottom: 1px solid var(--line);
}
.legal-hero .container { max-width: 820px; }
.legal-eyebrow {
  display: inline-block;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--ink-soft);
  margin-bottom: 14px;
}
.legal-hero h1 { font-size: clamp(30px, 4.4vw, 44px); }
.legal-updated { font-size: 15px; color: var(--gray); margin-top: 14px; }

.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 48px 32px 80px;
}
.legal .lede {
  font-size: 17px;
  color: var(--ink-soft);
  padding: 20px 22px;
  background: var(--surface-cream);
  border-radius: var(--r-card);
  margin-bottom: 40px;
}

/* Table of contents */
.legal-toc {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 22px 24px;
  margin-bottom: 48px;
}
.legal .legal-toc h2 {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 14px;
}
.legal .legal-toc ol {
  list-style: none;
  columns: 2;
  column-gap: 32px;
}
.legal .legal-toc li { margin-bottom: 7px; break-inside: avoid; }
.legal .legal-toc a {
  font-size: 15px;
  color: var(--ink-soft);
  text-decoration: none;
  transition: color 0.15s;
}
.legal .legal-toc a:hover { color: var(--ink); text-decoration: underline; }

/* Body */
.legal h2 {
  font-size: 24px;
  letter-spacing: -0.02em;
  margin: 48px 0 16px;
  padding-top: 4px;
  scroll-margin-top: 88px;
}
.legal h2:first-of-type { margin-top: 0; }
.legal h3 {
  font-size: 18px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin: 30px 0 10px;
  scroll-margin-top: 88px;
}
.legal p { font-size: 16px; color: var(--ink-soft); margin-bottom: 14px; }
.legal p strong, .legal li strong { color: var(--ink); font-weight: 600; }
.legal ul, .legal ol.legal-list {
  margin: 0 0 16px 22px;
  padding: 0;
}
.legal li { font-size: 16px; color: var(--ink-soft); margin-bottom: 8px; }
.legal a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
.legal a:hover { color: var(--mint-deep); }
.legal .conditions { margin-bottom: 14px; }
.legal .conditions p { margin-bottom: 6px; }

/* Bonus tier table (Terms §4.2) */
.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0 20px;
  font-size: 16px;
}
.legal-table th {
  text-align: left;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray);
  padding: 0 0 10px;
  border-bottom: 1px solid var(--line);
}
.legal-table td {
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
  color: var(--ink-soft);
}
.legal-table td:last-child {
  text-align: right;
  font-weight: 600;
  color: var(--ink);
}

/* Contact block */
.legal-contact {
  border: 1px solid var(--line);
  border-radius: var(--r-card);
  padding: 22px 24px;
  margin-top: 18px;
}
.legal-contact p { margin-bottom: 4px; }
.legal-contact p:last-child { margin-bottom: 0; }

.legal p.legal-closing {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--line);
  font-weight: 500;
  color: var(--ink);
}
.legal a.legal-back {
  display: inline-block;
  margin-top: 36px;
  font-size: 15px;
  color: var(--gray);
  text-decoration: none;
}
.legal a.legal-back:hover { color: var(--ink); }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  .hero { padding: 64px 0 60px; }
  .hero-sub { font-size: 17px; }

  /* CTA buttons: allow the long label to wrap instead of overflowing the viewport */
  .cta-hero, .cta-band-btn {
    white-space: normal;
    text-align: center;
    justify-content: center;
    line-height: 1.35;
    max-width: 100%;
  }
  .cta-hero { font-size: 17px; padding: 18px 28px; }
  .cta-band-btn { font-size: 18px; padding: 20px 32px; }

  .how-it-works { padding: 0 0 64px; }
  .objections { padding: 0 0 64px; }
  .section-intro { padding-top: 32px; }
  .objection-grid { grid-template-columns: 1fr; }
  .faq-grid { grid-template-columns: 1fr; }
  .faq-grid .objection strong { font-size: 16px; }
  .faq-grid .objection p { font-size: 14px; }
  .proof { padding: 0 0 64px; }
  .proof-grid { grid-template-columns: 1fr; }
  .creator-examples { padding: 0 0 64px; }

  /* Carousel: no arrows on touch — swipe instead, reclaim the side padding */
  .carousel-btn { display: none; }
  .carousel-track { padding: 8px 2px; }

  .earnings { padding: 0 0 64px; }
  .earnings-grid { grid-template-columns: 1fr; gap: 14px; }
  /* Stack as base → tiers → bonus so "everything above" reads correctly */
  .earnings-left { display: contents; }
  .bonus-line { order: 3; }
  .earnings-base .amount { font-size: 44px; }

  .cta-band { padding: 40px 0 68px; }
  .cta-band .container { padding: 0 20px; }
  .footer .container { flex-direction: column; align-items: flex-start; gap: 12px; }

  .legal-hero { padding: 44px 0 32px; }
  .legal { padding: 36px 20px 64px; }
  .legal .legal-toc ol { columns: 1; }
  .legal h2 { font-size: 21px; margin-top: 40px; }
  .legal h3 { font-size: 17px; }
  .legal p, .legal li { font-size: 15px; }
  .legal-table { font-size: 15px; }

  .modal-overlay { padding: 16px; }
  .modal-dialog { max-height: 92vh; border-radius: 20px; }
  .modal-body { padding: 20px 20px 24px; }
  .modal-header { padding: 18px 20px 14px; }
  .form-actions { flex-direction: column; }
  .btn-ghost { order: 2; }
  .btn-flex  { order: 1; }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; }
  .fade-in { opacity: 1; transform: none; }
}
