:root {
  --tear-bottom: url("data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 viewBox%3D%220 0 480 28%22 preserveAspectRatio%3D%22none%22%3E%3Cpath d%3D%22M0 0 L0.0 16.9 L5.5 12.9 L8.9 14.9 L11.6 12.7 L18.1 9.9 L20.3 12.4 L26.9 11.4 L31.5 9.7 L36.2 10.0 L41.1 10.8 L46.2 12.8 L52.7 14.4 L59.4 13.2 L63.4 12.7 L65.5 16.2 L69.1 13.5 L71.6 16.1 L77.0 15.0 L81.4 13.2 L86.9 15.0 L89.1 14.2 L95.1 15.3 L98.8 9.1 L102.8 11.5 L108.7 14.7 L110.9 14.2 L117.5 13.1 L124.4 12.3 L128.4 16.4 L132.4 16.1 L137.2 14.5 L140.2 18.3 L146.5 21.0 L151.6 19.7 L157.7 22.9 L162.3 20.2 L166.6 21.9 L173.6 23.0 L178.7 22.3 L183.1 22.9 L188.4 19.4 L191.7 17.5 L195.4 17.5 L199.3 19.5 L201.9 15.6 L207.5 14.9 L210.9 16.7 L216.8 14.8 L222.1 15.2 L229.0 16.8 L232.5 15.2 L237.6 15.5 L239.8 15.2 L246.3 15.4 L249.5 15.4 L254.9 15.3 L260.4 16.5 L263.7 15.4 L266.9 15.9 L270.9 13.8 L273.4 10.8 L276.3 14.0 L280.2 15.3 L282.8 11.3 L285.9 10.7 L288.6 13.6 L292.6 10.3 L296.8 11.4 L303.5 8.7 L306.4 9.7 L311.2 11.9 L316.8 8.4 L321.9 12.1 L327.0 8.8 L332.4 11.5 L336.2 14.2 L340.8 15.6 L343.1 16.0 L345.6 14.5 L352.2 18.2 L356.5 19.2 L363.1 17.9 L368.4 19.1 L372.6 20.2 L379.0 17.9 L381.3 16.9 L386.2 18.4 L389.7 21.4 L393.1 16.2 L395.9 18.9 L401.7 15.4 L406.0 15.3 L411.6 15.6 L417.2 17.9 L421.8 20.6 L426.5 18.9 L433.2 21.5 L438.7 25.0 L442.0 22.3 L445.8 20.5 L449.5 23.2 L455.6 21.0 L461.5 21.8 L465.1 18.9 L470.0 18.9 L476.5 17.4 L479.7 15.4 L480.0 16.9 L480 0Z%22%2F%3E%3C%2Fsvg%3E");
  --brown: #6f4e37;
  --brown-deep: #4c3425;
  --cream: #f4eee4;
  --paper: #fbf8f3;
  --ink: #28282b;
  --gloss: #ef93ad;
  --gloss-deep: #c9587d;
  --rose: #a25b71;
  --rose-800: #864659;
  --rose-50: #fbf4f6;
  --rose-200: #ebcdd5;
  --tan: #c19a6b;
  --stone-200: #e8ddcc;
  --stone-300: #d6c5ad;
  --stone-500: #83705d;
  --stone-600: #645344;
  --serif: "Bodoni Moda", "Didot", "Bodoni 72", Georgia, serif;
  --sans: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: "DM Mono", ui-monospace, Menlo, Consolas, monospace;
  --hand: "Caveat", "Bradley Hand", cursive;
}

/* Headlines: heaviest Bodoni cut at a small optical size, so the hairlines stay thick enough to read. */
.hero-title, .q-title, .lead-title, .card-title, .verdict-title {
  font-family: var(--serif); font-weight: 900;
  font-optical-sizing: none; font-variation-settings: "opsz" 10;
  letter-spacing: -0.015em;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: var(--paper);
  background-image: radial-gradient(rgb(111 78 55 / 0.07) 1px, transparent 1px);
  background-size: 22px 22px;
  line-height: 1.55;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main { flex: 1; }
img { max-width: 100%; display: block; }
button { font: inherit; }
.hidden { display: none; }

.wrap { width: 100%; max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }

/* ---------- Lab stage ---------- */
.lab-stage {
  background-color: var(--brown);
  background-image:
    radial-gradient(60% 80% at 85% 10%, rgb(239 147 173 / 0.18), transparent 60%),
    radial-gradient(50% 60% at 0% 100%, rgb(76 52 37 / 0.7), transparent 70%);
  color: var(--cream);
  position: relative;
}
.tear-bottom {
  -webkit-mask: linear-gradient(#000, #000) top / 100% calc(100% - 27px) no-repeat, var(--tear-bottom) bottom left / 480px 28px repeat-x;
  mask: linear-gradient(#000, #000) top / 100% calc(100% - 27px) no-repeat, var(--tear-bottom) bottom left / 480px 28px repeat-x;
}

.site-header { border-bottom: 1px solid rgb(255 255 255 / 0.1); z-index: 3; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-top: 12px; padding-bottom: 12px; }
.brand img { height: 48px; width: auto; }
.live-dot { display: inline-block; width: 7px; height: 7px; border-radius: 99px; background: var(--gloss); margin-right: 10px; vertical-align: 1px; box-shadow: 0 0 0 0 rgb(239 147 173 / 0.7); animation: ping 1.8s ease-out infinite; }
@keyframes ping { to { box-shadow: 0 0 0 9px rgb(239 147 173 / 0); } }
.header-tag {
  font-family: var(--mono); font-size: 10px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone-300);
  border-left: 1px solid rgb(255 255 255 / 0.2); padding-left: 16px;
}
@media (max-width: 640px) { .header-tag { display: none; } }

/* ---------- Specimen labels ---------- */
.specimen, .specimen-light {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 4px 10px; font-family: var(--mono); font-size: 10px; font-weight: 500;
  letter-spacing: 0.18em; text-transform: uppercase;
}
.specimen { border: 1px solid var(--ink); background: #fff; color: var(--ink); }
.specimen::before, .specimen-light::before { content: ""; width: 6px; height: 6px; border-radius: 99px; background: var(--rose); }
.specimen-light { border: 1px solid rgb(255 255 255 / 0.7); color: #fff; }
.specimen-light::before { background: var(--gloss); }

/* ---------- Hero ---------- */
.hero { overflow: hidden; }
.hero-inner { position: relative; z-index: 1; padding-top: 72px; padding-bottom: 130px; display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
@media (max-width: 900px) { .hero-inner { grid-template-columns: 1fr; } .beaker { display: none; } }
.hero-title {
  color: #fff;
  font-size: clamp(2.7rem, 6.6vw, 5.4rem); line-height: 0.98; margin: 28px 0 0;
  text-shadow: 0 2px 0 rgb(40 26 18 / 0.45), 0 4px 22px rgb(40 26 18 / 0.45);
  max-width: 14ch;
}
.text-gloss {
  color: transparent; background: linear-gradient(100deg, #ffd3df, #f6a3bb 30%, #ef93ad 50%, #ffd3df 60%, #ef93ad 80%);
  background-size: 250% 100%;
  -webkit-background-clip: text; background-clip: text; text-shadow: none;
  filter: drop-shadow(0 2px 0 rgb(40 26 18 / 0.45));
  animation: sheen 6s linear infinite;
}
@keyframes sheen { from { background-position: 100% 0; } to { background-position: -150% 0; } }
.hero-lede { margin: 26px 0 0; max-width: 40rem; font-size: clamp(1.1rem, 2vw, 1.3rem); line-height: 1.45; color: var(--cream); }
.pains-label { margin: 22px 0 0; font-size: 26px; color: var(--gloss); transform: rotate(-2deg); transform-origin: left; }
.hero-pains { list-style: none; padding: 0; margin: 6px 0 0; display: grid; gap: 6px; max-width: 36rem; }
.hero-pains li { position: relative; padding-left: 24px; color: var(--cream); }
.hero-pains li::before { content: "✓"; position: absolute; left: 0; color: var(--gloss); font-weight: 700; }
.hero-meta {
  margin: 24px 0 34px; display: inline-flex; flex-wrap: wrap; gap: 4px 12px;
  border: 1px solid rgb(255 255 255 / 0.3); background: rgb(0 0 0 / 0.15); border-radius: 99px;
  padding: 8px 20px; font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: #fff;
}
.pink { color: var(--gloss); }
.hand { font-family: var(--hand); }
.hero-lede em { font-style: normal; color: #fff; font-weight: 700; border-bottom: 2px solid var(--gloss); }

/* animated beaker */
.beaker { position: relative; animation-name: rise; }
.beaker svg { display: block; filter: drop-shadow(0 20px 30px rgb(40 26 18 / 0.45)); animation: sway 6s ease-in-out infinite; transform-origin: 50% 100%; }
@keyframes sway { 0%, 100% { transform: rotate(-2deg); } 50% { transform: rotate(2deg); } }
.wave { animation: wave 4s linear infinite; }
.wave-back { animation-duration: 6s; animation-direction: reverse; }
@keyframes wave { from { transform: translateX(0); } to { transform: translateX(200px); } }
.bb { fill: #fff; opacity: 0; animation: bb-rise var(--t) ease-in infinite; animation-delay: var(--d); }
@keyframes bb-rise { 0% { transform: translateY(0); opacity: 0; } 15% { opacity: .9; } 80% { opacity: .7; } 100% { transform: translateY(-96px); opacity: 0; } }
.beaker-note { position: absolute; right: -10px; bottom: -6px; margin: 0; font-size: 28px; color: var(--gloss); transform: rotate(-4deg); white-space: nowrap; }

/* drifting graph-paper grid */
.lab-grid {
  position: absolute; inset: 0; pointer-events: none; opacity: .5;
  background-image: linear-gradient(rgb(255 255 255 / 0.05) 1px, transparent 1px), linear-gradient(90deg, rgb(255 255 255 / 0.05) 1px, transparent 1px);
  background-size: 40px 40px; animation: drift 30s linear infinite;
}
@keyframes drift { to { background-position: 40px 40px; } }

/* continuous bubble stream */
.stream { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.stream i {
  position: absolute; left: var(--x); bottom: -30px; width: var(--s); height: var(--s); border-radius: 99px;
  background: radial-gradient(circle at 30% 28%, #fffc 0 12%, #fff0 26%), radial-gradient(circle, #fff0 50%, #ef93ad99 68%, #ffecd6aa 72%, #ef93ad00 76%);
  animation: stream var(--t) ease-in infinite; animation-delay: var(--d);
}
@keyframes stream {
  0% { transform: translate(0, 0) scale(.6); opacity: 0; }
  10% { opacity: 1; }
  50% { transform: translate(14px, -50vh) scale(1); }
  100% { transform: translate(-10px, -105vh) scale(1.1); opacity: 0; }
}

/* reaction teaser strip */
.teaser-strip { text-align: center; padding-top: 36px; padding-bottom: 56px; }
.strip-label { font-family: var(--mono); font-size: 11px; letter-spacing: 0.2em; text-transform: uppercase; color: var(--stone-500); margin: 0 0 16px; }
.strip { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.strip li {
  border: 1.5px solid var(--ink); background: #fff; padding: 8px 14px; border-radius: 99px; font-weight: 600; font-size: .95rem;
  animation: bob 4s ease-in-out infinite;
}
.strip li:nth-child(2) { animation-delay: -.8s; } .strip li:nth-child(3) { animation-delay: -1.6s; }
.strip li:nth-child(4) { animation-delay: -2.4s; } .strip li:nth-child(5) { animation-delay: -3.2s; }
.strip li span { display: block; font-weight: 400; font-size: .82rem; color: var(--stone-600); }
.strip b { font-family: var(--mono); font-weight: 500; font-size: 11px; color: var(--rose); margin-right: 6px; letter-spacing: .1em; }
@keyframes bob { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-4px); } }
.strip-q { font-size: 30px; color: var(--rose); margin: 14px 0 0; transform: rotate(-2deg); }

/* bubbles */
.bubbles { position: absolute; inset: 0; pointer-events: none; }
.bubble, .orb { position: absolute; border-radius: 99px; animation: float 7s ease-in-out infinite; animation-delay: var(--d, 0s); }
.bubble {
  background:
    radial-gradient(circle at 30% 26%, #fffffff2 0 7%, #fff0 13%),
    radial-gradient(circle at 70% 76%, #ffffff73 0 4%, #fff0 9%),
    radial-gradient(circle, #ffd2e00f 0 52%, #ef93ad80 66%, #ffecd6bf 71%, #ef93add9 74%, #ef93ad00 76%);
  box-shadow: inset 0 0 18px #ffffff40;
}
.orb {
  background: radial-gradient(circle at 32% 28%, #fffffff2 0 9%, #fff0 22%), radial-gradient(circle at 50% 55%, #f3a2b9, #dc6a8f 52%, #a63a5e);
  box-shadow: 0 10px 18px -6px #4c1e2d73;
}
@keyframes float { 0%, 100% { transform: translate(0) rotate(0); } 50% { transform: translateY(-14px) rotate(4deg); } }
@keyframes rise { from { opacity: 0; transform: translateY(28px); } to { opacity: 1; transform: none; } }
.rise { animation: rise 0.7s cubic-bezier(.2,.7,.2,1) both; }

/* ---------- Buttons ---------- */
.btn-gloss {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border: 0; border-radius: 99px; cursor: pointer; text-decoration: none;
  font-weight: 500; font-size: 1rem; color: #fff; text-shadow: 0 1px 1px #43212c59;
  background: linear-gradient(#ffffff6b, #ffffff14 46%, #fff0 52%), linear-gradient(#d77494, #a25b71 60%, #864659);
  box-shadow: inset 0 1px #ffffff8c, inset 0 -3px 6px #43212c59, 0 10px 24px -10px #864659d9;
  transition: transform .2s, box-shadow .2s, filter .2s;
}
.btn-gloss:hover { filter: saturate(1.12) brightness(1.04); transform: translateY(-2px); box-shadow: inset 0 1px #fff9, inset 0 -3px 6px #43212c59, 0 16px 30px -12px #864659f2; }
.btn-gloss:active { transform: none; }
.btn-gloss:focus-visible, .option:focus-visible, .link-btn:focus-visible { outline: 3px solid var(--gloss-deep); outline-offset: 3px; }
.btn-gloss[disabled] { opacity: 0.7; cursor: wait; }
.btn-gloss.full { width: 100%; }
.btn-gloss.big { padding: 18px 40px; font-size: 1.15rem; font-weight: 600; }
.btn-gloss.pulse { animation: pulse 2.4s ease-in-out infinite; }
@keyframes pulse {
  0%, 100% { box-shadow: inset 0 1px #ffffff8c, inset 0 -3px 6px #43212c59, 0 10px 24px -10px #864659d9, 0 0 0 0 rgb(239 147 173 / 0.6); }
  60% { box-shadow: inset 0 1px #ffffff8c, inset 0 -3px 6px #43212c59, 0 10px 24px -10px #864659d9, 0 0 0 14px rgb(239 147 173 / 0); }
}
.link-btn { background: none; border: 0; padding: 6px 0; cursor: pointer; color: var(--stone-600); text-decoration: underline; text-decoration-color: var(--rose-200); text-underline-offset: 4px; }
.link-btn:hover { color: var(--ink); }

/* ---------- Screens ---------- */
.screen { display: none; }
.screen.is-active { display: block; animation: rise 0.5s cubic-bezier(.2,.7,.2,1) both; }
#screen-quiz, #screen-lead { padding: 56px 0 80px; }

/* ---------- Cards ---------- */
.card {
  background: #fff; border: 1px solid var(--stone-200); border-radius: 6px;
  padding: 32px; box-shadow: 0 1px 0 var(--stone-200), 0 24px 50px -30px rgb(76 52 37 / 0.45);
  position: relative;
}
@media (max-width: 560px) { .card { padding: 24px 20px; } }

/* ---------- Progress tube ---------- */
.progress { margin-bottom: 22px; }
.progress-label { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--stone-500); margin-bottom: 10px; }
.tube { height: 14px; border-radius: 99px; border: 1.5px solid var(--ink); background: #fff; overflow: hidden; padding: 2px; }
.tube-fill {
  height: 100%; width: 0; border-radius: 99px;
  background: radial-gradient(circle, #fffa 0 1.5px, #fff0 2px) 0 50% / 14px 100% repeat-x, linear-gradient(#ffffff80, #fff0 55%), linear-gradient(90deg, #ef93ad, #c9587d);
  transition: width 0.5s cubic-bezier(.2,.7,.2,1);
  animation: fizz 1.2s linear infinite;
}
@keyframes fizz { to { background-position: 14px 50%, 0 0, 0 0; } }

/* ---------- Questions ---------- */
.question-card { animation: rise .45s cubic-bezier(.2,.7,.2,1) both; }
.q-title { font-size: clamp(1.7rem, 4vw, 2.4rem); line-height: 1.08; margin: 18px 0 8px; letter-spacing: -0.01em; outline: none; }
.q-sub { margin: 0 0 24px; color: var(--stone-600); }
.options { display: grid; gap: 12px; }
.option {
  display: grid; grid-template-columns: auto 1fr; gap: 16px; align-items: center; text-align: left;
  width: 100%; padding: 16px 18px; cursor: pointer; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--stone-200); border-radius: 6px;
  transition: border-color .15s, background .15s, transform .15s, box-shadow .15s;
  position: relative; overflow: hidden; isolation: isolate;
}
.option::after {
  content: ""; position: absolute; left: var(--rx, 50%); top: var(--ry, 50%); width: 20px; height: 20px; margin: -10px 0 0 -10px;
  border-radius: 99px; background: rgb(239 147 173 / 0.35); transform: scale(0); opacity: 0; z-index: -1; pointer-events: none;
}
.option.is-dropped::after { animation: drop .6s ease-out; }
@keyframes drop { 0% { transform: scale(0); opacity: 1; } 100% { transform: scale(40); opacity: 0; } }
.option:hover { border-color: var(--rose); background: var(--rose-50); transform: translateY(-1px); }
.option[aria-checked="true"] { border-color: var(--rose); background: var(--rose-50); box-shadow: 0 0 0 3px rgb(239 147 173 / 0.35); }
.opt-key {
  width: 34px; height: 34px; border-radius: 99px; display: grid; place-items: center;
  font-family: var(--mono); font-size: 13px; border: 1.5px solid var(--ink); background: #fff;
}
.option[aria-checked="true"] .opt-key { background: var(--rose); border-color: var(--rose); color: #fff; }
.opt-text strong { display: block; font-weight: 700; }
.opt-text span { display: block; color: var(--stone-600); font-size: 0.93rem; }
.quiz-nav { margin-top: 16px; min-height: 36px; }

/* ---------- Lead form ---------- */
.lead-card { text-align: center; }
.lead-card form { text-align: left; margin-top: 24px; }
.flask-anim { color: var(--ink); display: flex; justify-content: center; margin: 22px 0 6px; }
.flask-liquid { fill: var(--gloss); opacity: 0.85; }
.fb { fill: #fff; animation: bubble-up 2.4s ease-in infinite; }
.fb2 { animation-delay: .8s; } .fb3 { animation-delay: 1.6s; }
@keyframes bubble-up { 0% { transform: translateY(0); opacity: 0; } 20% { opacity: 1; } 100% { transform: translateY(-60px); opacity: 0; } }
.lead-title { font-size: clamp(1.8rem, 4vw, 2.5rem); margin: 6px 0 8px; line-height: 1.1; }
.pink-deep { color: var(--gloss-deep); }
.sealed { display: inline-flex; flex-direction: column; align-items: center; gap: 8px; margin: 6px 0 18px; padding: 14px 24px; border: 1.5px dashed var(--rose); border-radius: 6px; background: var(--rose-50); }
.sealed-code { font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--rose-800); }
.sealed-name { display: flex; gap: 10px; }
.sealed-name .redact { height: 1.6em; }
.lead-sub { margin: 0 auto; max-width: 30rem; color: var(--stone-600); }
.field { display: block; margin-bottom: 16px; }
.field span { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; margin-bottom: 6px; color: var(--stone-600); }
.field input {
  width: 100%; padding: 14px 16px; font: inherit; color: var(--ink);
  background: var(--paper); border: 1.5px solid var(--stone-300); border-radius: 6px;
}
.field input:focus { outline: none; border-color: var(--rose); box-shadow: 0 0 0 3px rgb(239 147 173 / 0.35); background: #fff; }
.field input[aria-invalid="true"] { border-color: var(--gloss-deep); }
.form-error { color: var(--gloss-deep); min-height: 1.2em; margin: 0 0 12px; font-size: 0.93rem; }
.fine { font-size: 0.82rem; color: var(--stone-500); text-align: center; margin: 14px 0 0; }

/* ---------- Redactions ---------- */
.redact {
  display: inline-block; height: 1em; border-radius: 3px; vertical-align: middle;
  background: linear-gradient(100deg, var(--ink) 40%, #4a4a50 50%, var(--ink) 60%) 0 0 / 300% 100%;
  animation: shimmer 2.6s linear infinite;
}
@keyframes shimmer { from { background-position: 100% 0; } to { background-position: -50% 0; } }

/* ---------- Analyzing ---------- */
.analyze { min-height: 70vh; display: grid; place-items: center; overflow: hidden; }
.analyze-inner { position: relative; z-index: 1; text-align: center; padding: 60px 24px; }
.spinner { position: relative; width: 90px; height: 90px; margin: 0 auto 26px; }
.spinner span { position: absolute; inset: 0; border-radius: 99px; border: 3px solid transparent; border-top-color: var(--gloss); animation: spin 1.1s linear infinite; }
.spinner span:nth-child(2) { inset: 12px; border-top-color: #fff; animation-duration: .8s; animation-direction: reverse; }
.spinner span:nth-child(3) { inset: 26px; border: 0; background: radial-gradient(circle at 32% 28%, #fff 0 9%, #fff0 22%), radial-gradient(circle at 50% 55%, #f3a2b9, #dc6a8f 52%, #a63a5e); animation: beat 1s ease-in-out infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes beat { 50% { transform: scale(.8); } }
.console { list-style: none; padding: 0; margin: 26px auto 0; max-width: 26rem; text-align: left; font-family: var(--mono); font-size: 13px; letter-spacing: .04em; color: var(--cream); display: grid; gap: 10px; }
.console li { animation: rise .35s ease-out both; padding-left: 26px; position: relative; }
.console li::before { content: "›"; position: absolute; left: 6px; color: var(--gloss); }
.console li.is-done::before { content: "✓"; }
.console li:not(.is-done)::after { content: "▍"; color: var(--gloss); margin-left: 4px; animation: blink .7s steps(2) infinite; }
@keyframes blink { 50% { opacity: 0; } }

/* ---------- Results ---------- */
.result-hero { overflow: hidden; padding: 64px 0 110px; }
.result-hero .wrap { position: relative; z-index: 1; }
#screen-result.is-active .result-body > * { animation: rise .6s cubic-bezier(.2,.7,.2,1) both; }
#screen-result.is-active .result-body > :nth-child(2) { animation-delay: .25s; }
#screen-result.is-active .result-body > :nth-child(3) { animation-delay: .45s; }
.r-for { font-family: var(--hand); font-size: 28px; color: var(--gloss); margin: 18px 0 0; }
.result-title { margin-top: 6px; max-width: 18ch; outline: none; }
.result-body { margin-top: -40px; padding-bottom: 80px; position: relative; z-index: 2; }
.grid-2 { display: grid; gap: 24px; grid-template-columns: 1fr 1fr; }
@media (max-width: 860px) { .grid-2 { grid-template-columns: 1fr; } }
.card-title { font-size: 1.8rem; margin: 16px 0 6px; line-height: 1.1; }
.card-sub { font-family: var(--mono); font-size: 12px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--rose); margin: 24px 0 6px; }
.muted { color: var(--stone-600); }
.small { font-size: 0.92rem; margin-top: 0; }

.readings { list-style: none; padding: 0; margin: 20px 0 0; display: grid; gap: 14px; }
.reading-head { display: flex; justify-content: space-between; font-family: var(--mono); font-size: 12px; letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 6px; }
.reading-head b { font-weight: 500; }
.reading.is-top .reading-head { color: var(--rose-800); }
.reading .tube { height: 12px; }
.reading .tube-fill { background: linear-gradient(#ffffff80, #fff0 55%), linear-gradient(90deg, var(--stone-300), var(--tan)); }
.reading.is-top .tube-fill { background: linear-gradient(#ffffff80, #fff0 55%), linear-gradient(90deg, #ef93ad, #c9587d); }

.obs { padding: 0; margin: 16px 0 0; list-style: none; display: grid; gap: 10px; }
.obs li { padding-left: 26px; position: relative; }
.obs li.locked-line { min-height: 1.5em; display: flex; align-items: center; }
.obs li.locked-line::before { background: var(--stone-300); box-shadow: 0 0 0 3px var(--stone-200); }
.classified { position: relative; display: grid; gap: 10px; padding: 18px; border: 1.5px dashed var(--stone-300); border-radius: 6px; background: var(--paper); }
.classified-tag {
  position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-4deg);
  display: inline-flex; align-items: center; gap: 6px; white-space: nowrap;
  background: #fff; border: 2px solid var(--rose); color: var(--rose-800); padding: 6px 12px; border-radius: 4px;
  font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase;
  box-shadow: 0 8px 20px -10px rgb(76 52 37 / .5);
}

/* scanning line over readings */
.scan { overflow: hidden; }
.scan::after {
  content: ""; position: absolute; left: 0; right: 0; top: 0; height: 60px; pointer-events: none;
  background: linear-gradient(rgb(239 147 173 / 0), rgb(239 147 173 / 0.18), rgb(239 147 173 / 0));
  animation: scan 3.5s ease-in-out infinite;
}
@keyframes scan { 0% { transform: translateY(-60px); } 100% { transform: translateY(520px); } }

.cost { border-left: 5px solid var(--gloss-deep); }
.cost-text { font-size: clamp(1.1rem, 2vw, 1.25rem); line-height: 1.5; margin: 14px 0 0; font-weight: 500; }
.obs li::before { content: ""; position: absolute; left: 4px; top: 0.55em; width: 10px; height: 10px; border-radius: 99px; background: var(--gloss); box-shadow: 0 0 0 3px var(--rose-50); }

.verdict { margin-top: 24px; display: grid; grid-template-columns: auto 1fr; gap: 32px; align-items: start; border: 1.5px solid var(--ink); background: linear-gradient(180deg, #fff, var(--rose-50)); }
@media (max-width: 720px) { .verdict { grid-template-columns: 1fr; gap: 16px; } }
.verdict-stamp {
  width: 120px; height: 120px; border-radius: 99px; border: 3px double var(--rose); color: var(--rose);
  display: grid; place-items: center; text-align: center; transform: rotate(-12deg);
  font-family: var(--mono); font-size: 13px; font-weight: 500; letter-spacing: 0.2em; text-transform: uppercase; line-height: 1.4;
}
#screen-result.is-active .verdict-stamp { animation: stamp .5s cubic-bezier(.3,1.6,.5,1) 1.1s both; }
@keyframes stamp { from { transform: rotate(-30deg) scale(2.4); opacity: 0; } to { transform: rotate(-12deg) scale(1); opacity: 1; } }
.verdict-title { font-size: clamp(1.8rem, 4vw, 2.6rem); line-height: 1.05; margin: 16px 0 10px; }
.unlock-label { font-family: var(--mono); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--rose); margin: 22px 0 0; }
.fit { padding: 0; margin: 16px 0 0; list-style: none; display: grid; gap: 8px; }
.fit li { padding-left: 28px; position: relative; }
.fit li::before { content: "✓"; position: absolute; left: 0; top: 0; width: 20px; height: 20px; border-radius: 99px; background: var(--rose); color: #fff; font-size: 12px; display: grid; place-items: center; margin-top: 2px; }
.cta-row { margin-top: 28px; display: flex; flex-wrap: wrap; align-items: center; gap: 16px 24px; }
.cta-price { font-family: var(--mono); font-size: 12px; letter-spacing: 0.16em; text-transform: uppercase; color: var(--stone-600); }
.cta-note { font-size: 26px; color: var(--rose); margin: 14px 0 0; transform: rotate(-2deg); }
.restart { text-align: center; margin-top: 32px; }
.not-ready { margin: 18px 0 0; color: var(--stone-600); font-size: .95rem; }
.not-ready a { color: var(--rose-800); font-weight: 600; text-underline-offset: 4px; text-decoration-color: var(--rose-200); }
.not-ready a:hover { color: var(--ink); }

.result-body > .card:not(.cost):not(.verdict), .result-body > .grid-2 { margin-bottom: 24px; }
.told-list { list-style: none; padding: 0; margin: 18px 0 0; display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }
.told-list li { border: 1.5px dashed var(--rose-200); border-radius: 6px; padding: 12px 14px; background: var(--rose-50); }
.told-list span { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--rose); margin-bottom: 4px; }
.told-name { font-family: var(--hand); font-size: 28px; color: var(--rose); margin: 18px 0 0; transform: rotate(-1deg); }
.quick-win { padding: 16px 18px; border-left: 4px solid var(--gloss); background: var(--paper); border-radius: 0 6px 6px 0; }
.quick-win p { margin: 6px 0 0; color: var(--stone-600); }
.cost { margin-bottom: 24px; }
.cost-vs { margin: 14px 0 0; font-family: var(--mono); font-size: 13px; letter-spacing: .12em; text-transform: uppercase; color: var(--stone-600); }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 20px 0 0; display: grid; gap: 16px; grid-template-columns: repeat(3, 1fr); }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; border-top: 2px solid var(--ink); padding-top: 14px; }
.steps li::before { content: "Step 0" counter(step); display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--rose); margin-bottom: 6px; }
.steps strong { display: block; font-size: 1.08rem; }
.steps p { margin: 6px 0 0; color: var(--stone-600); font-size: .95rem; }
.doubt { margin: 24px 0 0; padding: 14px 18px; background: var(--rose-50); border-radius: 6px; font-weight: 500; }
.modules { list-style: none; padding: 0; margin: 22px 0 0; display: grid; gap: 14px; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.modules li { position: relative; border: 1px solid var(--stone-200); border-radius: 6px; padding: 16px 18px; background: var(--paper); }
.modules b { font-family: var(--mono); font-weight: 500; font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--rose-800); }
.modules p { margin: 8px 0 0; font-size: .93rem; color: var(--stone-600); }
.module-tag { display: inline-block; margin-left: 8px; font-family: var(--mono); font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--stone-500); border: 1px solid var(--stone-300); border-radius: 99px; padding: 1px 8px; vertical-align: 1px; }
.modules li.is-yours { border: 1.5px solid var(--rose); background: var(--rose-50); box-shadow: 0 0 0 3px rgb(239 147 173 / 0.25); }
.modules li.is-yours::after { content: "Fixes your diagnosis"; position: absolute; top: -10px; right: 12px; background: var(--rose); color: #fff; font-family: var(--mono); font-size: 10px; letter-spacing: .14em; text-transform: uppercase; padding: 2px 8px; border-radius: 99px; }
.comfort { font-size: 24px; color: var(--rose); margin: 20px 0 0; line-height: 1.25; }
.fit-grid { display: grid; gap: 8px 32px; grid-template-columns: 1fr 1fr; }
@media (max-width: 720px) { .fit-grid { grid-template-columns: 1fr; } }
.fit.not li::before { content: "✕"; background: var(--stone-500); }
.faq { margin-top: 24px; }
.faq details { border-bottom: 1px solid var(--stone-200); padding: 14px 0; }
.faq details:first-of-type { margin-top: 12px; }
.faq summary { cursor: pointer; font-weight: 700; list-style: none; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-family: var(--mono); color: var(--rose); }
.faq details[open] summary::after { content: "–"; }
.faq details p { margin: 10px 0 0; color: var(--stone-600); }
.faq summary:focus-visible { outline: 3px solid var(--gloss-deep); outline-offset: 3px; }

.site-footer { background: var(--ink); color: var(--stone-300); font-family: var(--mono); font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase; padding: 22px 0; text-align: center; }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

/* ---------- Quick-read results + consent ---------- */
.told-list { grid-template-columns: 1fr 1fr; gap: 10px; }
@media (max-width: 480px) { .told-list { grid-template-columns: 1fr; } }
.told-list li { padding: 10px 12px; font-size: .95rem; }
.told-name { font-size: 26px; margin-top: 14px; }
.quick-win { align-self: start; }
.win-label { display: block; font-family: var(--mono); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--rose); margin-bottom: 6px; }
.steps p { font-size: .93rem; }
.modules p { margin-top: 6px; }
.verdict .fit { margin-top: 12px; }
.consent { display: grid; grid-template-columns: auto 1fr; gap: 12px; align-items: start; margin: 4px 0 16px; padding: 14px 16px; border: 1.5px solid var(--stone-300); border-radius: 6px; background: var(--paper); cursor: pointer; font-size: .93rem; line-height: 1.45; }
.consent input { width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--rose); cursor: pointer; }
.consent input:focus-visible { outline: 3px solid var(--gloss-deep); outline-offset: 2px; }
.consent em { font-style: normal; color: var(--rose-800); font-weight: 600; }
.consent:has(input[aria-invalid="true"]) { border-color: var(--gloss-deep); }
.sms-disclaimer { font-size: .78rem; line-height: 1.45; }
