:root {
  --navy: #0b1830;
  --navy-2: #132849;
  --ink: #17243a;
  --muted: #68758a;
  --paper: #f5f2ec;
  --white: #ffffff;
  --line: #d9dde4;
  --gold: #d4a84f;
  --gold-soft: #f1dfb5;
  --cyan: #8ed9db;
  --green: #2f7d6d;
  --red: #a04e46;
  --shadow: 0 24px 80px rgba(11, 24, 48, .13);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 7%, rgba(212, 168, 79, .18), transparent 26rem),
    radial-gradient(circle at 96% 82%, rgba(142, 217, 219, .14), transparent 28rem),
    var(--paper);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button, input, textarea { font: inherit; }
button { cursor: pointer; }

.site-shell { width: min(1180px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
  min-height: 92px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand { display: inline-flex; align-items: center; color: var(--navy); text-decoration: none; }
.brand-logo { display: block; width: 210px; height: auto; }
.partner-label { color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; }

main { min-height: calc(100vh - 170px); display: grid; align-items: center; }
.quiz-shell {
  position: relative;
  overflow: hidden;
  min-height: 650px;
  background: rgba(255,255,255,.94);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 28px;
  box-shadow: var(--shadow);
}

.accent-orbit { position: absolute; border: 1px solid rgba(212,168,79,.22); border-radius: 50%; pointer-events: none; }
.orbit-one { width: 420px; height: 420px; right: -280px; top: -230px; }
.orbit-two { width: 260px; height: 260px; left: -190px; bottom: -160px; }

.screen { display: none; min-height: 650px; }
.screen.is-active { display: block; animation: enter .38s ease both; }
@keyframes enter { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }

.intro-screen.is-active { display: grid; grid-template-columns: 1.45fr .75fr; animation: none; }
.intro-copy { padding: 76px 74px; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
.eyebrow { display: flex; align-items: center; gap: 9px; margin: 0 0 22px; color: var(--green); font-size: 12px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.eyebrow span { width: 22px; height: 2px; background: var(--gold); }
h1, h2, h3, p { text-wrap: pretty; }
h1 { max-width: 720px; margin: 0; color: var(--navy); font: 700 clamp(40px,5.2vw,69px)/1.04 "Manrope", sans-serif; letter-spacing: -.055em; }
h1 em { color: var(--gold); font-style: normal; }
.lede { max-width: 650px; margin: 28px 0 0; color: var(--muted); font-size: 19px; line-height: 1.55; }

.intro-meta { display: flex; margin: 36px 0; }
.intro-meta div { display: flex; flex-direction: column; min-width: 108px; padding: 0 26px; border-left: 1px solid var(--line); }
.intro-meta div:first-child { padding-left: 0; border: 0; }
.intro-meta b { color: var(--navy); font: 700 26px/1 "Manrope", sans-serif; }
.intro-meta span { margin-top: 7px; color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-height: 56px;
  padding: 0 22px;
  border: 1px solid var(--navy);
  border-radius: 9px;
  background: var(--navy);
  color: white;
  font-weight: 700;
  box-shadow: 0 9px 22px rgba(11,24,48,.16);
  transition: transform .2s ease, background .2s ease;
}
.primary-button:hover { background: var(--navy-2); transform: translateY(-2px); }
.primary-button:focus-visible, .text-button:focus-visible, .secondary-button:focus-visible, .option:focus-visible { outline: 3px solid rgba(47,125,109,.28); outline-offset: 3px; }
.privacy-note { margin: 17px 0 0; color: #7d8797; font-size: 12px; line-height: 1.5; }
.privacy-note > span { color: var(--green); margin-right: 5px; }

.intro-aside { background: var(--navy); color: white; padding: 70px 48px; display: flex; flex-direction: column; justify-content: center; }
.aside-kicker { margin: 0 0 26px; color: var(--gold-soft); font-size: 11px; letter-spacing: .15em; text-transform: uppercase; font-weight: 800; }
.intro-aside ol { list-style: none; margin: 0; padding: 0; }
.intro-aside li { display: flex; gap: 18px; align-items: flex-start; padding: 18px 0; border-top: 1px solid rgba(255,255,255,.13); }
.intro-aside li > span { color: var(--gold); font: 700 11px/1.5 "Manrope"; }
.intro-aside li div { display: flex; flex-direction: column; gap: 5px; }
.intro-aside li b { font: 650 16px/1.2 "Manrope"; }
.intro-aside li small { color: #aeb9c9; font-size: 13px; }
.intro-aside blockquote { margin: 38px 0 0; padding: 0 0 0 18px; border-left: 2px solid var(--gold); color: #cbd3df; font-size: 14px; font-style: italic; line-height: 1.6; }

.quiz-screen { padding: 40px 70px; }
.progress-wrap { width: 100%; max-width: 890px; margin: 0 auto; }
.progress-copy { display: flex; justify-content: space-between; color: var(--muted); font-size: 12px; font-weight: 700; letter-spacing: .04em; }
.progress-track { height: 5px; margin-top: 11px; overflow: hidden; border-radius: 99px; background: #e8ebef; }
.progress-track span { display: block; width: 10%; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--gold), #e6c77c); transition: width .35s ease; }
.question-wrap { max-width: 890px; min-height: 510px; margin: 0 auto; padding: 58px 0 36px; }
.question-kicker, .panel-kicker { margin: 0 0 12px; color: var(--green); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
.question-wrap h2 { max-width: 800px; margin: 0; color: var(--navy); font: 700 clamp(27px,3vw,40px)/1.18 "Manrope"; letter-spacing: -.035em; }
.question-help { margin: 14px 0 30px; color: var(--muted); font-size: 15px; line-height: 1.5; }
.options { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.option {
  position: relative;
  display: flex;
  align-items: center;
  gap: 15px;
  min-height: 70px;
  padding: 15px 48px 15px 17px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: white;
  color: var(--ink);
  text-align: left;
  line-height: 1.35;
  transition: border .18s ease, background .18s ease, transform .18s ease;
}
.option:hover { border-color: var(--gold); transform: translateY(-1px); }
.option.selected { border-color: var(--gold); background: #fffcf5; }
.option-letter { flex: 0 0 29px; width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; background: #f1f3f6; color: var(--muted); font-size: 11px; font-weight: 800; }
.option.selected .option-letter { background: var(--gold); color: var(--navy); }
.option-check { position: absolute; right: 17px; opacity: 0; color: var(--green); font-weight: 800; }
.option.selected .option-check { opacity: 1; }
.multi-action { margin-top: 18px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.multi-action[hidden] { display: none; }
.multi-action small { color: var(--muted); }
.primary-button.compact { min-height: 46px; padding: 0 18px; }
.primary-button:disabled { cursor: not-allowed; opacity: .45; transform: none; }
.quiz-nav { max-width: 890px; margin: 0 auto; padding-top: 22px; border-top: 1px solid var(--line); display: flex; justify-content: space-between; align-items: center; }
.quiz-nav > span { color: #949ba6; font-size: 11px; }
.text-button { padding: 7px 0; border: 0; background: transparent; color: var(--navy); font-size: 13px; font-weight: 700; }
.text-button:hover { color: var(--green); }

.result-screen { padding: 52px 60px 38px; }
.result-hero { display: grid; grid-template-columns: 165px 1fr; gap: 38px; align-items: center; max-width: 930px; margin: 0 auto 38px; }
.score-ring { --score: 0deg; width: 150px; height: 150px; padding: 10px; border-radius: 50%; background: conic-gradient(var(--gold) var(--score), #e7e9ed var(--score)); display: grid; place-items: center; box-shadow: 0 12px 30px rgba(11,24,48,.12); }
.score-ring::before { content: ""; position: absolute; }
.score-ring > div { width: 126px; height: 126px; border-radius: 50%; display: grid; place-content: center; text-align: center; background: white; }
.score-ring strong { display: block; color: var(--navy); font: 800 46px/.9 "Manrope"; letter-spacing: -.05em; }
.score-ring span { color: var(--muted); font-size: 12px; }
.result-heading .eyebrow { margin-bottom: 12px; }
.result-heading h2 { margin: 0; color: var(--navy); font: 750 clamp(30px,4vw,46px)/1.08 "Manrope"; letter-spacing: -.045em; }
.result-heading > p:not(.eyebrow) { max-width: 680px; margin: 12px 0 18px; color: var(--muted); font-size: 16px; line-height: 1.55; }
.result-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.result-tags span { padding: 7px 10px; border-radius: 6px; background: #edf4f3; color: var(--green); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.result-tags span:last-child { background: #f8f0df; color: #89671e; }

.result-grid { display: grid; grid-template-columns: .92fr 1.08fr; gap: 16px; }
.result-panel { padding: 26px; border: 1px solid var(--line); border-radius: 16px; background: white; }
.panel-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.panel-heading > span { color: var(--muted); font-size: 11px; }
.result-panel h3 { margin: 0; color: var(--navy); font: 700 20px/1.25 "Manrope"; letter-spacing: -.02em; }
.dimension-bars { margin-top: 24px; display: grid; gap: 13px; }
.dimension-row { display: grid; grid-template-columns: 112px 1fr 22px; gap: 10px; align-items: center; }
.dimension-row span { color: var(--muted); font-size: 12px; }
.dimension-row b { color: var(--navy); font-size: 12px; text-align: right; }
.bar { overflow: hidden; height: 7px; border-radius: 20px; background: #eceef1; }
.bar i { display: block; height: 100%; border-radius: inherit; background: var(--green); transform-origin: left; animation: grow .8s ease both; }
.bar i.low { background: var(--red); }
.bar i.mid { background: var(--gold); }
@keyframes grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
.recommendations { margin-top: 20px; display: grid; gap: 15px; }
.recommendation { display: grid; grid-template-columns: 31px 1fr; gap: 12px; }
.recommendation > span { width: 31px; height: 31px; display: grid; place-items: center; border-radius: 50%; background: var(--navy); color: white; font-size: 11px; font-weight: 800; }
.recommendation h4 { margin: 1px 0 4px; color: var(--navy); font-size: 14px; }
.recommendation p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.45; }
.recommendation small { display: inline-block; margin-top: 5px; color: var(--green); font-weight: 700; }
.cta-card { margin-top: 16px; padding: 27px 30px; border-radius: 16px; display: flex; align-items: center; justify-content: space-between; gap: 25px; background: var(--navy); color: white; }
.cta-card .panel-kicker { color: var(--gold-soft); }
.cta-card h3 { margin: 0; font: 700 20px/1.25 "Manrope"; }
.cta-card p:not(.panel-kicker) { max-width: 680px; margin: 7px 0 0; color: #bfc8d5; font-size: 13px; line-height: 1.45; }
.primary-button.light { flex: 0 0 auto; border-color: white; background: white; color: var(--navy); box-shadow: none; }
.primary-button.light:hover { background: var(--gold-soft); border-color: var(--gold-soft); }
.result-actions { display: flex; justify-content: center; gap: 28px; margin-top: 18px; }

.lead-screen { padding: 42px 62px; }
.back-to-result { margin-bottom: 28px; }
.lead-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 60px; align-items: start; max-width: 980px; margin: 0 auto; }
.lead-copy { padding-top: 30px; }
.lead-copy h2 { margin: 0; color: var(--navy); font: 750 clamp(32px,4vw,48px)/1.1 "Manrope"; letter-spacing: -.045em; }
.lead-copy > p:not(.eyebrow) { color: var(--muted); font-size: 16px; line-height: 1.55; }
.mini-result { margin-top: 34px; padding: 18px 20px; border-left: 3px solid var(--gold); background: #faf7f0; display: flex; flex-direction: column; gap: 5px; }
.mini-result span { color: var(--muted); font-size: 10px; letter-spacing: .1em; text-transform: uppercase; }
.mini-result strong { color: var(--navy); font: 700 17px/1.3 "Manrope"; }
.mini-result small { color: var(--green); font-weight: 700; }
form { padding: 30px; border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 14px 40px rgba(11,24,48,.07); }
label { display: block; margin-bottom: 17px; color: var(--navy); font-size: 12px; font-weight: 700; }
label > span { color: var(--muted); font-weight: 400; }
input, textarea { width: 100%; margin-top: 7px; padding: 13px 14px; border: 1px solid #cfd4dc; border-radius: 8px; background: #fbfcfd; color: var(--ink); outline: 0; transition: border .18s, box-shadow .18s; }
input:focus, textarea:focus { border-color: var(--green); box-shadow: 0 0 0 3px rgba(47,125,109,.11); }
input.invalid { border-color: var(--red); }
textarea { resize: vertical; }
.field-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.consent { display: grid; grid-template-columns: 18px 1fr; gap: 9px; align-items: start; color: var(--muted); line-height: 1.4; font-weight: 400; }
.consent input { width: 16px; height: 16px; margin: 1px 0 0; accent-color: var(--green); }
.form-error { min-height: 18px; margin: -5px 0 8px; color: var(--red); font-size: 12px; }
.primary-button.full { width: 100%; }
.centered { text-align: center; }

.review-screen { padding: 52px; text-align: center; }
.review-icon { width: 58px; height: 58px; margin: 0 auto 16px; display: grid; place-items: center; border-radius: 50%; background: #e6f1ee; color: var(--green); font-size: 24px; font-weight: 800; }
.centered-eyebrow { justify-content: center; margin-bottom: 13px; }
.review-screen h2 { margin: 0; color: var(--navy); font: 750 clamp(32px,4vw,46px)/1.1 "Manrope"; letter-spacing: -.045em; }
.review-lede { max-width: 650px; margin: 12px auto 25px; color: var(--muted); line-height: 1.55; }
.review-card { max-width: 680px; margin: 0 auto 24px; padding: 25px 28px; border: 1px solid var(--line); border-radius: 14px; background: #fbfcfd; text-align: left; }
.review-card dl { display: grid; grid-template-columns: 130px 1fr; gap: 10px 20px; margin: 0; }
.review-card dt { color: var(--muted); font-size: 12px; }
.review-card dd { margin: 0; color: var(--navy); font-size: 13px; font-weight: 600; word-break: break-word; }
.review-card hr { grid-column: 1 / -1; width: 100%; border: 0; border-top: 1px solid var(--line); margin: 5px 0; }
.review-actions { display: flex; justify-content: center; gap: 10px; }
.secondary-button { min-height: 56px; padding: 0 22px; border: 1px solid var(--line); border-radius: 9px; background: white; color: var(--navy); font-weight: 700; }
.review-screen > .text-button { display: block; margin: 12px auto; }

footer { min-height: 78px; display: flex; justify-content: space-between; align-items: center; color: #778294; font-size: 11px; }
.toast { position: fixed; left: 50%; bottom: 22px; z-index: 10; transform: translate(-50%, 16px); opacity: 0; pointer-events: none; padding: 11px 16px; border-radius: 7px; background: var(--navy); color: white; font-size: 12px; box-shadow: var(--shadow); transition: .25s ease; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }

@media (max-width: 820px) {
  .site-shell { width: min(100% - 22px, 680px); }
  .site-header { min-height: 70px; }
  .brand-logo { width: 180px; }
  .partner-label { display: none; }
  main { align-items: start; }
  .quiz-shell, .screen { min-height: calc(100vh - 106px); }
  .quiz-shell { border-radius: 19px; }
  .intro-screen.is-active { grid-template-columns: 1fr; }
  .intro-copy { padding: 44px 28px 38px; }
  h1 { font-size: clamp(38px, 11.5vw, 54px); }
  .lede { font-size: 16px; }
  .intro-meta { margin: 30px 0; width: 100%; }
  .intro-meta div { flex: 1; min-width: 0; padding: 0 18px; }
  .intro-aside { padding: 34px 28px; }
  .intro-aside blockquote { display: none; }
  .quiz-screen { padding: 25px 22px; }
  .question-wrap { min-height: calc(100vh - 235px); padding: 40px 0 25px; }
  .options { grid-template-columns: 1fr; }
  .option { min-height: 64px; }
  .multi-action { align-items: stretch; flex-direction: column; }
  .multi-action .primary-button { width: 100%; }
  .quiz-nav > span { display: none; }
  .result-screen { padding: 34px 20px 28px; }
  .result-hero { grid-template-columns: 100px 1fr; gap: 20px; }
  .score-ring { width: 96px; height: 96px; padding: 7px; }
  .score-ring > div { width: 78px; height: 78px; }
  .score-ring strong { font-size: 31px; }
  .result-heading h2 { font-size: 30px; }
  .result-heading > p:not(.eyebrow) { font-size: 14px; }
  .result-grid { grid-template-columns: 1fr; }
  .result-panel { padding: 22px 18px; }
  .cta-card { align-items: flex-start; flex-direction: column; }
  .primary-button.light { width: 100%; }
  .lead-screen { padding: 24px 20px; }
  .lead-grid { grid-template-columns: 1fr; gap: 24px; }
  .lead-copy { padding-top: 0; }
  .lead-copy h2 { font-size: 34px; }
  .mini-result { margin-top: 24px; }
  form { padding: 22px 18px; }
  .field-row { grid-template-columns: 1fr; gap: 0; }
  .review-screen { padding: 38px 20px; }
  .review-card { padding: 20px; }
  .review-card dl { grid-template-columns: 1fr; gap: 4px; }
  .review-card dd { margin-bottom: 9px; }
  .review-actions { flex-direction: column; }
  footer { justify-content: center; text-align: center; }
  footer p:last-child { display: none; }
}

@media (max-width: 420px) {
  .brand-logo { width: 164px; }
  .intro-copy { padding: 38px 22px 32px; }
  h1 { font-size: 37px; }
  .intro-meta div { padding: 0 13px; }
  .intro-aside { padding: 30px 22px; }
  .quiz-nav { padding-top: 16px; }
  .question-wrap h2 { font-size: 27px; }
  .result-hero { grid-template-columns: 1fr; }
  .score-ring { width: 105px; height: 105px; }
  .score-ring > div { width: 87px; height: 87px; }
  .dimension-row { grid-template-columns: 96px 1fr 19px; gap: 8px; }
  .result-actions { flex-direction: column; align-items: center; gap: 4px; }
}

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