:root {
  color-scheme: dark;
  --navy-950: #030b17;
  --navy-900: #07162b;
  --navy-800: #0c2a4d;
  --cobalt: #2962ff;
  --cobalt-soft: #7394ff;
  --orange: #ff5a1f;
  --white: #f4f7fb;
  --steel: #92a4b8;
  --steel-dark: #51657c;
  --line: rgba(146, 164, 184, 0.22);
  --ink: #0a182a;
  --paper: #eef3f8;
  --mono: "SFMono-Regular", "Roboto Mono", Consolas, "Liberation Mono", monospace;
  --sans: Inter, "SF Pro Display", "PingFang SC", "Microsoft YaHei", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; min-height: 100vh; background: var(--navy-900); color: var(--white); font-family: var(--sans); }
button, input { font: inherit; }
button { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible { outline: 3px solid var(--orange); outline-offset: 4px; }
[hidden] { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
.noise { position: fixed; inset: 0; pointer-events: none; z-index: 30; opacity: .035; background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 220 220' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.9'/%3E%3C/svg%3E"); }

.site-header { min-height: 78px; padding: 0 clamp(20px, 4vw, 64px); display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(7, 22, 43, .9); backdrop-filter: blur(18px); position: relative; z-index: 10; }
.brand { display: inline-flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand img { width: 42px; height: 42px; }
.brand-lockup { display: grid; gap: 3px; }
.brand-lockup strong { font-family: var(--mono); letter-spacing: .1em; font-size: 13px; }
.brand-lockup small { color: var(--steel); font-size: 10px; letter-spacing: .08em; }
.header-status { display: flex; align-items: center; gap: 9px; color: var(--steel); font: 10px/1 var(--mono); letter-spacing: .1em; }
.status-light { width: 7px; height: 7px; border-radius: 50%; background: #69e7a2; box-shadow: 0 0 0 4px rgba(105, 231, 162, .1); }

main { min-height: calc(100vh - 140px); }
.view { width: min(100%, 1600px); margin: 0 auto; }
.landing-view { padding: 0 clamp(20px, 4vw, 64px) 72px; }
.hero-grid { min-height: 680px; display: grid; grid-template-columns: minmax(0, 1.06fr) minmax(430px, .94fr); align-items: center; gap: clamp(30px, 5vw, 90px); position: relative; }
.hero-grid::before { content: ""; position: absolute; width: 1px; top: 0; bottom: 0; left: 61%; background: linear-gradient(transparent, var(--line) 20%, var(--line) 80%, transparent); }
.hero-copy { padding: 64px 0; position: relative; z-index: 2; }
.eyebrow { margin: 0 0 28px; display: flex; align-items: center; gap: 26px; color: var(--cobalt-soft); font: 11px/1.2 var(--mono); letter-spacing: .12em; }
.eyebrow span:first-child { padding-left: 36px; position: relative; }
.eyebrow span:first-child::before { content: ""; position: absolute; left: 0; top: 50%; width: 24px; height: 2px; background: var(--orange); }
.hero-copy h1, .result-head h1, .pro-view > h1 { margin: 0; font-size: clamp(54px, 6.2vw, 104px); line-height: .94; letter-spacing: -.065em; font-weight: 780; }
.hero-copy h1 em { color: transparent; -webkit-text-stroke: 2px var(--cobalt-soft); font-style: normal; letter-spacing: -.01em; }
.hero-deck { margin: 32px 0 0; color: var(--white); font-size: clamp(20px, 2vw, 30px); font-weight: 700; }
.hero-intro { max-width: 660px; margin: 16px 0 0; color: var(--steel); font-size: 16px; line-height: 1.85; }
.hero-actions { margin-top: 34px; display: flex; align-items: center; flex-wrap: wrap; gap: 22px; }
.primary-cta, .next-button { min-height: 58px; border: 0; padding: 0 22px; display: inline-flex; align-items: center; justify-content: space-between; gap: 38px; background: var(--cobalt); color: #fff; font-weight: 750; cursor: pointer; box-shadow: inset 0 0 0 1px rgba(255,255,255,.18); transition: transform .18s ease, background .18s ease; }
.primary-cta:hover, .next-button:hover { transform: translateY(-2px); background: #3d72ff; }
.button-code { color: rgba(255,255,255,.66); font: 10px/1 var(--mono); }
.text-button, .back-link { border: 0; padding: 8px 0; background: transparent; color: var(--steel); cursor: pointer; font-size: 13px; }
.text-button:hover, .back-link:hover { color: var(--white); }
.hero-notes { margin-top: 38px; display: flex; flex-wrap: wrap; gap: 9px 20px; color: var(--steel-dark); font: 10px/1.4 var(--mono); letter-spacing: .06em; text-transform: uppercase; }
.hero-notes span::before { content: "/"; margin-right: 8px; color: var(--orange); }

.calibration-stage { min-height: 590px; display: grid; place-items: center; position: relative; overflow: hidden; }
.calibration-ring { width: min(35vw, 470px); aspect-ratio: 1; border: 1px solid rgba(115, 148, 255, .5); border-radius: 50%; display: grid; place-items: center; position: relative; box-shadow: inset 0 0 90px rgba(41, 98, 255, .12), 0 0 120px rgba(41, 98, 255, .08); }
.calibration-ring::before, .calibration-ring::after { content: ""; position: absolute; background: rgba(146, 164, 184, .22); }
.calibration-ring::before { width: calc(100% + 120px); height: 1px; }
.calibration-ring::after { height: calc(100% + 120px); width: 1px; }
.tick-ring { position: absolute; inset: 24px; border-radius: 50%; background: repeating-conic-gradient(from -1deg, rgba(146,164,184,.5) 0 1deg, transparent 1deg 10deg); mask: radial-gradient(circle, transparent 0 79%, #000 80% 84%, transparent 85%); }
.hero-logo { width: 44%; height: 44%; filter: drop-shadow(0 0 28px rgba(41,98,255,.22)); z-index: 2; }
.scan-line { position: absolute; width: 48%; height: 48%; top: 50%; left: 50%; transform-origin: 0 0; background: conic-gradient(from 0deg, rgba(41,98,255,.22), transparent 52deg); border-radius: 0 0 100% 0; animation: scan 8s linear infinite; }
.orbit { position: absolute; border: 1px dashed rgba(146,164,184,.18); border-radius: 50%; }
.orbit-a { width: 560px; aspect-ratio: 1; }
.orbit-b { width: 680px; aspect-ratio: 1; }
.axis-label { position: absolute; padding: 4px 8px; background: var(--navy-900); color: var(--steel); font: 9px/1 var(--mono); letter-spacing: .08em; z-index: 2; }
.axis-top { top: -8px; }.axis-right { right: -27px; }.axis-bottom { bottom: -8px; }.axis-left { left: -13px; }
.telemetry { position: absolute; display: grid; gap: 5px; font-family: var(--mono); }
.telemetry small { color: var(--steel-dark); font-size: 9px; letter-spacing: .14em; }
.telemetry strong { font-size: 12px; letter-spacing: .08em; }
.telemetry-top { top: 60px; right: 20px; text-align: right; }.telemetry-bottom { bottom: 52px; left: 20px; }
@keyframes scan { to { transform: rotate(360deg); } }

.dimension-strip { display: grid; grid-template-columns: repeat(5, 1fr); border: 1px solid var(--line); }
.dimension-strip article { min-height: 164px; padding: 22px; border-right: 1px solid var(--line); transition: background .2s ease; }
.dimension-strip article:last-child { border-right: 0; }
.dimension-strip article:hover { background: rgba(41,98,255,.07); }
.dimension-strip span, .section-code, .insight-card > span, .radar-card header span, .pro-grid article > span, .share-copy > span { color: var(--cobalt-soft); font: 9px/1 var(--mono); letter-spacing: .12em; }
.dimension-strip strong { display: block; margin-top: 34px; font-size: 16px; }
.dimension-strip p { margin: 8px 0 0; color: var(--steel); font-size: 12px; line-height: 1.65; }
.truth-panel { padding: 110px 0 58px; display: grid; grid-template-columns: .4fr 1.3fr .8fr; gap: 46px; align-items: start; }
.section-code { margin: 8px 0 0; }
.truth-panel h2 { margin: 0; font-size: clamp(30px, 3.5vw, 52px); line-height: 1.18; letter-spacing: -.035em; }
.truth-copy { padding-top: 8px; }
.truth-copy p { margin: 0; color: var(--steel); line-height: 1.8; font-size: 14px; }
.truth-copy .sharp { margin-top: 22px; color: var(--white); font-weight: 700; }

.quiz-view { min-height: calc(100vh - 78px); padding: 40px clamp(20px, 5vw, 84px) 80px; }
.quiz-topbar { display: flex; justify-content: space-between; align-items: center; }
.progress-meta { display: flex; gap: 32px; color: var(--steel); font: 10px/1 var(--mono); letter-spacing: .1em; }
.progress-track { height: 2px; margin-top: 22px; background: rgba(146,164,184,.16); }
.progress-track span { display: block; width: 8.33%; height: 100%; background: var(--orange); transition: width .35s ease; }
.question-layout { width: min(1180px, 100%); margin: 56px auto 0; display: grid; grid-template-columns: 130px 1fr; gap: 54px; }
.question-index { border-right: 1px solid var(--line); }
.question-index > span { display: block; color: transparent; -webkit-text-stroke: 1px var(--cobalt-soft); font: 92px/.8 var(--mono); letter-spacing: -.12em; }
.question-index small { display: block; margin-top: 22px; color: var(--steel-dark); font: 9px/1.5 var(--mono); letter-spacing: .14em; }
.scenario-label { margin: 0 0 14px; color: var(--orange); font: 10px/1 var(--mono); letter-spacing: .12em; }
.scenario { max-width: 780px; margin: 0; color: var(--steel); font-size: 16px; line-height: 1.75; }
.question-panel h2 { max-width: 900px; margin: 22px 0 34px; font-size: clamp(30px, 3.8vw, 56px); line-height: 1.14; letter-spacing: -.04em; }
.options-list { margin: 0; padding: 0; border: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.option-label { min-height: 100px; display: flex; align-items: center; gap: 18px; padding: 18px; border: 1px solid var(--line); background: rgba(3,11,23,.35); cursor: pointer; transition: border .18s ease, background .18s ease, transform .18s ease; }
.option-label:hover { border-color: var(--cobalt-soft); transform: translateY(-1px); }
.option-label:has(input:checked) { border-color: var(--cobalt); background: rgba(41,98,255,.14); box-shadow: inset 4px 0 0 var(--cobalt); }
.option-key { flex: 0 0 auto; width: 34px; height: 34px; display: grid; place-items: center; border: 1px solid var(--steel-dark); color: var(--steel); font: 12px/1 var(--mono); }
.option-label:has(input:checked) .option-key { border-color: var(--orange); color: var(--white); background: var(--orange); }
.option-copy { color: #dbe5f1; font-size: 14px; line-height: 1.55; }
.question-error { min-height: 22px; margin: 14px 0 0; color: #ff9873; font-size: 12px; }
.quiz-controls { margin-top: 24px; display: grid; grid-template-columns: auto 1fr auto; gap: 22px; align-items: center; }
.secondary-button { min-height: 48px; padding: 0 18px; border: 1px solid var(--line); background: transparent; color: var(--steel); cursor: pointer; }
.secondary-button:hover { border-color: var(--cobalt-soft); color: var(--white); }
.secondary-button:disabled { opacity: .35; cursor: not-allowed; }
.keyboard-hint { justify-self: center; color: var(--steel-dark); font: 9px/1 var(--mono); letter-spacing: .08em; }

.result-view { background: var(--paper); color: var(--ink); padding: 70px clamp(20px, 5vw, 84px) 90px; }
.result-view .eyebrow { color: #3155be; }
.result-head { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; padding-bottom: 54px; border-bottom: 1px solid rgba(10,24,42,.18); }
.evidence-badge { width: fit-content; margin: 0 0 22px; padding: 7px 11px; display: flex; align-items: center; gap: 8px; border: 1px solid rgba(10,24,42,.22); color: #3c526d; font: 10px/1 var(--mono); letter-spacing: .08em; }
.evidence-badge span { width: 7px; height: 7px; border-radius: 50%; background: var(--orange); }
.result-head h1 { max-width: 820px; font-size: clamp(52px, 7vw, 96px); }
.result-verdict { max-width: 720px; margin: 20px 0 0; color: #4b617a; font-size: 17px; line-height: 1.7; }
.score-dial { width: min(28vw, 300px); aspect-ratio: 1; position: relative; }
.score-dial svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.dial-track, .dial-progress { fill: none; stroke-width: 8; }
.dial-track { stroke: rgba(10,24,42,.1); }
.dial-progress { stroke: var(--cobalt); stroke-linecap: square; stroke-dasharray: 578; stroke-dashoffset: 578; transition: stroke-dashoffset 1s cubic-bezier(.2,.8,.2,1); }
.dial-notch { stroke: var(--orange); stroke-width: 4; fill: none; }
.score-dial > div { position: absolute; inset: 0; display: grid; place-content: center; text-align: center; }
.score-dial strong { font: 78px/.85 var(--mono); letter-spacing: -.08em; }
.score-dial span { color: #70849a; font: 11px/1 var(--mono); }
.score-dial small { margin-top: 10px; color: #3c526d; font-size: 12px; }
.result-grid { margin-top: 40px; display: grid; grid-template-columns: minmax(0, 1.3fr) minmax(320px, .7fr); gap: 16px; }
.radar-card, .insight-card { border: 1px solid rgba(10,24,42,.16); background: #f8fafc; }
.radar-card { padding: 24px; }
.radar-card header { display: flex; justify-content: space-between; }
.radar-card header strong { font-size: 15px; }
.radar-card canvas { display: block; width: 100%; height: auto; max-height: 430px; }
.dimension-scores { display: grid; grid-template-columns: repeat(5, 1fr); border-top: 1px solid rgba(10,24,42,.12); }
.dimension-scores div { padding: 14px 8px 2px; border-right: 1px solid rgba(10,24,42,.12); }
.dimension-scores div:last-child { border-right: 0; }
.dimension-scores span { display: block; color: #647991; font-size: 10px; }
.dimension-scores strong { display: block; margin-top: 6px; font: 22px/1 var(--mono); }
.result-insights { display: grid; grid-template-rows: repeat(3, 1fr); gap: 16px; }
.insight-card { padding: 24px; }
.insight-card h2 { margin: 28px 0 8px; font-size: 20px; }
.insight-card p { margin: 0; color: #4d627a; font-size: 13px; line-height: 1.7; }
.exposure-card { background: var(--ink); color: var(--white); border-color: var(--ink); }
.exposure-card p { color: #aebdce; }
.exposure-card > span { color: #ff8a60; }
.result-actions { margin-top: 24px; display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.secondary-button.light { border-color: rgba(10,24,42,.2); color: #3b526c; }
.text-button.light { color: #536b85; }
.share-panel { margin-top: 34px; padding-top: 34px; border-top: 1px solid rgba(10,24,42,.16); display: grid; grid-template-columns: minmax(280px,.7fr) minmax(300px,1fr); gap: 44px; align-items: center; }
.share-preview { max-width: 440px; padding: 12px; background: #dfe7f0; transform: rotate(-1.2deg); box-shadow: 0 20px 60px rgba(10,24,42,.16); }
.share-preview canvas { display: block; width: 100%; height: auto; background: var(--navy-900); }
.share-copy h2 { margin: 18px 0; font-size: clamp(34px,4vw,58px); line-height: 1.12; letter-spacing: -.04em; }
.share-copy p { max-width: 620px; margin: 0 0 28px; color: #4d627a; line-height: 1.75; }

.pro-view { min-height: calc(100vh - 78px); padding: 54px clamp(20px, 6vw, 100px) 90px; }
.pro-view .eyebrow { margin-top: 60px; }
.pro-view > h1 { max-width: 1000px; }
.pro-lead { max-width: 760px; margin: 28px 0 0; color: var(--steel); font-size: 17px; line-height: 1.8; }
.pro-grid { margin-top: 60px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.pro-grid article { min-height: 230px; padding: 24px; border-right: 1px solid var(--line); }
.pro-grid article:last-child { border-right: 0; }
.pro-grid article > span { color: var(--orange); font-size: 12px; }
.pro-grid h2 { margin: 70px 0 10px; font-size: 20px; }
.pro-grid p { margin: 0; color: var(--steel); font-size: 13px; line-height: 1.65; }
.pro-proof { margin: 24px 0; display: grid; grid-template-columns: 170px 170px 1fr; gap: 1px; background: var(--line); border: 1px solid var(--line); }
.pro-proof > * { margin: 0; padding: 22px; background: var(--navy-900); }
.pro-proof div { display: grid; gap: 7px; }
.pro-proof span { color: var(--steel-dark); font: 9px/1 var(--mono); letter-spacing: .1em; }
.pro-proof strong { font: 36px/1 var(--mono); }
.pro-proof small, .pro-proof p { color: var(--steel); font-size: 11px; line-height: 1.6; }

footer { min-height: 62px; padding: 0 clamp(20px, 4vw, 64px); display: flex; align-items: center; justify-content: space-between; gap: 20px; border-top: 1px solid var(--line); background: var(--navy-950); color: var(--steel-dark); font: 9px/1.5 var(--mono); letter-spacing: .09em; }

@media (max-width: 1050px) {
  .hero-grid { grid-template-columns: 1fr 390px; }
  .hero-grid::before { display: none; }
  .dimension-strip { grid-template-columns: repeat(3, 1fr); }
  .dimension-strip article { border-bottom: 1px solid var(--line); }
  .truth-panel { grid-template-columns: 1fr 2fr; }
  .truth-copy { grid-column: 2; }
  .result-grid { grid-template-columns: 1fr; }
  .result-insights { grid-template-columns: repeat(3,1fr); grid-template-rows: auto; }
  .pro-grid { grid-template-columns: repeat(2, 1fr); }
  .pro-grid article { border-bottom: 1px solid var(--line); }
}

@media (max-width: 760px) {
  .site-header { min-height: 66px; }
  .brand img { width: 34px; height: 34px; }
  .brand-lockup small, .header-status span:last-child { display: none; }
  .hero-grid { min-height: auto; grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding: 58px 0 20px; }
  .eyebrow { align-items: flex-start; flex-direction: column; gap: 9px; }
  .hero-copy h1 { font-size: clamp(48px, 15vw, 72px); }
  .hero-intro { font-size: 14px; }
  .hero-actions { align-items: stretch; flex-direction: column; }
  .primary-cta { width: 100%; }
  .text-button { align-self: flex-start; }
  .calibration-stage { min-height: 430px; }
  .calibration-ring { width: min(78vw, 350px); }
  .orbit-a { width: 390px; }.orbit-b { width: 480px; }
  .telemetry-top { top: 28px; }.telemetry-bottom { bottom: 24px; }
  .dimension-strip { grid-template-columns: 1fr; }
  .dimension-strip article { min-height: auto; border-right: 0; padding: 18px; display: grid; grid-template-columns: 76px 110px 1fr; align-items: center; gap: 8px; }
  .dimension-strip strong { margin-top: 0; }
  .dimension-strip p { margin-top: 0; }
  .truth-panel { padding-top: 70px; grid-template-columns: 1fr; gap: 20px; }
  .truth-copy { grid-column: auto; }
  .quiz-view { padding-top: 24px; }
  .progress-meta { gap: 12px; flex-direction: column; align-items: flex-end; }
  .question-layout { margin-top: 34px; grid-template-columns: 1fr; gap: 20px; }
  .question-index { border-right: 0; display: flex; align-items: baseline; gap: 12px; }
  .question-index > span { font-size: 54px; }
  .question-index small { margin-top: 0; }
  .question-panel h2 { font-size: 32px; }
  .options-list { grid-template-columns: 1fr; }
  .option-label { min-height: 82px; }
  .quiz-controls { grid-template-columns: 1fr 1fr; }
  .keyboard-hint { display: none; }
  .result-view { padding-top: 46px; }
  .result-head { grid-template-columns: 1fr; }
  .result-head h1 { font-size: 54px; }
  .score-dial { width: min(72vw, 280px); justify-self: center; }
  .radar-card { padding: 14px; overflow: hidden; }
  .dimension-scores { grid-template-columns: repeat(5, minmax(58px,1fr)); overflow-x: auto; }
  .result-insights { grid-template-columns: 1fr; }
  .result-actions { align-items: stretch; flex-direction: column; }
  .result-actions > * { width: 100%; }
  .share-panel { grid-template-columns: 1fr; }
  .share-preview { max-width: 330px; justify-self: center; }
  .pro-view > h1 { font-size: 54px; }
  .pro-grid { grid-template-columns: 1fr; }
  .pro-grid article { min-height: auto; border-right: 0; }
  .pro-grid h2 { margin-top: 34px; }
  .pro-proof { grid-template-columns: 1fr 1fr; }
  .pro-proof p { grid-column: 1 / -1; }
  footer { padding: 18px 20px; align-items: flex-start; flex-direction: column; }
}

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