:root {
  --bg: #03050b;
  --ink: #eef1f7;
  --mute: #8a90a3;
  --line: rgba(238, 241, 247, .14);
  --accent: #36e4d0;
  --accent-2: #7b5bff;
  --pad: clamp(16px, 3.2vw, 44px);
  --sans: var(--font-poppins), "Poppins", sans-serif; /* body text is Poppins site-wide */
  --mono: var(--font-poppins), "Poppins", sans-serif; /* labels: Poppins too (was a monospace) */
  --lv: 0; /* live voice level, set from JS */
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: auto; }
body { background: var(--bg); color: var(--ink); font-family: var(--sans); font-weight: 300; overflow-x: hidden; -webkit-font-smoothing: antialiased; }
body.locked { overflow: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; background: none; border: 0; cursor: pointer; }
::selection { background: var(--accent); color: var(--bg); }
.mono { font-family: var(--mono); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 400; }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
/* ---------- Background layers ---------- */
#field { position: fixed; inset: 0; width: 100%; height: 100%; z-index: 0; }
.scanlines { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: repeating-linear-gradient(to bottom, transparent 0 2px, rgba(255,255,255,.018) 2px 3px); }
.grain { position: fixed; inset: -50%; z-index: 1; pointer-events: none; opacity: .06;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  animation: grain 1s steps(6) infinite; }
@keyframes grain { 0%{transform:translate(0,0)} 33%{transform:translate(-3%,2%)} 66%{transform:translate(2%,-3%)} 100%{transform:translate(0,0)} }
.vignette { position: fixed; inset: 0; z-index: 1; pointer-events: none; background: radial-gradient(ellipse at center, transparent 45%, rgba(0,0,0,.7) 100%); }
.cursor { position: fixed; left: 0; top: 0; z-index: 60; width: 28px; height: 28px; margin: -14px 0 0 -14px; border: 1px solid var(--accent); border-radius: 50%; pointer-events: none; transition: width .25s, height .25s, margin .25s, background .25s; mix-blend-mode: screen; }
.cursor.hover { width: 56px; height: 56px; margin: -28px 0 0 -28px; background: rgba(54,228,208,.12); }
@media (hover: none) { .cursor { display: none; } }
/* ---------- Futuristic HUD ---------- */
.frame span { position: fixed; z-index: 3; width: 26px; height: 26px; pointer-events: none; border-color: rgba(54,228,208,.55); border-style: solid; border-width: 0; }
.frame span:nth-child(1) { top: 14px; left: 14px; border-top-width: 1px; border-left-width: 1px; }
.frame span:nth-child(2) { top: 14px; right: 14px; border-top-width: 1px; border-right-width: 1px; }
.frame span:nth-child(3) { bottom: 14px; left: 14px; border-bottom-width: 1px; border-left-width: 1px; }
.frame span:nth-child(4) { bottom: 14px; right: 14px; border-bottom-width: 1px; border-right-width: 1px; }
.hud-ring { position: fixed; z-index: 1; left: 50%; top: 50%; width: min(98vmin, 940px); aspect-ratio: 1; pointer-events: none; transform: translate(-50%, -50%) scale(calc(1 + var(--lv) * .035)); transition: opacity 1s; }
.hud-ring svg { width: 100%; height: 100%; animation: spin 90s linear infinite; overflow: visible; }
.hud-ring circle, .hud-ring path { fill: none; stroke: var(--accent); vector-effect: non-scaling-stroke; }
.hud-ring .r1 { stroke-opacity: .16; stroke-dasharray: 2 10; }
.hud-ring .r2 { stroke-opacity: calc(.08 + var(--lv) * .35); stroke-dasharray: 140 40 10 40; }
.hud-ring .ticks { stroke-opacity: .25; stroke-width: 6; stroke-dasharray: 1 24; }
.hud-ring .cross { stroke-opacity: .4; }
body:not(.locked) .hud-ring { opacity: .35; }
@keyframes spin { to { transform: rotate(360deg); } }
.readout { position: fixed; z-index: 3; top: 50%; transform: translateY(-50%); color: var(--mute); font-size: 10px; line-height: 2.1; pointer-events: none; }
.readout-left { left: var(--pad); }
.readout-right { right: var(--pad); text-align: right; }
.bars { display: flex; gap: 3px; height: 30px; align-items: flex-end; justify-content: flex-end; margin: 6px 0; }
.bars i { display: block; width: 3px; height: 2px; background: var(--accent); opacity: .85; transition: height .08s; }
.status { color: var(--ink); }
.status::before { content: ""; display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--accent); vertical-align: 1px; animation: blink 1.2s steps(2) infinite; }
/* ---------- Header ---------- */
.hud { position: fixed; top: 0; left: 0; right: 0; z-index: 40; display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: var(--pad); pointer-events: none; }
.hud > * { pointer-events: auto; }
.logo { font-weight: 600; letter-spacing: .02em; font-size: 15px; line-height: 1; }
.logo span { display: block; color: var(--accent); font-weight: 400; letter-spacing: .38em; font-size: 10px; margin-top: 4px; }
.hud-tag { color: var(--mute); }
.sound b { font-weight: 400; color: var(--mute); transition: color .3s; }
.sound b.active { color: var(--ink); }
.menu-btn { width: 44px; height: 44px; border: 1px solid var(--line); display: grid; place-content: center; gap: 6px; transition: opacity .8s; }
.menu-btn span { display: block; width: 16px; height: 1px; background: var(--ink); transition: transform .35s; }
.menu-btn[aria-expanded="true"] span:first-child { transform: translateY(3.5px) rotate(45deg); }
.menu-btn[aria-expanded="true"] span:last-child { transform: translateY(-3.5px) rotate(-45deg); }
body.locked .menu-btn { opacity: 0; pointer-events: none; }
.menu { position: fixed; inset: 0; z-index: 35; background: rgba(3,5,11,.92); backdrop-filter: blur(14px); display: flex; flex-direction: column; justify-content: center; padding: var(--pad); opacity: 0; visibility: hidden; transition: opacity .5s, visibility .5s; }
.menu.open { opacity: 1; visibility: visible; }
.menu ul { list-style: none; }
.menu li a { display: block; font-size: clamp(34px, 7vw, 88px); font-weight: 300; line-height: 1.15; letter-spacing: -.03em; transition: color .3s, padding .3s; }
.menu li a:hover { color: var(--accent); padding-left: 20px; }
.menu p { margin-top: 40px; color: var(--mute); }
.progress { position: fixed; left: var(--pad); bottom: var(--pad); z-index: 40; color: var(--mute); display: flex; align-items: center; gap: 12px; }
.progress b { color: var(--ink); font-weight: 400; min-width: 4ch; }
.progress i { width: 80px; height: 1px; background: var(--line); position: relative; }
.progress em { position: absolute; inset: 0 auto 0 0; width: 0; background: var(--accent); transition: width .8s cubic-bezier(.2,.8,.2,1); }
main { position: relative; z-index: 2; }
/* ---------- Experience ---------- */
.experience { min-height: 100vh; min-height: 100svh; display: grid; place-items: center; position: relative; padding: 120px var(--pad); }
.disclaimer { position: absolute; top: 120px; left: 50%; transform: translateX(-50%); width: min(560px, calc(100% - 32px)); text-align: center; color: var(--mute); line-height: 1.7; }
.stage { width: min(1000px, 100%); position: relative; min-height: 440px; display: grid; grid-template-columns: minmax(0, 1fr); }
.step { grid-area: 1 / 1; align-self: center; text-align: center; opacity: 0; visibility: hidden; transform: translateY(24px); filter: blur(8px); transition: opacity .7s, transform .9s cubic-bezier(.2,.8,.2,1), filter .7s, visibility .7s; }
.step.is-active { opacity: 1; visibility: visible; transform: none; filter: none; }
/* The tall plan card must not stretch the stage (and push the other steps down) while it is hidden */
.step[data-step="result"]:not(.is-active) { position: absolute; top: 0; left: 0; right: 0; max-height: 100%; overflow: hidden; }
.step .after { opacity: 0; transform: translateY(18px); pointer-events: none; transition: opacity .7s, transform .8s cubic-bezier(.2,.8,.2,1); }
.step.ready .after { opacity: 1; transform: none; pointer-events: auto; }
.kicker { color: var(--accent); margin-bottom: 24px; }
.headline { font-size: clamp(32px, 5.4vw, 76px); font-weight: 300; line-height: 1.04; letter-spacing: -.035em; text-shadow: 0 0 40px rgba(3,5,11,.9); max-width: 18ch; margin: 0 auto; }
[data-step="gate"] .headline { font-size: clamp(64px, 12vw, 170px); max-width: none; }
.caption { min-height: 2.2em; transition: opacity .3s; max-width: 20ch; }
.caption.out { opacity: 0; }
/* word-by-word reveal synced to the voice */
.w { display: inline-block; margin-right: .24em; opacity: 0; filter: blur(8px); transform: translateY(.25em); transition: opacity .35s, filter .45s, transform .5s cubic-bezier(.2,.8,.2,1); }
.w.on { opacity: 1; filter: none; transform: none; }
.w.nm { color: var(--accent); }
.cta { display: inline-flex; align-items: center; gap: 18px; margin-top: 44px; padding: 16px 26px; border: 1px solid var(--ink); background: var(--ink); color: var(--bg); font-weight: 500; font-size: 15px; transition: background .3s, color .3s, border-color .3s, box-shadow .3s; }
.cta:hover { background: var(--accent); border-color: var(--accent); box-shadow: 0 0 40px -6px rgba(54,228,208,.6); }
.cta .mono { font-size: 10px; opacity: .6; }
.ghost { display: inline-flex; align-items: center; padding: 16px 22px; border: 1px solid var(--line); font-size: 15px; transition: border-color .3s, color .3s; background: rgba(3,5,11,.35); backdrop-filter: blur(6px); }
.ghost:hover { border-color: var(--accent); color: var(--accent); }
.gate-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 44px; }
.gate-actions .cta { margin-top: 0; }
.gate-note { margin-top: 22px; color: var(--mute); }
/* The guide's action buttons are the site's global button (Common/Button.module.css, rendered by
   introParts via buttonHTML) — only their placement lives here. */
.intro-act { margin-top: 44px; }
/* outline buttons sit over the particle orb: the same dark underlay the old ghost buttons had keeps the
   label legible (the outline design itself is unchanged) */
.experience .intro-ghost { background-color: rgba(3, 5, 11, .7); }
.result-actions { align-items: center; }
/* Skip: the global outline button. On the gate it sits centred under "Headphones recommended" (app.js
   placeSkip sets --skip-top); on later steps it rests in the corner. #id outranks the module's .btn. */
#skipIntro { position: absolute; z-index: 5; bottom: var(--pad); right: var(--pad); }
#skipIntro:not(.placed) { opacity: 0; }
#skipIntro.at-gate { bottom: auto; right: auto; left: 50%; top: calc(var(--skip-top, 0px) + clamp(24px, 4vh, 38px)); translate: -50% 0; }
/* Name field: wide framed box, corner ticks, enter hint below */
.field { display: block; width: min(580px, 100%); margin: clamp(70px, 16vh, 180px) auto 0; text-align: left; }
.field-box { --c: rgba(238,241,247,.7); --t: 7px; position: relative; display: block; border: 1px solid var(--line); background-color: rgba(3,5,11,.45); backdrop-filter: blur(6px); transition: border-color .4s, box-shadow .4s;
  background-image: linear-gradient(var(--c),var(--c)), linear-gradient(var(--c),var(--c)), linear-gradient(var(--c),var(--c)), linear-gradient(var(--c),var(--c)), linear-gradient(var(--c),var(--c)), linear-gradient(var(--c),var(--c)), linear-gradient(var(--c),var(--c)), linear-gradient(var(--c),var(--c));
  background-repeat: no-repeat;
  background-size: var(--t) 1px, 1px var(--t), var(--t) 1px, 1px var(--t), var(--t) 1px, 1px var(--t), var(--t) 1px, 1px var(--t);
  background-position: 0 0, 0 0, 100% 0, 100% 0, 0 100%, 0 100%, 100% 100%, 100% 100%; }
.field-box:focus-within { --c: var(--accent); border-color: rgba(54,228,208,.35); box-shadow: 0 0 40px -12px rgba(54,228,208,.45); }
.field input { display: block; width: 100%; padding: 20px 18px; background: none; border: 0; color: var(--ink); caret-color: var(--accent); font: 300 16px var(--sans); letter-spacing: .01em; outline: none; }
.field input::placeholder { color: rgba(238,241,247,.38); }
.field .hint { display: block; text-align: right; font-size: 10px; margin-top: 12px; color: var(--mute); }
.field .hint b { color: var(--ink); font-weight: 400; }
.field .hint.err { color: #ff6b7a; }
.choices { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; max-width: 720px; margin: 48px auto 0; }
/* ---- 3D curved option slider: cards wrap around a cylinder and the sides fall back into depth ---- */
.choices.arc { display: block; position: relative; width: min(1100px, 100vw); max-width: none; left: 50%; transform: translateX(-50%); height: 286px; margin: 36px 0 0; touch-action: pan-y; user-select: none; -webkit-user-select: none; }
.choices.arc.icons { height: 286px; }
/* Every option group becomes the arc slider when app.js starts; until then (hidden steps, but they size
   the shared stage grid) reserve the slider's exact footprint so the stage doesn't shrink after first paint */
.choices:not(.arc) { height: 286px; margin: 36px 0 0; overflow: hidden; }
.arc-track { position: absolute; inset: 0; cursor: grab; perspective: 1100px; perspective-origin: 50% 40%; transform-style: preserve-3d; }
.choices.arc.dragging .arc-track { cursor: grabbing; }
/* box colours follow the orb: app.js updates --accent / --accent-2 every frame */
.step[data-step] { --n1: var(--accent); --n2: var(--accent-2); }
/* Option cards — one size for every card in every question (the label never changes the box), content
   centred: icon above the label. The label block always holds two lines, so icons line up across a group. */
.choices.arc .arc-track > button { --card-w: 236px; --card-h: 232px; --ico: 78px;
  position: absolute; left: 50%; top: 8px; width: var(--card-w); height: var(--card-h); min-height: 0; padding: 26px 22px; box-sizing: border-box;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 18px; text-align: center; overflow: hidden;
  font: 500 16px var(--sans); letter-spacing: .005em; color: var(--ink); border-radius: 24px; border: 1px solid transparent;
  background:
    radial-gradient(120% 70% at 50% 0%, color-mix(in srgb, var(--n1) 9%, transparent), transparent 62%) padding-box,
    linear-gradient(180deg, rgba(15, 20, 38, .9), rgba(6, 9, 20, .94)) padding-box,
    linear-gradient(160deg, color-mix(in srgb, var(--n1) 45%, transparent), rgba(238, 241, 247, .07) 42%, rgba(238, 241, 247, .05) 60%, color-mix(in srgb, var(--n2) 35%, transparent)) border-box;
  box-shadow: 0 22px 44px -26px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .05); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
  backface-visibility: hidden; translate: 0 0;
  transition: transform .6s cubic-bezier(.2,.8,.2,1), translate .45s cubic-bezier(.2,.8,.2,1), opacity .5s, box-shadow .45s, background .45s; will-change: transform; }
.choices.arc.dragging .arc-track > button { transition: opacity .2s, box-shadow .35s, translate .35s; }
.choices.arc.icons .arc-track > button { width: var(--card-w); min-height: 0; }
/* A–D: the option's letter, kept as a quiet index in the corner */
.choices.arc .arc-track > button i { position: absolute; top: 16px; left: 18px; width: auto; height: auto; border: 0; box-shadow: none; text-shadow: none; display: block;
  font: 500 10px/1 var(--mono); letter-spacing: .18em; font-style: normal; color: var(--mute); transition: color .35s; }
/* Selected indicator: a check badge in the opposite corner */
.choices.arc .arc-track > button::after { content: ""; position: absolute; top: 13px; right: 13px; width: 24px; height: 24px; border-radius: 50%;
  background: var(--n1) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2303050b' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 12.5l4 4 8-9'/%3E%3C/svg%3E") center / 14px no-repeat;
  opacity: 0; scale: .5; transition: opacity .3s, scale .45s cubic-bezier(.3,1.6,.5,1); }
/* the card in focus */
.choices.arc .arc-track > button.is-center, .choices.arc .arc-track > button:focus-visible { outline: none;
  background:
    radial-gradient(120% 70% at 50% 0%, color-mix(in srgb, var(--n1) 16%, transparent), transparent 64%) padding-box,
    linear-gradient(180deg, rgba(17, 23, 43, .92), rgba(7, 10, 22, .95)) padding-box,
    linear-gradient(160deg, var(--n1), color-mix(in srgb, var(--n1) 22%, rgba(238, 241, 247, .1)) 45%, color-mix(in srgb, var(--n2) 70%, transparent)) border-box;
  box-shadow: 0 28px 60px -30px color-mix(in srgb, var(--n1) 70%, transparent), 0 0 0 1px color-mix(in srgb, var(--n1) 18%, transparent), inset 0 1px 0 rgba(255, 255, 255, .07); }
.choices.arc .arc-track > button:focus-visible { box-shadow: 0 0 0 2px var(--n1), 0 28px 60px -30px color-mix(in srgb, var(--n1) 70%, transparent); }
/* hover: the card lifts, its border warms and the icon steps forward */
@media (hover: hover) {
  .choices.arc .arc-track > button:hover { translate: 0 -8px;
    box-shadow: 0 34px 64px -30px color-mix(in srgb, var(--n1) 75%, transparent), 0 0 0 1px color-mix(in srgb, var(--n1) 30%, transparent), inset 0 1px 0 rgba(255, 255, 255, .08); }
  .choices.arc .arc-track > button:hover .ico-wrap { scale: 1.07; background-color: color-mix(in srgb, var(--n1) 14%, transparent); }
  .choices.arc .arc-track > button:hover .ico { translate: 0 -1px; }
  .choices.arc .arc-track > button:hover i { color: var(--n1); }
}
/* selected */
.choices.arc .arc-track > button.picked {
  background:
    radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--n1) 30%, transparent), transparent 70%) padding-box,
    linear-gradient(180deg, color-mix(in srgb, var(--n1) 16%, #0b1020), color-mix(in srgb, var(--n2) 14%, #060914)) padding-box,
    linear-gradient(160deg, var(--n1), var(--n2)) border-box;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--n1) 55%, transparent), 0 30px 70px -28px var(--n1), inset 0 1px 0 rgba(255, 255, 255, .1); }
.choices.arc .arc-track > button.picked::after { opacity: 1; scale: 1; }
.choices.arc .arc-track > button.picked i { color: var(--n1); }
.choices.arc .arc-track > button.picked .ico-wrap { background-color: color-mix(in srgb, var(--n1) 24%, transparent); }
.choices.arc .arc-track > button.picked .ico-wrap::after { border-color: var(--n1); }
.choices.arc .arc-track > button.picked .ico { stroke: var(--ink); }
.ico-wrap { width: var(--ico, 74px); height: var(--ico, 74px); flex: none; border-radius: 50%; display: grid; place-items: center; position: relative;
  background: radial-gradient(circle, color-mix(in srgb, var(--n1) 18%, transparent), transparent 72%); background-color: color-mix(in srgb, var(--n1) 6%, transparent);
  transition: scale .45s cubic-bezier(.2,.8,.2,1), background-color .35s; }
.ico-wrap::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 1px solid color-mix(in srgb, var(--n1) 42%, transparent); box-shadow: inset 0 0 16px -8px var(--n1); transition: border-color .35s; }
.ico { width: calc(var(--ico, 74px) * .5); height: calc(var(--ico, 74px) * .5); fill: none; stroke: var(--n1); stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round;
  filter: drop-shadow(0 0 5px color-mix(in srgb, var(--n1) 55%, transparent)); transition: stroke .35s, translate .45s cubic-bezier(.2,.8,.2,1); }
.lbl { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 2.6em; line-height: 1.3; overflow-wrap: anywhere; text-wrap: balance; }
.arc-hint { position: absolute; left: 0; right: 0; bottom: 0; text-align: center; font-size: 10px; color: var(--mute); }
.arc-hint b { color: var(--ink); font-weight: 400; }
.step.ready .choices.arc .arc-track > button { animation: none; }
.step.ready .choices.arc { animation: arcIn .7s cubic-bezier(.2,.8,.2,1) both; }
@keyframes arcIn { from { opacity: 0; transform: translateX(-50%) translateY(24px); } }
@media (max-width: 700px) {
  .choices.arc, .choices.arc.icons, .choices:not(.arc) { height: 244px; margin-top: 28px; }
  .choices.arc .arc-track > button { --card-w: 184px; --card-h: 200px; --ico: 64px; padding: 22px 14px; gap: 14px; font-size: 14.5px; border-radius: 20px; }
  .choices.arc .arc-track > button i { top: 13px; left: 14px; }
  .choices.arc .arc-track > button::after { top: 10px; right: 10px; width: 22px; height: 22px; background-size: 13px; }
}
.choices button { display: flex; align-items: center; gap: 16px; padding: 20px 22px; text-align: left; font-size: clamp(16px, 1.6vw, 19px); border: 1px solid var(--line); background: rgba(3,5,11,.5); backdrop-filter: blur(6px); transition: border-color .3s, background .3s, transform .3s; }
.choices button i { font-style: normal; width: 26px; height: 26px; display: grid; place-items: center; border: 1px solid var(--line); flex: none; }
.choices button:hover, .choices button:focus-visible { border-color: var(--accent); background: rgba(54,228,208,.08); outline: none; }
.choices button.picked { border-color: var(--accent); background: rgba(54,228,208,.18); }
.step.ready .choices button { animation: rise .6s cubic-bezier(.2,.8,.2,1) both; }
.step.ready .choices button:nth-child(2) { animation-delay: .08s; }
.step.ready .choices button:nth-child(3) { animation-delay: .16s; }
.step.ready .choices button:nth-child(4) { animation-delay: .24s; }
@keyframes rise { from { opacity: 0; transform: translateY(14px); } }
.reading-label { color: var(--accent); margin-bottom: 26px; animation: blink 1.1s steps(2) infinite; }
@keyframes blink { 50% { opacity: .3; } }
/* ---- Plan card ---- */
.result { position: relative; text-align: left; max-width: 980px; margin: 0 auto; padding: clamp(24px, 4vw, 52px); border-radius: 30px; overflow: hidden;
  border: 1.5px solid transparent; isolation: isolate;
  background: linear-gradient(160deg, rgba(10, 16, 32, .86), rgba(3, 5, 11, .9)) padding-box,
              linear-gradient(135deg, var(--accent), transparent 35%, transparent 65%, var(--accent-2)) border-box;
  box-shadow: 0 40px 120px -40px rgba(0, 0, 0, .9), 0 0 80px -30px var(--accent); backdrop-filter: blur(16px); }
.result-glow { position: absolute; z-index: -1; width: 520px; height: 520px; right: -160px; top: -220px; border-radius: 50%; pointer-events: none;
  background: radial-gradient(circle, color-mix(in srgb, var(--accent) 30%, transparent), transparent 65%); filter: blur(10px); animation: glowDrift 9s ease-in-out infinite alternate; }
.result::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .35;
  background: linear-gradient(115deg, transparent 40%, color-mix(in srgb, var(--accent) 25%, transparent) 50%, transparent 60%) no-repeat; background-size: 250% 100%; animation: sheen 6s ease-in-out infinite; }
@keyframes glowDrift { to { transform: translate(-120px, 80px) scale(1.15); } }
@keyframes sheen { 0% { background-position: 130% 0; } 60%, 100% { background-position: -130% 0; } }
.result-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.result-tag { display: inline-flex; align-items: center; gap: 10px; padding: 7px 14px; border-radius: 99px; color: var(--accent); border: 1px solid color-mix(in srgb, var(--accent) 45%, transparent); background: color-mix(in srgb, var(--accent) 10%, transparent); font-size: 11px; }
.result-tag i { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 10px var(--accent); animation: blink 1.2s steps(2) infinite; }
.result-id { color: var(--mute); font-size: 11px; }
.archetype { font-size: clamp(40px, 6vw, 84px); font-weight: 300; letter-spacing: -.04em; margin: 22px 0 18px; line-height: 1;
  background: linear-gradient(100deg, var(--ink) 30%, var(--accent) 70%, var(--accent-2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.result-lede { font-size: clamp(16px, 1.55vw, 19px); line-height: 1.6; color: #cdd2de; max-width: 720px; min-height: 3.2em; }

.result-stats { display: grid; grid-template-columns: 1.7fr 1fr 1fr 1fr; gap: 12px; margin-top: 34px; }
.rstat { padding: 18px 20px; border-radius: 20px; border: 1px solid rgba(238, 241, 247, .1); background: rgba(255, 255, 255, .03); }
.rstat .mono { font-size: 10px; color: var(--mute); }
.rstat-v { margin-top: 10px; font: 300 clamp(26px, 2.6vw, 36px)/1 var(--sans); letter-spacing: -.02em; color: var(--ink); font-variant-numeric: tabular-nums; }
.rstat-v em { font-style: normal; color: var(--mute); margin: 0 .25em; }
.rstat-s { margin-top: 8px; font-size: 12px; color: var(--mute); }
.rstat-cost { border-color: color-mix(in srgb, var(--accent) 45%, transparent);
  background: linear-gradient(140deg, color-mix(in srgb, var(--accent) 16%, transparent), color-mix(in srgb, var(--accent-2) 8%, transparent)); box-shadow: inset 0 0 40px -20px var(--accent), 0 0 40px -24px var(--accent); }
.rstat-cost .mono { color: var(--accent); }
.rstat-cost .rstat-v { white-space: nowrap; font-size: clamp(28px, 3.1vw, 44px); text-shadow: 0 0 30px color-mix(in srgb, var(--accent) 50%, transparent); }

.cost-break { margin-top: 26px; }
.cost-break > .mono, .result-grid .mono { font-size: 10px; color: var(--mute); margin-bottom: 14px; }
.cost-bar { display: flex; gap: 4px; height: 10px; }
.cost-bar i { width: var(--w); border-radius: 6px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); transform-origin: left; animation: barIn .9s cubic-bezier(.2,.8,.2,1) var(--d) both; box-shadow: 0 0 14px -4px var(--accent); }
.cost-bar i:nth-child(1) { opacity: .45; } .cost-bar i:nth-child(2) { opacity: .7; } .cost-bar i:nth-child(4) { opacity: .55; }
@keyframes barIn { from { transform: scaleX(0); } }
.cost-legend { list-style: none; display: flex; flex-wrap: wrap; gap: 8px 22px; margin-top: 12px; font-size: 13px; color: #cdd2de; }
.cost-legend li { display: flex; align-items: center; gap: 8px; }
.cost-legend b { width: 8px; height: 8px; border-radius: 2px; background: var(--accent); }
.cost-legend span { color: var(--mute); font-variant-numeric: tabular-nums; }

.result-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 34px; margin-top: 34px; padding-top: 30px; border-top: 1px solid var(--line); }
.stack-tiles { list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.stack-tiles li { padding: 16px; border-radius: 16px; border: 1px solid rgba(238, 241, 247, .1); background: rgba(255, 255, 255, .03); font-size: 14px; line-height: 1.4; display: flex; flex-direction: column; gap: 10px; transition: border-color .3s, transform .3s; animation: rise .6s cubic-bezier(.2,.8,.2,1) var(--d) both; }
.stack-tiles li:hover { border-color: color-mix(in srgb, var(--accent) 50%, transparent); transform: translateY(-2px); }
.stack-tiles li .mono { font-size: 10px; color: var(--accent); }
.roadmap { list-style: none; position: relative; display: grid; gap: 18px; padding-left: 26px; }
.roadmap::before { content: ""; position: absolute; left: 5px; top: 6px; bottom: 6px; width: 1px; background: linear-gradient(var(--accent), var(--accent-2), transparent); }
.roadmap li { position: relative; display: grid; gap: 3px; animation: rise .6s cubic-bezier(.2,.8,.2,1) var(--d) both; }
.roadmap li::before { content: ""; position: absolute; left: -26px; top: 4px; width: 11px; height: 11px; border-radius: 50%; background: var(--bg, #03050b); border: 1.5px solid var(--accent); box-shadow: 0 0 10px var(--accent); }
.roadmap li:last-child::before { background: var(--accent); }
.roadmap li .mono { font-size: 10px; color: var(--accent); }
.roadmap li b { font-weight: 500; font-size: 16px; }
.roadmap li small { font-size: 13px; color: var(--mute); line-height: 1.45; }

.result-fine { margin-top: 30px; font-size: 12px; color: var(--mute); }
.result-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 18px; }
.result-actions .cta { margin-top: 0; }
.unlock-hint { margin-top: 28px; color: var(--accent); min-height: 1.4em; }
.unlock-hint .w { margin-right: .6em; }
/* ---------- Site (revealed after the questions) ---------- */
.site { display: none; opacity: 0; transition: opacity 1.4s ease; }
.site.shown { display: block; }
.site.visible { opacity: 1; }
/* Site sections are styled in site.css */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s, transform 1.2s cubic-bezier(.2,.8,.2,1); }
.reveal.in { opacity: 1; transform: none; }
/* ---------- Responsive ---------- */
@media (max-width: 900px) {
  .hud-tag, .readout { display: none; }
  .moves { grid-template-columns: 1fr; }
  .moves li { min-height: 0; }
  .moves h4 { margin-top: 24px; }
  .numbers { grid-template-columns: 1fr 1fr; }
  .work-row { grid-template-columns: 1fr; gap: 6px; }
  .work-row .mono:last-child { text-align: left; }
}
@media (max-width: 640px) {
  .choices:not(.arc), .result-grid, .form { grid-template-columns: 1fr; }
  .result-stats { grid-template-columns: 1fr 1fr; } .rstat-cost { grid-column: 1 / -1; }
  .service { grid-template-columns: 1fr; gap: 8px; }
  .disclaimer { top: 92px; font-size: 10px; }
  #skipIntro { right: 50%; translate: 50% 0; bottom: 56px; }
  .progress i { width: 48px; }
  .frame span { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; }
  html { scroll-behavior: auto; }
}

/* Skipped the guide: remove the talking section entirely */
body.skipped .experience { display: none !important; }
