:root {
  --bg: #141414;
  --surface: #202022;
  --surface-raised: #29292c;
  --text: #f5f5f1;
  --muted: #9b9b99;
  --accent: #b6ec48;
  --accent-deep: #86b52a;
  --danger: #ff9b8c;
  --line: rgba(255, 255, 255, 0.12);
  --radius: 22px;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background: var(--bg);
}

* { box-sizing: border-box; }
html { background: var(--bg); }
body { min-width: 320px; margin: 0; overflow-x: hidden; background: var(--bg); }
button, input, select { font: inherit; }
button { cursor: pointer; }

.app-shell { position: relative; min-height: 100dvh; overflow: hidden; }
.app-shell::before { content: ''; position: absolute; top: -300px; right: -280px; width: 740px; height: 650px; background: radial-gradient(circle, rgba(182, 236, 72, .18), transparent 64%); pointer-events: none; }
.container { position: relative; width: min(1160px, calc(100% - 48px)); margin: 0 auto; }

.site-header { display: flex; justify-content: space-between; align-items: center; height: 76px; border-bottom: 1px solid var(--line); }
.brand { display: inline-flex; align-items: center; gap: 9px; color: var(--text); font-family: ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif; text-decoration: none; }
.brand-mark { display: grid; width: 30px; height: 30px; place-items: center; color: #151515; background: var(--accent); border-radius: 10px; font-size: 17px; transform: rotate(-7deg); }
.brand-copy { display: grid; gap: 1px; line-height: 1; }
.brand-copy strong { font-size: 13px; letter-spacing: -.045em; }
.brand-copy small { color: var(--accent); font-family: Inter, ui-sans-serif, system-ui, sans-serif; font-size: 9px; font-weight: 800; letter-spacing: .02em; }
.product-tabs { display: inline-flex; align-items: center; gap: 3px; padding: 4px; border: 1px solid var(--line); border-radius: 12px; background: rgba(255,255,255,.035); }
.product-tab { min-height: 34px; padding: 0 16px; color: var(--muted); border: 0; border-radius: 8px; background: transparent; font-size: 11px; font-weight: 850; white-space: nowrap; transition: color .18s, background .18s, transform .18s; }
.product-tab:hover { color: var(--text); }
.product-tab:active { transform: scale(.98); }
.product-tab.active { color: #18200b; background: var(--accent); }
.product-tab:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }
.top-nav { display: flex; align-items: center; gap: 10px; }
.nav-button { padding: 10px 12px; color: var(--muted); border: 0; background: transparent; border-radius: 8px; font-size: 13px; font-weight: 700; }
.nav-button:hover { color: var(--text); background: rgba(255,255,255,.06); }

.quote-layout { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(440px, .95fr); align-items: start; gap: 58px; min-height: calc(100dvh - 158px); padding: 42px 0 58px; }
.eyebrow, .step-label { display: flex; align-items: center; gap: 8px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; }
.eyebrow::before { width: 22px; height: 1px; background: currentColor; content: ''; }
h1, h2, h3, p { margin-top: 0; }
.hero-copy { align-self: center; padding-bottom: 30px; }.hero-copy h1 { max-width: 690px; margin: 20px 0 22px; font-family: ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif; font-size: clamp(36px, 4.45vw, 66px); font-weight: 800; line-height: 1.06; letter-spacing: -.075em; }
.hero-copy h1 span { color: var(--accent); }
.hero-copy > p { max-width: 510px; color: var(--muted); font-size: 17px; line-height: 1.6; }
.trust-list { display: flex; flex-wrap: wrap; gap: 10px 18px; padding: 0; margin: 36px 0 0; list-style: none; color: #cececb; font-size: 13px; }
.trust-list li { display: flex; align-items: center; gap: 7px; }
.trust-list li::before { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); content: ''; box-shadow: 0 0 0 4px rgba(182,236,72,.1); }

.quote-card, .flow-card, .success-card { border: 1px solid var(--line); border-radius: var(--radius); background: linear-gradient(145deg, rgba(42,42,45,.98), rgba(28,28,30,.98)); box-shadow: 0 20px 65px rgba(0,0,0,.22); }
.quote-card { position: relative; padding: 26px; overflow: clip; }
.quote-card::after { position: absolute; right: -70px; bottom: -110px; width: 240px; height: 240px; border: 28px solid rgba(182,236,72,.08); border-radius: 50%; content: ''; pointer-events: none; }
.card-kicker { color: var(--muted); font-size: 12px; font-weight: 700; }
.quote-card h2 { margin: 6px 0 18px; font-size: 23px; letter-spacing: -.045em; }
.card-intro { margin: -8px 0 19px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.quote-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 12px; }.quote-fields > label, .quote-fields > .vehicle-field { min-width: 0; }
.popular-options { min-height: 35px; margin: 1px 0 8px; }
.popular-options > span { display: block; margin-bottom: 5px; color: var(--muted); font-size: 9px; font-weight: 750; }
.popular-options > div { display: flex; flex-wrap: wrap; gap: 5px; }
.option-chip { padding: 5px 8px; color: #d5d5d0; border: 1px solid var(--line); border-radius: 99px; background: rgba(255,255,255,.03); font-size: 9px; font-weight: 750; white-space: nowrap; }
.option-chip:hover, .option-chip:focus-visible { color: #1d2410; border-color: var(--accent); outline: 0; background: var(--accent); }
.manual-quote-card .primary-button { position: relative; z-index: 1; }
.manual-calculate { min-height: 48px; margin-top: 0; }
.field-label { display: block; margin-bottom: 8px; color: #d2d2cf; font-size: 12px; font-weight: 700; }
.input-wrap { position: relative; }
.text-input, .select-input { width: 100%; height: 54px; padding: 0 15px; color: var(--text); border: 1px solid rgba(255,255,255,.12); outline: 0; background: rgba(14,14,15,.47); border-radius: 11px; font-size: 15px; transition: border-color .18s, box-shadow .18s; }
.text-input::placeholder { color: #777774; }
.text-input:focus, .select-input:focus { border-color: var(--accent); box-shadow: 0 0 0 4px rgba(182,236,72,.12); }
.text-input:disabled { color: #777774; border-color: rgba(255,255,255,.07); background: rgba(14,14,15,.25); cursor: not-allowed; }
.text-input:disabled::placeholder { color: #5f5f5c; }
.select-input option { color: #161616; }
.form-error { display: block; min-height: 17px; padding-top: 5px; color: var(--danger); font-size: 11px; line-height: 1.2; }
.input-invalid { border-color: var(--danger); }
.vehicle-field { position: relative; z-index: 2; }
.vehicle-field:focus-within { z-index: 20; }
.vehicle-field:focus-within .popular-options { visibility: hidden; }
.disabled-field { z-index: 1; }
.autocomplete-list { position: absolute; top: 78px; right: 0; left: 0; max-height: 230px; padding: 6px; overflow-y: auto; overscroll-behavior: contain; border: 1px solid rgba(255,255,255,.18); border-radius: 12px; background: #242427; box-shadow: 0 20px 50px rgba(0,0,0,.48); scrollbar-width: thin; scrollbar-color: rgba(182,236,72,.55) transparent; }
.autocomplete-list[hidden] { display: none; }
.autocomplete-list button { display: flex; width: 100%; min-height: 42px; align-items: center; justify-content: space-between; gap: 12px; padding: 9px 10px; color: var(--text); border: 0; border-radius: 8px; background: transparent; text-align: left; }
.autocomplete-list button:hover, .autocomplete-list button:focus-visible { color: #18200b; outline: 0; background: var(--accent); }
.autocomplete-list button span { overflow: hidden; font-size: 13px; font-weight: 750; text-overflow: ellipsis; white-space: nowrap; }
.autocomplete-list button small { flex: 0 0 auto; color: var(--muted); font-size: 10px; }
.autocomplete-list button:hover small, .autocomplete-list button:focus-visible small { color: #3f4f1c; }
.primary-button, .secondary-button, .back-button { display: inline-flex; min-height: 52px; align-items: center; justify-content: center; border-radius: 11px; font-size: 14px; font-weight: 800; transition: transform .18s, background .18s, border-color .18s; }
.primary-button { width: 100%; color: #18200b; border: 0; background: var(--accent); }
.primary-button:hover { background: #c7fa59; transform: translateY(-1px); }
.primary-button:active { transform: translateY(0); }
.secondary-button { width: 100%; margin-top: 10px; color: var(--text); border: 1px solid var(--line); background: rgba(255,255,255,.04); }
.secondary-button:hover { border-color: rgba(182,236,72,.45); background: rgba(182,236,72,.08); }
.fine-print { position: relative; z-index: 1; margin: 14px 0 0; color: #81817e; font-size: 11px; line-height: 1.45; }

.mini-car { display: flex; min-height: 82px; align-items: center; justify-content: space-between; gap: 16px; padding: 5px 0 17px; margin-bottom: 14px; border-bottom: 1px solid var(--line); }
.mini-car-copy strong { display: block; margin-bottom: 3px; font-size: 13px; }
.mini-car-copy span { color: var(--muted); font-size: 11px; }
.car-icon { width: 112px; color: var(--accent); }

.workflow { width: min(760px, 100%); margin: 74px auto 84px; }
.progress-bar { display: grid; grid-template-columns: repeat(4, 1fr); gap: 7px; margin: 12px 0 35px; }
.progress-bar span { height: 4px; border-radius: 9px; background: rgba(255,255,255,.13); }
.progress-bar span.active { background: var(--accent); }
.workflow-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; }
.workflow-head h1 { margin: 12px 0 0; font-family: ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif; font-size: clamp(29px, 4vw, 44px); line-height: 1.1; letter-spacing: -.07em; }
.back-button { min-width: 46px; padding: 0 14px; color: var(--text); border: 1px solid var(--line); background: transparent; }
.back-button:hover { border-color: var(--accent); }
.flow-card { padding: 30px; }
.flow-card h2 { margin-bottom: 7px; font-size: 25px; letter-spacing: -.05em; }
.flow-card > p { color: var(--muted); font-size: 14px; line-height: 1.55; }
.form-section { padding: 22px 0; border-top: 1px solid var(--line); }
.form-section:first-of-type { padding-top: 18px; border-top: 0; }
.form-section:last-of-type { padding-bottom: 0; }
.form-section-head h3 { margin-bottom: 5px; font-size: 16px; letter-spacing: -.025em; }
.form-section-head p { margin-bottom: 0; color: var(--muted); font-size: 12px; line-height: 1.5; }
.form-section .fields-grid { margin-top: 17px; }
.plate-choice { display: flex; min-height: 30px; align-items: center; justify-content: flex-end; gap: 12px; margin-top: -4px; }
.plate-choice button { padding: 4px 0; color: var(--accent); border: 0; border-bottom: 1px dashed rgba(182,236,72,.48); background: transparent; font-size: 12px; font-weight: 750; }
.plate-choice button:hover, .plate-choice button:focus-visible { color: #d0ff70; border-bottom-color: currentColor; outline: 0; }
.plate-choice.selected { justify-content: space-between; padding: 8px 11px; border: 1px solid rgba(182,236,72,.2); border-radius: 10px; background: rgba(182,236,72,.07); }
.plate-status { display: inline-flex; align-items: center; gap: 7px; color: #d9e8b9; font-size: 12px; font-weight: 700; }
.plate-status::before { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); content: ''; }
.fields-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-top: 25px; }
.fields-grid .wide { grid-column: 1 / -1; }
.workflow-actions { display: flex; gap: 10px; margin-top: 24px; }
.workflow-actions .primary-button { width: auto; min-width: 205px; margin-left: auto; padding: 0 24px; }

.offer-header { display: flex; justify-content: space-between; align-items: center; margin: 25px 0 15px; }
.insurer { color: var(--accent); font-size: 13px; font-weight: 800; }
.offer-badge { padding: 6px 9px; color: #1d2410; border-radius: 99px; background: var(--accent); font-size: 10px; font-weight: 800; }
.offer-card { padding: 22px; border: 1px solid rgba(182,236,72,.62); border-radius: 16px; background: linear-gradient(115deg, rgba(182,236,72,.14), rgba(182,236,72,.03)); }
.offer-card h2 { margin: 10px 0 5px; font-size: 29px; letter-spacing: -.05em; }
.offer-card p { margin: 0; color: #c5c5bf; font-size: 13px; }
.offer-details { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; padding: 0; margin: 24px 0; list-style: none; }
.offer-details li { padding: 12px; border-radius: 10px; background: rgba(0,0,0,.15); color: var(--muted); font-size: 10px; line-height: 1.35; }
.offer-details b { display: block; margin-bottom: 3px; color: var(--text); font-size: 12px; }

.payment-summary { display: flex; justify-content: space-between; align-items: center; gap: 15px; padding: 18px; margin: 24px 0; border-radius: 13px; background: rgba(182,236,72,.09); }
.payment-summary span { color: #c9c9c4; font-size: 12px; }.payment-summary strong { color: var(--accent); font-size: 24px; letter-spacing: -.04em; }
.card-hint { margin: -5px 0 18px; color: var(--muted); font-size: 11px; }
.success-card { max-width: 580px; padding: 48px 34px; margin: 80px auto; text-align: center; }
.success-icon { display: grid; width: 72px; height: 72px; place-items: center; margin: 0 auto 22px; color: #1d2610; border-radius: 50%; background: var(--accent); font-size: 34px; font-weight: 900; }
.success-card h1 { margin-bottom: 14px; font-family: ui-rounded, "Arial Rounded MT Bold", system-ui, sans-serif; font-size: 31px; line-height: 1.13; letter-spacing: -.065em; }.success-card p { color: var(--muted); line-height: 1.6; }
.policy-number { display: block; padding: 14px; margin: 25px 0; color: var(--accent); border-radius: 10px; background: rgba(182,236,72,.1); font-size: 15px; font-weight: 800; }
.restart-button { width: auto; min-width: 210px; padding: 0 22px; }

.site-footer { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 76px; padding: 18px 0; color: #747470; border-top: 1px solid var(--line); font-size: 11px; }.demo-mark { color: var(--accent); font-weight: 800; }

@media (max-width: 800px) {
  .quote-layout { grid-template-columns: 1fr; gap: 35px; min-height: auto; padding-top: 48px; }.hero-copy { padding-bottom: 0; }.hero-copy h1 { max-width: 600px; }.quote-card { max-width: 620px; }.workflow { margin-top: 48px; }.fields-grid { grid-template-columns: 1fr; }.fields-grid .wide { grid-column: auto; }.nav-button { padding-inline: 8px; }
}
@media (max-width: 560px) {
  .container { width: min(100% - 32px, 1160px); }.site-header { display: grid; grid-template-columns: 1fr auto; height: 68px; }.brand-mark { width: 26px; height: 26px; }.brand-copy strong { font-size: 11px; }.brand-copy small { font-size: 8px; }.product-tabs { padding: 3px; }.product-tab { min-height: 32px; padding: 0 11px; font-size: 10px; }.top-nav { display: none; }.quote-layout { padding: 38px 0 44px; }.hero-copy h1 { font-size: 35px; }.hero-copy > p { font-size: 14px; }.trust-list { display: grid; gap: 10px; margin-top: 28px; }.quote-card, .flow-card { padding: 22px 18px; border-radius: 18px; }.quote-fields { grid-template-columns: 1fr; }.autocomplete-list { top: 78px; max-height: 210px; }.workflow { margin: 38px auto 100px; }.workflow-head { align-items: start; }.workflow-head h1 { font-size: 28px; }.progress-bar { margin-bottom: 25px; }.plate-choice.selected { align-items: flex-start; flex-direction: column; gap: 6px; }.workflow-actions { padding-bottom: 14px; }.workflow-actions .primary-button { position: fixed; z-index: 10; right: 16px; bottom: max(12px, env(safe-area-inset-bottom)); left: 16px; width: auto; min-height: 54px; margin: 0; box-shadow: 0 10px 25px rgba(0,0,0,.32); }.offer-details { grid-template-columns: 1fr; }.payment-summary strong { font-size: 20px; }.success-card { padding: 36px 22px; margin: 48px auto 95px; }.site-footer { align-items: flex-start; flex-direction: column; gap: 8px; padding-bottom: 88px; }
}
