:root {
  --bg: #08090c;
  --bg-elev: #101218;
  --panel: rgba(255,255,255,.055);
  --panel-strong: rgba(255,255,255,.085);
  --text: #f7f7f2;
  --muted: #9ca1ad;
  --line: rgba(255,255,255,.105);
  --acid: #dfff4f;
  --acid-2: #b8f727;
  --violet: #9f7cff;
  --danger: #ff7c8c;
  --radius-lg: 30px;
  --radius-md: 20px;
  --shadow: 0 30px 80px rgba(0,0,0,.45);
  --max: 1120px;
}

* { box-sizing: border-box; }
html { background: var(--bg); color-scheme: dark; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  background:
    radial-gradient(circle at 50% -20%, rgba(159,124,255,.14), transparent 35%),
    radial-gradient(circle at 5% 55%, rgba(223,255,79,.06), transparent 30%),
    var(--bg);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
button, input { font: inherit; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }

.noise {
  pointer-events: none;
  position: fixed;
  inset: 0;
  opacity: .19;
  z-index: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.08'/%3E%3C/svg%3E");
}

.topbar, .footer, .app-shell { position: relative; z-index: 1; }
.topbar {
  width: min(calc(100% - 32px), var(--max));
  margin: 0 auto;
  min-height: 76px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.brand { display: inline-flex; gap: 10px; align-items: center; font-weight: 900; letter-spacing: .12em; font-size: 13px; }
.brand-mark {
  width: 30px; height: 30px; display: grid; place-items: center; border-radius: 9px;
  color: #10110c; background: var(--acid); font-weight: 1000; box-shadow: 0 0 36px rgba(223,255,79,.22);
}
.topbar-chip { border: 1px solid var(--line); border-radius: 999px; padding: 8px 11px; color: var(--muted); font-size: 10px; letter-spacing: .12em; font-weight: 800; }

.app-shell { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }
.screen { min-height: calc(100vh - 154px); padding: 54px 0 80px; }
.screen[hidden] { display: none !important; }
.screen.is-active { animation: fadeUp .35s ease both; }

.screen-home { text-align: center; display: flex; flex-direction: column; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.hero-glow { position: absolute; width: 560px; height: 560px; top: -100px; border-radius: 50%; background: radial-gradient(circle, rgba(223,255,79,.12), rgba(223,255,79,0) 66%); filter: blur(10px); pointer-events: none; }
.eyebrow { margin: 0 0 14px; color: var(--acid); font-size: 11px; letter-spacing: .18em; font-weight: 900; text-transform: uppercase; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 20px; font-size: clamp(52px, 9vw, 118px); line-height: .86; letter-spacing: -.075em; font-weight: 950; max-width: 950px; }
.text-glow { color: var(--acid); text-shadow: 0 0 45px rgba(223,255,79,.18); }
.hero-copy { max-width: 650px; margin: 0 auto 28px; color: #c6c8cf; font-size: clamp(16px,2vw,20px); line-height: 1.55; }

.cta { border: 0; border-radius: 16px; min-height: 54px; padding: 0 22px; font-weight: 950; letter-spacing: .02em; cursor: pointer; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; display: inline-flex; align-items: center; justify-content: center; gap: 14px; }
.cta:hover { transform: translateY(-2px); }
.cta:active { transform: translateY(0); }
.cta-primary { background: var(--acid); color: #0c0d08; box-shadow: 0 16px 42px rgba(223,255,79,.13); }
.cta-primary:hover { background: #e8ff79; box-shadow: 0 18px 50px rgba(223,255,79,.19); }
.cta-secondary { background: #171a21; border: 1px solid var(--line); }
.cta-secondary:hover { background: #1d2028; }
.cta-xl { min-width: min(100%, 340px); min-height: 62px; }
.microtrust { margin: 13px 0 0; color: #737986; font-size: 12px; }

.score-preview { margin: 46px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; align-items: center; color: #777d88; font-size: 9px; letter-spacing: .13em; font-weight: 900; }
.score-preview i { width: 4px; height: 4px; border-radius: 50%; background: #3b404a; }
.proof-strip { margin-top: 34px; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); width: min(100%, 620px); border: 1px solid var(--line); background: rgba(255,255,255,.025); border-radius: var(--radius-md); overflow: hidden; }
.proof-strip > div { padding: 18px 14px; display: grid; gap: 4px; }
.proof-strip > div + div { border-left: 1px solid var(--line); }
.proof-strip strong { font-size: 20px; }
.proof-strip span { font-size: 10px; color: var(--muted); }
.disclaimer-inline { margin: 20px auto 0; max-width: 620px; color: #5f6470; font-size: 10px; line-height: 1.55; }

.challenge-banner { margin: 0 auto 20px; width: min(100%, 520px); text-align: left; padding: 14px 16px; border: 1px solid rgba(223,255,79,.22); background: rgba(223,255,79,.06); border-radius: 16px; display: flex; gap: 12px; align-items: center; }
.challenge-banner[hidden] { display: none; }
.challenge-icon { font-size: 22px; }
.challenge-banner div { display: grid; gap: 2px; }
.challenge-banner strong { font-size: 13px; }
.challenge-banner span:not(.challenge-icon) { color: var(--muted); font-size: 12px; }

.quiz-meta { display: grid; grid-template-columns: 42px 1fr 48px; align-items: center; gap: 12px; max-width: 820px; margin: 0 auto 54px; }
.icon-btn { width: 42px; height: 42px; display: grid; place-items: center; background: transparent; border: 1px solid var(--line); border-radius: 12px; cursor: pointer; }
.progress-wrap { height: 6px; background: #171920; border-radius: 999px; overflow: hidden; }
.progress-bar { height: 100%; width: 12.5%; background: linear-gradient(90deg,var(--acid),#f2ffa5); transition: width .25s ease; }
.progress-label { color: var(--muted); font-size: 11px; font-weight: 800; text-align: right; }
.question-stage { max-width: 820px; margin: 0 auto; }
.question-stage h2 { margin-bottom: 12px; font-size: clamp(32px, 5vw, 56px); line-height: 1.04; letter-spacing: -.04em; }
.question-helper { margin-bottom: 26px; color: var(--muted); font-size: 15px; }
.answers { display: grid; gap: 12px; }
.answer-btn { width: 100%; min-height: 70px; text-align: left; padding: 16px 18px; border: 1px solid var(--line); background: rgba(255,255,255,.035); border-radius: 18px; cursor: pointer; display: grid; grid-template-columns: 42px 1fr 24px; align-items: center; gap: 12px; transition: background .16s ease, border-color .16s ease, transform .16s ease; }
.answer-btn:hover { background: rgba(255,255,255,.07); border-color: rgba(223,255,79,.35); transform: translateY(-1px); }
.answer-emoji { font-size: 24px; }
.answer-copy { font-weight: 800; font-size: 15px; line-height: 1.3; }
.answer-arrow { color: #616670; }
.quiz-footnote { max-width: 820px; margin: 18px auto 0; color: #646a76; font-size: 11px; }

.screen-analysis { display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center; }
.screen-analysis h2 { margin-bottom: 30px; font-size: clamp(34px, 6vw, 66px); letter-spacing: -.055em; }
.scanner { width: 126px; height: 126px; position: relative; margin-bottom: 30px; display: grid; place-items: center; }
.scanner-core { width: 56px; height: 56px; display: grid; place-items: center; border-radius: 18px; color: #101108; background: var(--acid); font-weight: 1000; font-size: 22px; box-shadow: 0 0 50px rgba(223,255,79,.22); }
.scanner-ring { position: absolute; border: 1px solid rgba(223,255,79,.25); border-radius: 50%; animation: pulse 1.5s ease-out infinite; }
.ring-one { inset: 18px; }
.ring-two { inset: 0; animation-delay: .5s; }
.analysis-list { width: min(100%, 510px); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; background: rgba(255,255,255,.025); }
.analysis-item { min-height: 52px; display: flex; justify-content: space-between; align-items: center; padding: 0 16px; font-size: 12px; color: var(--muted); }
.analysis-item + .analysis-item { border-top: 1px solid var(--line); }
.analysis-item b { color: var(--acid); font-size: 11px; letter-spacing: .08em; }

.result-head { text-align: center; max-width: 820px; margin: 0 auto 36px; }
.score-orbit { display: inline-flex; align-items: baseline; gap: 8px; }
.score-number { font-size: clamp(92px, 18vw, 190px); line-height: .8; letter-spacing: -.08em; font-weight: 1000; color: var(--acid); }
.score-orbit small { color: #59606c; font-weight: 900; }
.tier-pill { display: table; margin: 18px auto 16px; padding: 7px 11px; border-radius: 999px; border: 1px solid rgba(223,255,79,.2); background: rgba(223,255,79,.07); color: var(--acid); font-size: 10px; font-weight: 900; letter-spacing: .12em; }
.result-head h2 { font-size: clamp(32px, 5vw, 58px); margin-bottom: 9px; letter-spacing: -.05em; }
.result-subcopy { max-width: 580px; margin: 0 auto; color: var(--muted); line-height: 1.6; }
.result-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 16px; }
.panel { border: 1px solid var(--line); background: var(--panel); border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow); backdrop-filter: blur(18px); }
.panel-title { display: flex; justify-content: space-between; align-items: center; color: #c8cbd2; font-weight: 900; font-size: 11px; letter-spacing: .12em; margin-bottom: 24px; }
.panel-kicker { color: #5e6571; }
.dimension-bars { display: grid; gap: 20px; }
.dimension-row { display: grid; grid-template-columns: 120px 1fr 38px; align-items: center; gap: 13px; }
.dimension-name { font-size: 11px; color: #a5aab4; font-weight: 800; }
.dimension-track { height: 8px; background: #1a1d24; overflow: hidden; border-radius: 999px; }
.dimension-fill { height: 100%; background: linear-gradient(90deg, #b5df34, var(--acid)); border-radius: 999px; transform-origin: left; animation: grow .65s ease both; }
.dimension-value { text-align: right; font-weight: 950; }
.bottleneck-panel { background: linear-gradient(145deg, rgba(159,124,255,.105), rgba(255,255,255,.035)); }
.bottleneck-panel h3 { font-size: clamp(34px,5vw,58px); letter-spacing: -.05em; margin-bottom: 14px; }
.bottleneck-panel > p:not(.eyebrow) { color: #b6bac4; line-height: 1.65; margin-bottom: 22px; }
.focus-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.focus-chip { padding: 8px 10px; border-radius: 999px; border: 1px solid var(--line); background: rgba(255,255,255,.04); color: #c0c4cc; font-size: 10px; font-weight: 800; }
.result-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 18px auto 0; max-width: 760px; }
.status-line { min-height: 22px; color: var(--acid); font-size: 11px; text-align: center; margin: 10px 0 0; }
.text-btn { display: table; margin: 10px auto 0; border: 0; background: transparent; color: #727986; font-size: 12px; cursor: pointer; text-decoration: underline; text-underline-offset: 4px; }

.offer-screen { padding-top: 34px; }
.back-link { margin: 0 0 42px; text-decoration: none; }
.offer-hero { text-align: center; max-width: 800px; margin: 0 auto 38px; }
.offer-badge { display: table; margin: 0 auto 14px; color: #101108; background: var(--acid); padding: 7px 10px; border-radius: 10px; font-size: 11px; font-weight: 1000; letter-spacing: .12em; }
.offer-hero h2 { font-size: clamp(42px,7vw,82px); letter-spacing: -.06em; line-height: .95; margin-bottom: 16px; }
.offer-copy { max-width: 670px; }
.offer-layout { display: grid; grid-template-columns: 1.15fr .85fr; gap: 16px; align-items: start; }
.protocol-days { display: grid; gap: 9px; }
.protocol-day { min-height: 62px; border: 1px solid var(--line); background: rgba(255,255,255,.026); border-radius: 15px; padding: 12px 14px; display: grid; grid-template-columns: 48px 1fr auto; gap: 12px; align-items: center; }
.day-index { color: var(--acid); font-size: 10px; font-weight: 900; letter-spacing: .1em; }
.day-copy { display: grid; gap: 3px; }
.day-copy strong { font-size: 13px; }
.day-copy span { color: var(--muted); font-size: 11px; }
.day-time { color: #646b76; font-size: 10px; }
.checkout-card { position: sticky; top: 16px; }
.checkout-card h3 { font-size: 44px; letter-spacing: -.05em; margin-bottom: 16px; }
.check-list { list-style: none; padding: 0; margin: 0 0 22px; display: grid; gap: 12px; }
.check-list li { color: #c3c7cf; font-size: 13px; display: flex; gap: 10px; }
.check-list li::before { content: '✓'; color: var(--acid); font-weight: 900; }
.price-row { padding: 18px 0; margin: 4px 0 18px; border-top: 1px solid var(--line); display: flex; align-items: end; justify-content: space-between; }
.price-row span { color: #777d88; font-size: 10px; font-weight: 900; letter-spacing: .11em; }
.price-row strong { font-size: 36px; letter-spacing: -.04em; }
.checkout-card .cta { width: 100%; }
.checkout-note { color: var(--danger); background: rgba(255,124,140,.08); border: 1px solid rgba(255,124,140,.18); border-radius: 12px; padding: 12px; font-size: 11px; line-height: 1.5; }
.checkout-note code { color: #ffd2d8; }
.trust-note { margin: 16px auto 0; max-width: 820px; display: flex; gap: 10px; justify-content: center; color: #6e7480; font-size: 11px; text-align: center; }
.trust-note strong { color: #b3b7bf; }

.footer { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; min-height: 76px; border-top: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; color: #606671; font-size: 10px; }
.footer nav { display: flex; gap: 18px; }
.footer a:hover { color: #aeb3bd; }
.noscript { padding: 20px; background: #2a1720; text-align: center; }

.legal-page { width: min(calc(100% - 32px), 860px); margin: 0 auto; padding: 70px 0 90px; }
.legal-page h1 { font-size: clamp(44px,7vw,74px); }
.legal-page h2 { margin-top: 38px; font-size: 24px; }
.legal-page p, .legal-page li { color: #b6bac4; line-height: 1.75; font-size: 14px; }
.legal-page a { color: var(--acid); }

@keyframes fadeUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@keyframes pulse { 0% { transform: scale(.85); opacity: .8; } 100% { transform: scale(1.15); opacity: 0; } }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }

@media (max-width: 760px) {
  .topbar { min-height: 66px; }
  .screen { min-height: calc(100vh - 132px); padding: 34px 0 64px; }
  .screen-home { justify-content: flex-start; padding-top: 72px; }
  h1 { font-size: clamp(52px, 17vw, 80px); }
  .hero-copy { font-size: 15px; max-width: 520px; }
  .proof-strip { grid-template-columns: 1fr; }
  .proof-strip > div + div { border-left: 0; border-top: 1px solid var(--line); }
  .score-preview { max-width: 430px; }
  .quiz-meta { margin-bottom: 38px; }
  .question-stage h2 { font-size: 36px; }
  .answer-btn { min-height: 66px; }
  .result-grid, .offer-layout { grid-template-columns: 1fr; }
  .result-actions { grid-template-columns: 1fr; }
  .dimension-row { grid-template-columns: 98px 1fr 34px; }
  .checkout-card { position: static; }
  .trust-note { flex-direction: column; gap: 4px; }
}

@media (max-width: 480px) {
  .topbar-chip { display: none; }
  .screen-home { padding-top: 54px; }
  .hero-copy { max-width: 350px; }
  .panel { padding: 19px; border-radius: 22px; }
  .protocol-day { grid-template-columns: 43px 1fr; }
  .day-time { grid-column: 2; }
  .footer { align-items: flex-start; padding: 22px 0; gap: 18px; flex-direction: column; }
  .footer nav { flex-wrap: wrap; }
}

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

/* Production V2 enhancements */
.skip-link{position:fixed;left:12px;top:10px;z-index:999;transform:translateY(-160%);padding:10px 14px;border-radius:10px;background:#fff;color:#090a0d;font-weight:900}.skip-link:focus{transform:none}
.cta[disabled]{cursor:not-allowed;opacity:.48;filter:saturate(.45);transform:none!important;box-shadow:none!important}
.last-result{margin:20px auto 0;padding:10px 14px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.025);display:grid;grid-template-columns:auto auto;gap:2px 16px;align-items:center;text-align:left;cursor:pointer}.last-result[hidden]{display:none}.last-result span{grid-column:1;color:#7b8190;font-size:9px;font-weight:900;letter-spacing:.12em}.last-result strong{grid-column:2;grid-row:1/3;font-size:28px;color:var(--acid)}.last-result small{grid-column:1;color:#b3b7c0;font-size:11px}
.micro-insight{margin-top:16px;padding:11px 13px;border:1px solid rgba(223,255,79,.15);border-radius:13px;background:rgba(223,255,79,.045);color:#aebc7e;font-size:11px}.micro-insight[hidden]{display:none}
.challenge-result{display:table;margin:16px auto 0;padding:8px 11px;border-radius:12px;border:1px solid var(--line);background:rgba(255,255,255,.035);color:#d0d4dc;font-size:11px;font-weight:900}.challenge-result[hidden]{display:none}
.result-actions .share-more{grid-column:1/-1}.saved-note{text-align:center;margin:3px 0 0;color:#626975;font-size:10px}.checkout-links{display:flex;gap:7px;justify-content:center;margin-top:11px;color:#6b7280;font-size:10px}.checkout-links a:hover{color:#b3b7c0}
.offer-proof{display:grid;grid-template-columns:repeat(3,1fr);gap:10px;margin:18px auto 0;max-width:100%}.offer-proof div{padding:15px;border:1px solid var(--line);border-radius:15px;background:rgba(255,255,255,.025)}.offer-proof strong,.offer-proof span{display:block}.offer-proof strong{color:var(--acid);font-size:10px}.offer-proof span{margin-top:3px;color:#b5bac4;font-size:11px}.faq{max-width:820px;margin:0 auto;border-top:1px solid var(--line);padding:16px 2px}.faq:first-of-type{margin-top:22px}.faq:last-of-type{border-bottom:1px solid var(--line)}.faq summary{cursor:pointer;font-size:13px;font-weight:850}.faq p{margin:10px 0 0;color:#8d929d;font-size:12px;line-height:1.6}
.consent-banner{position:fixed;z-index:80;left:16px;right:16px;bottom:16px;max-width:980px;margin:0 auto;padding:15px 16px;border:1px solid var(--line);border-radius:18px;background:rgba(15,17,23,.97);box-shadow:0 20px 70px rgba(0,0,0,.58);backdrop-filter:blur(18px);display:flex;align-items:center;justify-content:space-between;gap:20px}.consent-banner[hidden]{display:none}.consent-banner strong{font-size:12px}.consent-banner p{margin:3px 0 0;max-width:620px;color:#8b919d;font-size:11px;line-height:1.45}.consent-actions{display:flex;gap:8px;flex:0 0 auto}.consent-actions .cta{min-height:42px;padding:0 13px;font-size:10px}
.legal-callout{padding:14px 16px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.025)}
button:focus-visible,a:focus-visible,summary:focus-visible{outline:3px solid rgba(223,255,79,.65);outline-offset:3px}
@media(max-width:760px){.offer-proof{grid-template-columns:1fr}.consent-banner{align-items:stretch;flex-direction:column;gap:12px}.consent-actions{display:grid;grid-template-columns:1fr 1fr}.consent-actions .cta{width:100%}}
.dimension-fill{display:block}
