:root {
  --red: #D32027;
  --navy: #123262;
  --green: #2FA24B;
  --green-dark: #268A3F;
  --yellow: #FFD10A;
  --white: #FFFFFF;
  --gray: #F2F4F7;
  --display: "Archivo Black", "Arial Black", sans-serif;
  --body: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--body);
  font-size: 17px;
  line-height: 1.5;
  color: var(--navy);
  background: var(--white);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

#app { flex: 1; width: 100%; max-width: 560px; margin: 0 auto; }

.state { padding: 0 0 32px; }

/* ---------- HERO ---------- */

.hero-band {
  background: var(--red);
  color: var(--white);
  text-align: center;
  padding: 24px 16px 20px;
}

.hero-kicker {
  font-family: var(--display);
  font-size: 26px;
  line-height: 1.15;
  letter-spacing: 0.5px;
}

.hero-title {
  font-family: var(--display);
  font-size: 20px;
  line-height: 1.2;
  margin-top: 8px;
  color: var(--yellow);
}

.hero-body { padding: 0 16px; text-align: center; }

.hero-img {
  width: 100%;
  max-width: 440px;
  height: auto;
  display: block;
  margin: 16px auto 0;
  border-radius: 12px;
}

.hero-offer {
  font-size: 20px;
  font-weight: 700;
  margin-top: 16px;
}

.price { color: var(--green); white-space: nowrap; }

.benefits {
  list-style: none;
  background: var(--yellow);
  border-radius: 12px;
  margin: 16px 0;
  padding: 14px 18px;
  text-align: left;
  font-weight: 700;
  font-size: 17px;
}

.benefits li { padding: 5px 0; }

.check { color: var(--green-dark); font-weight: 900; margin-right: 8px; }

/* ---------- CTA button ---------- */

.cta-btn {
  display: block;
  width: 100%;
  min-height: 60px;
  border: 0;
  border-radius: 12px;
  background: var(--green);
  color: var(--white);
  font-family: var(--display);
  font-size: 20px;
  letter-spacing: 0.5px;
  cursor: pointer;
  padding: 14px 18px;
  box-shadow: 0 4px 0 var(--green-dark);
}

.cta-btn:active { transform: translateY(2px); box-shadow: 0 2px 0 var(--green-dark); }

.arrow { margin-left: 6px; }

.cta-sub {
  margin-top: 10px;
  font-size: 15px;
  font-weight: 600;
  color: var(--navy);
  text-align: center;
}

/* ---------- QUIZ ---------- */

#q1, #q2 { padding: 24px 16px 32px; }

.quiz-step {
  font-size: 15px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--red);
}

.progress {
  height: 10px;
  background: var(--gray);
  border-radius: 5px;
  margin-top: 8px;
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--green);
  border-radius: 5px;
  transition: width 0.5s ease;
}

.quiz-q {
  font-family: var(--display);
  font-size: 24px;
  line-height: 1.25;
  margin: 20px 0 18px;
}

.options { display: flex; flex-direction: column; gap: 12px; }

.option {
  display: block;
  width: 100%;
  min-height: 60px;
  padding: 16px 18px;
  border: 2px solid var(--navy);
  border-radius: 12px;
  background: var(--gray);
  color: var(--navy);
  font-family: var(--body);
  font-size: 18px;
  font-weight: 700;
  text-align: left;
  cursor: pointer;
}

.option.selected {
  background: var(--green);
  border-color: var(--green-dark);
  color: var(--white);
}

/* ---------- LOADER ---------- */

#loader { padding: 56px 16px; text-align: center; }

.spinner {
  width: 56px;
  height: 56px;
  border: 6px solid var(--gray);
  border-top-color: var(--red);
  border-radius: 50%;
  margin: 0 auto 24px;
  animation: spin 0.9s linear infinite;
}

@keyframes spin { to { transform: rotate(360deg); } }

.loader-title {
  font-family: var(--display);
  font-size: 20px;
  margin-bottom: 24px;
}

.loader-steps {
  list-style: none;
  text-align: left;
  max-width: 340px;
  margin: 0 auto;
  font-size: 18px;
  font-weight: 600;
}

.loader-steps li {
  padding: 8px 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.loader-steps li.done { opacity: 1; }

.ls-check { color: var(--green); font-weight: 900; margin-right: 8px; }

/* ---------- QUALIFY ---------- */

#qualify { padding: 28px 16px 32px; text-align: center; }

.qualify-badge {
  font-family: var(--display);
  font-size: 22px;
  line-height: 1.25;
  color: var(--green-dark);
  background: var(--yellow);
  border-radius: 12px;
  padding: 14px 16px;
}

.qualify-copy { font-size: 19px; margin-top: 18px; }

.qualify-urgency {
  margin-top: 16px;
  font-size: 17px;
  font-weight: 700;
  color: var(--red);
}

.call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 68px;
  margin-top: 20px;
  border-radius: 14px;
  background: var(--green);
  color: var(--white);
  font-family: var(--display);
  font-size: 20px;
  text-decoration: none;
  padding: 14px 12px;
  box-shadow: 0 4px 0 var(--green-dark);
  animation: pulse 1.6s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.03); }
}

.call-number { white-space: nowrap; }

.consent-note {
  margin-top: 14px;
  font-size: 14px;
  color: var(--navy);
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 18px;
  margin-top: 22px;
  font-size: 15px;
  font-weight: 700;
}

/* ---------- STICKY CALL BAR ---------- */

.sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--white);
  border-top: 3px solid var(--green);
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
  z-index: 100;
}

.sticky-call {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  max-width: 560px;
  margin: 0 auto;
  min-height: 56px;
  border-radius: 12px;
  background: var(--green);
  color: var(--white);
  font-family: var(--display);
  font-size: 18px;
  text-decoration: none;
  padding: 10px 12px;
}

/* body gets padding so the sticky bar never covers the footer */
body.has-sticky { padding-bottom: 96px; }

/* ---------- FOOTER ---------- */

#siteFooter {
  background: var(--gray);
  padding: 20px 16px 24px;
  text-align: center;
}

.disclaimer {
  font-size: 13px;
  line-height: 1.55;
  color: var(--navy);
  max-width: 560px;
  margin: 0 auto;
}

.footer-links {
  margin-top: 12px;
  display: flex;
  justify-content: center;
  gap: 18px;
  font-size: 14px;
}

.footer-links a { color: var(--navy); font-weight: 600; }

.noscript-note {
  text-align: center;
  font-weight: 700;
  padding: 12px 16px;
}

/* ---------- LEGAL PAGES ---------- */

.legal { max-width: 640px; margin: 0 auto; padding: 24px 16px 48px; }
.legal h1 { font-family: var(--display); font-size: 26px; margin-bottom: 16px; }
.legal h2 { font-size: 20px; margin: 22px 0 8px; }
.legal p, .legal li { margin-bottom: 10px; }
.legal ul { padding-left: 22px; }
.legal a.back { display: inline-block; margin-bottom: 18px; color: var(--red); font-weight: 700; }

/* ---------- REDUCED MOTION ---------- */

@media (prefers-reduced-motion: reduce) {
  .spinner { animation: none; border-top-color: var(--gray); }
  .call-btn { animation: none; }
  .progress-fill { transition: none; }
  .loader-steps li { transition: none; }
}

/* ---------- SMALL / LARGE SCREENS ---------- */

@media (min-width: 560px) {
  .hero-kicker { font-size: 32px; }
  .hero-title { font-size: 24px; }
}
