:root {
  --ink: #09132f;
  --muted: #69748c;
  --line: #dfe5ef;
  --surface: #f6f8fc;
  --blue: #2d63ff;
  --blue-dark: #1745d1;
  --blue-soft: #edf2ff;
  --green: #138563;
  --font-display: "Manrope", "Helvetica Neue", sans-serif;
  --font-body: "DM Sans", "Helvetica Neue", sans-serif;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html, body { min-height: 100%; }
body { margin: 0; color: var(--ink); background: radial-gradient(circle at 80% 15%, rgba(45,99,255,.1), transparent 29%), var(--surface); font-family: var(--font-body); -webkit-font-smoothing: antialiased; }
button, input { font: inherit; }
a { color: inherit; text-decoration: none; }

.quiz-body { min-height: 100vh; display: grid; grid-template-rows: 84px 1fr 58px; overflow-x: hidden; }
.quiz-header { width: min(1200px, calc(100% - 40px)); margin: auto; display: grid; grid-template-columns: 1fr minmax(180px, 390px) 1fr; align-items: center; gap: 28px; }
.quiz-brand { display: inline-flex; align-items: center; justify-self: start; }
.quiz-brand-logo { display: block; width: 145px; height: auto; }
.quiz-progress-wrap { display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 7px 10px; }
.quiz-progress-wrap > span { grid-column: 2; grid-row: 1; color: #7c879c; font-size: 9px; font-weight: 800; }
.quiz-progress { grid-column: 1 / 3; height: 5px; overflow: hidden; background: #e1e6ef; border-radius: 999px; }
.quiz-progress i { display: block; width: 0; height: 100%; background: var(--blue); border-radius: inherit; transition: width .3s ease; }
.quiz-close { justify-self: end; display: grid; place-items: center; width: 38px; height: 38px; color: #6c778d; background: #fff; border: 1px solid var(--line); border-radius: 50%; font-size: 24px; line-height: 1; }

.quiz-main { min-height: 590px; display: grid; place-items: center; padding: 35px 24px 55px; }
.quiz-form { width: min(760px, 100%); }
.quiz-stage { min-height: 440px; display: grid; align-content: center; }
.quiz-screen { animation: screen-in .35s ease both; }
@keyframes screen-in { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
.question-number { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; color: var(--blue); font-size: 11px; font-weight: 800; letter-spacing: .5px; }
.question-number i { width: 23px; height: 1px; background: var(--blue); }
.quiz-screen h1, .quiz-screen h2 { margin: 0; max-width: 720px; font: 800 clamp(33px, 5vw, 51px)/1.12 var(--font-display); letter-spacing: -2.3px; }
.quiz-screen h1 em, .quiz-screen h2 em { color: var(--blue); font-style: normal; }
.quiz-subtitle { max-width: 620px; margin: 18px 0 0; color: var(--muted); font-size: 16px; line-height: 1.7; }
.intro-points { display: flex; flex-wrap: wrap; gap: 11px 20px; margin: 27px 0 30px; }
.intro-points span { display: flex; align-items: center; gap: 8px; color: #59657c; font-size: 12px; font-weight: 600; }
.intro-points i { display: grid; place-items: center; width: 22px; height: 22px; color: var(--green); background: #e5f8f1; border-radius: 50%; font-style: normal; font-size: 9px; }
.quiz-button { display: inline-flex; align-items: center; justify-content: center; gap: 14px; min-height: 54px; padding: 0 26px; color: #fff; background: var(--blue); border: 0; border-radius: 999px; box-shadow: 0 14px 30px rgba(45,99,255,.26); font-weight: 800; cursor: pointer; transition: .2s ease; }
.quiz-button:hover { transform: translateY(-2px); background: var(--blue-dark); }
.quiz-button:disabled { opacity: .55; cursor: wait; transform: none; }
.quiz-button-light { color: var(--ink); background: #fff; border: 1px solid var(--line); box-shadow: none; }

.option-list { max-width: 650px; display: grid; gap: 10px; margin-top: 27px; }
.option-card { width: 100%; min-height: 57px; padding: 8px 15px 8px 10px; display: grid; grid-template-columns: 37px 1fr 20px; align-items: center; gap: 12px; color: #34415c; background: rgba(255,255,255,.82); border: 1px solid #d6ddea; border-radius: 12px; text-align: left; cursor: pointer; transition: border .15s, box-shadow .15s, transform .15s, background .15s; }
.option-card:hover, .option-card:focus-visible { border-color: var(--blue); box-shadow: 0 8px 22px rgba(34,68,145,.09); transform: translateX(3px); outline: none; }
.option-card.selected { border-color: var(--blue); background: var(--blue-soft); }
.option-key { display: grid; place-items: center; width: 37px; height: 37px; color: var(--blue); background: var(--blue-soft); border: 1px solid #cfdbff; border-radius: 9px; font-size: 10px; font-weight: 800; }
.selected .option-key { color: #fff; background: var(--blue); }
.option-label { font-size: 14px; font-weight: 700; }
.option-check { color: var(--blue); font-weight: 800; opacity: 0; }
.selected .option-check { opacity: 1; }
.other-wrap { max-width: 650px; margin-top: 13px; }

.answer-wrap { max-width: 650px; margin-top: 30px; }
.quiz-input { width: 100%; min-height: 62px; padding: 0 4px; color: var(--ink); background: transparent; border: 0; border-bottom: 2px solid #cbd4e4; outline: 0; font: 600 23px var(--font-body); transition: border .2s; }
.quiz-input::placeholder { color: #adb5c4; }
.quiz-input:focus { border-color: var(--blue); }
.input-actions { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.input-actions span { color: #8a94a7; font-size: 10px; }
.input-actions kbd, .quiz-footer kbd { padding: 3px 6px; background: #fff; border: 1px solid #d8deea; border-bottom-width: 2px; border-radius: 5px; font: 700 9px var(--font-body); }
.privacy-copy { display: flex; gap: 11px; max-width: 560px; margin-top: 18px; color: #7a859a; font-size: 10px; line-height: 1.5; }
.privacy-copy i { color: var(--green); font-style: normal; }

.consent-card { max-width: 650px; margin: 28px 0 24px; padding: 20px; display: grid; grid-template-columns: 24px 1fr; gap: 13px; background: #fff; border: 1px solid var(--line); border-radius: 13px; cursor: pointer; }
.consent-card input { width: 21px; height: 21px; margin: 1px 0 0; accent-color: var(--blue); }
.consent-card span { color: #59647b; font-size: 12px; line-height: 1.55; }
.quiz-error { max-width: 650px; margin: -32px 0 0; padding: 11px 13px; color: #a12f2f; background: #ffebeb; border-radius: 9px; font-size: 11px; }
.quiz-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; }

.success-mark { display: grid; place-items: center; width: 66px; height: 66px; margin-bottom: 25px; color: var(--green); background: #e4f8f0; border-radius: 20px; font-size: 27px; font-weight: 800; }
.disqualified-mark { color: #7b8496; background: #e9edf4; }
.success-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 29px; }
.prototype-warning { max-width: 620px; margin-top: 22px; padding: 12px 14px; color: #8a5b08; background: #fff4d9; border-radius: 10px; font-size: 10px; line-height: 1.5; }

.quiz-footer { width: min(1200px, calc(100% - 40px)); margin: auto; display: flex; align-items: center; justify-content: space-between; color: #8c96a8; font-size: 9px; }
.quiz-back { padding: 8px 0; color: #667187; background: transparent; border: 0; font-size: 10px; font-weight: 700; cursor: pointer; }

@media (max-width: 700px) {
  .quiz-body { grid-template-rows: 70px 1fr 50px; }
  .quiz-header { width: calc(100% - 28px); grid-template-columns: auto 1fr auto; gap: 16px; }
  .quiz-brand-logo { width: 112px; }
  .quiz-main { min-height: 610px; padding: 20px 19px 35px; place-items: start center; }
  .quiz-stage { min-height: 540px; align-content: center; }
  .quiz-screen h1, .quiz-screen h2 { font-size: 34px; letter-spacing: -1.7px; }
  .quiz-subtitle { font-size: 14px; }
  .option-list { gap: 8px; margin-top: 22px; }
  .option-card { min-height: 54px; }
  .option-label { font-size: 12px; }
  .quiz-footer { width: calc(100% - 38px); }
  .quiz-footer > span { display: none; }
  .quiz-back { margin-left: auto; margin-right: auto; }
}

@media (max-width: 390px) {
  .quiz-main { padding-left: 15px; padding-right: 15px; }
  .quiz-screen h1, .quiz-screen h2 { font-size: 30px; }
  .option-card { grid-template-columns: 34px 1fr 16px; padding-left: 8px; gap: 9px; }
  .option-key { width: 34px; height: 34px; }
}

@media (prefers-reduced-motion: reduce) { .quiz-screen { animation: none; } * { scroll-behavior: auto !important; } }
