:root {
  --red: #d9202f;
  --red-dark: #a90f1d;
  --cream: #f5f1e8;
  --paper: #fffdf8;
  --ink: #161616;
  --muted: #6d6b66;
  --line: #dfdbd2;
  --success: #1c7a51;
  --error: #c11928;
  --radius: 16px;
  --shadow: 0 22px 60px rgba(24, 18, 13, .12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background:
    linear-gradient(rgba(22,22,22,.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(22,22,22,.035) 1px, transparent 1px),
    var(--cream);
  background-size: 34px 34px;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
button, input, select, textarea { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 78px;
  padding: 0 5vw;
  color: #fff;
  border-bottom: 4px solid var(--red);
  background: rgba(18,18,18,.96);
  backdrop-filter: blur(14px);
}
.brand { display: flex; align-items: center; gap: 12px; color: inherit; text-decoration: none; }
.brand-mark {
  display: grid;
  place-items: center;
  width: 54px;
  height: 42px;
  padding-top: 1px;
  border: 3px solid #fff;
  color: #fff;
  background: var(--red);
  transform: skew(-8deg);
  font: 900 18px/1 "Barlow Condensed", sans-serif;
  letter-spacing: .04em;
  box-shadow: 5px 5px 0 #fff;
}
.brand-copy { display: flex; flex-direction: column; line-height: .95; }
.brand-copy strong { font: 800 20px/1 "Barlow Condensed", sans-serif; letter-spacing: .055em; }
.brand-copy small { margin-top: 6px; color: #bdb9b2; font-size: 8px; font-weight: 800; letter-spacing: .18em; }
.top-actions { display: flex; align-items: center; gap: 10px; }
.finance-pill { color: #fff; border: 1px solid #595754; border-radius: 999px; padding: 9px 14px; text-decoration: none; font-size: 12px; font-weight: 800; }
.finance-pill:hover { color: #fff; border-color: #fff; }
.call-pill { color: #fff; background: var(--red); border-radius: 999px; padding: 10px 15px; text-decoration: none; font-size: 12px; font-weight: 800; }
.call-pill:hover { background: #ee3141; }
.lang-toggle { width: 42px; height: 38px; cursor: pointer; color: #fff; background: transparent; border: 1px solid #504f4d; border-radius: 999px; font-size: 12px; font-weight: 800; }
.lang-toggle:hover { border-color: #fff; }

main { width: min(1220px, 90vw); margin: 0 auto; }
.hero { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) 300px; align-items: center; min-height: 430px; padding: 72px 0 48px; overflow: hidden; }
.hero-copy { position: relative; z-index: 2; max-width: 850px; }
.eyebrow, .dialog-kicker { margin: 0; color: var(--red); font-size: 12px; font-weight: 900; letter-spacing: .2em; }
h1, h2, p { margin-top: 0; }
.hero h1 { max-width: 780px; margin: 11px 0 20px; font: 900 clamp(4.2rem, 9.7vw, 8.5rem)/.78 "Barlow Condensed", sans-serif; letter-spacing: -.045em; text-transform: uppercase; }
.hero h1 span { display: block; color: var(--red); }
.hero-lead { max-width: 690px; margin-bottom: 0; color: #484642; font-size: clamp(1rem, 2vw, 1.16rem); line-height: 1.65; }
.trust-row { display: flex; flex-wrap: wrap; gap: 9px; margin-top: 24px; }
.trust-row span { padding: 8px 12px; border: 1px solid #d1ccc2; background: rgba(255,255,255,.58); border-radius: 999px; color: #55514b; font-size: 11px; font-weight: 700; }
.trust-row span::before { content: "✓"; color: var(--success); margin-right: 6px; }
.hero-wheel { position: relative; display: grid; place-items: center; }
.tire-ring { display: grid; place-items: center; width: 260px; aspect-ratio: 1; border: 34px solid #1b1b1b; border-radius: 50%; box-shadow: inset 0 0 0 9px #3b3a38, 0 28px 50px rgba(31,23,18,.2); transform: rotate(-8deg); }
.rim { display: grid; place-items: center; width: 130px; aspect-ratio: 1; border: 15px dashed #918d85; border-radius: 50%; background: #d6d2ca; box-shadow: inset 0 0 0 15px #242424; }
.rim span { display: grid; place-items: center; width: 54px; aspect-ratio: 1; border-radius: 50%; color: #fff; background: var(--red); font: 900 20px/1 "Barlow Condensed", sans-serif; }

.financing { margin: 0; padding: 30px; color: #fff; border-radius: 20px; background: #171717; box-shadow: 0 24px 60px rgba(24,18,13,.18); }
.financing-heading { display: grid; grid-template-columns: 1fr; gap: 10px; margin-bottom: 22px; }
.financing-heading h2 { max-width: 700px; margin: 8px 0 0; font: 800 clamp(2rem, 4vw, 3.2rem)/.95 "Barlow Condensed", sans-serif; text-transform: uppercase; }
.financing-heading > p { margin: 0; color: #c7c4bd; font-size: 16px; line-height: 1.55; }
.financing-prompt { padding: 18px; border: 1px dashed #5d5a55; border-radius: 13px; color: #c7c4bd; background: #222; line-height: 1.45; }
.financing-prompt strong, .financing-prompt span { display: block; }
.financing-prompt strong { margin-bottom: 3px; color: #fff; font-size: 16px; }
.financing-location { margin: 0 0 14px; color: #ff735f; font-size: 14px; font-weight: 800; }
.financing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 10px; }
.financing-grid[hidden] { display: none; }
.finance-card { --provider: var(--red); display: grid; grid-template-columns: auto 1fr; gap: 12px; min-height: 142px; padding: 16px; color: #171717; text-decoration: none; border: 1px solid #d8d4cc; border-radius: 13px; background: #fff; transition: .18s ease; }
.finance-card:hover { transform: translateY(-3px); border-color: var(--provider); box-shadow: 0 14px 28px rgba(0,0,0,.2); }
.finance-card.snap { --provider: #315bd7; }
.finance-card.acima { --provider: #6b38d4; }
.finance-card.kafene { --provider: #c22835; }
.finance-card.koalafi { --provider: #3970e6; }
.finance-card.american-first { --provider: #14724f; }
.provider-mark { display: grid; place-items: center; width: 42px; height: 42px; color: #fff; border-radius: 11px; background: var(--provider); font: 900 24px/1 "Barlow Condensed", sans-serif; }
.provider-copy { display: flex; flex-direction: column; min-width: 0; }
.provider-copy strong { font: 800 22px/1 "Barlow Condensed", sans-serif; }
.provider-copy small { margin-top: 7px; color: #77726b; font-size: 12px; line-height: 1.3; }
.apply-link { grid-column: 1 / -1; align-self: end; display: flex; align-items: center; justify-content: space-between; padding-top: 13px; color: var(--provider); border-top: 1px solid #e7e3dc; font-size: 13px; font-weight: 800; }
.financing-disclosure { margin: 17px 0 0; color: #9e9a93; font-size: 12px; line-height: 1.5; }

.estimator-shell { display: grid; grid-template-columns: minmax(0, 1fr) 350px; gap: 24px; align-items: start; padding-bottom: 88px; }
.estimator-form { display: grid; gap: 16px; }
.step-card, .summary-card { border: 1px solid var(--line); border-radius: var(--radius); background: rgba(255,253,248,.96); box-shadow: 0 12px 32px rgba(24,18,13,.06); }
.step-card { padding: 28px; }
.step-heading { display: flex; gap: 16px; margin-bottom: 23px; }
.step-heading.compact { margin-bottom: 16px; }
.step-number { color: var(--red); font: 800 17px/1 "Barlow Condensed", sans-serif; padding-top: 4px; }
.step-heading h2, .summary-card h2 { margin: 0 0 7px; font: 800 28px/1 "Barlow Condensed", sans-serif; text-transform: uppercase; letter-spacing: .01em; }
.step-heading p { margin: 0; color: var(--muted); font-size: 13px; }

.location-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.location-card { position: relative; display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; padding: 18px; cursor: pointer; border: 1px solid var(--line); border-radius: 14px; background: #faf8f3; transition: .18s ease; }
.location-card:hover { transform: translateY(-2px); border-color: #b9b3a9; }
.location-card input { position: absolute; opacity: 0; pointer-events: none; }
.radio-dot { grid-row: 1 / 5; width: 19px; height: 19px; margin-top: 1px; border: 1px solid #99958e; border-radius: 50%; box-shadow: inset 0 0 0 4px #faf8f3; }
.location-card:has(input:checked) { border-color: var(--red); background: #fff5f5; box-shadow: inset 0 0 0 1px var(--red); }
.location-card:has(input:checked) .radio-dot { border-color: var(--red); background: var(--red); }
.location-card input:focus-visible + .radio-dot { outline: 3px solid rgba(217,32,47,.18); outline-offset: 3px; }
.location-kicker { color: var(--red); font-size: 9px; font-weight: 900; letter-spacing: .16em; }
.location-card strong { font-size: 15px; }
.location-card > span:not(.radio-dot):not(.location-kicker) { color: var(--muted); font-size: 12px; line-height: 1.45; }
.location-card b { color: #282724; font-size: 12px; }

.form-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
label > span:not(.radio-dot):not(.location-kicker) { display: block; margin-bottom: 8px; color: #4d4b47; font-size: 12px; font-weight: 700; }
label em { color: #96918a; font-size: 10px; font-style: normal; font-weight: 500; margin-left: 3px; }
input, select, textarea { width: 100%; padding: 12px 13px; color: var(--ink); border: 1px solid #d5d0c7; background: #fff; border-radius: 10px; outline: none; transition: .18s; }
input::placeholder, textarea::placeholder { color: #aaa59d; }
input:focus, select:focus, textarea:focus { border-color: var(--red); box-shadow: 0 0 0 3px rgba(217,32,47,.1); }
input[aria-invalid="true"] { border-color: var(--error); }
select { appearance: none; background-image: linear-gradient(45deg, transparent 50%, #77736c 50%), linear-gradient(135deg, #77736c 50%, transparent 50%); background-position: calc(100% - 16px) 52%, calc(100% - 11px) 52%; background-size: 5px 5px; background-repeat: no-repeat; }

.service-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.service-option { position: relative; min-height: 101px; padding: 15px; cursor: pointer; border: 1px solid var(--line); border-radius: 13px; background: #faf8f3; transition: .18s ease; overflow: hidden; }
.service-option:hover { transform: translateY(-2px); border-color: #b9b3a9; }
.service-option input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.service-option:has(input:checked) { border-color: var(--red); background: #fff3f4; box-shadow: inset 0 0 0 1px var(--red); }
.service-check { position: absolute; right: 11px; top: 11px; display: grid; place-items: center; width: 18px; height: 18px; color: transparent; border: 1px solid #b8b3ab; border-radius: 5px; font-size: 11px; }
.service-option:has(input:checked) .service-check { color: #fff; border-color: var(--red); background: var(--red); }
.service-icon { display: grid; place-items: center; width: 34px; height: 34px; margin-bottom: 11px; color: var(--red); border-radius: 50%; background: #f6dee0; font-size: 17px; }
.service-name { font: 800 17px/1 "Barlow Condensed", sans-serif; text-transform: uppercase; }
.service-option input:focus-visible ~ .service-icon { outline: 3px solid rgba(217,32,47,.18); outline-offset: 3px; }
.service-details { display: grid; grid-template-columns: 2fr 1fr; gap: 12px; margin-top: 14px; padding: 16px; border: 1px solid #efd0d3; border-radius: 12px; background: #fff5f5; }
.service-details[hidden] { display: none; }
.full-width { position: relative; display: block; }
textarea { resize: vertical; min-height: 112px; line-height: 1.5; }
.character-count { position: absolute; right: 12px; bottom: 11px; padding: 3px 5px; color: #908b83; background: #fff; border-radius: 5px; font-size: 10px; }
.field-error { display: none; margin: 12px 0 0 35px; color: var(--error); font-size: 12px; }
.field-error.visible { display: block; }
.step-card.has-error { border-color: rgba(193,25,40,.5); }

.summary-card { position: sticky; top: 102px; padding: 24px; box-shadow: var(--shadow); }
.summary-topline { display: flex; justify-content: space-between; margin-bottom: 20px; color: var(--red); font-size: 10px; font-weight: 900; letter-spacing: .16em; }
#completionBadge { color: #8f8a82; letter-spacing: 0; }
.summary-empty { display: flex; gap: 11px; min-height: 136px; padding: 22px 0; color: #89847c; font-size: 13px; line-height: 1.55; }
.summary-empty > span { color: var(--red); }
.summary-group { padding: 14px 0; border-top: 1px solid var(--line); }
.summary-label { display: block; margin-bottom: 7px; color: #918c84; font-size: 9px; font-weight: 900; letter-spacing: .13em; text-transform: uppercase; }
.summary-value { color: #393733; font-size: 12px; line-height: 1.55; }
.summary-chips { display: flex; flex-wrap: wrap; gap: 5px; }
.summary-chip { padding: 5px 7px; border-radius: 6px; color: #7f1520; background: #fbe5e7; font-size: 10px; font-weight: 700; }
.summary-notice { display: flex; gap: 9px; margin: 17px 0; padding: 12px; color: #6e6962; background: #f1ede5; border-radius: 10px; font-size: 10px; line-height: 1.45; }
.summary-notice > span { display: grid; place-items: center; flex: 0 0 18px; height: 18px; color: #fff; background: #77736c; border-radius: 50%; font-weight: 800; }
.summary-notice p { margin: 0; }
.primary-action, .secondary-action { display: flex; align-items: center; justify-content: center; width: 100%; min-height: 51px; border-radius: 10px; text-decoration: none; cursor: pointer; font-weight: 800; border: 0; transition: .18s; }
.primary-action { color: #fff; background: linear-gradient(130deg, var(--red), #ef3342); box-shadow: 0 10px 24px rgba(217,32,47,.22); }
.primary-action:hover { transform: translateY(-2px); box-shadow: 0 14px 28px rgba(217,32,47,.28); }
.privacy-note { margin: 11px 0 0; color: #969088; text-align: center; font-size: 9px; }
.mobile-review { display: none; }

footer { display: flex; justify-content: space-between; width: min(1220px, 90vw); margin: 0 auto; padding: 36px 0 54px; border-top: 1px solid #d1ccc3; color: #77726b; font-size: 11px; }
footer > div { display: flex; align-items: baseline; gap: 8px; }
footer strong { color: #292824; font: 800 16px/1 "Barlow Condensed", sans-serif; }
footer span { color: var(--red); font-size: 9px; font-weight: 900; letter-spacing: .15em; }

dialog { width: min(610px, calc(100vw - 28px)); max-height: calc(100dvh - 28px); padding: 0; color: var(--ink); border: 1px solid #d1cbc2; border-top: 6px solid var(--red); border-radius: 18px; background: var(--paper); box-shadow: 0 40px 120px rgba(0,0,0,.4); overflow: auto; }
dialog::backdrop { background: rgba(10,10,10,.76); backdrop-filter: blur(7px); }
.dialog-shell { position: relative; padding: 32px; }
.dialog-close { position: absolute; right: 15px; top: 13px; width: 34px; height: 34px; cursor: pointer; color: #77726b; border: 1px solid var(--line); border-radius: 50%; background: transparent; font-size: 22px; }
.dialog-shell h2 { margin: 12px 42px 10px 0; font: 900 38px/.95 "Barlow Condensed", sans-serif; text-transform: uppercase; }
.dialog-intro { color: var(--muted); font-size: 13px; }
.review-content { margin: 24px 0; padding: 4px 18px; border: 1px solid var(--line); border-radius: 13px; background: #faf8f3; }
.dialog-actions { display: grid; grid-template-columns: 1.3fr 1fr; gap: 10px; }
.secondary-action { color: var(--ink); border: 1px solid #bcb7af; background: #fff; }
.secondary-action:hover { color: var(--red); border-color: var(--red); }
.edit-button { display: block; margin: 16px auto 0; color: #7e7972; background: transparent; border: 0; cursor: pointer; font-size: 12px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }

@media (max-width: 980px) {
  .hero { grid-template-columns: 1fr 220px; }
  .tire-ring { width: 210px; border-width: 28px; }
  .rim { width: 102px; }
  .financing-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .estimator-shell { grid-template-columns: 1fr; }
  .summary-card { display: none; position: static; }
  .mobile-review { display: flex; }
}
@media (max-width: 700px) {
  .topbar { min-height: 70px; padding: 0 16px; }
  .brand-mark { width: 48px; height: 36px; font-size: 16px; box-shadow: 4px 4px 0 #fff; }
  .brand-copy strong { font-size: 16px; }
  .brand-copy small, .call-pill { display: none; }
  .finance-pill { padding: 8px 11px; font-size: 11px; }
  main { width: min(100% - 28px, 1220px); }
  .hero { display: block; min-height: 0; padding: 50px 3px 35px; }
  .hero h1 { font-size: clamp(4.4rem, 22vw, 7rem); }
  .hero-wheel { display: none; }
  .hero-lead { font-size: 14px; }
  .financing { padding: 22px 16px; }
  .financing-heading { grid-template-columns: 1fr; gap: 12px; }
  .financing-heading > p { font-size: 14px; }
  .financing-grid { grid-template-columns: 1fr; }
  .finance-card { min-height: 126px; }
  .step-card { padding: 21px 16px; }
  .step-heading { gap: 10px; }
  .step-heading h2 { font-size: 24px; }
  .location-grid, .form-grid { grid-template-columns: 1fr; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-option { min-height: 94px; }
  .service-details { grid-template-columns: 1fr; }
  footer { flex-direction: column; gap: 10px; }
  .dialog-shell { padding: 27px 18px 22px; }
  .dialog-shell h2 { font-size: 32px; }
  .dialog-actions { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition: none !important; }
}
