/* styles.css — Atlas Figma tokens + components (§6). Mobile-first, 375px baseline. */
:root {
  --ink: #001D21;   --ink-2: #0D282C;  --ink-4: #263F42;  --ink-5: #334A4D;
  --lime: #E1FFA0;
  --gray-1: #99A5A6; --gray-3: #CCD2D3; --gray-5: #F2F3F4; --gray-6: #F6F7F7;
  --muted-ink: #5F6D6E;            /* muted text on LIGHT surfaces (AA ~4.6:1); gray-1 is dark-surface only */
  --danger: #B00020;
  --offwhite: #F9F9F7; --white: #FFFFFF;
  --font: -apple-system, "SF Pro Display", system-ui, Inter, sans-serif;

  --radius-card: 20px; --radius-input: 12px;
  --shadow: 0 12px 40px rgba(0, 29, 33, 0.12);
  --shadow-soft: 0 6px 20px rgba(0, 29, 33, 0.08);
  --shadow-lg: 0 24px 70px rgba(0, 29, 33, 0.28);
  --shadow-tier: 0 10px 30px rgba(0, 29, 33, 0.10);
  --glow-lime: 0 0 0 1.5px rgba(225, 255, 160, 0.55), 0 0 44px rgba(225, 255, 160, 0.28);

  --ease: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }

body {
  font-family: var(--font);
  font-size: 18px;
  line-height: 1.2;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

/* ---- Full-screen stage ---------------------------------------------------- */
#quiz-root { position: fixed; inset: 0; display: flex; flex-direction: column; overflow: hidden; }

/* Quiz + analyzing: full-bleed dark gradient with an ambient lime glow (no assets). */
#quiz-root.theme-dark {
  background:
    radial-gradient(120% 85% at 82% -12%, rgba(225, 255, 160, 0.12), transparent 55%),
    radial-gradient(90% 70% at 0% 110%, rgba(38, 63, 66, 0.55), transparent 60%),
    linear-gradient(160deg, var(--ink) 0%, var(--ink-2) 100%);
}
/* Result: off-white so it flows straight into checkout. */
#quiz-root.theme-light { background: var(--offwhite); }

.stage {
  flex: 1; display: flex; flex-direction: column;
  padding: 20px; overflow-y: auto; -webkit-overflow-scrolling: touch;
}

/* ---- Top bar: progress + close ------------------------------------------- */
.topbar { display: flex; align-items: center; justify-content: space-between; gap: 14px; min-height: 44px; margin-bottom: 10px; }

.progress { flex: 1; }
.segs { display: flex; gap: 6px; }
.seg {
  flex: 1; height: 5px; border-radius: 999px;
  background: var(--ink-5);
  transition: background 300ms var(--ease), box-shadow 300ms var(--ease);
}
.theme-light .seg { background: var(--gray-3); }
.seg.done { background: var(--lime); }
.seg.active { background: var(--lime); box-shadow: 0 0 12px rgba(225, 255, 160, 0.5); }
.progress-label {
  margin-top: 8px; font-size: 12px; font-weight: 600; letter-spacing: 0.03em;
  text-transform: uppercase; color: var(--gray-1);
}

.close-btn {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 999px; border: none; cursor: pointer;
  background: rgba(255, 255, 255, 0.08); color: var(--white);
  font-size: 20px; line-height: 1; display: flex; align-items: center; justify-content: center;
  transition: background 150ms var(--ease);
}
.close-btn:hover { background: rgba(255, 255, 255, 0.18); }
.theme-light .close-btn { background: var(--gray-5); color: var(--ink); }
.theme-light .close-btn:hover { background: var(--gray-3); }

/* ---- Quiz framing header (persistent above the card on Q1–Q5) ------------- */
.quiz-wrap { margin: auto; width: 100%; max-width: 560px; display: flex; flex-direction: column; }
.quiz-wrap .card { margin: 0; }
.quiz-header { text-align: center; margin-bottom: 20px; padding: 0 8px; }
.quiz-title { font-size: 27px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.12; }
.quiz-title .lead { color: rgba(255, 255, 255, 0.92); font-weight: 500; }
.quiz-title .emph { color: var(--lime); }
.quiz-sub { color: var(--gray-1); font-size: 15px; line-height: 1.35; margin-top: 8px; }

/* ---- Card ----------------------------------------------------------------- */
.card {
  background: var(--white); border-radius: var(--radius-card);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.7);
  padding: 30px 24px; width: 100%; max-width: 560px; margin: auto; position: relative;
}
.card.enter-fwd  { animation: enterFwd 420ms var(--ease-out) both; }
.card.enter-back { animation: enterBack 420ms var(--ease-out) both; }
@keyframes enterFwd  { from { opacity: 0; transform: translateX(24px); } to { opacity: 1; transform: none; } }
@keyframes enterBack { from { opacity: 0; transform: translateX(-24px); } to { opacity: 1; transform: none; } }

.watermark {
  position: absolute; top: 10px; right: 18px;
  font-size: 96px; font-weight: 700; letter-spacing: -0.04em;
  color: var(--gray-5); line-height: 1; pointer-events: none; user-select: none;
}

/* Profiling pill / eyebrow badge */
.pill {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 8px 15px; border-radius: 999px;
  background: var(--ink); color: var(--lime);
  font-size: 13px; font-weight: 600; letter-spacing: -0.01em;
}
.pill::before { content: "◆"; font-size: 8px; }

.q-heading { margin: 20px 0 22px; font-size: 30px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.1; }
.q-heading .lead { color: var(--gray-1); font-weight: 500; display: block; }
.q-heading .emph { color: var(--ink); }

/* Intro */
.intro-sub { color: var(--muted-ink); font-size: 17px; line-height: 1.4; margin: 0 0 26px; }

/* ---- Options -------------------------------------------------------------- */
.options { display: flex; flex-direction: column; gap: 10px; border: 0; }
.option {
  display: flex; align-items: center; gap: 14px; min-height: 56px; padding: 0 18px;
  border: 1.5px solid var(--gray-3); border-radius: 14px; background: var(--white); cursor: pointer;
  font-size: 17px; font-weight: 500; letter-spacing: -0.01em;
  transition: border-color 150ms var(--ease), background 150ms var(--ease), transform 120ms var(--ease), box-shadow 150ms var(--ease);
  animation: optRise 420ms var(--ease-out) both; animation-delay: calc(var(--i, 0) * 55ms + 120ms);
}
@keyframes optRise { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.option:hover { border-color: var(--ink-4); transform: translateY(-1px); }
.option:active { transform: scale(0.99); }
.option input { position: absolute; opacity: 0; width: 0; height: 0; }
.option .radio {
  flex: 0 0 auto; width: 22px; height: 22px; border-radius: 999px;
  border: 2px solid var(--gray-3); position: relative; transition: all 150ms var(--ease);
}
.option .radio::after {
  content: ""; position: absolute; inset: 5px; border-radius: 999px; background: var(--lime);
  transform: scale(0); transition: transform 180ms var(--ease-out);
}
.option.selected {
  border-color: var(--ink); background: var(--lime);
  box-shadow: 0 0 0 3px rgba(225, 255, 160, 0.35);
}
.option.selected .radio { border-color: var(--ink); background: var(--ink); }
.option.selected .radio::after { transform: scale(1); }
.option:focus-within { outline: 3px solid rgba(225, 255, 160, 0.7); outline-offset: 2px; }

/* ---- Buttons -------------------------------------------------------------- */
.nav { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 24px; }
.btn {
  border: none; cursor: pointer; border-radius: 999px; font-family: var(--font);
  font-size: 17px; font-weight: 600; letter-spacing: -0.01em; padding: 15px 28px; min-height: 52px;
  transition: transform 100ms var(--ease), opacity 150ms var(--ease), background 150ms var(--ease), box-shadow 150ms var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--ink); color: var(--white); flex: 1; }
.btn-primary:hover { box-shadow: 0 8px 24px rgba(0, 29, 33, 0.25); }
.btn-primary:disabled { opacity: 0.35; cursor: not-allowed; box-shadow: none; }
.btn-accent { background: var(--lime); color: var(--ink); }
.btn-accent:hover { box-shadow: 0 8px 24px rgba(225, 255, 160, 0.45); }
.btn-ghost { background: transparent; color: var(--gray-1); padding: 15px 20px; border: 1.5px solid transparent; }
.btn-ghost:hover { color: var(--ink); }
.theme-dark .btn-ghost:hover { color: var(--white); }
.btn-ghost[hidden] { visibility: hidden; }
.btn:focus-visible, .close-btn:focus-visible { outline: 3px solid rgba(225, 255, 160, 0.7); outline-offset: 2px; }

/* Redirecting spinner (in-place on the CTA) */
.btn.is-loading { display: inline-flex; align-items: center; justify-content: center; gap: 10px; opacity: 0.9; }
.spinner {
  width: 18px; height: 18px; border-radius: 999px; flex: 0 0 auto;
  border: 2.5px solid rgba(255, 255, 255, 0.3); border-top-color: var(--white);
  animation: spin 700ms linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ---- Analyzing screen ----------------------------------------------------- */
.analyzing { margin: auto; text-align: center; color: var(--white); max-width: 420px; padding: 20px; }
.analyzing.enter-fwd { animation: enterFwd 420ms var(--ease-out) both; }

.ring {
  position: relative; width: 132px; height: 132px; margin: 0 auto 30px;
  display: flex; align-items: center; justify-content: center;
}
.ring::before {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: conic-gradient(var(--lime) calc(var(--p, 0) * 1%), rgba(225, 255, 160, 0.12) 0);
  -webkit-mask: radial-gradient(farthest-side, transparent calc(100% - 12px), #000 calc(100% - 11px));
          mask: radial-gradient(farthest-side, transparent calc(100% - 12px), #000 calc(100% - 11px));
  transition: background 120ms linear;
}
.ring::after {
  content: ""; position: absolute; inset: -6px; border-radius: 50%;
  box-shadow: 0 0 42px rgba(225, 255, 160, 0.28); animation: breathe 2.1s var(--ease) infinite;
}
@keyframes breathe { 0%, 100% { opacity: 0.55; transform: scale(0.98); } 50% { opacity: 1; transform: scale(1.02); } }
.ring-pct { position: relative; font-size: 32px; font-weight: 600; letter-spacing: -0.02em; color: var(--white); }
.ring-pct span { font-size: 15px; color: var(--gray-1); margin-left: 2px; font-weight: 500; }

.analyzing h1 { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 10px; }
/* Programmatically-focused headings (tabindex=-1) are focused for screen readers, not visibly. */
[tabindex="-1"]:focus { outline: none; }
.analyzing .sub { color: var(--gray-1); font-size: 16px; min-height: 22px; }

/* ---- Email field (gate + inline) ----------------------------------------- */
.field { display: flex; align-items: center; border: 1.5px solid var(--gray-3); border-radius: 999px; padding: 4px 6px 4px 20px; }
.field:focus-within { border-color: var(--ink); }
.field.err-input { border-color: #b00020; }
.field input { flex: 1; min-width: 0; border: none; outline: none; font-family: var(--font); font-size: 17px; color: var(--ink); background: transparent; padding: 14px 0; }
.field.err-input { border-color: var(--danger); }
.err { color: var(--danger); font-size: 14px; min-height: 18px; margin-top: 6px; }

/* Gate (legacy A/B) */
.gate { text-align: center; }
.gate h1 { font-size: 26px; font-weight: 600; letter-spacing: -0.02em; margin-bottom: 8px; }
.gate p { color: var(--muted-ink); font-size: 16px; margin-bottom: 22px; }
.gate .err { text-align: left; }

/* ---- Result screen -------------------------------------------------------- */
.result { max-width: 640px; margin: 0 auto; width: 100%; padding-bottom: calc(120px + env(safe-area-inset-bottom)); }
.result.enter-fwd { animation: enterFwd 460ms var(--ease-out) both; }

.result-hero {
  position: relative; overflow: hidden;
  background: linear-gradient(155deg, var(--ink) 0%, var(--ink-4) 100%);
  color: var(--white); border-radius: var(--radius-card); padding: 32px 28px;
  box-shadow: var(--shadow-lg); margin-bottom: 14px;
}
.result-hero::before {
  content: ""; position: absolute; top: -60%; right: -20%; width: 80%; height: 160%;
  background: radial-gradient(closest-side, rgba(225, 255, 160, 0.22), transparent 70%);
  pointer-events: none;
}
.result-hero .marker {
  position: relative; width: 56px; height: 56px; border-radius: 999px;
  border: 3px solid rgba(225, 255, 160, 0.3); display: flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.result-hero .marker .core {
  width: 34px; height: 34px; border-radius: 999px; background: var(--lime); color: var(--ink);
  display: flex; align-items: center; justify-content: center; font-size: 18px; font-weight: 700;
}
.result-hero h1 { position: relative; font-size: 34px; font-weight: 600; letter-spacing: -0.03em; line-height: 1.08; margin-bottom: 14px; }
.result-hero h1 .lead { color: var(--gray-3); font-weight: 500; }
.result-hero h1 .emph { color: var(--white); }
.route-chip {
  position: relative; display: inline-flex; align-items: center;
  padding: 7px 15px; border-radius: 999px; margin-bottom: 14px;
  border: 1.5px solid rgba(225, 255, 160, 0.5); color: var(--lime);
  font-size: 14px; font-weight: 600; letter-spacing: -0.01em;
}
.result-hero .rline { position: relative; color: var(--gray-3); font-size: 17px; line-height: 1.4; }

/* Payout wedge — prominent feature card */
.payout-card {
  display: flex; align-items: center; gap: 16px;
  background: linear-gradient(150deg, var(--ink-2), var(--ink)); border-radius: 18px; padding: 20px 22px;
  margin-bottom: 14px; box-shadow: var(--glow-lime);
}
.payout-mark {
  flex: 0 0 auto; width: 44px; height: 44px; border-radius: 999px; background: rgba(225, 255, 160, 0.14);
  display: flex; align-items: center; justify-content: center; font-size: 22px;
}
.payout-text { color: var(--lime); font-size: 18px; font-weight: 600; letter-spacing: -0.01em; line-height: 1.25; }

/* Tier table */
.tiers { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 22px 0 16px; }
.tier {
  position: relative; background: var(--white); border: 1.5px solid var(--gray-3); border-radius: 16px;
  padding: 22px 20px; box-shadow: var(--shadow-tier);
}
.tier:not(.recommended) { background: var(--gray-6); }
.tier.recommended {
  border-color: var(--ink); box-shadow: var(--glow-lime), var(--shadow-lg);
  order: -1; padding-top: 30px;
}
.tier-flag {
  position: absolute; top: -12px; left: 20px;
  font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em;
  background: var(--lime); color: var(--ink); padding: 5px 12px; border-radius: 999px;
  box-shadow: var(--shadow-soft);
}
.tier-head { margin-bottom: 12px; }
.tier-name { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; }
/* Stack label over value so long descriptions use the full column width (no char-wrapping). */
.tier-row { display: flex; flex-direction: column; gap: 3px; padding: 11px 0; border-top: 1px solid var(--gray-3); }
.tier-row .k { color: var(--muted-ink); font-size: 12px; font-weight: 600; text-transform: uppercase; letter-spacing: 0.03em; }
.tier-row .v { color: var(--ink); font-size: 15px; font-weight: 500; line-height: 1.3; }

.simulated { color: var(--muted-ink); font-size: 13px; line-height: 1.4; margin-top: 4px; text-align: center; }

/* Inline (non-blocking) email capture */
.inline-email {
  margin-top: 18px; background: var(--white); border: 1px solid var(--gray-3);
  border-radius: 16px; padding: 18px 18px; box-shadow: var(--shadow-soft);
}
.inline-email-label { display: block; font-size: 15px; font-weight: 600; color: var(--ink); margin-bottom: 10px; }
.inline-email .field { padding-right: 4px; }
.inline-email-btn { min-height: 44px; padding: 11px 18px; font-size: 15px; white-space: nowrap; }
.inline-email.done {
  text-align: center; color: var(--ink); font-weight: 600; font-size: 15px;
  background: var(--lime); border-color: var(--lime);
}

/* Sticky mobile CTA */
.sticky-cta {
  position: fixed; left: 0; right: 0; bottom: 0;
  padding: 14px 20px calc(14px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, var(--offwhite) 62%, rgba(249, 249, 247, 0.85) 82%, rgba(249, 249, 247, 0));
  z-index: 20;
}
.sticky-cta .btn-primary { width: 100%; }
.cta-subtext { text-align: center; color: var(--muted-ink); font-size: 13px; margin-top: 8px; }

/* ---- Conversion blocks (result) ------------------------------------------ */
/* Proof strip (inside dark hero) */
.proof-strip { position: relative; display: flex; flex-wrap: wrap; gap: 16px; margin-top: 16px; }
.proof-item { display: inline-flex; align-items: center; gap: 6px; color: var(--gray-3); font-size: 14px; font-weight: 500; }
.proof-star { color: var(--lime); }

/* Trust chips */
.trust-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.trust-chip { display: inline-flex; align-items: center; gap: 7px; padding: 8px 13px; border-radius: 999px; background: var(--white); border: 1px solid var(--gray-3); color: var(--ink); font-size: 13px; font-weight: 500; box-shadow: var(--shadow-soft); }
.tc-icon { color: var(--ink); font-size: 13px; }

/* Section heading */
.block-title { font-size: 20px; font-weight: 600; letter-spacing: -0.02em; color: var(--ink); margin-bottom: 14px; }

/* Entry hook (e.g. "$5, pay after you pass") + promo note */
.entry-hook { display: block; background: var(--lime); color: var(--ink); font-weight: 600; font-size: 16px; letter-spacing: -0.01em; padding: 12px 16px; border-radius: 12px; margin-bottom: 18px; }
.promo-note { display: inline-flex; align-items: center; gap: 7px; margin-bottom: 14px; padding: 7px 13px; border-radius: 999px; background: rgba(225, 255, 160, 0.12); border: 1px solid rgba(225, 255, 160, 0.5); color: var(--lime); font-size: 13px; font-weight: 600; }
.pn-tag { font-size: 13px; }

/* Recommendation card + "what you get" */
.reco-card { background: var(--white); border: 1.5px solid var(--gray-3); border-radius: 18px; padding: 24px 22px; box-shadow: var(--shadow-tier); margin-bottom: 16px; }
.feature-list { list-style: none; display: flex; flex-direction: column; gap: 11px; margin-bottom: 20px; }
.feature-list li { position: relative; padding-left: 30px; font-size: 16px; color: var(--ink); line-height: 1.3; }
.feature-list li::before { content: "✓"; position: absolute; left: 0; top: -1px; width: 20px; height: 20px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 12px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.reco-cta { margin-top: 4px; }
.reco-cta .btn-primary { width: 100%; }

/* How it works
   NOTE: the quiz mounts inside a Webflow page whose site-wide CSS defines a
   generic `.step` class 400+ times (with its own lime background + padding).
   Those host rules bleed into the quiz and distort these steps, so every rule
   here is scoped under #quiz-root — an id selector outranks any host class rule,
   isolating the widget. See the "Embedded-widget isolation" note below. */
#quiz-root .hiw { margin-bottom: 24px; }
#quiz-root .hiw .block-title { margin-bottom: 20px; }
#quiz-root .steps { display: flex; flex-direction: column; gap: 22px; background: none; border: 0; margin: 0; padding: 0; list-style: none; }
#quiz-root .step { display: flex; gap: 14px; align-items: flex-start; background: none; border: 0; margin: 0; padding: 0; box-shadow: none; }
#quiz-root .step-n { flex: 0 0 auto; width: 32px; height: 32px; border-radius: 999px; background: var(--ink); color: var(--lime); font-weight: 700; font-size: 15px; line-height: 1; display: flex; align-items: center; justify-content: center; margin: 0; }
#quiz-root .step-body { min-width: 0; padding: 0; margin: 0; background: none; }
#quiz-root .step-title { font-size: 16px; font-weight: 600; color: var(--ink); letter-spacing: -0.01em; line-height: 1.25; margin: 0; }
#quiz-root .step-desc { font-size: 15px; color: var(--muted-ink); line-height: 1.35; margin-top: 3px; }

/* Order-bump teaser */
.order-bump { display: flex; align-items: center; gap: 14px; background: var(--gray-6); border: 1.5px dashed var(--gray-3); border-radius: 16px; padding: 16px 18px; margin-bottom: 16px; }
.ob-badge { flex: 0 0 auto; width: 34px; height: 34px; border-radius: 999px; background: var(--lime); color: var(--ink); font-size: 20px; font-weight: 700; display: flex; align-items: center; justify-content: center; }
.ob-title { font-size: 15px; font-weight: 600; color: var(--ink); }
.ob-desc { font-size: 14px; color: var(--muted-ink); line-height: 1.3; margin-top: 2px; }

/* Urgency countdown */
.urgency { display: flex; align-items: center; justify-content: center; flex-wrap: wrap; gap: 8px 14px; background: var(--ink); color: var(--lime); border-radius: 14px; padding: 14px 18px; margin-bottom: 16px; }
.urgency-label { font-size: 14px; font-weight: 500; color: var(--gray-3); }
.countdown { font-size: 20px; font-weight: 700; letter-spacing: 0.02em; font-variant-numeric: tabular-nums; }
.urgency-code { font-size: 13px; color: var(--gray-3); }

/* FAQ accordion */
.faq { margin-bottom: 16px; }
.faq-item { background: var(--white); border: 1px solid var(--gray-3); border-radius: 12px; margin-bottom: 8px; overflow: hidden; }
.faq-item summary { list-style: none; cursor: pointer; padding: 16px 18px; font-size: 16px; font-weight: 600; color: var(--ink); display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: "+"; color: var(--muted-ink); font-size: 22px; font-weight: 400; line-height: 1; transition: transform 200ms var(--ease); }
.faq-item[open] summary::after { transform: rotate(45deg); }
.faq-item summary:focus-visible { outline: 3px solid rgba(225, 255, 160, 0.7); outline-offset: -3px; }
.faq-a { padding: 0 18px 16px; font-size: 15px; color: var(--muted-ink); line-height: 1.4; }

/* ---- Embedded-widget isolation ------------------------------------------- */
/* The quiz mounts inside a Webflow page whose site-wide CSS also defines these
   generic class names (host usage counted below). The quiz declares each class
   thoroughly, so — unlike .step — only the properties it leaves unset bleed in
   (host borders, uppercase button labels, and the navbar's own background /
   padding / positioning on .nav). Neutralise just those leaks at #quiz-root
   specificity: an id selector outranks any host class rule, and none of these
   classes carry responsive overrides, so a flat block can't fight the media
   queries below. .step is isolated in full up in the "How it works" block. */
#quiz-root .card   { border: 0; overflow: visible; text-align: left; }  /* host .card ×99 */
#quiz-root .btn    { text-transform: none; }                            /* host .btn ×9  */
#quiz-root .option { text-transform: none; text-align: left; }          /* host .option ×6 */
#quiz-root .field  { text-align: left; }                                /* host .field ×1 */
#quiz-root .nav    { background: none; border: 0; padding: 0; position: static; box-shadow: none; }  /* host .nav ×19 (navbar) */

/* ---- Responsive ----------------------------------------------------------- */
@media (min-width: 640px) {
  .stage { padding: 32px; }
  .quiz-title { font-size: 34px; }
  .q-heading { font-size: 34px; }
  .result-hero h1 { font-size: 42px; }
  .sticky-cta { position: static; padding: 0; background: none; max-width: 640px; margin: 0 auto 24px; }
  .result { padding-bottom: 0; }
}
/* 3-up tier comparison only where there's real width — avoids cramping + badge overlap. */
@media (min-width: 820px) {
  .tiers { grid-template-columns: repeat(3, 1fr); align-items: start; gap: 16px; }
  .tier.recommended { order: 0; transform: scale(1.04); transform-origin: bottom center; z-index: 1; }
}

/* ---- Reduced motion ------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: 60ms !important; }
  .tier.recommended { transform: none; }
  .option { opacity: 1; transform: none; }
}