:root {
  --cyan: #00b9e8;
  --cyan-soft: #89dbf0;
  --black: #000;
  --panel: #03161d;
  --panel-2: #06242e;
  --white: #fff;
  --muted: #a9d4df;
  --line: rgba(0, 185, 232, .24);
  --max: 1180px;
}

* { box-sizing: border-box; }
html { min-height: 100%; background: var(--black); color-scheme: dark; }
body {
  min-height: 100vh;
  margin: 0;
  color: var(--white);
  background: radial-gradient(circle at 50% 28%, #07313d 0, #020b0f 37%, #000 75%);
  font-family: Arial, Helvetica, sans-serif;
}
button, input { font: inherit; }
button { cursor: pointer; }

.site-header, footer {
  width: min(calc(100% - 48px), var(--max));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.site-header { min-height: 92px; border-bottom: 1px solid var(--line); }
.brand { color: var(--white); text-decoration: none; display: flex; align-items: center; gap: 12px; }
.brand-mark { width: 43px; height: 43px; display: grid; place-items: center; color: var(--black); background: var(--cyan); font-weight: 900; }
.brand strong { display: block; letter-spacing: 2.2px; font-size: 14px; }
.brand small { display: block; color: var(--muted); margin-top: 3px; font-size: 11px; letter-spacing: 1px; }
.header-note { color: var(--cyan-soft); font-size: 12px; letter-spacing: 1.4px; text-transform: uppercase; }

main { width: min(calc(100% - 48px), var(--max)); margin: 0 auto; }
.screen { display: none; min-height: calc(100vh - 166px); padding: 70px 0; animation: reveal .35s ease both; }
.screen.active { display: block; }
@keyframes reveal { from { opacity: 0; transform: translateY(8px); } }

.eyebrow { color: var(--cyan); font-size: 12px; line-height: 1.4; letter-spacing: 4px; font-weight: 800; }
h1, h2, p { margin-top: 0; }
h1 { font-size: clamp(42px, 6.6vw, 82px); line-height: .98; letter-spacing: -2.8px; margin-bottom: 30px; }
h1 span { color: var(--cyan); }
.lead { max-width: 780px; color: #d8eef4; font-size: clamp(18px, 2vw, 24px); line-height: 1.5; }
.lead.compact { font-size: 18px; }
.hero .eyebrow { margin-bottom: 28px; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; margin: 55px 0 36px; background: var(--line); border: 1px solid var(--line); }
.feature-grid article { min-height: 170px; padding: 28px; background: rgba(1, 13, 18, .92); }
.feature-grid b { color: var(--cyan); font-size: 13px; letter-spacing: 2px; }
.feature-grid h2 { margin: 22px 0 10px; font-size: 21px; }
.feature-grid p { color: var(--muted); line-height: 1.55; margin: 0; }
.start-row { display: flex; align-items: center; gap: 24px; }
.start-row span, .fine-print { color: var(--muted); font-size: 13px; }
.fine-print { margin-top: 24px; }

.button { min-height: 50px; padding: 0 26px; border: 1px solid var(--cyan); color: var(--white); background: transparent; font-weight: 800; letter-spacing: .4px; border-radius: 2px; }
.button.primary { background: var(--cyan); color: #001116; }
.button.primary:hover { background: #42d3f7; }
.button.ghost:hover { background: rgba(0, 185, 232, .1); }
.button:disabled { opacity: .36; cursor: not-allowed; }
.button.wide { width: 100%; }
.text-button { border: 0; background: transparent; color: var(--cyan-soft); text-decoration: underline; padding: 10px 0; }

.survey { max-width: 920px; margin: 0 auto; padding-top: 55px; }
.progress-meta { display: flex; justify-content: space-between; color: var(--cyan-soft); font-size: 12px; letter-spacing: 1.2px; }
.progress-track { height: 4px; margin: 12px 0 55px; background: var(--panel-2); }
#progress-bar { height: 100%; width: 1%; background: var(--cyan); transition: width .25s ease; box-shadow: 0 0 14px var(--cyan); }
.question-card { min-height: 500px; }
.question-card h1 { max-width: 860px; margin: 18px 0 18px; font-size: clamp(30px, 4vw, 48px); line-height: 1.15; letter-spacing: -1.1px; }
.instruction { color: var(--muted); margin-bottom: 34px; }
.answers { display: grid; gap: 10px; }
.answer {
  width: 100%; min-height: 58px; display: flex; align-items: center; gap: 16px;
  padding: 12px 18px; border: 1px solid var(--line); border-radius: 2px;
  color: var(--white); background: rgba(2, 20, 27, .84); text-align: left;
}
.answer:hover, .answer.selected { border-color: var(--cyan); background: rgba(0, 185, 232, .1); }
.answer-index { width: 28px; height: 28px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--cyan); font-size: 12px; }
.answer.selected .answer-index { color: var(--black); background: var(--cyan); border-color: var(--cyan); }
.survey-nav { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 24px; }

.result-layout { display: grid; grid-template-columns: 220px 1fr; gap: 55px; align-items: center; margin: 40px 0 70px; }
.result-number { width: 210px; height: 210px; display: grid; place-items: center; border: 3px solid var(--cyan); border-radius: 50%; color: var(--cyan); font-size: 92px; font-weight: 900; box-shadow: 0 0 35px rgba(0,185,232,.22); }
.result h1 { margin-bottom: 12px; }
.descriptor { color: var(--cyan); font-size: 24px; font-weight: 800; }
.report-preview { display: grid; grid-template-columns: 1fr auto; gap: 50px; align-items: center; padding: 38px; border: 1px solid var(--line); background: rgba(4, 30, 38, .72); }
.report-preview h2 { font-size: 32px; margin: 10px 0; }
.report-preview p { max-width: 740px; color: var(--muted); line-height: 1.55; margin: 0; }

.gate-card { max-width: 650px; margin: 0 auto; padding: 44px; background: rgba(3, 22, 29, .94); border: 1px solid var(--line); }
.gate-card h1 { margin: 16px 0 18px; font-size: 46px; line-height: 1.05; }
.gate-card > p { color: var(--muted); line-height: 1.55; }
form { margin-top: 34px; }
label:not(.consent-row) { display: block; margin: 20px 0 8px; color: var(--cyan-soft); font-size: 13px; font-weight: 700; }
input[type="text"], input[type="email"] { width: 100%; height: 52px; padding: 0 15px; color: var(--white); background: #001017; border: 1px solid #1a5362; outline: 0; }
input:focus { border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(0,185,232,.12); }
.consent-row { display: grid; grid-template-columns: 22px 1fr; gap: 12px; margin: 25px 0; color: var(--muted); font-size: 13px; line-height: 1.55; }
.consent-row input { width: 18px; height: 18px; accent-color: var(--cyan); }
.form-status { min-height: 22px; margin: 14px 0 0; color: #ffb0b0; font-size: 13px; }

.download, .error-screen { max-width: 760px; margin: 0 auto; text-align: center; }
.success-mark { width: 94px; height: 94px; margin: 0 auto 30px; display: grid; place-items: center; border: 2px solid var(--cyan); border-radius: 50%; color: var(--cyan); font-size: 44px; }
.download h1, .error-screen h1 { margin: 18px 0 28px; font-size: 58px; }
.download .lead { margin: 0 auto 36px; }
.download .text-button { display: block; margin: 22px auto 0; }

footer { min-height: 74px; border-top: 1px solid var(--line); color: #599bad; font-size: 10px; letter-spacing: 2px; text-transform: uppercase; }

@media (max-width: 760px) {
  .site-header, footer, main { width: min(calc(100% - 30px), var(--max)); }
  .header-note { display: none; }
  .screen { padding: 45px 0; }
  h1 { font-size: 46px; letter-spacing: -1.5px; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-grid article { min-height: auto; }
  .start-row { align-items: flex-start; flex-direction: column; }
  .question-card { min-height: 540px; }
  .result-layout { grid-template-columns: 1fr; gap: 30px; }
  .result-number { width: 140px; height: 140px; font-size: 62px; }
  .report-preview { grid-template-columns: 1fr; }
  .gate-card { padding: 28px 20px; }
  .gate-card h1, .download h1 { font-size: 40px; }
  footer span:last-child { display: none; }
}

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