:root {
  --navy-950: #041321;
  --navy-900: #071f36;
  --navy-800: #0b3658;
  --navy-700: #0c4a78;
  --blue-600: #1676e8;
  --blue-500: #2f8ef4;
  --blue-400: #67adfa;
  --blue-200: #b8dcff;
  --blue-100: #eaf5ff;
  --ink: #101820;
  --muted: #5c6873;
  --line: #dce3e8;
  --surface: #ffffff;
  --surface-alt: #f3f7fa;
  --success: #0a7a49;
  --success-bg: #eaf8f1;
  --warning: #9a5c00;
  --warning-bg: #fff7e7;
  --error: #b42318;
  --error-bg: #fff0ee;
  --shadow: 0 24px 70px rgba(4, 19, 33, 0.14);
  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 12px;
  --max-width: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.container { width: min(calc(100% - 40px), var(--max-width)); margin-inline: auto; }
.skip-link { position: fixed; top: 8px; left: 8px; z-index: 100; transform: translateY(-160%); padding: 10px 14px; border-radius: 8px; color: #fff; background: var(--navy-900); }
.skip-link:focus { transform: none; }

.site-header { position: sticky; top: 0; z-index: 30; border-bottom: 1px solid rgba(220, 227, 232, 0.86); background: rgba(255,255,255,.94); backdrop-filter: blur(12px); }
.header-inner { min-height: 88px; display: flex; align-items: center; gap: 32px; }
.brand { display: inline-flex; flex: 0 0 auto; text-decoration: none; }
.brand img { width: 72px; height: 72px; object-fit: contain; }
.header-inner nav { display: flex; align-items: center; gap: 28px; margin-left: auto; }
.header-inner nav a { color: #2e3b45; font-size: .94rem; font-weight: 650; text-decoration: none; }
.header-inner nav a:hover { color: var(--navy-700); }

.button { min-height: 48px; display: inline-flex; align-items: center; justify-content: center; gap: 8px; padding: 11px 22px; border: 1px solid transparent; border-radius: 999px; font-weight: 760; text-decoration: none; transition: transform .18s ease, box-shadow .18s ease, background .18s ease; }
.button:hover { transform: translateY(-1px); }
.button:focus-visible, .option-card:focus-within, input:focus-visible, select:focus-visible, summary:focus-visible { outline: 3px solid rgba(93,181,255,.42); outline-offset: 3px; }
.button-primary { color: #fff; background: linear-gradient(135deg,var(--navy-900),var(--blue-600)); box-shadow: 0 10px 24px rgba(7,31,54,.22); }
.button-primary:hover { background: linear-gradient(135deg,var(--navy-800),var(--blue-500)); box-shadow: 0 14px 30px rgba(7,31,54,.27); }
.button-primary:disabled { opacity: .55; cursor: not-allowed; transform: none; box-shadow: none; }
.button-small { min-height: 42px; padding: 9px 18px; color: #fff; background: var(--navy-900); font-size: .9rem; }
.button-ghost { border-color: var(--line); color: var(--navy-900); background: #fff; box-shadow: none; }
.button-full { width: 100%; }
.text-link { font-weight: 730; text-decoration: none; }
.text-link:hover { text-decoration: underline; }

.hero { overflow: hidden; position: relative; padding: 78px 0 84px; background: linear-gradient(130deg, #fff 0%, #fff 48%, #edf6ff 100%); }
.hero::before { content: ""; position: absolute; width: 520px; height: 520px; right: -260px; top: -280px; border-radius: 50%; background: rgba(47,142,244,.16); }
.hero-grid { position: relative; display: grid; grid-template-columns: minmax(0,1.02fr) minmax(420px,.98fr); gap: 46px; align-items: center; }
.eyebrow { display: inline-block; color: var(--navy-700); font-size: .77rem; font-weight: 850; letter-spacing: .13em; text-transform: uppercase; }
.eyebrow-light { color: #86c9ff; }
h1, h2, h3, p { margin-top: 0; }
h1 { max-width: 680px; margin-bottom: 22px; color: var(--navy-950); font-size: clamp(3.1rem, 6vw, 5.5rem); line-height: .96; letter-spacing: -.055em; }
.hero-lead { max-width: 640px; color: #44515c; font-size: clamp(1.08rem, 2vw, 1.3rem); }
.hero-actions { display: flex; align-items: center; gap: 24px; margin: 34px 0 30px; }
.trust-list { display: flex; flex-wrap: wrap; gap: 12px 22px; margin: 0; padding: 0; color: #43505b; list-style: none; font-size: .9rem; }
.trust-list span { color: var(--success); font-weight: 900; }
.hero-visual { position: relative; }
.hero-visual img { width: 100%; }

.assessment-section { padding: 94px 0; color: #fff; background: var(--navy-900); }
.assessment-grid { display: grid; grid-template-columns: .82fr 1.18fr; gap: 64px; align-items: start; }
.section-intro { position: sticky; top: 120px; padding-top: 26px; }
.section-intro h2 { margin: 12px 0 18px; font-size: clamp(2.35rem, 4.6vw, 4rem); line-height: 1.03; letter-spacing: -.045em; }
.section-intro > p { color: #c9d7e2; font-size: 1.04rem; }
.wizard-card { min-height: auto; padding: clamp(24px,4vw,42px); border-radius: var(--radius-lg); color: var(--ink); background: #fff; box-shadow: 0 32px 90px rgba(0,0,0,.24); }
.wizard-card[hidden] { display: none!important; }
.wizard-topline { display: flex; justify-content: space-between; gap: 20px; }
.wizard-topline span { display: block; margin-bottom: 4px; color: var(--muted); font-size: .82rem; }
.wizard-topline strong { font-size: 1rem; }
.progress-percent { flex: 0 0 auto; color: var(--navy-900)!important; font-size: .94rem!important; font-weight: 800; }
.progress-track { overflow: hidden; height: 6px; margin: 17px 0 32px; border-radius: 99px; background: #e7edf2; }
.progress-track span { display: block; width: 0; height: 100%; border-radius: inherit; background: linear-gradient(90deg,var(--navy-700),var(--blue-400)); transition: width .3s ease; }
.status-box { min-height: 0; display: grid; place-items: center; align-content: center; gap: 16px; text-align: center; }
.status-box.error { color: var(--error); }
.status-box .button { margin-top: 8px; }
.question-block h3 { margin-bottom: 8px; color: var(--navy-950); font-size: clamp(1.55rem,3vw,2.15rem); line-height: 1.12; letter-spacing: -.025em; }
.question-help { margin-bottom: 26px; color: var(--muted); }
.model-select { width: 100%; height: 58px; padding: 0 48px 0 16px; border: 1px solid #cbd5dc; border-radius: 13px; color: var(--ink); background: #fff; }
.option-list { display: grid; gap: 12px; }
.option-card { position: relative; display: flex; align-items: center; gap: 15px; min-height: 64px; padding: 15px 18px; border: 1px solid #d3dce3; border-radius: 14px; background: #fff; cursor: pointer; transition: border .15s, background .15s, transform .15s; }
.option-card:hover { transform: translateY(-1px); border-color: #9eb3c2; background: #f9fcfe; }
.option-card.selected { border-color: var(--navy-700); background: var(--blue-100); box-shadow: inset 0 0 0 1px var(--navy-700); }
.option-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-ui { display: grid; place-items: center; flex: 0 0 22px; width: 22px; height: 22px; border: 2px solid #9caebc; border-radius: 50%; }
.option-card.selected .radio-ui { border-color: var(--navy-700); }
.option-card.selected .radio-ui::after { content: ""; width: 11px; height: 11px; border-radius: 50%; background: var(--navy-700); }
.check-ui { display: grid; place-items: center; flex: 0 0 22px; width: 22px; height: 22px; border: 2px solid #9caebc; border-radius: 6px; }
.option-card.selected .check-ui { border-color: var(--blue-600); background: var(--blue-600); }
.option-card.selected .check-ui::after { content: ""; width: 9px; height: 5px; margin-top: -2px; border: solid #fff; border-width: 0 0 2px 2px; transform: rotate(-45deg); }
.option-label { font-weight: 680; line-height: 1.35; }
.wizard-error { margin: 14px 0 0; color: var(--error); font-size: .9rem; font-weight: 650; }
.wizard-actions { display: flex; justify-content: space-between; gap: 14px; margin-top: 30px; }

.result-panel { padding: 26px; border: 1px solid #b9e0cc; border-radius: var(--radius-md); background: var(--success-bg); }
.result-panel.blocked { border-color: #f0c97e; background: var(--warning-bg); }
.result-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 18px; border-radius: 50%; color: #fff; background: var(--success); font-size: 1.3rem; font-weight: 900; }
.result-panel.blocked .result-icon { background: var(--warning); }
.result-panel h3 { margin-bottom: 8px; font-size: 1.3rem; }
.quote-amount { margin: 4px 0 12px; color: var(--navy-950); font-size: clamp(2.3rem,6vw,3.5rem); line-height: 1; letter-spacing: -.04em; }
.result-panel p:last-child { margin-bottom: 0; }
.terminal-card { min-height: 0; }
.terminal-panel { display: grid; gap: 26px; padding: 18px 0 4px; }
.terminal-message { margin: 0; color: var(--navy-950); font-size: clamp(1.55rem,3vw,2.15rem); font-weight: 800; line-height: 1.2; }

.lead-form { margin-top: 30px; padding-top: 30px; border-top: 1px solid var(--line); }
.form-heading h3 { margin: 6px 0 8px; font-size: 1.55rem; }
.form-heading p { color: var(--muted); }
.field-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 17px; }
.field { display: grid; gap: 7px; }
.field-full { grid-column: 1 / -1; }
.field > span { font-size: .88rem; font-weight: 730; }
.field em { color: var(--muted); font-weight: 500; }
.field input { width: 100%; min-height: 50px; padding: 12px 14px; border: 1px solid #cbd5dc; border-radius: 11px; background: #fff; }
.field input[type="file"] { min-height: auto; padding: 13px; }
.field small { color: var(--muted); font-size: .78rem; }
.field-error { min-height: 0; color: var(--error)!important; }
.consent-field { display: flex; align-items: flex-start; gap: 11px; margin: 22px 0 8px; color: #3e4b55; font-size: .88rem; }
.consent-field input { flex: 0 0 auto; width: 18px; height: 18px; margin-top: 2px; accent-color: var(--navy-700); }
.consent-field a { color: var(--navy-700); font-weight: 700; }
.honeypot { position: absolute!important; left: -10000px!important; width: 1px!important; height: 1px!important; overflow: hidden!important; }
.form-feedback { min-height: 24px; margin: 12px 0 0; text-align: center; color: var(--muted); font-size: .88rem; }
.form-feedback.error { color: var(--error); }
.success-panel { text-align: center; padding: 30px 8px 8px; }
.success-panel .result-icon { margin-inline: auto; }
.success-panel h3 { font-size: 1.85rem; }
.restart-quote-button { margin-top: 12px; }
.success-panel .button { width: 100%; margin-top: 18px; }

.section { padding: 94px 0; }
.section-muted { background: var(--surface-alt); }
.section-heading { max-width: 680px; margin: 0 auto 48px; text-align: center; }
.section-heading.left { margin-left: 0; text-align: left; }
.section-heading h2 { margin: 9px 0 0; color: var(--navy-950); font-size: clamp(2.25rem,4vw,3.45rem); line-height: 1.06; letter-spacing: -.04em; }
.steps-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 18px; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps-grid li { padding: 27px; border: 1px solid var(--line); border-radius: var(--radius-md); background: #fff; }
.steps-grid li > span { display: grid; place-items: center; width: 36px; height: 36px; margin-bottom: 27px; border-radius: 50%; color: #fff; background: var(--navy-900); font-weight: 800; }
.steps-grid h3 { margin-bottom: 8px; font-size: 1.16rem; }
.steps-grid p { margin: 0; color: var(--muted); }
.benefit-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 18px; }
.benefit-grid article { min-height: 250px; padding: 26px; border-top: 4px solid var(--blue-400); border-radius: var(--radius-md); background: #fff; box-shadow: 0 12px 32px rgba(7,31,54,.06); }
.benefit-icon { display: grid; place-items: center; width: 46px; height: 46px; margin-bottom: 32px; border-radius: 14px; color: #fff; background: linear-gradient(135deg,var(--navy-900),var(--blue-500)); }
.benefit-icon svg { width: 25px; height: 25px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.benefit-grid h3 { margin-bottom: 8px; }
.benefit-grid p { margin: 0; color: var(--muted); }
.benefit-grid p a { color: var(--navy-700); font-weight: 700; }
.faq-wrap { display: grid; grid-template-columns: .68fr 1.32fr; gap: 70px; align-items: start; }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { padding: 22px 40px 22px 0; color: var(--navy-950); font-size: 1.04rem; font-weight: 760; cursor: pointer; }
.faq-list p { padding-right: 30px; color: var(--muted); }
.site-footer { padding: 48px 0; color: #d1dce5; background: var(--navy-950); }
.site-footer img { width: 92px; height: 92px; object-fit: contain; }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr; gap: 50px; }
.footer-grid > div { display: grid; align-content: start; gap: 8px; }
.footer-grid p { margin: 7px 0 0; color: #aabcca; }
.footer-grid strong { color: #fff; }
.footer-grid a { width: fit-content; color: #d7e4ee; text-decoration: none; }
.footer-grid a:hover { text-decoration: underline; }

.policy-page { background: var(--surface-alt); }
.policy-shell { width: min(calc(100% - 34px), 880px); margin: 50px auto; padding: clamp(24px,6vw,58px); border-radius: var(--radius-lg); background: #fff; box-shadow: var(--shadow); }
.policy-shell h1 { font-size: clamp(2.4rem,6vw,4.2rem); }
.policy-shell h2 { margin-top: 38px; color: var(--navy-950); font-size: 1.45rem; }
.policy-shell li, .policy-shell p { color: #46535d; }
.policy-meta { padding: 14px 17px; border-left: 4px solid var(--blue-400); background: var(--blue-100); }
.policy-back { display: inline-block; margin-bottom: 28px; color: var(--navy-700); font-weight: 750; text-decoration: none; }

@media (max-width: 980px) {
  .header-inner nav { display: none; }
  .header-inner .button { margin-left: auto; }
  .hero-grid { grid-template-columns: 1fr .82fr; }
  .assessment-grid { grid-template-columns: 1fr; gap: 36px; }
  .section-intro { position: static; max-width: 760px; }
  .benefit-grid { grid-template-columns: repeat(2,1fr); }
  .faq-wrap { grid-template-columns: 1fr; gap: 12px; }
}
@media (max-width: 760px) {
  .container { width: min(calc(100% - 28px), var(--max-width)); }
  .header-inner { min-height: 68px; }
  .brand img { width: 58px; height: 58px; }
  .header-inner .button { min-height: 38px; padding: 7px 13px; font-size: .78rem; }
  .hero { padding: 54px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 470px; margin: -15px auto -40px; }
  h1 { font-size: clamp(3rem,14vw,4.8rem); }
  .hero-actions { align-items: stretch; flex-direction: column; gap: 14px; }
  .hero-actions .text-link { text-align: center; }
  .assessment-section, .section { padding: 68px 0; }
  .wizard-card { min-height: auto; padding: 23px 19px; border-radius: 22px; }
  .progress-track { margin-bottom: 25px; }
  .option-card { padding: 14px; }
  .field-grid { grid-template-columns: 1fr; }
  .field-full { grid-column: auto; }
  .steps-grid { grid-template-columns: 1fr; }
  .benefit-grid { grid-template-columns: 1fr; }
  .benefit-grid article { min-height: 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto!important; animation-duration: .01ms!important; transition-duration: .01ms!important; }
}
