:root {
  --blue-dark: #0f4f85;
  --blue-main: #1a74b6;
  --blue-light: #2a8fd4;
  --blue-pale: #e6f1fb;
  --orange: #f48120;
  --orange-dark: #d46810;
  --orange-light: #f9a15a;
  --ink: #1a2744;
  --muted: #58677d;
  --line: #dfe7ef;
  --paper: #f5f7fa;
  --white: #fff;
  font-family: 'Open Sans', Arial, sans-serif;
  color: var(--ink);
  background: var(--paper);
  font-synthesis: none;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 320px; background: var(--paper); }
button, input { font: inherit; }
button { cursor: pointer; }

.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(64px, 9vw, 118px) 20px clamp(72px, 10vw, 128px);
  color: var(--white);
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-main) 58%, #075393);
}
.hero::before, .hero::after { content: ''; position: absolute; border-radius: 50%; pointer-events: none; }
.hero::before { top: -210px; right: -130px; width: 520px; height: 520px; background: radial-gradient(circle, rgba(244,129,32,.25), transparent 68%); }
.hero::after { bottom: -240px; left: -100px; width: 540px; height: 540px; background: radial-gradient(circle, rgba(255,255,255,.09), transparent 68%); }
.hero-inner { position: relative; z-index: 1; width: min(880px, 100%); margin: auto; text-align: center; }
.hero-badge, .section-kicker { display: inline-flex; align-items: center; border-radius: 999px; font: 800 12px/1.2 'Montserrat', sans-serif; letter-spacing: .08em; text-transform: uppercase; }
.hero-badge { padding: 9px 17px; border: 1px solid rgba(249,161,90,.8); color: #ffd5b3; background: rgba(244,129,32,.18); }
.hero h1 { max-width: 850px; margin: 24px auto 18px; font: 900 clamp(32px, 6vw, 62px)/1.1 'Montserrat', sans-serif; letter-spacing: -.04em; }
.hero-sub { margin: 0 0 28px; color: #ffd2b0; font: 700 clamp(16px, 2.4vw, 20px) 'Montserrat', sans-serif; }
.hero-guide { max-width: 720px; margin: 0 auto 34px; color: rgba(255,255,255,.84); font-size: 16px; line-height: 1.75; }
.hero-guide p { margin: 0 0 16px; }
.hero-note { padding: 15px 18px; border: 1px solid rgba(255,255,255,.17); border-radius: 14px; color: rgba(255,255,255,.78); background: rgba(255,255,255,.08); }
.btn-primary, .btn-submit { display: inline-flex; align-items: center; justify-content: center; min-height: 56px; padding: 0 30px; border: 0; border-radius: 999px; color: var(--white); background: var(--orange); box-shadow: 0 8px 24px rgba(244,129,32,.32); font: 800 14px 'Montserrat', sans-serif; letter-spacing: .04em; transition: .2s ease; }
.btn-primary:hover, .btn-submit:hover { background: var(--orange-dark); transform: translateY(-2px); }
.section { padding: clamp(54px, 8vw, 90px) 20px; }
.section-inner { width: min(930px, 100%); margin: auto; }

.info-box { padding: clamp(24px, 5vw, 40px); border: 1px solid var(--line); border-top: 4px solid var(--orange); border-radius: 20px; background: var(--white); box-shadow: 0 8px 30px rgba(15,79,133,.08); }
.info-box h2 { margin: 0 0 10px; font: 800 clamp(24px, 4vw, 32px) 'Montserrat', sans-serif; color: var(--blue-dark); }
.privacy-note { margin: 0 0 30px; color: var(--muted); font-size: 13px; }
.form-group { margin-bottom: 20px; }
.form-group:last-child { margin-bottom: 0; }
.form-group label { display: block; margin-bottom: 8px; font: 700 13px 'Montserrat', sans-serif; color: var(--blue-dark); }
.required { color: var(--orange); }
.form-group input { width: 100%; min-height: 52px; padding: 0 16px; border: 1px solid #cbd8e5; border-radius: 10px; outline: 0; color: var(--ink); background: #fbfcfe; }
.form-group input::placeholder { color: #93a1b0; }
.form-group input:focus { border-color: var(--blue-light); box-shadow: 0 0 0 3px rgba(42,143,212,.14); }
.form-group input.invalid { border-color: #c84c41; }
.error-message { display: block; min-height: 18px; margin-top: 5px; color: #b13d36; font-size: 12px; }

.progress-container { position: sticky; top: 12px; z-index: 5; margin: 28px 0 20px; padding: 13px 16px; border: 1px solid rgba(207,220,233,.9); border-radius: 14px; background: rgba(255,255,255,.93); box-shadow: 0 5px 18px rgba(15,79,133,.08); backdrop-filter: blur(12px); }
.progress-bar { height: 8px; overflow: hidden; border-radius: 8px; background: #e5edf4; }
.progress-fill { width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg, var(--blue-main), var(--orange)); transition: width .25s ease; }
.progress-text { margin: 8px 0 0; text-align: right; color: var(--blue-dark); font: 700 12px 'Montserrat', sans-serif; }

.question-card { margin: 16px 0; padding: clamp(20px, 4vw, 30px); border: 1px solid var(--line); border-radius: 18px; background: var(--white); box-shadow: 0 4px 18px rgba(15,79,133,.05); transition: border-color .2s, box-shadow .2s; }
.question-card.missing { border-color: #e89b5f; box-shadow: 0 0 0 3px rgba(244,129,32,.11); }
.question-heading { display: flex; align-items: flex-start; gap: 12px; margin-bottom: 18px; }
.question-number { flex: 0 0 auto; padding: 7px 12px; border-radius: 999px; color: var(--blue-main); background: var(--blue-pale); font: 800 12px 'Montserrat', sans-serif; }
.question-text { margin: 4px 0 0; font: 700 clamp(15px, 2vw, 17px)/1.55 'Montserrat', sans-serif; color: var(--ink); }
.options { display: grid; gap: 9px; }
.option { position: relative; display: flex; align-items: flex-start; gap: 11px; min-height: 49px; padding: 12px 14px; border: 1px solid #d8e2ec; border-radius: 11px; color: #36465c; background: #fbfcfe; cursor: pointer; transition: border-color .18s, background .18s, transform .18s; }
.option:hover { border-color: var(--blue-light); background: #f4f9fd; transform: translateX(2px); }
.option input { position: absolute; width: 1px; height: 1px; opacity: 0; }
.option-mark { display: grid; flex: 0 0 27px; width: 27px; height: 27px; place-items: center; border: 1px solid #b6c7d8; border-radius: 50%; color: #66798d; font: 800 12px 'Montserrat', sans-serif; }
.option-copy { padding-top: 3px; font-size: 14px; line-height: 1.45; }
.option:has(input:checked) { border-color: var(--blue-main); background: var(--blue-pale); box-shadow: inset 0 0 0 1px var(--blue-main); }
.option:has(input:checked) .option-mark { border-color: var(--blue-main); color: var(--white); background: var(--blue-main); }
.option input:focus-visible + .option-mark { outline: 3px solid rgba(244,129,32,.35); outline-offset: 2px; }
.submit-container { padding: 30px 0 8px; text-align: center; }
.btn-submit { width: min(460px, 100%); min-height: 62px; font-size: 16px; }
.btn-submit:disabled { cursor: wait; opacity: .75; transform: none; }
.loader { width: 20px; height: 20px; margin-left: 10px; border: 3px solid rgba(255,255,255,.38); border-top-color: #fff; border-radius: 50%; animation: spin .7s linear infinite; }
@keyframes spin { to { transform: rotate(360deg); } }
.success-section { padding: clamp(38px, 7vw, 68px) 22px; border: 1px solid #cbe6d6; border-top: 4px solid #34a866; border-radius: 22px; text-align: center; background: #f6fff9; box-shadow: 0 12px 34px rgba(24,123,68,.1); }
.success-icon { margin-bottom: 12px; font-size: 46px; }
.success-section h2 { margin: 0 0 18px; color: #187a45; font: 900 clamp(25px, 5vw, 38px) 'Montserrat', sans-serif; }
.success-section p { margin: 8px 0; color: #3f624e; line-height: 1.6; }
.success-note { margin: 24px auto 30px !important; max-width: 550px; padding: 13px 15px; border-radius: 10px; color: #376048 !important; background: #e6f7ec; font-size: 14px; }
footer { padding: 28px 20px; text-align: center; color: #8390a0; background: #eaf0f5; font-size: 12px; }

@media (min-width: 760px) { .options { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .hero h1 { letter-spacing: -.025em; } .hero-guide { font-size: 14px; text-align: left; } .hero .btn-primary { width: 100%; } .question-heading { display: block; } .question-number { display: inline-flex; margin-bottom: 9px; } .option { min-height: 55px; padding: 13px 12px; } .option-copy { font-size: 13px; } }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; animation: none !important; } }
