
:root {
  --bg: #050B1F;
  --panel: #0B1430;
  --panel-2: #101B3D;
  --text: #F7F8FC;
  --muted: #AAB3CC;
  --line: rgba(255,255,255,.10);
  --blue: #4EA1FF;
  --purple: #9B6CFF;
  --green: #49D49D;
  --amber: #FFBE5C;
  --red: #FF7187;
  --shadow: 0 24px 80px rgba(0,0,0,.28);
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background:
    radial-gradient(circle at 18% 10%, rgba(78,161,255,.13), transparent 28%),
    radial-gradient(circle at 82% 4%, rgba(155,108,255,.15), transparent 30%),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

button, a { font: inherit; }

.page-shell {
  width: min(1120px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: var(--text);
  text-decoration: none;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border-radius: 14px;
  font-weight: 900;
  letter-spacing: -.04em;
  background: linear-gradient(135deg, var(--blue), var(--purple));
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.brand-copy strong { font-size: 16px; }
.brand-copy small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 9px;
  letter-spacing: .16em;
}

.home-link {
  color: var(--muted);
  font-size: 14px;
  text-decoration: none;
}
.home-link:hover { color: var(--text); }

main {
  min-height: 72vh;
}

.hero {
  max-width: 820px;
  padding: 90px 0 100px;
}

.eyebrow {
  color: var(--blue);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: .16em;
  margin-bottom: 18px;
}

h1, h2, h3, p { margin-top: 0; }

h1 {
  margin-bottom: 24px;
  font-size: clamp(46px, 8vw, 88px);
  line-height: .98;
  letter-spacing: -.055em;
}

h1 span {
  background: linear-gradient(90deg, var(--blue), var(--purple));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.hero-copy {
  max-width: 720px;
  color: var(--muted);
  font-size: clamp(18px, 2.5vw, 23px);
}

.hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 28px 0;
}

.hero-meta span {
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: #DDE3F4;
  background: rgba(255,255,255,.03);
  font-size: 13px;
}

.btn {
  border: 0;
  border-radius: 12px;
  padding: 14px 18px;
  cursor: pointer;
  font-weight: 800;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: transform .15s ease, opacity .15s ease, border-color .15s ease;
}

.btn:hover { transform: translateY(-1px); }
.btn:disabled { opacity: .35; cursor: not-allowed; transform: none; }

.btn-primary {
  color: #fff;
  background: linear-gradient(100deg, #2E8CFF, #875CFF);
  box-shadow: 0 12px 34px rgba(78, 123, 255, .22);
}

.btn-secondary {
  color: var(--text);
  background: rgba(255,255,255,.045);
  border: 1px solid var(--line);
}

.btn-text {
  color: var(--muted);
  background: transparent;
  padding-inline: 8px;
}

.microcopy {
  margin-top: 12px;
  color: #7F8AA7;
  font-size: 12px;
}

.hidden { display: none !important; }

.checker, .result {
  max-width: 820px;
  margin: 52px auto 80px;
}

.progress-wrap { margin-bottom: 18px; }

.progress-top {
  display: flex;
  justify-content: space-between;
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 8px;
}

.progress-track {
  height: 7px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,.07);
}

.progress-bar {
  height: 100%;
  width: 10%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--purple));
  transition: width .25s ease;
}

.question-card, .result-card {
  padding: clamp(24px, 5vw, 48px);
  border: 1px solid var(--line);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(16,27,61,.92), rgba(9,18,43,.96));
  box-shadow: var(--shadow);
}

.question-number {
  color: #66759E;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: .1em;
}

.question-card h2 {
  margin: 10px 0 8px;
  font-size: clamp(26px, 4vw, 38px);
  line-height: 1.15;
  letter-spacing: -.025em;
}

.question-card > p {
  color: var(--muted);
  margin-bottom: 26px;
}

.answers {
  display: grid;
  gap: 12px;
}

.answer-btn {
  width: 100%;
  padding: 18px 20px;
  text-align: left;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: rgba(255,255,255,.03);
  color: var(--text);
  cursor: pointer;
}

.answer-btn:hover,
.answer-btn.selected {
  border-color: rgba(78,161,255,.55);
  background: rgba(78,161,255,.09);
}

.answer-btn strong {
  display: block;
  font-size: 16px;
}

.answer-btn span {
  display: block;
  color: var(--muted);
  font-size: 13px;
  margin-top: 3px;
}

.nav-row {
  margin-top: 22px;
  display: flex;
  justify-content: flex-start;
}

.result-badge {
  display: inline-flex;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 8px 12px;
  font-weight: 900;
  font-size: 12px;
  letter-spacing: .06em;
  margin-bottom: 14px;
}

.result-badge.green { color: var(--green); background: rgba(73,212,157,.08); }
.result-badge.amber { color: var(--amber); background: rgba(255,190,92,.08); }
.result-badge.red { color: var(--red); background: rgba(255,113,135,.08); }

.result-card h2 {
  font-size: clamp(32px, 5vw, 52px);
  letter-spacing: -.04em;
  line-height: 1.05;
  margin-bottom: 14px;
}

.result-summary { color: var(--muted); font-size: 17px; }

.score-line {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  align-items: center;
  margin: 28px 0;
  padding: 18px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  color: var(--muted);
}

.score-line strong { color: var(--text); font-size: 20px; }

.critical-note {
  margin-bottom: 26px;
  padding: 14px 16px;
  border-left: 3px solid var(--amber);
  background: rgba(255,190,92,.07);
  border-radius: 8px;
  color: #F5DCA9;
  font-size: 14px;
}

.priorities { margin-top: 28px; }

.priorities h3, .next-step h3 {
  font-size: 18px;
  margin-bottom: 12px;
}

.priority-item {
  padding: 16px 0;
  border-top: 1px solid var(--line);
}

.priority-item:first-child { border-top: 0; }

.priority-item strong { display: block; }
.priority-item span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.next-step {
  margin-top: 24px;
  padding: 20px;
  border-radius: 16px;
  background: rgba(255,255,255,.035);
}

.next-step p { color: var(--muted); margin-bottom: 0; }

.result-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.disclaimer {
  margin: 28px 0 0;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  color: #74809D;
  font-size: 11px;
}

footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 28px 0 38px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 12px;
}

footer div:first-child {
  display: flex;
  flex-direction: column;
}

footer strong { color: var(--text); }
.footer-tag { letter-spacing: .15em; font-size: 10px; }

@media (max-width: 640px) {
  .page-shell { width: min(100% - 22px, 1120px); }
  .site-header { padding: 16px 0; }
  .home-link { display: none; }
  .hero { padding: 62px 4px 70px; }
  .checker, .result { margin: 30px auto 54px; }
  .question-card, .result-card { border-radius: 18px; }
  .result-actions { flex-direction: column; }
  .result-actions .btn { width: 100%; }
  footer { flex-direction: column; }
}
