/* ============================================================
   Camelback Smile Studio — Smile Quiz lander
   Premium dental aesthetic: porcelain, deep teal, warm coral.
   ============================================================ */

:root {
  --teal-900: #0b3d3c;
  --teal-700: #0f7c7b;
  --teal-500: #16a3a1;
  --teal-100: #d9f2f1;
  --teal-050: #eefaf9;
  --coral-600: #cf461f;
  --coral-550: #e64f2b;
  --coral-500: #ff6b4a;
  --coral-100: #ffe4dc;
  --gold-500: #e8b84b;
  --ink-900: #17242b;
  --ink-600: #46595f;
  --ink-400: #5f7178;
  --porcelain: #faf7f2;
  --white: #ffffff;
  --card-shadow: 0 24px 60px -24px rgba(11, 61, 60, 0.28);
  --card-shadow-sm: 0 12px 32px -16px rgba(11, 61, 60, 0.22);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --font-display: "Fraunces", Georgia, "Times New Roman", serif;
  --font-body: "Plus Jakarta Sans", "Segoe UI", system-ui, -apple-system, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink-900);
  background: var(--porcelain);
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------- ambient background ---------- */
.bg-decor { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }
.blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: 0.5; }
.blob-1 { width: 46vw; height: 46vw; min-width: 380px; min-height: 380px; background: var(--teal-100); top: -12%; right: -10%; }
.blob-2 { width: 34vw; height: 34vw; min-width: 300px; min-height: 300px; background: var(--coral-100); bottom: -8%; left: -8%; }
.blob-3 { width: 22vw; height: 22vw; min-width: 220px; min-height: 220px; background: #fdf0d5; top: 40%; left: 30%; opacity: 0.4; }

/* ---------- top bar ---------- */
.topbar {
  position: relative; z-index: 5;
  display: flex; align-items: center; justify-content: space-between;
  padding: 18px clamp(18px, 4vw, 48px);
}
.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--teal-900); }
.brand-mark { width: 34px; height: 34px; fill: var(--teal-700); }
.brand-spark { fill: var(--gold-500); }
.brand-name { font-family: var(--font-display); font-weight: 600; font-size: 1.05rem; letter-spacing: 0.01em; }
.brand-name em { font-style: normal; color: var(--teal-700); }
.topbar-right { display: flex; align-items: center; gap: 16px; font-size: 0.88rem; }
.topbar-loc { color: var(--ink-400); font-weight: 500; }
.topbar-phone { color: var(--teal-700); font-weight: 700; text-decoration: none; padding: 8px 14px; border: 1.5px solid var(--teal-100); border-radius: 999px; background: var(--white); transition: all .2s ease; }
.topbar-phone:hover { border-color: var(--teal-500); box-shadow: var(--card-shadow-sm); }

/* ---------- screens ---------- */
#app { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; }
.screen { display: none; flex: 1; padding: clamp(12px, 3vw, 32px) clamp(18px, 4vw, 48px) 48px; }
.screen.is-active { display: flex; flex-direction: column; animation: screenIn .45s cubic-bezier(.2,.9,.3,1) both; }
@keyframes screenIn { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }

/* ---------- buttons ---------- */
.btn {
  font-family: var(--font-body);
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  border: 0; cursor: pointer; text-decoration: none;
  border-radius: 999px; font-weight: 800; letter-spacing: 0.01em;
  transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}
.btn-primary {
  background: linear-gradient(135deg, var(--coral-550), var(--coral-600));
  color: #fff;
  box-shadow: 0 14px 30px -10px rgba(207, 70, 31, 0.55);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 20px 40px -12px rgba(207, 70, 31, 0.6); }
.btn-primary:active { transform: translateY(0); }
.btn-xl { font-size: 1.08rem; padding: 18px 34px; }
.btn-block { width: 100%; }
.btn-arrow { width: 20px; height: 20px; }

/* ============================================================
   HERO
   ============================================================ */
.screen-hero { justify-content: center; }
.hero-grid {
  display: grid; grid-template-columns: 1.05fr 0.95fr; gap: clamp(28px, 5vw, 72px);
  align-items: center; max-width: 1120px; margin: 0 auto; width: 100%;
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--white); border: 1.5px solid var(--teal-100);
  padding: 8px 16px; border-radius: 999px;
  font-size: 0.82rem; font-weight: 700; color: var(--teal-700);
  box-shadow: var(--card-shadow-sm);
  margin-bottom: 20px;
}
.pulse-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--coral-500); animation: pulse 1.8s ease-in-out infinite; }
@keyframes pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.5); opacity: 0.55; } }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  font-weight: 600; line-height: 1.08; letter-spacing: -0.015em;
  color: var(--teal-900);
  margin-bottom: 18px;
}
.hero-hl { position: relative; color: var(--teal-700); white-space: nowrap; }
.hero-hl::after {
  content: ""; position: absolute; left: 0; right: 0; bottom: 0.02em; height: 0.28em;
  background: linear-gradient(90deg, rgba(232,184,75,.55), rgba(255,107,74,.45));
  border-radius: 999px; z-index: -1;
}
.hero-sub { font-size: clamp(1rem, 1.6vw, 1.15rem); line-height: 1.6; color: var(--ink-600); max-width: 34rem; margin-bottom: 28px; }
.hero-micro { margin-top: 14px; font-size: 0.85rem; color: var(--ink-400); font-weight: 600; }

.trust-strip {
  display: flex; align-items: center; flex-wrap: wrap; gap: 10px;
  margin-top: 28px;
}
.trust-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 0.82rem; color: var(--ink-600); font-weight: 600;
  background: var(--white); border-radius: 999px; padding: 9px 15px;
  box-shadow: var(--card-shadow-sm);
}
.trust-stars { color: var(--gold-500); letter-spacing: 2px; font-size: 0.9rem; }
.trust-num { font-family: var(--font-display); font-weight: 700; color: var(--teal-700); font-size: 1.02rem; }

/* ---------- hero toy: shade slider ---------- */
.hero-toy { position: relative; }
.shade-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 22px; box-shadow: var(--card-shadow);
  position: relative; z-index: 2;
}
.shade-card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.shade-title { font-weight: 700; font-size: 0.95rem; color: var(--teal-900); }
.shade-badge { font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.08em; color: var(--coral-600); background: var(--coral-100); padding: 5px 10px; border-radius: 999px; }

.shade-stage {
  position: relative; border-radius: var(--radius-md); overflow: hidden;
  user-select: none; touch-action: none;
  cursor: grab;
  box-shadow: inset 0 0 0 1px rgba(11, 61, 60, 0.08);
}
.shade-stage.is-dragging { cursor: grabbing; }
.shade-teeth { display: block; width: 100%; height: auto; }
.shade-after-wrap {
  position: absolute; inset: 0;
  clip-path: inset(0 0 0 var(--reveal, 38%));
}
.shade-after-wrap .shade-teeth { position: absolute; inset: 0; width: 100%; height: 100%; }
.shade-sparkle { position: absolute; color: #fff; opacity: 0.9; font-size: 14px; animation: twinkle 2.2s ease-in-out infinite; text-shadow: 0 0 8px rgba(255,255,255,.8); }
.shade-sparkle.s1 { top: 40%; right: 18%; animation-delay: 0s; }
.shade-sparkle.s2 { top: 56%; right: 34%; animation-delay: .7s; font-size: 10px; }
.shade-sparkle.s3 { top: 44%; right: 46%; animation-delay: 1.3s; font-size: 12px; }
@keyframes twinkle { 0%,100% { opacity: .25; transform: scale(.8); } 50% { opacity: 1; transform: scale(1.15); } }

.shade-divider {
  position: absolute; top: 0; bottom: 0; left: var(--reveal, 38%);
  width: 3px; background: #fff; box-shadow: 0 0 14px rgba(255,255,255,.7);
  display: flex; align-items: center; justify-content: center;
}
.shade-grip {
  position: absolute; width: 34px; height: 34px; border-radius: 50%;
  background: #fff; box-shadow: 0 4px 14px rgba(0,0,0,.28);
}
.shade-grip::before { content: "◂ ▸"; font-size: 11px; color: var(--teal-700); display: flex; align-items: center; justify-content: center; height: 100%; letter-spacing: 1px; }

.shade-range { width: 100%; margin-top: 14px; accent-color: var(--teal-700); cursor: ew-resize; }
.shade-labels { display: flex; justify-content: space-between; font-size: 0.78rem; font-weight: 700; color: var(--ink-400); margin-top: 6px; text-transform: uppercase; letter-spacing: 0.08em; }
.shade-labels .shade-code { color: var(--teal-700); font-weight: 800; }

.chip-row { display: contents; }
.float-chip {
  position: absolute; z-index: 3;
  background: var(--white); border-radius: 999px;
  padding: 9px 16px; font-size: 0.85rem; font-weight: 700; color: var(--teal-900);
  box-shadow: var(--card-shadow-sm);
  animation: floaty 4.5s ease-in-out infinite;
}

body { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 2px solid var(--teal-500); outline-offset: 3px; }

.demo-flag {
  position: fixed; left: 14px; bottom: 14px; z-index: 9999;
  font: 500 10px/1 'Plus Jakarta Sans', sans-serif;
  letter-spacing: 0.12em; text-transform: uppercase;
  background: rgba(15,23,26,.82); color: #fff;
  padding: 7px 11px; border-radius: 999px; pointer-events: none;
}
.chip-implant { top: -18px; left: -14px; animation-delay: 0s; }
.chip-veneer  { top: 12%; right: -26px; animation-delay: 1.1s; }
.chip-invis   { bottom: -14px; left: 8%; animation-delay: 2.2s; }
.chip-white   { bottom: 13%; left: -32px; animation-delay: 3.1s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-9px); } }

/* ============================================================
   QUIZ
   ============================================================ */
.screen-quiz { justify-content: flex-start; }
.quiz-shell { width: 100%; max-width: 640px; margin: 0 auto; }
.quiz-top { display: flex; align-items: center; gap: 16px; margin-bottom: 22px; }
.quiz-back {
  width: 42px; height: 42px; flex: 0 0 auto; border-radius: 50%;
  border: 1.5px solid var(--teal-100); background: var(--white);
  color: var(--teal-700); cursor: pointer; display: flex; align-items: center; justify-content: center;
  transition: all .18s ease;
}
.quiz-back svg { width: 20px; height: 20px; }
.quiz-back:hover { border-color: var(--teal-500); }
.quiz-back[disabled] { opacity: 0.35; cursor: default; }
.quiz-progress { flex: 1; }
.quiz-progress-track { height: 8px; border-radius: 999px; background: #e5ded3; overflow: hidden; }
.quiz-progress-fill {
  height: 100%; width: 0; border-radius: 999px;
  background: linear-gradient(90deg, var(--teal-500), var(--teal-700));
  transition: width .45s cubic-bezier(.2,.9,.3,1);
}
.quiz-progress-label { display: block; margin-top: 6px; font-size: 0.75rem; font-weight: 700; color: var(--ink-400); letter-spacing: 0.06em; }
.smile-meter { width: 44px; height: 44px; flex: 0 0 auto; }
.smile-meter svg { width: 100%; height: 100%; }
.meter-track { stroke: #e5ded3; stroke-width: 4.5; }
.meter-fill { stroke: var(--coral-500); stroke-width: 4.5; stroke-dasharray: 36; stroke-dashoffset: 36; transition: stroke-dashoffset .5s ease; }
.meter-eye { fill: var(--teal-700); }

.quiz-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: clamp(22px, 4vw, 36px); box-shadow: var(--card-shadow);
}
.quiz-q { font-family: var(--font-display); font-size: clamp(1.35rem, 3vw, 1.8rem); font-weight: 600; color: var(--teal-900); line-height: 1.2; outline: none; }
.quiz-hint { margin-top: 8px; font-size: 0.9rem; color: var(--ink-400); font-weight: 500; min-height: 1.2em; }
.quiz-options { display: grid; gap: 12px; margin-top: 22px; }

.quiz-option {
  display: flex; align-items: center; gap: 14px; width: 100%; text-align: left;
  border: 2px solid #ece5d8; background: var(--porcelain);
  border-radius: var(--radius-md); padding: 16px 18px;
  font-family: var(--font-body); font-size: 1rem; font-weight: 600; color: var(--ink-900);
  cursor: pointer; transition: all .16s ease;
}
@media (hover: hover) {
  .quiz-option:hover { border-color: var(--teal-500); background: var(--teal-050); transform: translateX(3px); }
}
.quiz-option:active { border-color: var(--teal-500); }
.quiz-option.is-picked { border-color: var(--teal-700); background: var(--teal-100); animation: pickPop .28s ease; }
@keyframes pickPop { 40% { transform: scale(0.985); } 100% { transform: scale(1); } }
.quiz-option .opt-emoji { font-size: 1.45rem; flex: 0 0 auto; }
.quiz-option .opt-check { margin-left: auto; width: 22px; height: 22px; border-radius: 50%; border: 2px solid #d9d0c0; flex: 0 0 auto; transition: all .16s ease; position: relative; }
.quiz-option.is-picked .opt-check { border-color: var(--teal-700); background: var(--teal-700); }
.quiz-option.is-picked .opt-check::after { content: "✓"; position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 12px; font-weight: 800; }

/* ============================================================
   ANALYZING
   ============================================================ */
.screen-analyzing { justify-content: center; align-items: center; text-align: center; }
.analyzing-shell { max-width: 420px; margin: 0 auto; }
.analyzing-tooth { position: relative; width: 120px; height: 120px; margin: 0 auto 26px; }
.analyzing-tooth svg { width: 72px; height: 72px; position: absolute; inset: 0; margin: auto; }
.a-tooth { fill: var(--teal-700); animation: toothBob 1.6s ease-in-out infinite; transform-origin: center; }
@keyframes toothBob { 0%,100% { transform: scale(1); } 50% { transform: scale(1.07); } }
.a-ring {
  position: absolute; inset: 0; border-radius: 50%;
  border: 3px solid var(--teal-100); border-top-color: var(--coral-500);
  animation: spin 1.1s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.a-spark { position: absolute; color: var(--gold-500); animation: twinkle 1.6s ease-in-out infinite; }
.a-spark.sp1 { top: 2px; right: 10px; }
.a-spark.sp2 { bottom: 8px; left: 4px; animation-delay: .5s; }
.a-spark.sp3 { top: 30px; left: -8px; animation-delay: 1s; font-size: 11px; }

.analyzing-title { font-family: var(--font-display); font-size: 1.6rem; font-weight: 600; color: var(--teal-900); margin-bottom: 20px; }
.analyzing-steps { list-style: none; display: grid; gap: 10px; text-align: left; }
.analyzing-steps li {
  display: flex; align-items: center; gap: 10px;
  font-weight: 600; color: var(--ink-400); font-size: 0.95rem;
  opacity: 0.45; transition: all .3s ease;
}
.analyzing-steps li::before {
  content: ""; width: 20px; height: 20px; flex: 0 0 auto; border-radius: 50%;
  border: 2px solid #d9d0c0; transition: all .3s ease;
}
.analyzing-steps li.is-done { opacity: 1; color: var(--teal-900); }
.analyzing-steps li.is-done::before {
  content: "✓"; border-color: var(--teal-700); background: var(--teal-700);
  color: #fff; font-size: 11px; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
}

/* ============================================================
   GATE
   ============================================================ */
.screen-gate { justify-content: center; }
.gate-shell {
  width: 100%; max-width: 520px; margin: 0 auto;
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow); padding: clamp(24px, 4vw, 38px);
}
.gate-teaser { display: flex; gap: 20px; align-items: center; margin-bottom: 26px; }
.gate-dial-wrap { position: relative; width: 108px; height: 108px; flex: 0 0 auto; }
.gate-dial { width: 100%; height: 100%; transform: rotate(-90deg); }
.dial-track { fill: none; stroke: #ece5d8; stroke-width: 10; }
.dial-fill { fill: none; stroke: url(#dialGrad), var(--teal-500); stroke: var(--teal-500); stroke-width: 10; stroke-linecap: round; stroke-dasharray: 326.7; stroke-dashoffset: 326.7; }
.dial-teaser { stroke-dashoffset: 98; filter: blur(3px); opacity: .8; animation: teaserPulse 2s ease-in-out infinite; }
@keyframes teaserPulse { 0%,100% { opacity: .55; } 50% { opacity: .9; } }
.gate-dial-lock { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; font-size: 1.7rem; }
.gate-ready { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--coral-600); }
.gate-title { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 1.75rem); font-weight: 600; color: var(--teal-900); margin: 6px 0; }
.gate-sub { font-size: 0.95rem; color: var(--ink-600); line-height: 1.55; }

.gate-form { display: grid; gap: 16px; }
.field { display: grid; gap: 6px; }
.field label { font-size: 0.85rem; font-weight: 700; color: var(--teal-900); }
.label-opt { font-weight: 500; color: var(--ink-400); }
.field input {
  font-family: var(--font-body); font-size: 1rem; font-weight: 500;
  padding: 14px 16px; border-radius: var(--radius-sm);
  border: 2px solid #ece5d8; background: var(--porcelain); color: var(--ink-900);
  transition: border-color .18s ease, box-shadow .18s ease;
  width: 100%;
}
.field input:focus { outline: none; border-color: var(--teal-500); box-shadow: 0 0 0 4px rgba(22,163,161,.15); background: var(--white); }
.field.has-error input { border-color: var(--coral-600); }
.field-err { display: none; font-size: 0.8rem; font-weight: 600; color: var(--coral-600); }
.field.has-error .field-err { display: block; }
.gate-consent { font-size: 0.78rem; color: var(--ink-400); line-height: 1.5; text-align: center; }

/* ============================================================
   RESULTS
   ============================================================ */
.screen-results { position: relative; }
#confetti-canvas { position: fixed; inset: 0; pointer-events: none; z-index: 50; }
.results-shell { width: 100%; max-width: 640px; margin: 0 auto; display: grid; gap: 20px; }
.results-head { text-align: center; }
.results-eyebrow { font-size: 0.8rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: var(--coral-600); }
.results-title { font-family: var(--font-display); font-size: clamp(1.8rem, 4vw, 2.5rem); font-weight: 600; color: var(--teal-900); margin-top: 6px; outline: none; }

.score-row {
  display: flex; gap: 22px; align-items: center;
  background: var(--white); border-radius: var(--radius-lg);
  padding: 24px; box-shadow: var(--card-shadow);
}
.score-dial-col { display: flex; flex-direction: column; align-items: center; gap: 10px; flex: 0 0 auto; }
.score-dial-wrap { position: relative; width: 128px; height: 128px; }
.score-dial { width: 100%; height: 100%; transform: rotate(-90deg); }
#dial-fill { transition: stroke-dashoffset 1.4s cubic-bezier(.3,.8,.3,1); stroke: var(--teal-500); }
.score-num { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; }
.score-num span { font-family: var(--font-display); font-size: 2.4rem; font-weight: 700; color: var(--teal-900); line-height: 1; }
.score-num small { font-size: 0.85rem; font-weight: 700; color: var(--ink-400); line-height: 1; margin-top: 3px; }
.score-caption { font-size: 0.72rem; color: var(--ink-400); font-weight: 600; text-align: center; max-width: 170px; line-height: 1.45; }
.score-blurb h3 { font-family: var(--font-display); font-size: 1.25rem; color: var(--teal-900); margin-bottom: 6px; }
.score-blurb p { font-size: 0.95rem; color: var(--ink-600); line-height: 1.55; }

.match-card {
  background: linear-gradient(150deg, var(--teal-900), #0e5958);
  color: #f2fbfa; border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 34px); box-shadow: var(--card-shadow);
}
.match-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 8px; }
.match-label { font-size: 0.75rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.1em; color: #8fd4d2; }
.match-emoji { font-size: 1.6rem; }
.match-name { font-family: var(--font-display); font-size: clamp(1.6rem, 3.5vw, 2.1rem); font-weight: 600; margin-bottom: 10px; }
.match-desc { font-size: 0.98rem; line-height: 1.6; color: #cfeeed; margin-bottom: 18px; }

.readiness { background: rgba(255,255,255,0.08); border-radius: var(--radius-md); padding: 16px 18px; margin-bottom: 18px; }
.readiness-top { display: flex; justify-content: space-between; font-size: 0.85rem; font-weight: 700; margin-bottom: 8px; }
.readiness-pct { color: var(--gold-500); font-family: var(--font-display); font-size: 1.05rem; }
.readiness-track { height: 10px; border-radius: 999px; background: rgba(255,255,255,0.15); overflow: hidden; }
.readiness-fill { height: 100%; width: 0; border-radius: 999px; background: linear-gradient(90deg, var(--gold-500), var(--coral-500)); transition: width 1.2s cubic-bezier(.3,.8,.3,1) .4s; }
.readiness-note { margin-top: 10px; font-size: 0.8rem; color: #a9dedd; line-height: 1.5; }

.match-points { list-style: none; display: grid; gap: 10px; margin-bottom: 6px; }
.match-points li { display: flex; gap: 10px; font-size: 0.95rem; line-height: 1.5; color: #eafaf9; }
.match-points li::before { content: "✦"; color: var(--gold-500); flex: 0 0 auto; }
.match-alt { margin-top: 14px; padding-top: 14px; border-top: 1px solid rgba(255,255,255,0.14); font-size: 0.88rem; color: #a9dedd; line-height: 1.55; }
.match-alt strong { color: #fff; }

.cta-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: clamp(24px, 4vw, 32px); box-shadow: var(--card-shadow);
  text-align: center;
}
.cta-copy h3 { font-family: var(--font-display); font-size: 1.4rem; color: var(--teal-900); margin-bottom: 8px; }
.cta-copy p { font-size: 0.95rem; color: var(--ink-600); line-height: 1.6; max-width: 30rem; margin: 0 auto 20px; }
.cta-quote {
  background: var(--teal-050); border-radius: var(--radius-md);
  padding: 16px 20px; margin: 0 auto 18px; max-width: 30rem;
}
.cta-quote .trust-stars { display: block; margin-bottom: 6px; }
.cta-quote p { font-size: 0.95rem; color: var(--teal-900); font-weight: 600; line-height: 1.55; margin-bottom: 6px; font-style: italic; }
.cta-quote cite { font-size: 0.8rem; color: var(--ink-400); font-weight: 700; font-style: normal; }
.cta-urgency {
  font-size: 0.88rem; color: var(--coral-600); font-weight: 700;
  max-width: 30rem; margin: 0 auto 16px; line-height: 1.5;
}
.cta-micro { margin-top: 12px; font-size: 0.82rem; color: var(--ink-400); font-weight: 600; }
.cta-micro a { color: var(--teal-700); font-weight: 800; text-decoration: none; }

.results-disclaimer { font-size: 0.78rem; color: var(--ink-400); text-align: center; line-height: 1.55; max-width: 34rem; margin: 4px auto 0; }
.restart {
  background: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-weight: 700; font-size: 0.9rem;
  color: var(--teal-700); margin: 4px auto 0; padding: 10px;
}
.restart:hover { text-decoration: underline; }

/* ============================================================
   BOOKING
   ============================================================ */
.screen-booking { justify-content: center; }
.booking-shell {
  width: 100%; max-width: 520px; margin: 0 auto; text-align: center;
  background: var(--white); border-radius: var(--radius-lg);
  box-shadow: var(--card-shadow); padding: clamp(24px, 4vw, 38px);
}
.booking-title { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 1.8rem); font-weight: 600; color: var(--teal-900); margin: 6px 0 8px; outline: none; }
.booking-sub { font-size: 0.95rem; color: var(--ink-600); line-height: 1.55; margin-bottom: 22px; }
.slot-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-bottom: 20px; }
.slot {
  font-family: var(--font-body); font-size: 0.92rem; font-weight: 700; color: var(--ink-900);
  border: 2px solid #ece5d8; background: var(--porcelain);
  border-radius: var(--radius-md); padding: 15px 10px; cursor: pointer;
  transition: all .16s ease;
}
.slot:hover { border-color: var(--teal-500); background: var(--teal-050); }
.slot.is-picked { border-color: var(--teal-700); background: var(--teal-100); animation: pickPop .28s ease; }
.btn[disabled] { opacity: 0.45; cursor: default; transform: none !important; }
.booking-check {
  width: 72px; height: 72px; margin: 6px auto 16px; border-radius: 50%;
  background: linear-gradient(135deg, var(--teal-500), var(--teal-700));
  color: #fff; font-size: 2rem; font-weight: 800;
  display: flex; align-items: center; justify-content: center;
  box-shadow: var(--card-shadow-sm);
}
.booking-done-line { font-size: 1rem; color: var(--ink-900); font-weight: 600; margin-bottom: 10px; }
.booking-note { font-size: 0.88rem; color: var(--ink-600); line-height: 1.55; margin-bottom: 10px; }

/* ---------- footer ---------- */
.footer { position: relative; z-index: 2; padding: 22px clamp(18px, 4vw, 48px); }
.footer-inner {
  display: flex; flex-wrap: wrap; gap: 8px 20px; justify-content: space-between;
  font-size: 0.75rem; color: var(--ink-400); border-top: 1px solid #e8e1d4; padding-top: 18px;
}
.footer-demo { opacity: 0.85; }
.footer-tm { flex-basis: 100%; opacity: 0.7; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { text-align: center; display: flex; flex-direction: column; align-items: center; }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-toy { max-width: 460px; margin: 0 auto; width: 100%; }
  .chip-white { left: -10px; }
  .chip-veneer { right: -10px; }
}
@media (max-width: 560px) {
  .topbar-loc { display: none; }
  .topbar-phone { font-size: 0.8rem; padding: 7px 11px; }
  .brand-name { font-size: 0.92rem; }
  .screen { padding-left: 16px; padding-right: 16px; padding-bottom: 58px; }

  /* hero: rebuilt order — promise, ACTION above the fold, then the toy */
  .screen { padding-top: 14px; }
  .hero-grid { display: flex; flex-direction: column; gap: 0; }
  .hero-copy { display: contents; }
  .hero-eyebrow { order: 1; margin: 0 auto 10px; }
  .hero-title { order: 2; text-align: center; font-size: clamp(1.7rem, 7.4vw, 2.05rem); margin-bottom: 10px; }
  .hero-sub { order: 3; text-align: center; font-size: 0.92rem; line-height: 1.5; margin: 0 auto 16px; }
  #btn-start { order: 4; width: 100%; max-width: 420px; margin: 0 auto; justify-content: center; }
  .hero-micro { order: 5; text-align: center; margin: 9px auto 2px; font-size: 0.74rem; }
  .hero-toy { order: 6; margin: 16px auto 0; }
  .trust-strip { order: 7; justify-content: center; margin-top: 16px; gap: 8px; }
  .trust-item { font-size: 0.72rem; padding: 7px 11px; gap: 5px; }
  .trust-stars { font-size: 0.78rem; letter-spacing: 1px; }
  .trust-num { font-size: 0.9rem; }

  /* shade card: tight, one-line labels, chips become a tag row */
  .shade-card { padding: 12px; }
  .shade-card-head { gap: 8px; margin-bottom: 10px; }
  .shade-title { font-size: 0.8rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; min-width: 0; }
  .shade-badge { font-size: 0.56rem; padding: 4px 8px; white-space: nowrap; flex: 0 0 auto; }
  .shade-labels { font-size: 0.6rem; letter-spacing: 0.05em; gap: 10px; }
  .shade-labels > * { white-space: nowrap; }
  .shade-grip { width: 40px; height: 40px; }
  .chip-row { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 12px; }
  .float-chip { position: static; animation: none; font-size: 0.72rem; padding: 6px 11px; }

  /* demo flag: slim full-width bottom bar instead of a floating pill */
  .demo-flag {
    left: 0; right: 0; bottom: 0; border-radius: 0;
    text-align: center; padding: 8px 12px; font-size: 9px;
    background: rgba(15,23,26,.92);
  }

  /* quiz: question + all five options on one screen */
  .quiz-top { margin-bottom: 14px; }
  .quiz-card { padding: 18px 16px 20px; }
  .quiz-q { font-size: 1.22rem; }
  .quiz-hint { font-size: 0.8rem; margin-top: 5px; }
  .quiz-options { gap: 8px; margin-top: 14px; }
  .quiz-option { padding: 12px 13px; gap: 10px; font-size: 0.95rem; }
  .quiz-option .opt-emoji { font-size: 1.15rem; }
  .quiz-option .opt-check { width: 20px; height: 20px; }

  .score-row { flex-direction: column; text-align: center; }
  .gate-teaser { flex-direction: column; text-align: center; }
  .btn-xl { font-size: 0.98rem; padding: 16px 20px; white-space: nowrap; }
  .slot-grid { grid-template-columns: 1fr; }
}

/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001s !important; animation-iteration-count: 1 !important; transition-duration: 0.001s !important; }
  html { scroll-behavior: auto; }
}
