/* ============================================================
   KC WELLNESS — FIND MY TREATMENT
   Premium medical-spa landing page
   Cream · Gold · Charcoal · Muted Pink
   ============================================================ */

:root {
  --gold:        #C9A84C;
  --gold-light:  #E8D48B;
  --gold-dark:   #8B6914;
  --cream:       #FAF6EF;
  --cream-dark:  #EDE4D5;
  --white:       #FFFFFF;
  --charcoal:    #2C2416;
  --ink:         #1A1208;
  --pink:        #C0296D;
  --pink-muted:  #F3C4D8;
  --text-body:   #3D2E1A;
  --text-mid:    #5C4A35;    /* improved from #8A7560 for WCAG AA */
  --text-muted:  #7A6550;    /* improved contrast on cream */
  --border:      rgba(201,168,76,0.28);

  --font-display: 'Cinzel', serif;
  --font-body:    'Cormorant Garamond', serif;
  --font-ui:      'Raleway', sans-serif;

  --ease:        0.22s ease;
  --card-shadow: 0 8px 48px rgba(58,42,20,0.09);
  --card-border: 1px solid var(--border);
  --card-radius: 4px;
}

/* ── Reset ─────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body {
  background: var(--cream);
  color: var(--text-body);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.7;
  overflow-x: hidden;
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }
strong { font-weight: 600; }

/* ── Accessibility utilities ─────────────────────────────── */
.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;
}

.skip-link {
  position: absolute; top: -100%; left: 16px; z-index: 9999;
  background: var(--charcoal); color: var(--gold-light);
  font-family: var(--font-ui); font-size: 13px; letter-spacing: 1px;
  padding: 12px 20px; border-radius: 0 0 4px 4px;
  transition: top 0.2s;
}
.skip-link:focus { top: 0; outline: 2px solid var(--gold); outline-offset: 2px; }

/* Global focus styles — visible for keyboard users */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: 2px;
}

/* ── Screen management ────────────────────────────────────── */
.screen { display: none; }

#screen-hero.active  {
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh; padding: 80px 24px;
  position: relative; overflow: hidden;
}
#screen-quiz.active    { display: block; min-height: 100vh; padding-bottom: 80px; }
#screen-preview.active { display: block; min-height: 100vh; padding: 60px 24px 80px; }
#screen-gate.active    {
  display: flex; align-items: center; justify-content: center;
  min-height: 100vh; padding: 80px 24px;
}
#screen-results.active { display: block; padding: 60px 24px 80px; }

/* ── Shared: Diamond divider ────────────────────────────── */
.divider { display: flex; align-items: center; justify-content: center; margin: 16px auto; }
.diamond { display: inline-block; width: 6px; height: 6px; background: var(--gold); transform: rotate(45deg); flex-shrink: 0; }
.dline   { display: inline-block; width: 48px; height: 1px; background: linear-gradient(90deg, transparent, var(--gold), transparent); }

/* ── Shared: Buttons ─────────────────────────────────────── */
.btn-primary {
  display: inline-block;
  background: linear-gradient(135deg, var(--gold-dark) 0%, var(--gold) 55%, var(--gold-light) 100%);
  border: none; border-radius: 2px;
  padding: 17px 44px; min-height: 54px;
  font-family: var(--font-display); font-weight: 600; font-size: 11px;
  letter-spacing: 3.5px; color: var(--charcoal); text-transform: uppercase;
  cursor: pointer;
  transition: box-shadow var(--ease), filter var(--ease), transform 0.1s;
  box-shadow: 0 4px 28px rgba(201,168,76,0.3);
  text-decoration: none; text-align: center;
}
.btn-primary:hover  { filter: brightness(1.06); box-shadow: 0 6px 36px rgba(201,168,76,0.42); }
.btn-primary:active { transform: translateY(1px); }
.btn-primary:disabled, .btn-primary[aria-disabled="true"] {
  opacity: 0.38; cursor: not-allowed; box-shadow: none; filter: none; transform: none;
}
.btn-block { display: block; width: 100%; padding: 19px; }

/* ── Shared: Badges ─────────────────────────────────────── */
.badge {
  display: inline-block; font-family: var(--font-ui); font-weight: 300;
  font-size: 10px; letter-spacing: 3px; padding: 4px 14px;
  border-radius: 2px; text-transform: uppercase; margin-bottom: 16px;
}
.badge.pink {
  background: var(--pink-muted); border: 1px solid rgba(192,41,109,0.22); color: var(--pink);
}

/* ── Shared: Form fields ─────────────────────────────────── */
.field { margin-bottom: 18px; position: relative; }

.field label {
  display: block; font-family: var(--font-ui); font-weight: 300;
  font-size: 10px; letter-spacing: 3px; color: var(--text-mid);
  text-transform: uppercase; margin-bottom: 8px;
}
.req { color: var(--pink); font-size: 12px; margin-left: 2px; }

.field input[type="text"],
.field input[type="email"],
.field input[type="tel"] {
  width: 100%; background: var(--cream);
  border: 1px solid #D8CDB8; border-radius: 2px;
  padding: 14px 16px; min-height: 52px;
  font-family: var(--font-ui); font-weight: 300; font-size: 15px;
  color: var(--charcoal); outline: none;
  transition: border-color var(--ease), box-shadow var(--ease);
}
.field input::placeholder { color: rgba(92,74,53,0.4); }
.field input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.16);
}
.field input.error { border-color: rgba(192,41,109,0.55); }

.field-error {
  display: block; font-family: var(--font-ui); font-size: 11px;
  letter-spacing: 0.5px; color: var(--pink);
  margin-top: 5px; opacity: 0; transform: translateY(-4px);
  transition: opacity 0.2s, transform 0.2s; pointer-events: none;
}
.field-error.visible { opacity: 1; transform: translateY(0); }

.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

.phone-row { display: flex; gap: 0; }
.country-code-select {
  background: var(--cream); border: 1px solid #D8CDB8; border-right: none;
  border-radius: 2px 0 0 2px; padding: 14px 10px;
  font-family: var(--font-ui); font-weight: 300; font-size: 14px;
  color: var(--charcoal); outline: none; cursor: pointer; flex-shrink: 0;
  transition: border-color var(--ease), box-shadow var(--ease);
  appearance: none; -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%237A6550' stroke-width='1.2' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 8px center; padding-right: 26px;
}
.country-code-select:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(201,168,76,0.16); z-index: 1; }
.phone-row input[type="tel"] { border-radius: 0 2px 2px 0; flex: 1; min-width: 0; }

/* ── Hero: Load animations ───────────────────────────────── */
.fade-up { opacity: 0; transform: translateY(20px); animation: fadeUp 0.75s ease forwards; }
@keyframes fadeUp { to { opacity: 1; transform: translateY(0); } }
.d1 { animation-delay: 0.15s; }
.d2 { animation-delay: 0.35s; }
.d3 { animation-delay: 0.55s; }
.d4 { animation-delay: 0.75s; }
.d5 { animation-delay: 0.95s; }
.d6 { animation-delay: 1.12s; }
.d7 { animation-delay: 1.28s; }

/* ── HERO ────────────────────────────────────────────────── */
.hero-glow {
  position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(ellipse 70% 50% at 50% 0%, rgba(201,168,76,0.12) 0%, transparent 68%);
}
.hero-texture {
  position: absolute; inset: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.75' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='0.035'/%3E%3C/svg%3E");
  background-size: 200px 200px;
}
.hero-inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  text-align: center; max-width: 680px; width: 100%;
}
.logo { width: 230px; max-width: 72vw; margin-bottom: 8px; }

.hero-eyebrow {
  font-family: var(--font-ui); font-weight: 200;
  font-size: 10px; letter-spacing: 5px;
  color: var(--gold); text-transform: uppercase; margin-top: 10px;
}

.hero-title {
  font-family: var(--font-body); font-weight: 300;
  font-size: clamp(30px, 5.5vw, 56px); line-height: 1.2;
  letter-spacing: 0.01em; color: var(--charcoal);
  margin-top: 14px; max-width: 600px;
}

.hero-sub {
  font-family: var(--font-body); font-style: italic;
  font-size: clamp(15px, 2vw, 18px); color: var(--text-mid);
  max-width: 520px; line-height: 1.75; margin-top: 18px;
}
.hero-sub strong { font-style: normal; color: var(--charcoal); }

.hero-cta { margin-top: 32px; }

.hero-micro {
  font-family: var(--font-ui); font-weight: 200; font-size: 11px;
  letter-spacing: 1px; color: var(--text-muted); margin-top: 14px; opacity: 0.85;
}

/* Trust strip */
.trust-strip {
  display: flex; align-items: center; justify-content: center;
  gap: 0; margin-top: 40px; width: 100%;
  background: rgba(255,255,255,0.7); border: 1px solid rgba(201,168,76,0.2);
  border-radius: 3px; padding: 16px 24px;
}
.trust-sep { width: 1px; height: 36px; background: rgba(201,168,76,0.25); margin: 0 20px; flex-shrink: 0; }
.trust-item { display: flex; align-items: center; gap: 10px; }
.trust-icon { font-size: 16px; color: var(--gold); line-height: 1; flex-shrink: 0; }
.trust-content { display: flex; flex-direction: column; text-align: left; }
.trust-value { font-family: var(--font-display); font-weight: 600; font-size: 12px; letter-spacing: 1px; color: var(--charcoal); }
.trust-label { font-family: var(--font-ui); font-weight: 200; font-size: 10px; letter-spacing: 2px; color: var(--text-muted); text-transform: uppercase; margin-top: 2px; }

/* ── QUIZ ────────────────────────────────────────────────── */
.quiz-top {
  position: sticky; top: 0; z-index: 10;
  background: var(--cream); padding: 18px 24px 12px;
  border-bottom: 1px solid rgba(201,168,76,0.12);
}
.progress-steps-row {
  display: flex; align-items: center; justify-content: center;
  gap: 8px; margin-bottom: 10px;
}
.progress-step-dot {
  width: 28px; height: 28px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-ui); font-weight: 300; font-size: 11px;
  letter-spacing: 0; transition: all 0.3s ease;
  border: 1.5px solid;
}
.progress-step-dot.done {
  background: var(--gold); border-color: var(--gold); color: var(--charcoal);
}
.progress-step-dot.done::after { content: '✓'; }
.progress-step-dot.current {
  background: transparent; border-color: var(--gold); color: var(--gold-dark);
  box-shadow: 0 0 0 3px rgba(201,168,76,0.15);
}
.progress-step-dot.future {
  background: transparent; border-color: var(--cream-dark); color: var(--cream-dark);
}
.progress-step-connector {
  height: 1px; width: 24px; flex-shrink: 0;
  background: linear-gradient(90deg, var(--gold), var(--cream-dark));
  transition: background 0.3s;
}
.progress-step-connector.done { background: var(--gold); }

.progress-track {
  max-width: 700px; margin: 0 auto; height: 2px;
  background: var(--cream-dark); border-radius: 2px; overflow: hidden;
}
.progress-fill {
  height: 100%; background: linear-gradient(90deg, var(--gold-dark), var(--gold-light));
  width: 0%; transition: width 0.5s ease; border-radius: 2px;
}
.progress-label {
  font-family: var(--font-ui); font-weight: 300; font-size: 11px;
  letter-spacing: 2px; color: var(--text-muted); text-align: center; margin-top: 8px;
}

.quiz-card {
  max-width: 700px; margin: 28px auto 0;
  background: var(--white); border: var(--card-border);
  border-radius: var(--card-radius); box-shadow: var(--card-shadow);
  padding: 40px 48px 48px;
}

.back-link {
  background: none; border: none;
  font-family: var(--font-ui); font-weight: 300; font-size: 12px;
  letter-spacing: 1px; color: var(--text-muted); cursor: pointer;
  padding: 8px 0; margin-bottom: 20px; display: inline-block;
  transition: color var(--ease); min-height: 44px; line-height: 28px;
}
.back-link:hover { color: var(--gold-dark); }

.q-text {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(15px, 2.2vw, 20px); color: var(--charcoal);
  letter-spacing: 0.5px; line-height: 1.45; margin-bottom: 24px;
}

.answers { display: flex; flex-direction: column; gap: 10px; }

/* Answer option — min 52px tap target */
.answer-opt {
  position: relative; display: flex; align-items: center;
  gap: 14px; padding: 14px 52px 14px 16px; min-height: 56px;
  background: var(--white); border: 1px solid #E2D8C8;
  border-radius: var(--card-radius); cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
  user-select: none;
}

/* Left accent bar */
.answer-opt::before {
  content: ''; position: absolute; left: 0; top: 0; bottom: 0;
  width: 3px; border-radius: 4px 0 0 4px;
  background: #E2D8C8; transition: background 0.18s ease;
}
/* Right radio indicator */
.answer-opt::after {
  content: ''; position: absolute; right: 16px; top: 50%; transform: translateY(-50%);
  width: 20px; height: 20px; border: 1.5px solid #CEC4B0;
  border-radius: 50%; flex-shrink: 0; transition: all 0.18s ease;
}

.answer-opt:hover                 { border-color: rgba(201,168,76,0.55); background: rgba(201,168,76,0.04); box-shadow: 0 2px 12px rgba(201,168,76,0.1); }
.answer-opt:hover::before         { background: var(--gold); }
.answer-opt:hover::after          { border-color: var(--gold); }

.answer-opt.selected              { border-color: var(--gold); background: rgba(201,168,76,0.07); }
.answer-opt.selected::before      { background: var(--gold); }
.answer-opt.selected::after {
  background: var(--gold); border-color: var(--gold);
  content: '✓'; font-family: sans-serif; font-size: 12px; color: var(--charcoal);
  display: flex; align-items: center; justify-content: center;
}

/* Answer icon (used for Q1) */
.answer-icon {
  width: 36px; height: 36px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: rgba(201,168,76,0.08); border-radius: 50%;
  color: var(--gold-dark); transition: background 0.18s, color 0.18s;
}
.answer-opt.selected .answer-icon { background: rgba(201,168,76,0.18); color: var(--gold); }
.answer-opt:hover .answer-icon    { background: rgba(201,168,76,0.12); color: var(--gold); }

.answer-text {
  font-family: var(--font-body); font-size: 17px;
  color: var(--text-body); line-height: 1.4;
}

.quiz-nav { margin-top: 28px; display: flex; justify-content: flex-end; }
.quiz-nav .btn-primary { min-width: 160px; }

@keyframes qSlideIn     { from { opacity:0; transform: translateX(28px); } to { opacity:1; transform:translateX(0); } }
@keyframes qSlideInBack { from { opacity:0; transform: translateX(-28px);} to { opacity:1; transform:translateX(0); } }

/* ── PREVIEW ─────────────────────────────────────────────── */
.preview-outer { max-width: 700px; margin: 0 auto; }

.preview-rec-card {
  background: var(--white); border: var(--card-border);
  border-radius: var(--card-radius); box-shadow: var(--card-shadow);
  overflow: hidden; margin-bottom: 16px;
  animation: screenIn 0.55s ease;
}
.preview-top-bar {
  height: 3px;
  background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light));
}
.preview-rec-body { padding: 40px 48px; }

.preview-intro {
  font-family: var(--font-body); font-style: italic;
  font-size: 17px; color: var(--text-muted); margin-bottom: 6px;
}
.preview-treatment-name {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(22px, 4vw, 34px); color: var(--gold-dark);
  letter-spacing: 2px; line-height: 1.2; margin-bottom: 4px;
}
.preview-subtitle {
  font-family: var(--font-ui); font-weight: 200; font-size: 10px;
  letter-spacing: 4px; color: var(--text-muted); text-transform: uppercase;
  margin-bottom: 24px;
}

.preview-divider {
  height: 1px; background: linear-gradient(90deg, transparent, rgba(201,168,76,0.3), transparent);
  margin: 4px 0 24px;
}

.preview-reasons { list-style: none; display: flex; flex-direction: column; gap: 14px; }
.preview-reasons li {
  display: flex; align-items: flex-start; gap: 12px;
  font-family: var(--font-body); font-size: 16px;
  color: var(--text-body); line-height: 1.65;
}
.reason-icon {
  color: var(--gold); font-size: 8px; flex-shrink: 0; margin-top: 6px;
}

.preview-disclaimer {
  background: rgba(201,168,76,0.06);
  border-left: 3px solid var(--gold);
  padding: 14px 18px; margin-top: 24px;
  font-family: var(--font-ui); font-weight: 300;
  font-size: 12px; color: var(--text-mid); line-height: 1.7;
  border-radius: 0 2px 2px 0;
}
.preview-disclaimer strong { color: var(--charcoal); }

/* Unlock section */
.preview-unlock {
  border-top: 1px solid rgba(201,168,76,0.14);
  padding: 32px 48px 40px; background: rgba(250,246,239,0.5);
}
.preview-unlock-teaser {
  font-family: var(--font-ui); font-weight: 300; font-size: 11px;
  letter-spacing: 2px; color: var(--gold); text-transform: uppercase; margin-bottom: 16px;
}
.preview-unlock-items {
  list-style: none; display: flex; flex-direction: column; gap: 8px; margin-bottom: 24px;
}
.preview-unlock-items li {
  font-family: var(--font-ui); font-weight: 300; font-size: 13px;
  color: var(--text-mid); letter-spacing: 0.3px; display: flex; align-items: center; gap: 8px;
}
.preview-unlock-items li::before { content: '→'; color: var(--gold); }

.preview-retake {
  display: inline-block; font-family: var(--font-ui); font-weight: 300;
  font-size: 12px; letter-spacing: 1px; color: var(--text-muted);
  cursor: pointer; background: none; border: none;
  padding: 8px 0; margin-top: 16px; transition: color var(--ease); min-height: 44px;
}
.preview-retake:hover { color: var(--gold-dark); }

/* ── GATE ────────────────────────────────────────────────── */
.gate-card {
  max-width: 580px; width: 100%;
  background: var(--white); border: var(--card-border);
  border-radius: var(--card-radius); box-shadow: var(--card-shadow);
  padding: 52px 48px 44px; text-align: center;
  animation: screenIn 0.5s ease;
}
@keyframes screenIn { from { opacity:0; transform: translateY(16px); } to { opacity:1; transform:translateY(0); } }

.gate-heading {
  font-family: var(--font-display); font-weight: 600;
  font-size: clamp(16px, 2.6vw, 24px); letter-spacing: 2.5px;
  color: var(--charcoal); line-height: 1.4; margin-bottom: 12px;
}
.gate-sub {
  font-family: var(--font-body); font-style: italic; font-size: 16px;
  color: var(--text-mid); line-height: 1.65; margin-bottom: 28px;
}

#quiz-lead-form .field { text-align: left; }

.privacy-note {
  font-family: var(--font-ui); font-weight: 300; font-size: 11px;
  letter-spacing: 0.5px; color: var(--text-muted); line-height: 1.65;
  margin-bottom: 16px; text-align: left;
}
.offer-inline-note {
  font-family: var(--font-ui); font-weight: 200; font-size: 10px;
  letter-spacing: 1.5px; color: var(--text-muted); text-align: center;
  margin-top: 12px; line-height: 1.7;
}
.gate-error {
  font-family: var(--font-ui); font-size: 13px; color: var(--pink);
  margin-top: 12px; text-align: center;
}
.gate-back {
  display: block; margin: 20px auto 0; font-size: 12px;
  letter-spacing: 1px; color: var(--text-muted);
}

/* ── RESULTS ─────────────────────────────────────────────── */
.results-wrap { max-width: 720px; margin: 0 auto; }

.result-card {
  background: var(--white); border: var(--card-border);
  border-radius: var(--card-radius); box-shadow: var(--card-shadow);
  overflow: hidden; margin-bottom: 20px;
  animation: resultIn 0.6s ease;
}
@keyframes resultIn { from { opacity:0; transform: translateY(22px) scale(0.988); } to { opacity:1; transform:translateY(0) scale(1); } }

.result-top-bar { height: 3px; background: linear-gradient(90deg, var(--gold-dark), var(--gold), var(--gold-light)); }
.result-body { padding: 48px; }

.result-match-badge {
  display: inline-block; font-family: var(--font-ui); font-weight: 300;
  font-size: 10px; letter-spacing: 3px; padding: 4px 12px;
  background: var(--pink-muted); border: 1px solid rgba(192,41,109,0.22);
  color: var(--pink); text-transform: uppercase; border-radius: 2px; margin-bottom: 14px;
}
.result-name {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(22px, 4vw, 34px); color: var(--gold-dark);
  letter-spacing: 2.5px; line-height: 1.2;
}
.result-subtitle {
  font-family: var(--font-ui); font-weight: 200; font-size: 10px;
  letter-spacing: 4px; color: var(--text-muted); text-transform: uppercase;
  margin-top: 5px; margin-bottom: 14px;
}
.result-tagline {
  font-family: var(--font-body); font-style: italic; font-size: 19px;
  color: var(--charcoal); line-height: 1.5; margin-bottom: 20px;
}
.result-divider {
  height: 1px; background: linear-gradient(90deg, transparent, rgba(201,168,76,0.35), transparent);
  margin: 18px 0;
}
.result-desc {
  font-family: var(--font-body); font-size: 17px;
  color: var(--text-body); line-height: 1.8; margin-bottom: 26px;
}
.result-benefits { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 26px; }
.result-benefits li {
  display: flex; align-items: flex-start; gap: 10px;
  font-family: var(--font-ui); font-weight: 300; font-size: 15px;
  color: var(--charcoal); line-height: 1.5;
}
.result-benefits li::before { content: '◆'; color: var(--gold); font-size: 8px; margin-top: 4px; flex-shrink: 0; }

.ideal-for-wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.ideal-label { font-family: var(--font-ui); font-weight: 200; font-size: 10px; letter-spacing: 3px; color: var(--text-muted); text-transform: uppercase; }
.ideal-tag {
  font-family: var(--font-ui); font-weight: 300; font-size: 11px;
  letter-spacing: 2px; padding: 4px 12px;
  background: var(--cream); border: 1px solid rgba(201,168,76,0.4);
  color: var(--gold-dark); border-radius: 20px; text-transform: uppercase;
}

/* Offer terms */
.offer-terms-box {
  background: var(--white); border: 1px solid rgba(201,168,76,0.18);
  border-left: 3px solid var(--gold); border-radius: 0 var(--card-radius) var(--card-radius) 0;
  padding: 20px 24px; margin-bottom: 20px;
}
.offer-terms-heading {
  font-family: var(--font-ui); font-weight: 300; font-size: 10px;
  letter-spacing: 3px; color: var(--gold-dark); text-transform: uppercase; margin-bottom: 8px;
}
.offer-terms-text {
  font-family: var(--font-ui); font-weight: 300; font-size: 12px;
  color: var(--text-muted); line-height: 1.75;
}
.offer-terms-text em { color: var(--text-muted); font-style: italic; font-size: 11px; }

/* Results CTA */
.results-cta-block {
  background: var(--white); border: var(--card-border); border-radius: var(--card-radius);
  box-shadow: var(--card-shadow); padding: 48px; text-align: center; margin-bottom: 20px;
}
.cta-heading {
  font-family: var(--font-display); font-weight: 600; font-size: clamp(15px, 2.2vw, 22px);
  letter-spacing: 4px; color: var(--charcoal); margin-bottom: 12px;
}
.cta-sub {
  font-family: var(--font-body); font-style: italic; font-size: 16px;
  color: var(--text-mid); line-height: 1.65; max-width: 480px; margin: 0 auto 26px;
}
.cta-details {
  margin-top: 20px; font-family: var(--font-ui); font-weight: 200;
  font-size: 13px; color: var(--text-muted); line-height: 2.2;
}
.cta-details a { color: var(--gold-dark); transition: color var(--ease); }
.cta-details a:hover { color: var(--gold); }

/* Trust footer */
.trust-footer {
  background: var(--charcoal); border-radius: var(--card-radius);
  padding: 40px 48px; color: var(--cream);
}
.trust-footer-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-bottom: 28px; }
.tf-label { font-family: var(--font-ui); font-weight: 200; font-size: 9px; letter-spacing: 3px; color: var(--gold); text-transform: uppercase; margin-bottom: 6px; }
.tf-value { font-family: var(--font-display); font-weight: 400; font-size: 13px; letter-spacing: 1px; color: var(--cream); margin-bottom: 4px; }
.tf-sub { font-family: var(--font-ui); font-weight: 200; font-size: 11px; color: rgba(250,246,239,0.55); line-height: 1.5; }
.trust-footer a { color: rgba(250,246,239,0.65); transition: color var(--ease); }
.trust-footer a:hover { color: var(--gold-light); }
.trust-footer-disclaimer {
  font-family: var(--font-ui); font-weight: 200; font-size: 11px; letter-spacing: 0.3px;
  color: rgba(250,246,239,0.45); line-height: 1.7; border-top: 1px solid rgba(201,168,76,0.15);
  padding-top: 20px;
}

/* ── Responsive: 768px+ ──────────────────────────────────── */
@media (min-width: 768px) { .logo { width: 270px; } }
@media (min-width: 1200px) {
  .logo { width: 300px; }
  .quiz-card { padding: 48px 60px 56px; }
}

/* ── Responsive: small screens ───────────────────────────── */
@media (max-width: 640px) {
  .field-row { grid-template-columns: 1fr; }

  .quiz-card { padding: 28px 20px 36px; margin: 16px 16px 0; }
  .quiz-nav { justify-content: stretch; }
  .quiz-nav .btn-primary { width: 100%; min-width: unset; }

  .gate-card { padding: 36px 20px 32px; }

  .preview-rec-body  { padding: 28px 24px; }
  .preview-unlock    { padding: 24px 24px 32px; }

  .result-body        { padding: 28px 20px; }
  .results-cta-block  { padding: 28px 20px; }
  .trust-footer       { padding: 28px 20px; }
  .trust-footer-grid  { grid-template-columns: 1fr; gap: 20px; }

  #screen-hero.active  { padding: 60px 16px 48px; }
  #screen-gate.active  { padding: 40px 16px; }
  #screen-preview.active { padding: 40px 16px 60px; }

  .trust-strip { flex-direction: column; gap: 12px; }
  .trust-sep   { display: none; }
  .trust-item  { justify-content: center; }

  .hero-cta { width: 100%; padding: 18px; }
}

@media (max-width: 400px) {
  .progress-step-dot { width: 22px; height: 22px; font-size: 10px; }
  .progress-step-connector { width: 16px; }
}
