:root {
  color-scheme: dark;
  --ink: #f4f7fb;
  --muted: #a0adbb;
  --muted-2: #708093;
  --bg: #050a0f;
  --panel: #08131d;
  --panel-2: #0a1824;
  --panel-3: #0c1d2a;
  --line: #1c3447;
  --line-bright: #285474;
  --blue: #54baff;
  --blue-2: #2d7fff;
  --blue-soft: #0c2a48;
  --red: #ff5778;
  --max: 1180px;
  --radius: 20px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { min-width: 320px; scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 82% 12%, rgba(22, 120, 220, .16), transparent 27rem),
    radial-gradient(circle at 8% 90%, rgba(9, 65, 111, .11), transparent 28rem),
    var(--bg);
  color: var(--ink);
  font-size: 1rem;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
a { color: inherit; }
button:focus-visible, a:focus-visible, input:focus-visible + .radio-dot {
  outline: 3px solid rgba(84, 186, 255, .7);
  outline-offset: 3px;
}

.site { min-height: 100vh; position: relative; overflow: hidden; }
.site::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255,255,255,.014) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.014) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: linear-gradient(to bottom, black, transparent 85%);
}
.wrap { width: min(calc(100% - 40px), var(--max)); margin-inline: auto; }
.header { height: 88px; display: flex; align-items: center; position: relative; z-index: 10; }
.header-compact { height: 82px; }
.nav { width: 100%; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.brand { display: inline-flex; align-items: center; gap: 11px; text-decoration: none; font-weight: 720; letter-spacing: -.02em; }
.brand svg { width: 30px; height: 34px; filter: drop-shadow(0 0 10px rgba(75, 178, 255, .3)); }
.brand-accent { color: var(--blue); }
.brand-small { font-size: .88rem; }
.brand-small svg { width: 24px; height: 28px; }
.nav-links { display: flex; align-items: center; gap: 34px; font-size: .875rem; }
.nav-links a { color: #c2ccd6; text-decoration: none; transition: color .2s ease; }
.nav-links a:hover { color: white; }
.nav-cta, .primary, .secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #3473b0;
  border-radius: 999px;
  min-height: 46px;
  padding: 0 21px;
  color: var(--ink);
  text-decoration: none;
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, opacity .2s ease;
}
.nav-cta:hover, .primary:hover, .secondary:hover { transform: translateY(-1px); }
.primary {
  min-width: 275px;
  min-height: 58px;
  border: 0;
  color: #03111d;
  background: linear-gradient(110deg, #2b84ff, #67caff);
  box-shadow: 0 14px 36px rgba(40, 137, 255, .22);
  font-weight: 760;
}
.primary:hover { box-shadow: 0 17px 42px rgba(40, 137, 255, .32); }
.primary:disabled { cursor: not-allowed; opacity: .38; transform: none; box-shadow: none; }
.primary-small { min-width: 136px; min-height: 49px; }
.secondary { min-width: 110px; min-height: 49px; background: rgba(11, 25, 37, .78); border-color: #344b5e; }
.eyebrow {
  display: inline-flex;
  padding: 7px 11px;
  border: 1px solid #153d60;
  border-radius: 999px;
  background: rgba(17, 55, 88, .55);
  color: #8bd0ff;
  font-size: .75rem;
  font-weight: 750;
  letter-spacing: .09em;
}

.hero { min-height: calc(100vh - 88px); display: grid; grid-template-columns: 1.06fr .94fr; align-items: center; gap: 70px; padding: 52px 0 74px; }
.hero-copy { position: relative; z-index: 2; }
.hero h1 { max-width: 700px; margin: 18px 0 22px; font-size: clamp(3.4rem, 7vw, 6.7rem); line-height: .9; letter-spacing: -.065em; }
.hero h1 span { color: var(--blue); text-shadow: 0 0 34px rgba(61, 161, 255, .24); }
.lede { max-width: 650px; margin: 0; color: #b6c1cd; font-size: clamp(1.05rem, 1.5vw, 1.2rem); }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 13px; margin: 34px 0 32px; }
.feature { min-height: 138px; padding: 18px; border: 1px solid var(--line); border-radius: 16px; background: linear-gradient(145deg, rgba(11, 28, 43, .94), rgba(7, 17, 27, .84)); }
.feature-icon { width: 36px; height: 36px; display: grid; place-items: center; margin-bottom: 15px; border-radius: 9px; background: #0b2e54; color: var(--blue); }
.feature-icon svg { width: 19px; height: 19px; }
.feature strong { display: block; font-size: .93rem; }
.feature > span:last-child { color: var(--muted); font-size: .8rem; }
.privacy-note { color: var(--muted-2); font-size: .79rem; margin: 13px 0 0; }
.hero-visual { position: relative; min-height: 560px; display: grid; place-items: center; }
.orbit { width: min(39vw, 470px); aspect-ratio: 1; border: 1px solid rgba(79, 177, 255, .24); border-radius: 50%; box-shadow: 0 0 72px rgba(22, 120, 220, .12), inset 0 0 52px rgba(20, 97, 167, .07); position: relative; }
.orbit::before, .orbit::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(79, 177, 255, .17); inset: 13%; }
.orbit::after { inset: 30%; background: radial-gradient(circle, rgba(55, 164, 255, .22), transparent 65%); box-shadow: 0 0 40px rgba(54, 165, 255, .11); }
.orbit-scan { position: absolute; inset: -1px; border-radius: 50%; border-top: 2px solid var(--blue); border-right: 2px solid transparent; animation: spin 10s linear infinite; filter: drop-shadow(0 0 8px var(--blue)); }
.orbit-mark { position: absolute; inset: 0; display: grid; place-items: center; z-index: 2; }
.orbit-mark svg { width: 96px; height: 110px; filter: drop-shadow(0 0 24px rgba(57, 164, 255, .45)); }
.orbit-label { position: absolute; right: -14px; bottom: 18%; width: 190px; padding: 14px 17px; background: rgba(8, 20, 31, .92); border: 1px solid var(--line); border-radius: 14px; box-shadow: 0 18px 45px rgba(0, 0, 0, .35); z-index: 3; }
.orbit-label small { display: block; color: var(--muted); }
.orbit-label strong { color: #dcecff; font-size: .9rem; }

.info-band { border-top: 1px solid rgba(41, 75, 101, .55); border-bottom: 1px solid rgba(41, 75, 101, .55); background: rgba(7, 18, 28, .7); }
.info-grid { display: grid; grid-template-columns: repeat(3, 1fr); }
.info-grid article { min-height: 250px; padding: 48px 38px; border-right: 1px solid rgba(41, 75, 101, .55); scroll-margin-top: 30px; }
.info-grid article:first-child { border-left: 1px solid rgba(41, 75, 101, .55); }
.info-grid article > span { color: var(--blue); font-size: .8rem; font-weight: 750; letter-spacing: .1em; }
.info-grid h2 { margin: 19px 0 10px; font-size: 1.35rem; }
.info-grid p { margin: 0; color: var(--muted); }
.footer { min-height: 120px; display: flex; align-items: center; justify-content: space-between; gap: 30px; color: var(--muted-2); }
.footer p { margin: 0; font-size: .83rem; }

.inner-site { background: radial-gradient(circle at 88% 90%, rgba(22, 113, 201, .18), transparent 32rem); }
.assessment-shell { max-width: 850px; padding: 56px 0 80px; }
.assessment-progress { margin: 0 10px 24px; }
.assessment-progress > div:first-child { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; color: #c6d0da; font-size: .9rem; }
.assessment-progress strong { color: var(--muted); font-weight: 600; }
.progress-track, .trait-track { height: 10px; border-radius: 999px; background: #132330; overflow: hidden; }
.progress-track > span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #2d82ff, #67caff); box-shadow: 0 0 16px rgba(66, 172, 255, .42); transition: width .35s ease; }
.question-card { padding: 36px; border: 1px solid var(--line-bright); border-radius: var(--radius); background: linear-gradient(150deg, rgba(10, 25, 38, .98), rgba(5, 14, 22, .94)); box-shadow: 0 26px 70px rgba(0, 0, 0, .22); }
.question-card fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
.question-card legend { width: 100%; max-width: 710px; margin: 15px 0 28px; color: var(--ink); font-size: clamp(1.5rem, 3vw, 2.05rem); font-weight: 730; line-height: 1.2; letter-spacing: -.035em; }
.question-icon { width: 48px; height: 48px; display: grid; place-items: center; border-radius: 12px; background: #0b315b; color: var(--blue); }
.question-icon svg { width: 25px; }
.options { display: grid; gap: 10px; }
.option { min-height: 59px; display: flex; align-items: center; gap: 13px; padding: 12px 16px; border: 1px solid #254055; border-radius: 12px; background: rgba(10, 25, 37, .82); cursor: pointer; color: #d9e1e9; transition: border-color .18s ease, background .18s ease, transform .18s ease, box-shadow .18s ease; }
.option:hover { border-color: #3c6d91; transform: translateX(2px); }
.option.selected { border-color: #3c96df; background: linear-gradient(90deg, rgba(29, 95, 154, .5), rgba(18, 61, 99, .62)); box-shadow: inset 0 0 0 1px rgba(76, 172, 245, .16), 0 8px 24px rgba(20, 105, 178, .12); }
.option input { position: absolute; inline-size: 1px; block-size: 1px; opacity: 0; }
.radio-dot { width: 23px; height: 23px; flex: 0 0 23px; border: 1px solid #50697d; border-radius: 50%; display: grid; place-items: center; }
.radio-dot::after { content: ""; width: 9px; height: 9px; border-radius: 50%; background: var(--blue); transform: scale(0); transition: transform .18s ease; box-shadow: 0 0 9px var(--blue); }
.option.selected .radio-dot { border-color: var(--blue); }
.option.selected .radio-dot::after { transform: scale(1); }
.assessment-actions { display: flex; align-items: center; justify-content: space-between; margin-top: 22px; }

.analysis-shell { max-width: 760px; padding: 28px 0 70px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.analysis-orbit { width: 220px; aspect-ratio: 1; position: relative; margin: 4px 0 25px; border: 1px solid #254765; border-radius: 50%; display: grid; place-items: center; box-shadow: 0 0 70px rgba(41, 145, 229, .15), inset 0 0 50px rgba(30, 116, 187, .08); }
.analysis-orbit::before { content: ""; position: absolute; inset: 20px; border: 1px solid #2c5577; border-radius: 50%; }
.analysis-orbit::after { content: ""; position: absolute; inset: 51px; border: 1px solid #34749f; border-radius: 50%; background: radial-gradient(circle, rgba(38, 139, 224, .22), transparent 68%); }
.analysis-orbit > div { z-index: 2; display: grid; place-items: center; }
.analysis-orbit svg { width: 68px; height: 78px; filter: drop-shadow(0 0 18px rgba(66, 172, 255, .5)); }
.analysis-arc { position: absolute; inset: -2px; border-radius: 50%; border: 4px solid transparent; border-top-color: var(--blue); border-left-color: #2d7fff; animation: spin 2.4s linear infinite; filter: drop-shadow(0 0 7px var(--blue)); }
.analysis-copy h1, .results-intro h1, .report-intro h1 { margin: 16px 0 8px; font-size: clamp(2rem, 4.7vw, 3.2rem); line-height: 1.05; letter-spacing: -.045em; }
.analysis-copy p, .results-intro p, .report-intro p { max-width: 650px; margin: 0 auto; color: var(--muted); font-size: 1.02rem; }
.stage-list { width: min(100%, 620px); list-style: none; margin: 30px 0 0; padding: 22px 28px; border: 1px solid var(--line); border-radius: 16px; background: rgba(7, 18, 28, .78); text-align: left; }
.stage-list li { position: relative; min-height: 41px; display: flex; align-items: center; gap: 15px; color: #5f7080; transition: color .25s ease; }
.stage-list li:not(:last-child)::after { content: ""; position: absolute; left: 10px; top: 31px; width: 1px; height: 22px; background: #213645; }
.stage-dot { width: 21px; height: 21px; flex: 0 0 21px; border: 1px solid #344c60; border-radius: 50%; display: grid; place-items: center; transition: background .25s ease, border-color .25s ease, box-shadow .25s ease; }
.stage-list li.active { color: #dce8f2; }
.stage-list li.active .stage-dot { border: 2px solid var(--blue); box-shadow: 0 0 15px rgba(80, 184, 255, .44); }
.stage-list li.active .stage-dot::after { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--blue); animation: pulse 1s ease-in-out infinite; }
.stage-list li.complete { color: #c9d7e3; }
.stage-list li.complete .stage-dot { border-color: #2f7cad; background: #0d3855; }
.stage-list li.complete .stage-dot::after { content: "✓"; color: var(--blue); font-size: .78rem; font-weight: 800; }

.results-shell { max-width: 900px; padding: 22px 0 76px; }
.results-intro, .report-intro { text-align: center; }
.result-card { margin-top: 30px; padding: 34px; border: 1px solid var(--line-bright); border-radius: var(--radius); background: linear-gradient(150deg, rgba(12, 30, 44, .98), rgba(6, 17, 26, .96)); box-shadow: 0 25px 70px rgba(0,0,0,.22); }
.result-topline { display: flex; justify-content: space-between; align-items: center; gap: 20px; color: #c5d0da; }
.code { border: 1px solid #39516a; border-radius: 6px; padding: 7px 11px; background: #12283a; font-size: .86rem; }
.result-card h2 { margin: 3px 0 0; font-size: clamp(2.7rem, 6vw, 4.5rem); line-height: 1.05; letter-spacing: -.055em; text-transform: uppercase; }
.result-card h2 span { color: var(--blue); }
.confidence { margin: 3px 0 11px; color: var(--muted); }
.confidence strong { color: var(--ink); }
.result-description { max-width: 780px; margin: 0; color: #bcc7d1; }
.traits { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 27px; }
.trait { padding: 12px; border: 1px solid #243747; border-radius: 11px; background: rgba(255, 255, 255, .025); }
.trait > div:first-child { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 7px; font-size: .86rem; }
.trait-track { height: 7px; }
.trait-track span { display: block; height: 100%; border-radius: inherit; background: linear-gradient(90deg, #3e8fff, #6cc8ff); box-shadow: 0 0 10px rgba(69, 164, 244, .3); }
.trait.low .trait-track span { background: linear-gradient(90deg, #ff4e75, #ff7890); box-shadow: 0 0 10px rgba(255, 79, 116, .25); }
.trait.alert { border-color: rgba(235, 75, 109, .34); }
.trait.alert .trait-track span { background: linear-gradient(90deg, #ff4b72, #ff718b); box-shadow: 0 0 12px rgba(255, 76, 113, .34); }
.recommendation { display: flex; align-items: center; gap: 16px; margin-top: 16px; padding: 20px; border: 1px solid #203d51; border-radius: 15px; background: rgba(8, 24, 35, .82); }
.recommendation-icon { width: 38px; height: 38px; display: grid; place-items: center; flex: 0 0 38px; border-radius: 10px; color: var(--red); background: rgba(94, 22, 43, .42); border: 1px solid rgba(255, 85, 121, .2); font-weight: 800; }
.recommendation div { display: grid; }
.recommendation div span { color: var(--blue); font-size: .82rem; }
.recommendation strong { font-size: .94rem; }
.results-cta { width: 100%; margin-top: 18px; }

.report-shell { max-width: 970px; padding: 34px 0 80px; }
.report-intro h1 { font-size: clamp(2.35rem, 5vw, 3.7rem); }
.download-card { display: grid; grid-template-columns: 290px 1fr; gap: 50px; align-items: center; margin-top: 34px; padding: 38px; border: 1px solid var(--line-bright); border-radius: var(--radius); background: linear-gradient(150deg, rgba(11, 27, 40, .98), rgba(6, 17, 26, .95)); box-shadow: 0 25px 70px rgba(0,0,0,.22); }
.document-preview { width: 100%; aspect-ratio: .72; position: relative; padding: 26px 22px; color: #182534; background: linear-gradient(145deg, #f6f9fc, #dae4ed); border-radius: 4px; box-shadow: 0 24px 45px rgba(0,0,0,.35); transform: rotate(-1deg); }
.doc-brand { display: flex; align-items: center; gap: 6px; font-size: .58rem; font-weight: 800; }
.doc-brand svg { width: 19px; height: 22px; }
.doc-brand > span > span { color: #2f8bd5; }
.doc-rule { height: 1px; margin: 16px 0 33px; background: #b3c3d0; }
.document-preview > small { color: #4b6072; font-size: .55rem; font-weight: 750; letter-spacing: .08em; }
.document-preview h2 { margin: 3px 0 0; font-size: 2.1rem; }
.document-preview p { margin: 0; color: #5f7180; font-size: .69rem; }
.doc-lines { display: grid; gap: 8px; margin-top: 42px; }
.doc-lines i { height: 4px; border-radius: 5px; background: #b8c6d1; }
.doc-lines i:nth-child(2) { width: 86%; }
.doc-lines i:nth-child(3) { width: 93%; }
.doc-lines i:nth-child(4) { width: 64%; }
.doc-lines i:nth-child(5) { width: 78%; margin-top: 12px; }
.doc-page { position: absolute; bottom: 18px; right: 20px; color: #6d7f8e; font-size: .55rem; }
.report-details ul { display: grid; gap: 16px; margin: 0 0 30px; padding: 0; list-style: none; }
.report-details li { display: flex; align-items: center; gap: 13px; color: #d2dbe4; }
.report-details li span { color: var(--blue); font-weight: 850; }
.download-button { width: 100%; min-height: 74px; border-radius: 15px; }
.download-button > svg { width: 27px; }
.download-button > span { display: grid; text-align: left; line-height: 1.25; }
.download-button small { margin-top: 4px; font-size: .73rem; font-weight: 560; opacity: .75; }

.reveal-site { background: radial-gradient(ellipse at 80% 50%, rgba(18, 114, 205, .19), transparent 43%), #050a0f; }
.reveal-site::before { content: ""; position: absolute; left: -15vw; right: -15vw; bottom: 8vh; height: 28vh; border-radius: 50%; border-top: 1px solid rgba(52, 145, 230, .28); transform: rotate(-8deg); box-shadow: 0 -20px 75px rgba(37, 126, 212, .07); }
.reveal { min-height: calc(100vh - 82px); display: grid; place-items: center; padding: 30px; text-align: center; }
.reveal h1 { margin: -30px 0 0; font-size: clamp(4.2rem, 12vw, 10rem); line-height: .83; letter-spacing: -.075em; animation: reveal-in .75s cubic-bezier(.2,.7,.2,1) both; }
.reveal h1 span { color: var(--blue); text-shadow: 0 0 42px rgba(73, 176, 255, .24); }
.not-found { min-height: calc(100vh - 82px); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; max-width: 760px; padding-bottom: 100px; }
.not-found h1 { margin: 18px 0 8px; font-size: clamp(2.6rem, 7vw, 5rem); line-height: 1; letter-spacing: -.055em; }
.not-found p { margin: 0 0 28px; color: var(--muted); }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 50% { transform: scale(.5); opacity: .55; } }
@keyframes reveal-in { from { opacity: 0; transform: scale(.94); filter: blur(10px); } to { opacity: 1; transform: scale(1); filter: blur(0); } }

@media (max-width: 900px) {
  .wrap { width: min(calc(100% - 30px), var(--max)); }
  .hero { grid-template-columns: 1fr; gap: 20px; }
  .hero-visual { display: none; }
  .download-card { grid-template-columns: 240px 1fr; gap: 32px; }
}

@media (max-width: 720px) {
  .header, .header-compact { height: 72px; }
  .nav-links { gap: 15px; }
  .nav-links a:not(.nav-cta) { display: none; }
  .hero { min-height: auto; padding: 54px 0 70px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature { min-height: auto; display: grid; grid-template-columns: 36px 1fr; column-gap: 14px; }
  .feature-icon { grid-row: span 2; margin: 0; }
  .info-grid { grid-template-columns: 1fr; }
  .info-grid article, .info-grid article:first-child { min-height: auto; padding: 34px 24px; border-left: 1px solid rgba(41, 75, 101, .55); border-right: 1px solid rgba(41, 75, 101, .55); border-bottom: 1px solid rgba(41, 75, 101, .55); }
  .footer { flex-direction: column; justify-content: center; text-align: center; padding: 30px 0; }
  .question-card { padding: 24px 18px; }
  .assessment-shell { padding-top: 32px; }
  .traits { grid-template-columns: 1fr; }
  .result-card { padding: 24px 18px; }
  .result-topline { align-items: flex-start; }
  .download-card { grid-template-columns: 1fr; padding: 26px 20px; }
  .document-preview { width: min(100%, 250px); justify-self: center; }
  .report-details ul { max-width: 400px; margin-inline: auto; }
  .report-details { text-align: left; }
  .analysis-shell { padding-top: 20px; }
  .analysis-orbit { width: 180px; }
  .reveal { min-height: calc(100vh - 72px); }
}

@media (max-width: 480px) {
  .brand { font-size: .94rem; }
  .brand svg { width: 27px; }
  .nav-cta { min-height: 40px; padding: 0 15px; font-size: .78rem; }
  .hero h1 { font-size: clamp(3rem, 17vw, 4.7rem); }
  .primary { width: 100%; min-width: 0; }
  .assessment-actions { gap: 12px; }
  .assessment-actions .primary, .assessment-actions .secondary { width: auto; flex: 1; padding: 0 12px; font-size: .88rem; }
  .question-card legend { font-size: 1.4rem; }
  .option { min-height: 56px; padding: 11px 12px; font-size: .92rem; }
  .stage-list { padding: 19px 16px; font-size: .9rem; }
  .results-intro, .report-intro { padding-inline: 8px; }
  .result-topline { font-size: .85rem; }
  .recommendation { align-items: flex-start; }
  .reveal h1 { font-size: clamp(4rem, 20vw, 6rem); }
}

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