:root {
  --blue: #357dff;
  --orange: #ff791f;
  --muted: #a2aec3;
  --line: #263044;
  color-scheme: dark;
}
* {
  box-sizing: border-box;
}
body {
  margin: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #f7f8fc;
  background: #090c12;
}
button,
a {
  touch-action: manipulation;
}
button {
  font: inherit;
  cursor: pointer;
}
button:focus-visible,
a:focus-visible {
  outline: 3px solid #ffad72;
  outline-offset: 5px;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.35;
}
header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  padding: 24px 32px;
  margin: auto;
  border-bottom: 1px solid var(--line);
}
.logo {
  font-size: 23px;
  font-weight: 900;
  letter-spacing: -1px;
  direction: ltr;
}
.logo span {
  color: var(--blue);
}
.preview {
  padding: 5px 12px;
  font-size: 12px;
  color: var(--muted);
  border: 1px solid var(--line);
  border-radius: 30px;
}
main {
  max-width: 1120px;
  padding: 55px 32px 32px;
  margin: auto;
}
.eyebrow {
  font-size: 13px;
  font-weight: bold;
  color: var(--orange);
  letter-spacing: 1px;
}
.hero {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 70px;
  align-items: center;
  padding: 30px 0 70px;
}
h1 {
  margin: 20px 0 24px;
  font-size: clamp(42px, 5vw, 70px);
  line-height: 1.12;
  letter-spacing: -2px;
}
h1 em {
  font-style: normal;
  color: #73a6ff;
}
p {
  color: var(--muted);
}
.lead {
  max-width: 480px;
  font-size: 19px;
}
.primary {
  display: inline-flex;
  gap: 24px;
  align-items: center;
  justify-content: center;
  padding: 15px 27px;
  font-weight: 800;
  color: white;
  text-decoration: none;
  background: var(--blue);
  border: 0;
  border-radius: 10px;
  box-shadow: 0 8px 35px #1360e52b;
}
.primary:hover {
  background: #4a8aff;
}
.secondary {
  display: inline-block;
  padding: 11px 18px;
  color: #d6deeb;
  text-decoration: none;
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.subtle {
  padding: 9px;
  color: var(--muted);
  background: none;
  border: 0;
}
.fine {
  margin-top: 17px;
  font-size: 12px;
  color: var(--muted);
}
.map {
  position: relative;
  padding: 30px;
  background:
    radial-gradient(ellipse at top left, #16386d55, transparent 70%), #101621;
  border: 1px solid #2c3c56;
  border-radius: 20px;
  transform: rotate(-2deg);
}
.map-title {
  display: flex;
  justify-content: space-between;
  margin-bottom: 28px;
  font-size: 12px;
  color: var(--muted);
}
.map h2 {
  margin: 0 0 24px;
  font-size: 25px;
  line-height: 1.4;
}
.map-row {
  display: flex;
  gap: 16px;
  align-items: center;
  padding: 17px 0;
  border-top: 1px solid var(--line);
}
.map-row small {
  display: block;
  color: var(--muted);
}
.number {
  display: grid;
  place-items: center;
  width: 35px;
  height: 35px;
  font-weight: bold;
  color: #8db6ff;
  background: #172844;
  border-radius: 50%;
}
.map-row:last-child .number {
  color: #ffab70;
  background: #ff791f22;
}
.features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 35px;
  padding: 30px 0;
  border-top: 1px solid var(--line);
}
.features strong {
  display: block;
  margin-bottom: 6px;
}
.features p {
  margin: 0;
  font-size: 14px;
}
.features span {
  font-size: 12px;
  color: var(--orange);
}
.quiz-shell {
  display: grid;
  grid-template-columns: 230px 1fr;
  gap: 60px;
}
.sidebar h2 {
  font-size: 26px;
  line-height: 1.4;
}
.stages {
  padding: 10px 0;
  list-style: none;
}
.stages li {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 17px 0;
  color: #748198;
}
.stages li.active {
  color: #fff;
}
.stages li.active .number {
  color: white;
  background: var(--blue);
}
.sidebar p {
  font-size: 13px;
}
.panel {
  padding: 32px;
  background: #10151f;
  border: 1px solid var(--line);
  border-radius: 18px;
}
.progress-meta {
  display: flex;
  justify-content: space-between;
  font-size: 12px;
  color: var(--muted);
}
progress {
  display: block;
  width: 100%;
  height: 5px;
  margin: 13px 0 34px;
  overflow: hidden;
  background: #253044;
  border: 0;
  border-radius: 9px;
}
progress::-webkit-progress-bar {
  background: #253044;
}
progress::-webkit-progress-value {
  background: var(--blue);
}
progress::-moz-progress-bar {
  background: var(--blue);
}
h2.question {
  margin: 0 0 8px;
  font-size: 30px;
  line-height: 1.35;
  letter-spacing: -0.5px;
}
.hint {
  margin: 0 0 26px;
  font-size: 14px;
}
.options {
  display: grid;
  gap: 11px;
}
.option {
  display: flex;
  gap: 15px;
  align-items: center;
  width: 100%;
  min-height: 67px;
  padding: 17px 20px;
  color: #e6eaf3;
  text-align: right;
  background: #151c28;
  border: 1px solid #2a3446;
  border-radius: 10px;
}
.option:hover {
  background: #192539;
  border-color: #6886b7;
}
.option[aria-pressed="true"] {
  background: #172d50;
  border-color: #548fff;
  box-shadow: inset -3px 0 #548fff;
}
.radio {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  border: 1px solid #63728a;
  border-radius: 50%;
}
.option[aria-pressed="true"] .radio {
  background: white;
  border: 6px solid #669bff;
}
.feedback {
  min-height: 35px;
  margin: 18px 0;
  font-size: 13px;
  color: #9bbfff;
}
.actions {
  display: flex;
  gap: 12px;
  justify-content: space-between;
  padding-top: 22px;
  border-top: 1px solid var(--line);
}
.result {
  max-width: 820px;
  margin: auto;
}
.result h1 {
  font-size: 46px;
}
.result .intro {
  font-size: 18px;
}
.badge {
  display: inline-block;
  padding: 6px 15px;
  font-size: 13px;
  color: #a8caff;
  background: #132644;
  border: 1px solid #315383;
  border-radius: 30px;
}
.result-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin: 25px 0;
}
.result-grid .panel {
  padding: 24px;
}
.result h2 {
  margin: 8px 0;
  font-size: 22px;
}
.result h3 {
  font-size: 17px;
}
.result p {
  font-size: 15px;
}
.reason {
  padding: 4px 20px;
  margin: 25px 0;
  border-right: 3px solid var(--orange);
}
.task {
  margin: 18px 0;
}
.prompt {
  padding: 20px;
  font-family: inherit;
  font-size: 15px;
  color: #c4d3e9;
  white-space: pre-wrap;
  background: #090e17;
  border: 1px solid var(--line);
  border-radius: 10px;
}
.task ol {
  padding-right: 22px;
  color: #c4cfdf;
}
.offer {
  border-top: 3px solid var(--orange);
}
.offer .primary {
  margin-top: 10px;
}
.success {
  padding: 20px;
  margin: 20px 0;
  color: #a4f3d7;
  background: #11312c;
  border: 1px solid #235e50;
  border-radius: 12px;
}
.footer {
  padding: 22px;
  margin-top: 38px;
  font-size: 12px;
  color: #6f7f98;
  text-align: center;
  border-top: 1px solid var(--line);
}
.resume {
  margin-top: 15px;
}
.hidden {
  display: none !important;
}
@media (max-width: 720px) {
  header {
    padding: 18px 20px;
  }
  main {
    padding: 27px 20px;
  }
  .hero {
    grid-template-columns: 1fr;
    gap: 35px;
    padding: 10px 0 35px;
  }
  h1 {
    font-size: 46px;
  }
  .map {
    padding: 24px;
    transform: none;
  }
  .features {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .quiz-shell {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  .sidebar h2,
  .sidebar p {
    display: none;
  }
  .stages {
    display: flex;
    justify-content: space-between;
    padding: 0;
    margin: 0;
  }
  .stages li {
    gap: 5px;
    padding: 0 0 10px;
    font-size: 11px;
  }
  .number {
    width: 27px;
    height: 27px;
  }
  .panel {
    padding: 23px 18px;
  }
  h2.question {
    font-size: 26px;
  }
  .option {
    min-height: 66px;
    padding: 14px;
  }
  .result h1 {
    font-size: 36px;
  }
  .result-grid {
    grid-template-columns: 1fr;
  }
  .actions .primary {
    padding: 13px 20px;
  }
  .preview {
    font-size: 10px;
  }
  .lead {
    font-size: 17px;
  }
}
@media (prefers-reduced-motion: no-preference) {
  .panel,
  .hero,
  .result {
    animation: appear 0.25s ease-out;
  }
  @keyframes appear {
    from {
      opacity: 0;
      transform: translateY(8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
