/* ═══ Tutero Tutoring Brand Tokens ═══
   Parent-facing tutoring asset — BLUE palette.
   Leaning lighter per brand guide (blue-50/200/500 first).
   Satoshi headings, Hanken Grotesk body. */
:root {
  /* Brand-aliased primary (all prior "orange" refs now map to tutoring blue) */
  --orange: #00A3FF;        /* tutoring blue-500 (was orange) */
  --orange-hover: #0082CC;  /* blue-600 */

  /* Tutoring blue scale */
  --tut-blue-50:  #F0FAFF;
  --tut-blue-100: #E3F4FF;
  --tut-blue-200: #C2E9FF;
  --tut-blue-500: #00A3FF;
  --tut-blue-600: #0082CC;
  --tut-blue-800: #004166;

  /* Tutoring gradient stops */
  --tut-grad: linear-gradient(90deg, #1D49E3 0%, #00A3FF 15%, #66A693 35%, #E8A909 60%, #FF7A00 85%);

  /* Shared tokens */
  --green: var(--color-green);
  --blue: var(--color-blue);
  --yellow: var(--color-yellow);
  --red: var(--color-red);
  --dark: #1A1A2E;
  --dark-text: #1A1A2E;
  --gray-text: #5A5A70;
  --gray-row: #F4F3FB;
  --gray-border: #E0DEEE;
  --light-bg: var(--tut-blue-50);
  --gray-100: #f4f4f5;
  --gray-200: #e5e7eb;
  --gray-300: #d1d5db;
  --gray-500: var(--gray-text);
  --gray-700: #374151;
  --header-h: 56px;
}

/* Brand typography — applies to every screen in variant B */
body,
.funnel,
.screen,
.si,
.quiz-heading,
.welcome-h1,
.quiz-badge,
.btn-primary,
.qz-card,
.qz-pill,
.year-pill,
.name-input,
.field-wrap input,
.field-wrap select,
.mirror-heading,
.mirror-body,
.success-h2,
.success-sub,
.ns-item,
.contact-sub,
.contact-hint,
.results-banner,
.proof-pill,
.trust-line,
.step-text,
.plan-text strong,
.plan-text span {
  font-family: 'Hanken Grotesk', 'Inter', system-ui, sans-serif;
}
h1, h2, h3,
.welcome-h1,
.quiz-heading,
.s0-title,
.mirror-heading,
.success-h2,
.btn-primary,
.qz-card strong,
.qz-text strong,
.quiz-badge,
.results-banner span {
  font-family: 'Satoshi', 'Hanken Grotesk', 'Inter', sans-serif;
  letter-spacing: -0.015em;
}

/* ═══════════════════════════════════════════════════════════════
   Screen 0 — Tutoring brand lander
   Palette: blue-50 surface, tutoring gradient hero, blue accents
   Typography: Satoshi display + Hanken Grotesk body
   ═══════════════════════════════════════════════════════════════ */

#s0 {
  --s0-surface: var(--tut-blue-50);
  --s0-surface-deep: var(--tut-blue-200);
  --s0-ink: var(--dark-text);
  --s0-ink-soft: #3b3d4f;
  --s0-meta: #6c7a8a;
  --s0-rule: #d3e7f5;
  --s0-accent: var(--tut-blue-500);
  --s0-accent-deep: var(--tut-blue-600);

  color: var(--s0-ink);
  background-color: var(--s0-surface);
  background-image:
    radial-gradient(ellipse 780px 520px at 12% -180px, rgba(0,163,255,0.18), transparent 58%),
    radial-gradient(ellipse 620px 420px at 100% 40%, rgba(255,122,0,0.05), transparent 60%),
    radial-gradient(ellipse 900px 600px at 50% 105%, rgba(194,233,255,0.5), transparent 60%);
}

.s0-si {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  max-width: 540px;
  margin: 0 auto;
  padding: calc(var(--header-h) + 20px) 20px 56px;
}

/* ── Hero text block ───────────────────────────────── */
.s0-hero-text {
  text-align: center;
  margin-bottom: 18px;
}
.s0-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Satoshi', 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--s0-accent-deep);
  font-weight: 700;
  margin-bottom: 10px;
  opacity: 0; transform: translateY(10px);
  animation: s0Reveal 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.05s forwards;
}
.s0-eyebrow::before,
.s0-eyebrow::after {
  content: '';
  display: inline-block;
  width: 18px;
  height: 1px;
  background: currentColor;
  opacity: 0.45;
}

.s0-title {
  font-family: 'Satoshi', 'Hanken Grotesk', 'Inter', sans-serif;
  font-weight: 900;
  line-height: 1;
  letter-spacing: -0.035em;
  color: var(--s0-ink);
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
  align-items: center;
  opacity: 0; transform: translateY(12px);
  animation: s0Reveal 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.1s forwards;
}
.s0-title-gradient {
  font-size: clamp(34px, 10.4vw, 56px);
  background: var(--tut-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-weight: 900;
  line-height: 1.12;           /* tight, still clears descenders */
  padding-bottom: 0.1em;
  white-space: nowrap;
  letter-spacing: -0.04em;
}
.s0-title-sub {
  font-family: 'Satoshi', 'Inter', sans-serif;
  font-weight: 800;
  font-size: clamp(13px, 4.2vw, 18px);
  color: var(--tut-blue-800);
  letter-spacing: -0.01em;
  line-height: 1;
  white-space: nowrap;
  margin-top: 2px;
}

.s0-trust-pills {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
  margin: 14px 0 0;
  opacity: 0; transform: translateY(8px);
  animation: s0Reveal 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.22s forwards;
}
.s0-trust-pill {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #fff;
  border: 1px solid var(--tut-blue-200);
  border-radius: 999px;
  padding: 5px 11px 5px 7px;
  font-family: 'Satoshi', 'Inter', sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: var(--tut-blue-800);
  letter-spacing: -0.005em;
  box-shadow: 0 1px 2px rgba(0,65,102,0.04);
}
.s0-trust-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #22C55E;
  color: #fff;
  font-size: 9px;
  font-weight: 900;
  flex-shrink: 0;
  line-height: 1;
}

.s0-prompt {
  font-family: 'Hanken Grotesk', 'Inter', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--s0-ink-soft);
  margin: 0 0 10px;
  text-align: center;
  opacity: 0; transform: translateY(8px);
  animation: s0Reveal 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.28s forwards;
}
.s0-reassurance {
  font-family: 'Hanken Grotesk', 'Inter', sans-serif;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--s0-meta);
  text-align: center;
  margin: 12px 0 36px;
  opacity: 0;
  animation: s0Reveal 0.7s cubic-bezier(0.2, 0.8, 0.2, 1) 0.5s forwards;
}
.s0-prompt-emoji {
  display: inline-block;
  margin-left: 4px;
  animation: s0Bounce 1.4s ease-in-out 1.2s infinite;
}
@keyframes s0Bounce {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(5px); }
}

/* ── Age group cards ───────────────────────────────── */
.s0-age-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 0;
  opacity: 0; transform: translateY(12px);
  animation: s0Reveal 0.8s cubic-bezier(0.2, 0.8, 0.2, 1) 0.36s forwards;
}

.s0-age-card {
  position: relative;
  background: #ffffff;
  border: 1.5px solid var(--tut-blue-200);
  border-radius: 20px;
  padding: 18px 14px 14px;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 10px;
  cursor: pointer;
  font-family: inherit;
  text-align: center;
  overflow: hidden;
  box-shadow:
    0 1px 0 rgba(0,65,102,0.04),
    0 8px 22px rgba(0,65,102,0.09);
  transition:
    transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.3s cubic-bezier(0.2, 0.8, 0.2, 1),
    border-color 0.3s;
  animation: s0CardIdle 3.2s ease-in-out infinite;
  animation-delay: var(--card-delay, 0s);
}
.s0-age-card:nth-child(2) { --card-delay: 0.6s; }

/* shimmer band that sweeps across every ~5s to draw the eye */
.s0-age-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    115deg,
    transparent 30%,
    rgba(0,163,255,0.18) 48%,
    rgba(255,122,0,0.14) 52%,
    transparent 70%
  );
  transform: translateX(-120%);
  pointer-events: none;
  z-index: 1;
  animation: s0CardShine 5.5s ease-in-out infinite;
  animation-delay: var(--shine-delay, 1.2s);
}
.s0-age-card:nth-child(2)::before { --shine-delay: 3.8s; }

.s0-age-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: var(--s0-accent);
  box-shadow:
    0 4px 0 rgba(0,163,255,0.12),
    0 26px 50px rgba(0,65,102,0.18);
  animation-play-state: paused;
}
.s0-age-card:active {
  transform: translateY(-2px) scale(0.98);
  transition-duration: 0.08s;
}

.s0-age-card-top {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px 0 2px;
  position: relative;
  z-index: 2;
}
.s0-age-icon {
  width: 48px;
  height: 48px;
  color: var(--tut-blue-600);
  transition: color 0.3s, transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.s0-age-card:hover .s0-age-icon {
  color: var(--s0-accent);
  transform: scale(1.12) rotate(-6deg);
}

.s0-age-card-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  padding: 0 4px;
  position: relative;
  z-index: 2;
}
.s0-age-range {
  font-family: 'Satoshi', 'Hanken Grotesk', sans-serif;
  font-size: clamp(16px, 4.6vw, 20px);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--tut-blue-800);
  line-height: 1.05;
}
.s0-age-sub {
  font-family: 'Satoshi', 'Inter', sans-serif;
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--s0-meta);
  line-height: 1;
}

/* The in-card CTA pill — gradient filled, pulsing, the click reward */
.s0-age-cta {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 16px;
  border-radius: 999px;
  background: var(--tut-grad);
  background-size: 160% 100%;
  background-position: 0% 50%;
  color: #fff;
  font-family: 'Satoshi', 'Hanken Grotesk', sans-serif;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: -0.01em;
  line-height: 1;
  box-shadow:
    0 2px 0 rgba(0,65,102,0.2),
    0 10px 22px rgba(0,163,255,0.35);
  margin-top: 4px;
  animation: s0CtaPulse 1.8s ease-in-out infinite, s0CtaShift 6s linear infinite;
  animation-delay: var(--cta-delay, 0s), 0s;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1), box-shadow 0.25s;
}
.s0-age-card:nth-child(2) .s0-age-cta { --cta-delay: 0.5s; }
.s0-age-cta-arrow {
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.s0-age-card:hover .s0-age-cta {
  transform: scale(1.05);
  box-shadow:
    0 4px 0 rgba(0,65,102,0.22),
    0 18px 34px rgba(0,163,255,0.55);
  animation-play-state: paused, running;
}
.s0-age-card:hover .s0-age-cta-arrow {
  transform: translateX(4px);
}

/* ── Attract motion: pulses, shimmer, gradient drift ─── */
@keyframes s0CardIdle {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 1px 0 rgba(0,65,102,0.04), 0 8px 22px rgba(0,65,102,0.09);
  }
  50% {
    transform: translateY(-3px);
    box-shadow: 0 2px 0 rgba(0,163,255,0.08), 0 16px 30px rgba(0,163,255,0.18);
  }
}
@keyframes s0CardShine {
  0%, 60%, 100% { transform: translateX(-120%); }
  80%           { transform: translateX(120%); }
}
@keyframes s0CtaPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 2px 0 rgba(0,65,102,0.2), 0 10px 22px rgba(0,163,255,0.35);
  }
  50% {
    transform: scale(1.04);
    box-shadow: 0 3px 0 rgba(0,65,102,0.24), 0 14px 28px rgba(0,163,255,0.55);
  }
}
@keyframes s0CtaShift {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* ── Hero figure ───────────────────────────────────── */
.s0-hero-figure {
  margin: 0 0 44px;
  opacity: 0; transform: translateY(14px);
  animation: s0Reveal 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.52s forwards;
}
.s0-hero-figure img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 20px;
  border: 1.5px solid var(--tut-blue-200);
  box-shadow:
    0 1px 0 rgba(0,65,102,0.05),
    0 16px 40px rgba(0,65,102,0.14);
  display: block;
}
.s0-hero-figure figcaption {
  font-family: 'Hanken Grotesk', 'Inter', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 13px;
  color: var(--s0-meta);
  text-align: center;
  margin-top: 12px;
  letter-spacing: 0.005em;
}

/* ── Stats keyline row ─────────────────────────────── */
.s0-stats {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 6px;
  padding: 22px 12px;
  margin-bottom: 44px;
  background: #fff;
  border: 1.5px solid var(--tut-blue-200);
  border-radius: 18px;
  position: relative;
  box-shadow: 0 4px 14px rgba(0,65,102,0.05);
  opacity: 0;
  animation: s0Reveal 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.64s forwards;
}

.s0-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
  text-align: center;
  padding: 0 4px;
}
.s0-stat-num {
  font-family: 'Satoshi', 'Hanken Grotesk', sans-serif;
  font-style: normal;
  font-size: 26px;
  font-weight: 900;
  color: var(--tut-blue-800);
  line-height: 1;
  letter-spacing: -0.03em;
}
.s0-stat-plus {
  font-size: 0.7em;
  font-weight: 900;
  background: var(--tut-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-left: 0.04em;
  vertical-align: baseline;
}
.s0-stat-label {
  font-family: 'Hanken Grotesk', 'Inter', sans-serif;
  font-size: 10.5px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--s0-meta);
  font-weight: 700;
  line-height: 1.3;
  max-width: 14ch;
}
.s0-stat-divider {
  width: 1px;
  background: var(--tut-blue-200);
  flex-shrink: 0;
  margin: 6px 0;
}

/* ── Reviews ───────────────────────────────────────── */
.s0-reviews-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  opacity: 0;
  animation: s0Reveal 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.74s forwards;
}
.s0-reviews-label {
  font-family: 'Satoshi', 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--s0-meta);
  font-weight: 700;
  flex-shrink: 0;
}
.s0-reviews-line {
  flex: 1;
  height: 1px;
  background: var(--tut-blue-200);
}

.s0-reviews {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 6px;
  opacity: 0;
  animation: s0Reveal 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.82s forwards;
}
.s0-review {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 14px 8px;
  text-align: center;
}
.s0-review-brand {
  font-weight: 700;
  font-size: 12px;
  letter-spacing: -0.01em;
  line-height: 1;
  display: inline-flex;
  align-items: center;
}
.s0-brand-google {
  font-family: 'Inter', sans-serif;
  background: linear-gradient(90deg, #4285f4 0%, #ea4335 28%, #fbbc05 52%, #34a853 78%, #4285f4 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  font-size: 13px;
  padding-bottom: 0.12em;
  font-weight: 700;
}
.s0-brand-trustpilot {
  color: #00b67a;
  font-family: 'Inter', sans-serif;
  font-size: 12px;
}
.s0-brand-trustpilot-star {
  display: inline-block;
  width: 11px; height: 11px;
  background: #00b67a;
  margin-right: 4px;
  clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
}
.s0-brand-mums {
  color: #d94b85;
  font-family: 'Satoshi', 'Inter', sans-serif;
  font-style: normal;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
.s0-review-score {
  display: inline-flex;
  align-items: baseline;
  gap: 5px;
  font-size: 11px;
}
.s0-review-score em {
  font-family: 'Satoshi', 'Hanken Grotesk', sans-serif;
  font-style: normal;
  font-size: 15px;
  font-weight: 900;
  color: var(--tut-blue-800);
  letter-spacing: -0.02em;
  line-height: 1;
}
.s0-stars { color: #e9a900; letter-spacing: -1.5px; font-size: 10px; }
.s0-stars-green { color: #00b67a; }

/* ── Testimonials ──────────────────────────────────── */
.s0-testimonials-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 48px 0 20px;
  opacity: 0;
  animation: s0Reveal 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 0.92s forwards;
}
.s0-testimonials-label {
  font-family: 'Satoshi', 'Inter', sans-serif;
  font-size: 10px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--s0-meta);
  font-weight: 700;
  flex-shrink: 0;
}

.s0-quotes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  opacity: 0;
  animation: s0Reveal 0.9s cubic-bezier(0.2, 0.8, 0.2, 1) 1s forwards;
}
.s0-quote {
  display: flex;
  gap: 18px;
  padding: 22px 0;
  border-bottom: 1px solid var(--tut-blue-200);
}
.s0-quote:last-child { border-bottom: none; }

.s0-quote-portrait {
  position: relative;
  flex-shrink: 0;
  width: 72px;
  margin: 0;
}
.s0-quote-portrait img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 12px;
  border: 1.5px solid var(--tut-blue-200);
  box-shadow: 0 6px 18px rgba(0,65,102,0.12);
  display: block;
}
.s0-quote-verified {
  position: absolute;
  bottom: -4px;
  right: -4px;
  width: 22px;
  height: 22px;
  color: var(--tut-blue-500);
  display: flex;
  align-items: center;
  justify-content: center;
  filter: drop-shadow(0 2px 4px rgba(0,163,255,0.45));
}
.s0-quote-verified svg { width: 100%; height: 100%; }

.s0-quote-body {
  flex: 1;
  margin: 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 10px;
}
.s0-quote-body p {
  font-family: 'Hanken Grotesk', 'Inter', sans-serif;
  font-style: normal;
  font-weight: 500;
  font-size: 15.5px;
  line-height: 1.45;
  letter-spacing: -0.005em;
  color: var(--s0-ink);
  margin: 0;
}
.s0-quote-body cite {
  font-style: normal;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: 'Satoshi', 'Inter', sans-serif;
  font-size: 11px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--s0-meta);
  font-weight: 600;
}
.s0-quote-name {
  color: var(--tut-blue-800);
  font-weight: 700;
}
.s0-quote-sep { opacity: 0.5; }
.s0-quote-place { font-weight: 500; }

@keyframes s0Reveal {
  to { opacity: 1; transform: translateY(0); }
}

/* ── Responsive ──────────────────────────────────── */
@media (max-width: 380px) {
  .s0-title { font-size: 36px; }
  .s0-age-card { padding: 18px 14px 50px; }
  .s0-age-card strong { font-size: 20px; }
  .s0-age-icon { width: 32px; height: 32px; }
  .s0-stat-num { font-size: 24px; }
  .s0-stat-label { font-size: 9px; letter-spacing: 0.1em; }
  .s0-reviews { gap: 4px; }
  .s0-review { padding: 10px 4px; }
  .s0-review-brand, .s0-brand-google { font-size: 11px; }
  .s0-review-score em { font-size: 13px; }
}
@media (min-width: 520px) {
  .s0-title { font-size: 56px; }
  .s0-age-card strong { font-size: 26px; }
  .s0-stat-num { font-size: 32px; }
}

/* ═══ Header ═══ */
.qz-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
  height: var(--header-h);
  background: transparent;
  transition: background 0.4s var(--ease), border-color 0.4s var(--ease);
  border-bottom: 1px solid transparent;
}
.qz-header.light {
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom-color: rgba(0,0,0,0.06);
}
.back-btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  background: none; border: none;
  border-radius: 8px;
  color: #fff;
  transition: background 0.2s, color 0.4s;
}
.back-btn:hover { background: rgba(255,255,255,0.12); }
.qz-header.light .back-btn { color: var(--dark); }
.qz-header.light .back-btn:hover { background: rgba(0,0,0,0.05); }
.header-logo { height: 22px; transition: filter 0.4s; filter: brightness(0) invert(1); }
.qz-header.light .header-logo { filter: none; }
.step-text {
  font-size: 13px; font-weight: 600; color: rgba(255,255,255,0.45);
  min-width: 44px; text-align: right;
  transition: color 0.4s;
}
.qz-header.light .step-text { color: var(--gray-500); }

/* ═══ Progress bar ═══ */
.progress-track {
  position: fixed;
  top: var(--header-h); left: 0; right: 0;
  height: 3px;
  background: rgba(255,255,255,0.1);
  z-index: 99;
  transition: background 0.4s;
}
.qz-header.light ~ .progress-track { background: var(--gray-200); }
.progress-fill {
  height: 100%;
  width: 0%;
  background: var(--orange);
  border-radius: 0 2px 2px 0;
  transition: width 0.5s var(--ease);
}

/* ═══ Screen inner layout ═══ */
.si {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: calc(var(--header-h) + 20px) 24px 40px;
  max-width: 520px;
  margin: 0 auto;
}
.si-center { justify-content: center; }
.si-scroll { justify-content: flex-start; padding-top: calc(var(--header-h) + 28px); }

.trust-line-light { color: var(--gray-500); }

/* ═══ Quiz screens ═══ */
#s0, #sSelf, #s1, #s2, #s3, #s4, #s5, #s6, #s7, #sReserved, #s8, #s9, #s10, #s11 { background: var(--light-bg); }
.quiz-badge {
  display: inline-block;
  font-size: 13px; font-weight: 700;
  color: var(--tut-blue-600);
  background: rgba(0,163,255,0.1);
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 16px;
}
.quiz-heading {
  font-size: 26px; font-weight: 800;
  text-align: center; line-height: 1.18;
  letter-spacing: -0.025em;
  margin-bottom: 28px;
}

/* ═══ Quiz cards ═══ */
.card-list {
  display: flex; flex-direction: column;
  gap: 12px; width: 100%;
}
.qz-card {
  position: relative;
  display: flex; align-items: center; gap: 14px;
  width: 100%;
  padding: 18px 20px;
  background: #fff;
  border: 2px solid var(--gray-200);
  border-radius: 14px;
  text-align: left;
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s, box-shadow 0.2s, transform 0.15s;
  opacity: 0; transform: translateY(16px);
  animation: cardIn 0.4s var(--ease) both;
}
.qz-card:nth-child(1) { animation-delay: 0.08s; }
.qz-card:nth-child(2) { animation-delay: 0.14s; }
.qz-card:nth-child(3) { animation-delay: 0.20s; }
.qz-card:nth-child(4) { animation-delay: 0.26s; }
.qz-card:hover {
  border-color: var(--gray-300);
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  transform: translateY(-1px);
}
.qz-card.selected {
  border-color: var(--green) !important;
  background: #f0faf6;
}
.qz-card.selected::after {
  content: '\2713';
  position: absolute;
  top: 14px; right: 14px;
  width: 24px; height: 24px;
  background: var(--green);
  color: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 13px; font-weight: 700;
  animation: pop 0.3s var(--ease);
}
.qz-emoji { font-size: 28px; flex-shrink: 0; line-height: 1; }
.qz-text { display: flex; flex-direction: column; gap: 2px; }
.qz-text strong { font-size: 15px; font-weight: 600; color: var(--dark); }
.qz-text span { font-size: 13px; color: var(--gray-500); line-height: 1.4; }

/* ═══ Subject / general pills ═══ */
.pill-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 10px; width: 100%;
}
.qz-pill {
  display: flex; align-items: center; justify-content: center;
  gap: 8px;
  padding: 16px 12px;
  min-height: 56px;
  background: #fff;
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px; font-weight: 600;
  color: var(--dark);
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  opacity: 0; transform: translateY(14px);
  animation: cardIn 0.35s var(--ease) both;
}
.qz-pill:nth-child(1) { animation-delay: 0.06s; }
.qz-pill:nth-child(2) { animation-delay: 0.09s; }
.qz-pill:nth-child(3) { animation-delay: 0.12s; }
.qz-pill:nth-child(4) { animation-delay: 0.15s; }
.qz-pill:nth-child(5) { animation-delay: 0.18s; }
.qz-pill:nth-child(6) { animation-delay: 0.21s; }
.qz-pill:nth-child(7) { animation-delay: 0.24s; }
.qz-pill:nth-child(8) { animation-delay: 0.27s; }
.qz-pill:hover { border-color: var(--gray-300); transform: translateY(-1px); }
.qz-pill.selected {
  border-color: var(--green);
  background: #f0faf6; color: #0d6b52;
}

/* ═══ Screen 1 — Student Name Input ═══ */
.name-input-wrap {
  width: 100%;
  max-width: 380px;
  margin-bottom: 24px;
}
.name-input {
  width: 100%;
  padding: 18px 20px;
  border: 2px solid var(--gray-200);
  border-radius: 14px;
  font-family: inherit;
  font-size: 22px;
  font-weight: 600;
  color: var(--dark);
  background: #fff;
  text-align: center;
  transition: border-color 0.2s, box-shadow 0.2s;
  -webkit-appearance: none;
}
.name-input:focus {
  outline: none;
  border-color: var(--tut-blue-500);
  box-shadow: 0 0 0 4px rgba(0,163,255,0.14);
}
.name-input::placeholder {
  color: var(--gray-300);
  font-weight: 400;
}

/* ═══ Screen 2 — Year Level Grid ═══ */
.year-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  width: 100%;
}
.year-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 8px;
  background: #fff;
  border: 2px solid var(--gray-200);
  border-radius: 12px;
  font-family: inherit;
  font-size: 15px;
  font-weight: 600;
  color: var(--dark);
  transition: border-color 0.2s, background 0.2s, transform 0.15s;
  opacity: 0;
  transform: translateY(14px);
  animation: cardIn 0.35s var(--ease) both;
}
.year-pill:nth-child(1) { animation-delay: 0.04s; }
.year-pill:nth-child(2) { animation-delay: 0.06s; }
.year-pill:nth-child(3) { animation-delay: 0.08s; }
.year-pill:nth-child(4) { animation-delay: 0.10s; }
.year-pill:nth-child(5) { animation-delay: 0.12s; }
.year-pill:nth-child(6) { animation-delay: 0.14s; }
.year-pill:nth-child(7) { animation-delay: 0.16s; }
.year-pill:nth-child(8) { animation-delay: 0.18s; }
.year-pill:nth-child(9) { animation-delay: 0.20s; }
.year-pill:nth-child(10) { animation-delay: 0.22s; }
.year-pill:nth-child(11) { animation-delay: 0.24s; }
.year-pill:nth-child(12) { animation-delay: 0.26s; }
.year-pill:nth-child(13) { animation-delay: 0.28s; }
.year-pill:nth-child(14) { animation-delay: 0.30s; }
.year-pill:hover {
  border-color: var(--gray-300);
  transform: translateY(-1px);
}
.year-pill.selected {
  border-color: var(--green);
  background: #f0faf6;
  color: #0d6b52;
}

/* ═══ Mirror Moment (s8) ═══ */
.mirror-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 420px;
  width: 100%;
}
.mirror-initial {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #00A3FF 0%, #0082CC 100%);
  color: #fff;
  font-size: 26px;
  font-weight: 900;
  font-family: 'Satoshi', 'Hanken Grotesk', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 24px;
  box-shadow: 0 8px 24px rgba(0,163,255,0.35);
  animation: fadeUp 0.5s var(--ease) both;
}
.mirror-heading {
  line-height: 1.35;
  animation: fadeUp 0.5s var(--ease) 0.08s both;
}
.mirror-body {
  font-size: 16px;
  line-height: 1.6;
  color: #4a4a4a;
  margin: 12px 0 24px;
  animation: fadeUp 0.5s var(--ease) 0.16s both;
}

/* ═══ Plan preview (s8) ═══ */
.plan-preview {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
  margin-bottom: 28px;
}
.plan-module {
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  padding: 14px 16px;
  background: #fff;
  border: 1px solid var(--gray-200);
  border-radius: 14px;
  box-shadow: 0 1px 2px rgba(0,0,0,0.02);
  opacity: 0;
  transform: translateY(8px);
  animation: fadeUp 0.45s var(--ease) forwards;
}
#planModule1 { animation-delay: 0.20s; }
#planModule2 { animation-delay: 0.34s; }
#planModule3 { animation-delay: 0.48s; }
.plan-icon {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  background: var(--tut-blue-50);
  border-radius: 10px;
}
.plan-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}
.plan-text strong {
  font-size: 15px;
  font-weight: 700;
  color: var(--dark);
  line-height: 1.3;
}
.plan-text span {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.4;
}

/* Locked cards — gated tease that drives form completion */
.plan-module.locked {
  border-style: dashed;
  border-color: #e8dfd3;
  background: #fffdfa;
}
.plan-module.locked .plan-icon {
  background: var(--tut-blue-50);
  color: var(--tut-blue-500);
}

.mirror-cta {
  animation: fadeUp 0.5s var(--ease) 0.62s both;
}
.mirror-subtext {
  font-size: 13px;
  color: var(--gray-500);
  margin-top: 12px;
  animation: fadeUp 0.5s var(--ease) 0.70s both;
}

/* ═══ Thinking / Transition Screen (s12) — Dark ═══ */
#s12 { background: #130f24; overflow: hidden; }
#s12::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%; transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(76,176,146,0.06) 0%, transparent 60%);
  pointer-events: none;
}

/* Override shared thinking-wrap padding for quiz header offset */
#s12 .thinking-wrap {
  padding-top: calc(var(--header-h) + 32px);
}

/* Thinking completion card CTA glow */
.thinking-complete .btn-primary {
  box-shadow: 0 4px 20px rgba(0,163,255,0.35);
}

/* ═══════════════════════════════════════════════════════════════
   Tutoring brand: override shared .btn-primary to blue + add bounce/wiggle
   ═══════════════════════════════════════════════════════════════ */
.btn-primary {
  background: var(--tut-blue-500);
  font-family: 'Satoshi', 'Hanken Grotesk', 'Inter', sans-serif;
  font-weight: 900;
  letter-spacing: -0.015em;
  box-shadow:
    0 2px 0 var(--tut-blue-600),
    0 8px 22px rgba(0,163,255,0.35);
  transition:
    background 0.2s,
    transform 0.18s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.2s;
}
.btn-primary:hover {
  background: var(--tut-blue-600);
  transform: translateY(-2px) scale(1.02);
  box-shadow:
    0 3px 0 var(--tut-blue-600),
    0 14px 28px rgba(0,163,255,0.45);
}
.btn-primary:active {
  transform: translateY(1px) scale(0.99);
  box-shadow: 0 1px 0 var(--tut-blue-600), 0 4px 10px rgba(0,163,255,0.25);
}

/* Idle "attract" motion — gentle breathing pulse every 2.6s to promote click.
   Paused on hover/active so hover state reads cleanly. */
.btn-primary:not(.disabled):not(:disabled):not(:hover):not(:active) {
  animation: btnBreathe 2.6s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes btnBreathe {
  0%, 100% {
    transform: translateY(0) scale(1);
    box-shadow:
      0 2px 0 var(--tut-blue-600),
      0 8px 22px rgba(0,163,255,0.32);
  }
  50% {
    transform: translateY(-2px) scale(1.015);
    box-shadow:
      0 4px 0 var(--tut-blue-600),
      0 14px 30px rgba(0,163,255,0.48);
  }
}

/* Secondary wiggle on arrow glyph inside buttons — catches the eye further */
.btn-primary:not(.disabled):not(:disabled):not(:hover) {
  background-position: right center;
}
.btn-primary::after {
  /* No-op placeholder — the wiggle happens on button itself; avoids glyph targeting issues */
}

/* Mirror CTA, submit CTA, phone continue — all inherit the bounce.
   For emphasis, the final "Book my free consultation" gets a stronger thump. */
#submitBtn:not(.disabled) {
  animation: btnThump 2.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes btnThump {
  0%, 100% {
    transform: translateY(0) scale(1);
    box-shadow:
      0 2px 0 var(--tut-blue-600),
      0 8px 22px rgba(0,163,255,0.35);
  }
  40% {
    transform: translateY(-3px) scale(1.025);
    box-shadow:
      0 5px 0 var(--tut-blue-600),
      0 18px 34px rgba(0,163,255,0.55);
  }
  55% {
    transform: translateY(-1px) scale(1.01);
  }
}

/* Disabled buttons stay still and obviously muted */
.btn-primary.disabled,
.btn-primary:disabled {
  animation: none !important;
  box-shadow: none;
}

/* Loading state — shown the moment submit is clicked while the POST + redirect resolve */
.btn-primary.is-loading {
  animation: none !important;
  pointer-events: none;
  cursor: wait;
  opacity: 0.92;
}
.btn-primary.is-loading::after { display: none; }
.btn-loading-inner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.btn-spinner {
  animation: spin 0.7s linear infinite;
  flex: 0 0 auto;
}

/* Respect users who prefer reduced motion — no attract loops for them */
@media (prefers-reduced-motion: reduce) {
  .btn-primary,
  #submitBtn,
  .s0-age-card,
  .s0-age-arrow,
  .s0-prompt-emoji { animation: none !important; }
}

/* ═══ Contact Screens ═══ */
#s8, #s9 { background: var(--light-bg); }

/* Phone flag: widen space so the AU flag emoji doesn't overlap the number */
.phone-wrap .phone-flag {
  width: 28px;
  font-size: 16px;
  left: 16px;
}
.phone-wrap input {
  padding-left: 56px;
}
.form-fields {
  display: flex; flex-direction: column;
  gap: 16px; width: 100%; margin-bottom: 12px;
}
.contact-sub {
  font-size: 15px;
  color: var(--gray-500);
  text-align: center;
  margin-bottom: 28px;
  line-height: 1.5;
}
.contact-hint {
  font-size: 13px;
  color: var(--gray-500);
  text-align: center;
  margin-bottom: 20px;
  line-height: 1.4;
}

/* ═══ Success ═══ */
.success-wrap { display: none; }
.success-wrap.active {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  min-height: 100%;
  padding: calc(var(--header-h) + 32px) 24px 40px;
  max-width: 520px; margin: 0 auto;
  text-align: center;
}
.success-anim { margin-bottom: 24px; }
.success-h2 {
  font-size: 24px; font-weight: 800;
  letter-spacing: -0.02em; margin-bottom: 8px;
}
.success-sub { font-size: 15px; color: var(--gray-500); margin-bottom: 28px; }
.next-steps {
  display: flex; flex-direction: column;
  gap: 10px; width: 100%; max-width: 380px;
  margin: 0 auto 28px; text-align: left;
}
.ns-item {
  display: flex; align-items: center; gap: 14px;
  padding: 12px 16px;
  background: #fff; border-radius: 10px;
  border: 1px solid var(--gray-200);
  font-size: 14px; color: var(--gray-700);
  opacity: 0; transform: translateY(10px);
  animation: fadeUp 0.4s var(--ease) forwards;
}
.ns-item:nth-child(1) { animation-delay: 0.6s; }
.ns-item:nth-child(2) { animation-delay: 0.72s; }
.ns-item:nth-child(3) { animation-delay: 0.84s; }
.ns-item:nth-child(4) { animation-delay: 0.96s; }
.ns-num {
  width: 28px; height: 28px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  background: var(--orange); color: #fff;
  border-radius: 50%; font-size: 13px; font-weight: 700;
}

/* ═══ Responsive >= 640px ═══ */
@media (min-width: 640px) {
  .si { max-width: 580px; padding-left: 32px; padding-right: 32px; }
  .welcome-h1 { font-size: 40px; }
  .quiz-heading { font-size: 30px; }
  .pill-grid { grid-template-columns: repeat(4,1fr); }
  .year-grid { grid-template-columns: repeat(5, 1fr); }
  .name-input { font-size: 26px; }
}

/* ═══ Small phones <= 480px ═══ */
@media (max-width: 480px) {
  .welcome-h1 { font-size: 26px; }
  .quiz-heading { font-size: 22px; }
  .qz-card { padding: 14px 16px; }
  .qz-emoji { font-size: 24px; }
  .qz-text strong { font-size: 14px; }
  .year-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ── Variant C additions ── */

.quiz-sub {
  font-size: 15px;
  line-height: 1.5;
  color: var(--gray-500);
  text-align: center;
  margin: -8px 0 20px;
  max-width: 460px;
  opacity: 0;
  transform: translateY(8px);
  animation: fadeUp 0.5s var(--ease) 0.1s forwards;
}

.quiz-badge-warm {
  background: rgba(255, 132, 18, 0.12) !important;
  color: #b25600 !important;
  border-color: rgba(255, 132, 18, 0.25) !important;
}

.btn-skip {
  margin-top: 12px;
  padding: 8px 14px;
  background: transparent;
  border: none;
  color: var(--gray-500);
  font-family: inherit;
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  cursor: pointer;
  transition: color 0.18s ease;
}
.btn-skip:hover { color: var(--color-dark); }

.statement-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 32px 28px;
  background: #fff;
  border: 1px solid var(--gray-200, #e5e7eb);
  border-radius: 18px;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  max-width: 460px;
  opacity: 0;
  transform: translateY(12px);
  animation: cardIn 0.5s var(--ease) 0.05s forwards;
}
.statement-card.statement-warn {
  background: linear-gradient(180deg, #fff8f1 0%, #ffffff 100%);
  border-color: rgba(255, 132, 18, 0.18);
}
.statement-emoji {
  font-size: 40px;
  line-height: 1;
  margin-bottom: 14px;
}
.statement-heading {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--color-dark);
  margin-bottom: 12px;
  line-height: 1.3;
}
.statement-body {
  font-size: 15px;
  line-height: 1.55;
  color: var(--gray-600, #4b5563);
  margin-bottom: 14px;
}
.statement-body:last-of-type {
  margin-bottom: 22px;
}

@media (max-width: 480px) {
  .statement-card { padding: 26px 22px; }
  .statement-heading { font-size: 19px; }
  .statement-body { font-size: 14px; }
  .statement-emoji { font-size: 34px; }
  .quiz-sub { font-size: 14px; margin: -6px 0 16px; }
}

/* ═══════════════════════════════════════
   Variant D — proof strip, scarcity, contact, state, trust strip
   ═══════════════════════════════════════ */

/* ── Trustpilot-style trust strip ── */
.trust-strip {
  position: sticky;
  top: var(--header-h);
  z-index: 5;
  background: #fff;
  border-bottom: 1px solid var(--gray-border);
}
.trust-strip-inner {
  max-width: 520px;
  margin: 0 auto;
  padding: 9px 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ts-tp-icon {
  display: inline-block;
  width: 14px; height: 14px;
  background: #00B67A;
  border-radius: 2px;
  position: relative;
  flex-shrink: 0;
}
.ts-tp-icon::after {
  content: '★';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -52%);
  color: #fff;
  font-size: 11px;
  line-height: 1;
}
.ts-label {
  font-weight: 700;
  color: #00B67A;
  font-size: 12px;
}
.ts-stars {
  color: #00B67A;
  letter-spacing: 0.5px;
  font-size: 11px;
}
.ts-rating {
  font-weight: 800;
  color: var(--dark-text);
  font-size: 13px;
}
.ts-divider {
  display: inline-block;
  width: 1px;
  height: 14px;
  background: var(--gray-border);
}
.ts-trust-count {
  color: var(--gray-text);
  font-weight: 500;
  font-size: 12px;
}
@media (max-width: 480px) {
  .trust-strip-inner { gap: 6px; padding: 8px 12px; }
  .ts-trust-count { font-size: 11px; }
  .ts-divider { display: none; }
  .ts-trust-count { display: none; }
}
@media (min-width: 481px) {
  .ts-trust-count { display: inline; }
}

.d-state-grid {
  grid-template-columns: repeat(4, 1fr) !important;
}
@media (max-width: 480px) {
  .d-state-grid { grid-template-columns: repeat(3, 1fr) !important; }
}

.qualified-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(76, 176, 146, 0.1);
  border: 1px solid rgba(76, 176, 146, 0.25);
  border-radius: 100px;
  margin-bottom: 18px;
  font-size: 12px;
  font-weight: 700;
  color: #065f46;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.qualified-tick {
  display: inline-flex; align-items: center; justify-content: center;
  width: 16px; height: 16px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  font-size: 10px;
  font-weight: 900;
}

.qualified-heading {
  background: var(--tut-grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-bottom: 0.1em;
}

.d-proof-strip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  border: 1px solid var(--gray-border);
  border-radius: 100px;
  padding: 8px 14px;
  margin: 4px auto 14px;
  font-size: 13px;
  color: var(--dark-text);
  flex-wrap: wrap;
  justify-content: center;
}
.d-proof-stars { color: #FFB800; letter-spacing: 1px; font-size: 12px; }
.d-proof-text strong { font-weight: 700; }

.d-scarcity {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--gray-text);
  margin: 0 auto 22px;
  padding: 6px 12px;
  background: rgba(255, 132, 18, 0.08);
  border-radius: 8px;
}
.d-scarcity strong { color: #b25600; font-weight: 700; }
.d-scarcity-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: #FF8412;
  animation: pulseDot 1.5s ease-in-out infinite;
  flex-shrink: 0;
}

.d-step-sub {
  font-size: 14px;
  color: var(--gray-text);
  margin-bottom: 14px;
}

.d-email-wrap { margin-top: 10px; }
.d-email-wrap input {
  font-size: 14px;
  background: var(--gray-row);
  border-color: transparent !important;
}
.d-email-wrap input:focus {
  background: #fff;
  border-color: var(--tut-blue-500) !important;
}

.d-finalproof {
  list-style: none;
  padding: 0;
  margin: 18px auto 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  text-align: left;
  max-width: 320px;
}
.d-finalproof li {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px;
  color: var(--gray-text);
}
.d-finalproof-tick {
  display: inline-flex; align-items: center; justify-content: center;
  width: 14px; height: 14px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 900;
  flex-shrink: 0;
}

@media (max-width: 480px) {
  .qualified-heading { font-size: 19px; }
  .d-proof-strip { font-size: 12px; }
  .d-scarcity { font-size: 12px; }
}

/* ── Lock the page so no outer scroll appears at 100% zoom ── */
/* `dvh` (dynamic viewport height) accounts for iOS Safari / Chrome mobile
   URL bars — `100vh` includes the area hidden behind the bar, which makes
   any centered content land below the visible mid. The `vh` line is the
   fallback for old browsers. */
html, body {
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  overscroll-behavior: none;
}
/* Override .funnel + .screen heights too — funnel-base.css uses 100vh. */
.funnel {
  height: 100vh;
  height: 100dvh;
}
/* Kill rubber-band bounce inside individual screens too — without this,
   touching the page on iOS Safari produces a small drift even when the
   content fits in the viewport. */
.screen { overscroll-behavior: none; }
/* Take the trust strip out of flow so it doesn't add to body height */
.trust-strip {
  position: fixed !important;
  left: 0;
  right: 0;
  z-index: 10;
}
/* Vertical padding tuned for visual centering. The top reserves space for
   the fixed chrome (qz-header + trust strip + progress ≈ 96px). The bottom
   is intentionally smaller — symmetric 96/96 visually reads "too high"
   because the eye centers on the below-chrome area, not the full viewport.
   96/64 lands content ~16px below dvh-mid, which feels right on iPhone. */
.screen .si { padding-top: 96px; padding-bottom: 64px; }

/* ── Heading wrap balance ── */
.quiz-heading {
  text-wrap: balance;
}

/* ── sReserved: spot-reserved celebration screen ── */
.reserved-check {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  background: var(--green);
  color: #fff;
  font-size: 38px;
  font-weight: 900;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(76, 176, 146, 0.3);
  animation: pop 0.55s var(--ease-bounce) backwards;
}
#sReserved .quiz-heading {
  margin-bottom: 12px;
}
#sReserved .quiz-sub {
  margin: 0 0 22px;
}

/* ── Subject screen — multi-subject button (clearly tappable, secondary tier) ── */
.subject-multi-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 14px auto 0;
  padding: 12px 22px;
  background: #fff;
  border: 1.5px solid var(--gray-border);
  border-radius: 12px;
  color: var(--dark-text);
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease, transform 0.15s ease;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.04);
}
.subject-multi-btn:hover {
  border-color: var(--tut-blue-500);
  background: var(--tut-blue-50);
  transform: translateY(-1px);
}
.subject-multi-btn.selected {
  border-color: var(--tut-blue-500);
  background: var(--tut-blue-50);
}
.subject-multi-btn .smb-icon {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 16px;
  line-height: 1;
  flex-shrink: 0;
}
.subject-multi-btn .smb-label { font-weight: 600; }

/* ── Simplified s8 (post-thinking qualified) ── */
.qualified-badge-min {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(76, 176, 146, 0.12);
  color: #065f46;
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 14px;
  animation: cardIn 0.5s var(--ease) 0.05s backwards;
}
.qualified-badge-min .qualified-tick {
  display: inline-flex; align-items: center; justify-content: center;
  width: 14px; height: 14px;
  background: var(--green);
  color: #fff;
  border-radius: 50%;
  font-size: 9px;
  font-weight: 900;
}
.qualified-heading-simple {
  font-size: 24px !important;
  background: none !important;
  color: var(--dark) !important;
  -webkit-text-fill-color: currentColor;
  margin-bottom: 6px !important;
}

/* ── Simplified s9 (phone-only contact) ── */
.contact-privacy {
  margin-top: 14px;
  font-size: 12px;
  color: var(--gray-text);
  font-weight: 500;
}

/* ── Personalisation interstitial — V9.1 promise design (scoped #sThinking) ── */
#sThinking {
  /* Local token namespace — keeps V9.1 colours from leaking out of the screen */
  --tt-bg: #F0FAFF;
  --tt-blue-100: rgba(0,163,255,.1);
  --tt-blue-500: #00A3FF;
  --tt-blue-600: #0082CC;
  --tt-indigo: #1D49E3;
  --tt-green: #4CB092;
  --tt-green-deep: #2f8a72;
  --tt-green-tint: rgba(76,176,146,.05);
  --tt-green-tint-2: rgba(76,176,146,.08);
  --tt-ink: #1A1A2E;
  --tt-body: #5A5A70;
  --tt-muted: #6c7a8a;
  --tt-line: #E0DEEE;
  --tt-line-soft: #EFEEF6;
  --tt-row-bg: #F8FAFD;
  --tt-display: 'Satoshi','Inter',system-ui,sans-serif;
  --tt-text: 'Hanken Grotesk','Inter',system-ui,sans-serif;
  background: var(--tt-bg);
  background-image:
    radial-gradient(60% 50% at 18% 12%, rgba(0,163,255,.10), transparent 60%),
    radial-gradient(55% 45% at 88% 92%, rgba(29,73,227,.08), transparent 65%),
    linear-gradient(180deg, #F0FAFF 0%, #E9F5FF 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 20px;
  font-family: var(--tt-text);
  color: var(--tt-ink);
}
#sThinking .card {
  width: 100%; max-width: 440px;
  background: #fff; border: 1px solid var(--tt-line);
  border-radius: 20px; padding: 28px 28px 22px;
  box-shadow:
    0 1px 0 rgba(255,255,255,.7) inset,
    0 1px 2px rgba(16,24,40,.04),
    0 12px 40px -16px rgba(0,65,102,.18);
  opacity: 0; transform: translateY(14px);
  animation: ttCardIn .55s cubic-bezier(.2,.7,.2,1) .06s forwards;
}
@keyframes ttCardIn { to { opacity: 1; transform: none; } }

#sThinking .card-head { display: flex; align-items: center; margin-bottom: 18px; }
#sThinking .badge {
  display: inline-flex; align-items: center; gap: 6px;
  font-family: var(--tt-display);
  font-size: 13px; font-weight: 700; letter-spacing: .04em;
  color: var(--tt-blue-600); background: var(--tt-blue-100);
  padding: 5px 14px; border-radius: 100px;
}
#sThinking .badge::before {
  content: ""; width: 6px; height: 6px; border-radius: 50%;
  background: var(--tt-blue-500);
  box-shadow: 0 0 0 0 rgba(0,163,255,.55);
  animation: ttPulse 1.6s ease-out infinite;
}
@keyframes ttPulse {
  0%   { box-shadow: 0 0 0 0 rgba(0,163,255,.45); }
  70%  { box-shadow: 0 0 0 6px rgba(0,163,255,0); }
  100% { box-shadow: 0 0 0 0 rgba(0,163,255,0); }
}
#sThinking .card.is-done .badge { color: var(--tt-green-deep); background: var(--tt-green-tint-2); }
#sThinking .card.is-done .badge::before { background: var(--tt-green); animation: none; }

#sThinking .headline {
  position: relative; font-family: var(--tt-display); font-weight: 800;
  font-size: 28px; line-height: 1.14; letter-spacing: -0.025em; color: var(--tt-ink);
  margin: 2px 0 8px; padding-bottom: 0.12em; min-height: 1.14em;
}
#sThinking .hl-line {
  display: block; opacity: 0; transform: translateY(3px);
  transition: opacity .35s ease, transform .35s ease;
}
#sThinking .hl-line.is-active { opacity: 1; transform: none; position: relative; }
#sThinking .hl-line:not(.is-active) { position: absolute; inset: 0; pointer-events: none; }

#sThinking .sub {
  position: relative; margin: 0 0 18px; min-height: 22px;
  color: var(--tt-body); font-size: 15px; line-height: 1.45;
}
#sThinking .sub-line {
  position: absolute; inset: 0; opacity: 0; transform: translateY(2px);
  transition: opacity .3s ease, transform .3s ease; pointer-events: none;
}
#sThinking .sub-line.is-active { opacity: 1; transform: none; }

#sThinking .promises {
  list-style: none; padding: 0; margin: 0 0 6px;
  display: flex; flex-direction: column; gap: 8px;
}
#sThinking .promise {
  position: relative; display: flex; align-items: center; gap: 12px;
  padding: 12px 14px 12px 12px;
  background: var(--tt-row-bg); border: 1px solid var(--tt-line-soft); border-radius: 14px;
  font-size: 14px; font-weight: 500; color: var(--tt-muted); letter-spacing: .005em;
  opacity: 0; transform: translateY(6px); overflow: hidden;
  transition: opacity .35s ease, transform .35s ease,
              background-color .35s ease, border-color .35s ease, color .35s ease;
}
#sThinking .promise.is-visible { opacity: 1; transform: none; }
#sThinking .promise.is-active  { background: #fff; border-color: #D8EDFB; color: var(--tt-ink); }
#sThinking .promise.is-done {
  background: var(--tt-green-tint); border-color: rgba(76,176,146,.18);
  color: var(--tt-ink); font-weight: 600;
}
#sThinking .promise b {
  color: var(--tt-ink); font-weight: 700;
  font-family: var(--tt-display); letter-spacing: -0.005em;
}
#sThinking .promise.is-done b { color: var(--tt-green-deep); }
#sThinking .prom-text { flex: 1; min-width: 0; }

#sThinking .prom-mark {
  position: relative; width: 22px; height: 22px; flex: 0 0 22px;
  display: inline-grid; place-items: center; color: #fff;
}
#sThinking .prom-mark .ring { position: absolute; inset: 0; transform: rotate(-90deg); }
#sThinking .ring-track { stroke: var(--tt-line); }
#sThinking .ring-fill {
  stroke: var(--tt-blue-500); stroke-linecap: round;
  stroke-dasharray: 100; stroke-dashoffset: 100;
  transition: stroke-dashoffset 1500ms cubic-bezier(.4,0,.2,1), stroke .25s ease;
}
#sThinking .promise.is-active .ring-fill { stroke-dashoffset: 0; }
#sThinking .promise.is-done .ring-fill {
  stroke: var(--tt-green); stroke-dashoffset: 0; opacity: 0;
  transition: opacity .2s ease;
}
#sThinking .promise.is-done .ring-track {
  stroke: var(--tt-green); fill: var(--tt-green);
  transition: stroke .25s ease, fill .25s ease;
}
#sThinking .prom-mark .check {
  position: relative; z-index: 2; opacity: 0; transform: scale(.6);
  transition: opacity .2s ease, transform .35s cubic-bezier(.34,1.56,.64,1);
}
#sThinking .promise.is-done .prom-mark { animation: ttTickPop .42s cubic-bezier(.34,1.56,.64,1); }
#sThinking .promise.is-done .check { opacity: 1; transform: scale(1); }
@keyframes ttTickPop { 0%{ transform: scale(.92); } 55%{ transform: scale(1.12); } 100%{ transform: scale(1); } }

#sThinking .prom-bar {
  position: relative; width: 36px; height: 4px; flex: 0 0 36px;
  background: rgba(0,163,255,.12); border-radius: 100px; overflow: hidden;
  opacity: 0; transition: opacity .25s ease;
}
#sThinking .promise.is-active .prom-bar { opacity: 1; }
#sThinking .promise.is-done .prom-bar { opacity: 0; }
#sThinking .prom-bar i {
  position: absolute; inset: 0 auto 0 0; width: 0%;
  background: linear-gradient(90deg, var(--tt-blue-500) 0%, var(--tt-indigo) 100%);
  border-radius: 100px;
  transition: width 1600ms cubic-bezier(.4,0,.2,1);
}
#sThinking .promise.is-active .prom-bar i { width: 100%; }

@media (max-width: 420px) {
  #sThinking { padding: 24px 16px; }
  #sThinking .card { padding: 24px 20px 20px; border-radius: 18px; }
  #sThinking .headline { font-size: 25px; }
  #sThinking .promise { font-size: 13.5px; padding: 11px 12px; gap: 10px; }
  #sThinking .prom-bar { width: 28px; flex-basis: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  #sThinking *, #sThinking *::before, #sThinking *::after {
    animation-duration: .001ms !important;
    transition-duration: .001ms !important;
  }
}


@media (max-width: 480px) {
  .qualified-heading-simple { font-size: 21px !important; }
  .subject-multi-link { font-size: 12px; padding: 8px 14px; }
}
