@font-face { font-family: "Overpass"; src: url("/fonts/overpass-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("/fonts/jakarta-400.woff2") format("woff2"); font-weight: 400; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("/fonts/jakarta-600.woff2") format("woff2"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("/fonts/jakarta-700.woff2") format("woff2"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Jakarta"; src: url("/fonts/jakarta-800.woff2") format("woff2"); font-weight: 800; font-display: swap; }

:root {
  --ink: #0b1a33;
  --ink-2: #33415c;
  --muted: #64718a;
  --line: #dde5f0;
  --bg: #ffffff;
  --soft: #f3f7fd;
  --blue: #1f63e8;
  --blue-dark: #164fc0;
  --blue-tint: #e9f0fe;
  --green: #12a150;
  --green-tint: #e5f6ec;
  --error: #d92d20;
  --radius: 20px;
  --shadow-card: 0 2px 4px rgba(11, 26, 51, 0.04), 0 18px 48px -12px rgba(22, 79, 192, 0.22);
  --font: "Jakarta", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
a { color: var(--blue); }
a:hover { color: var(--blue-dark); }
button { font-family: inherit; }

.wrap { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 16px; }

/* ---------- Top bar + header ---------- */
.topbar {
  background: var(--ink);
  color: #c9d3e6;
  font-size: 12px;
}
.topbar .wrap { display: flex; justify-content: flex-end; height: 30px; align-items: center; }
.topbar a { color: #fff; text-decoration: underline; text-underline-offset: 2px; }

.site-header { background: transparent; }
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.hero-page .site-header .wrap { justify-content: center; }
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--ink);
  text-decoration: none;
}
.brand svg { width: 32px; height: 32px; flex: none; }
.wordmark { font-weight: 800; font-size: 21px; letter-spacing: -0.03em; }
.wordmark b { color: var(--blue); font-weight: 800; }
/* Highway-sign logo */
.sign-logo {
  display: inline-block;
  padding: 3px;
  border-radius: 9px;
  background: #08703f;
  box-shadow: 0 2px 6px -2px rgba(8, 112, 63, 0.45);
  text-decoration: none;
  transition: transform 0.15s;
}
.sign-logo:hover { transform: translateY(-1px); }
.sign-in {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px 6px;
  border: 2px solid #fff;
  border-radius: 6px;
  color: #fff;
  font-family: "Overpass", var(--font);
  font-weight: 700;
  font-size: 20px;
  letter-spacing: 0.005em;
  line-height: 1;
}
.sign-in svg { width: 15px; height: 15px; flex: none; }
.site-footer .sign-logo { margin-bottom: 16px; box-shadow: none; }
.nav-link { font-size: 14px; font-weight: 600; color: var(--ink-2); text-decoration: none; }
.nav-link:hover { color: var(--blue); }

/* ---------- Hero ---------- */
.hero-bg {
  position: relative;
  background:
    radial-gradient(900px 420px at 15% -10%, rgba(91, 146, 255, 0.28), transparent 60%),
    radial-gradient(800px 420px at 100% 10%, rgba(73, 214, 167, 0.18), transparent 60%),
    linear-gradient(180deg, #eaf2ff 0%, #f5f9ff 55%, #ffffff 100%);
  overflow: hidden;
}
.hero { padding: 6px 0 44px; text-align: center; }
.hero h1 {
  margin: 0 auto 10px;
  max-width: 17ch;
  font-size: clamp(28px, 6.4vw, 46px);
  line-height: 1.12;
  letter-spacing: -0.035em;
  font-weight: 800;
}
.hero h1 em { font-style: normal; color: #0a8a4c; }
.sub {
  margin: 0 auto 22px;
  color: var(--ink-2);
  font-size: 16px;
  max-width: 40ch;
}
.checks {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px 16px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
  font-size: 14px;
  font-weight: 600;
  color: var(--ink-2);
}
.checks li { display: inline-flex; align-items: center; gap: 6px; }
.checks svg { width: 18px; height: 18px; flex: none; }

/* ---------- Quiz card ---------- */
.card {
  position: relative;
  max-width: 580px;
  margin: 0 auto;
  background: #fff;
  border: 1px solid rgba(221, 229, 240, 0.9);
  border-radius: var(--radius);
  box-shadow: var(--shadow-card);
  padding: 20px 18px 22px;
  text-align: left;
}
.quiz-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 28px;
  margin-bottom: 10px;
}
.quiz-top[hidden], .progress[hidden] { display: none; }
.back {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  background: none;
  border: 0;
  padding: 4px 6px 4px 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--muted);
  cursor: pointer;
}
.back:hover { color: var(--ink); }
.back[hidden] { display: none; }
.step-count { margin: 0 0 0 auto; font-size: 13px; font-weight: 600; color: var(--muted); }
.progress {
  height: 8px;
  border-radius: 999px;
  background: #edf1f7;
  overflow: hidden;
  margin-bottom: 22px;
}
.progress-bar {
  height: 100%;
  width: 20%;
  border-radius: 999px;
  background: linear-gradient(90deg, #3d7bff, #12b886);
  transition: width 0.35s ease;
}

.step { display: none; }
.step.is-active { display: block; animation: stepIn 0.28s ease; }
@keyframes stepIn { from { opacity: 0; transform: translateX(14px); } to { opacity: 1; transform: none; } }
.step h2 {
  margin: 0 0 18px;
  text-align: center;
  font-size: 22px;
  line-height: 1.25;
  letter-spacing: -0.02em;
  font-weight: 800;
  outline: none;
}
.choices { display: grid; gap: 10px; margin-bottom: 16px; }
.choices-2 { grid-template-columns: 1fr 1fr; }
.choices-3 { grid-template-columns: repeat(3, 1fr); }
.choices-age { grid-template-columns: 1fr 1fr; }

.choice {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 58px;
  padding: 14px 8px;
  border: 1.5px solid var(--line);
  border-radius: 16px;
  background: #fff;
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.15s, box-shadow 0.15s, transform 0.12s, background 0.15s;
}
.choice.tile { min-height: 132px; padding: 16px 8px 14px; }
.choice .icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--blue-tint);
}
.choice .icon svg { width: 46px; height: 46px; }
.choice .icon.wide svg { width: 56px; height: 40px; }
@media (hover: hover) {
  .choice:hover {
    border-color: var(--blue);
    box-shadow: 0 8px 20px -10px rgba(31, 99, 232, 0.45);
    transform: translateY(-2px);
  }
}
.choice:active { transform: scale(0.98); }
.choice:focus-visible { outline: none; box-shadow: 0 0 0 4px rgba(31, 99, 232, 0.25); }
.choice[aria-pressed="true"] { border-color: var(--blue); background: var(--blue-tint); }

.zip-field { position: relative; margin-bottom: 4px; }
.zip-field svg {
  position: absolute;
  left: 16px;
  top: 50%;
  width: 22px;
  height: 22px;
  transform: translateY(-50%);
  pointer-events: none;
}
input[type="text"] {
  width: 100%;
  height: 60px;
  padding: 0 16px 0 48px;
  border: 1.5px solid var(--line);
  border-radius: 14px;
  font: inherit;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: var(--ink);
  background: #fff;
}
input[type="text"]::placeholder { color: #a7b1c2; font-weight: 600; letter-spacing: 0.06em; }
input[type="text"]:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 99, 232, 0.16); }
input[aria-invalid="true"] { border-color: var(--error); }
.error { margin: 8px 0 0; color: var(--error); font-size: 14px; font-weight: 600; }

.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  height: 60px;
  margin-top: 14px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #2b6ff2, #1a58d6);
  box-shadow: 0 10px 22px -10px rgba(26, 88, 214, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  color: #fff;
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.12s, box-shadow 0.15s, filter 0.15s;
}
.btn:hover, .btn:focus-visible { color: #fff; filter: brightness(1.06); }
.btn:active { transform: translateY(1px); }

.why {
  display: flex;
  gap: 10px;
  margin: 6px 0 0;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--soft);
  font-size: 13.5px;
  color: var(--ink-2);
  line-height: 1.45;
}
.why svg { flex: none; width: 18px; height: 18px; margin-top: 1px; }
.why strong { display: block; color: var(--ink); font-size: 13.5px; }

.secure-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin: 14px 0 0;
  font-size: 13px;
  font-weight: 600;
  color: var(--muted);
}
.secure-note svg { width: 14px; height: 14px; }

/* Results */
.results-head { text-align: center; margin-bottom: 16px; }
.results-head .done {
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--green-tint);
}
.results-head .done svg { width: 28px; height: 28px; }
.results-head h2 { margin: 0; font-size: 23px; letter-spacing: -0.02em; outline: none; }
.results-head p { margin: 6px 0 0; color: var(--muted); font-size: 15px; }
.offer-list { list-style: none; margin: 0 0 14px; padding: 0; display: grid; gap: 12px; }
.offer {
  border: 1.5px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}
.offer h3 { margin: 0 0 4px; font-size: 18px; letter-spacing: -0.01em; }
.offer p { margin: 0; color: var(--muted); font-size: 15px; }
.offer .btn { height: 52px; font-size: 17px; margin-top: 12px; }
.empty {
  padding: 16px;
  border-radius: 14px;
  background: var(--blue-tint);
  color: var(--blue-dark);
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  margin-bottom: 14px;
}
#partner-listings:empty { display: none; }
#partner-listings { margin-bottom: 14px; }
.sponsored-note { font-size: 12.5px; color: var(--muted); margin: 0; text-align: center; }
.fine { margin: 12px 0 0; text-align: center; font-size: 14px; color: var(--muted); }
.linkish {
  background: none; border: 0; padding: 0;
  font: inherit; font-weight: 700; color: var(--blue);
  text-decoration: underline; cursor: pointer;
}

/* ---------- Sections ---------- */
.section { padding: 56px 0; }
.section.alt { background: var(--soft); }
.section-head { text-align: center; max-width: 620px; margin: 0 auto 30px; }
.kicker {
  display: inline-block;
  margin: 0 0 8px;
  font-size: 12.5px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
}
.section h2 {
  margin: 0;
  font-size: clamp(25px, 5vw, 34px);
  line-height: 1.15;
  letter-spacing: -0.03em;
  font-weight: 800;
}
.section-head p { margin: 10px 0 0; color: var(--muted); }

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}
.steps li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 18px;
}
.steps .num {
  flex: none;
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--blue-tint);
}
.steps .num svg { width: 28px; height: 28px; }
.steps h3 { margin: 2px 0 4px; font-size: 17px; letter-spacing: -0.01em; }
.steps p { margin: 0; color: var(--muted); font-size: 15px; }

.tips {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}
.tips li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 16px;
}
.tips li svg { flex: none; width: 22px; height: 22px; margin-top: 1px; }
.tips strong { display: block; font-size: 16px; }
.tips span { color: var(--muted); font-size: 14.5px; }
.section-cta { margin: 26px auto 0; max-width: 340px; }

.faq-list { max-width: 720px; margin: 0 auto; }
.faq details {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 0 18px;
  margin-bottom: 10px;
}
.faq summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  min-height: 60px;
  font-weight: 700;
  font-size: 16px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  flex: none;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--muted);
  border-bottom: 2px solid var(--muted);
  transform: rotate(45deg) translateY(-3px);
  transition: transform 0.2s;
}
.faq details[open] summary::after { transform: rotate(-135deg) translateY(-2px); }
.faq details p { margin: 0 0 16px; color: var(--muted); font-size: 15px; }

.disclosure {
  max-width: 820px;
  margin: 0 auto;
  font-size: 13px;
  color: var(--muted);
  line-height: 1.6;
}
.disclosure h2 { font-size: 14px; letter-spacing: 0; margin: 0 0 6px; color: var(--ink); }
.disclosure p { margin: 0; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--ink);
  color: #aab6cc;
  padding: 32px 0 40px;
  font-size: 13px;
}
.site-footer .brand { color: #fff; margin-bottom: 14px; }
.site-footer .wordmark b { color: #7fa8ff; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin: 0 0 14px;
  padding: 0;
  list-style: none;
  font-size: 14px;
}
.footer-links a { color: #fff; text-decoration: none; }
.footer-links a:hover { text-decoration: underline; }
.site-footer p { margin: 0 0 8px; max-width: 760px; }

/* ---------- Legal pages ---------- */
.legal-top { background: linear-gradient(180deg, #eaf2ff, #ffffff); }
.legal { padding: 20px 0 64px; }
.legal .wrap { max-width: 760px; }
.legal h1 { font-size: clamp(30px, 6vw, 42px); letter-spacing: -0.03em; margin: 8px 0 12px; line-height: 1.1; }
.legal h2 { font-size: 20px; margin: 32px 0 8px; letter-spacing: -0.015em; }
.legal p, .legal li { color: var(--ink-2); }
.legal ul { padding-left: 22px; }
.updated { color: var(--muted); font-size: 14px; margin-top: 0; }

/* ---------- Larger screens ---------- */
@media (min-width: 640px) {
  .card { padding: 26px 30px 28px; }
  .choice .icon { width: 84px; height: 84px; }
  .choice .icon svg { width: 54px; height: 54px; }
  .choice .icon.wide svg { width: 70px; height: 50px; }
  .choice.tile { min-height: 156px; }
  .step h2 { font-size: 25px; }
  .choices-age { grid-template-columns: repeat(3, 1fr); }
  .choices-2 .choice.tile { min-height: 150px; }
}
@media (min-width: 860px) {
  .hero { padding: 18px 0 64px; }
  .sub { font-size: 18px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 18px; }
  .steps li { flex-direction: column; padding: 24px; }
  .tips { grid-template-columns: repeat(3, 1fr); gap: 14px; }
  .section { padding: 76px 0; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}

/* ---------- Long quiz additions ---------- */
.choices-grid { grid-template-columns: repeat(4, 1fr); gap: 8px; }
.choices-grid .choice { min-height: 46px; padding: 8px 4px; font-size: 15px; border-radius: 12px; }
.choices-compact .choice { min-height: 52px; padding: 10px 8px; font-size: 15.5px; }
.choice small { display: block; margin-top: -6px; font-size: 12.5px; font-weight: 600; color: var(--muted); }
.choice.span-2 { grid-column: span 2; }
.select, .text-input {
  width: 100%;
  height: 52px;
  margin: 2px 0 6px;
  padding: 0 14px;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: #fff;
  font: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--ink);
}
.select { appearance: none; -webkit-appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--muted) 50%), linear-gradient(135deg, var(--muted) 50%, transparent 50%); background-position: calc(100% - 20px) 22px, calc(100% - 15px) 22px; background-size: 5px 5px; background-repeat: no-repeat; }
.select:focus, .text-input:focus { outline: none; border-color: var(--blue); box-shadow: 0 0 0 4px rgba(31, 99, 232, 0.16); }
input.text-input { padding-left: 14px; letter-spacing: 0; font-size: 17px; }
.loading { text-align: center; color: var(--muted); font-weight: 600; margin: 8px 0 16px; }
.loading[hidden] { display: none; }
#model-grid { max-height: 360px; overflow-y: auto; }
@media (min-width: 640px) {
  .choices-grid { grid-template-columns: repeat(6, 1fr); }
}
.choices-4 { grid-template-columns: repeat(2, 1fr); }
.choices-4 .choice.tile { min-height: 112px; }
.vehicle-tag { margin: -6px 0 6px; text-align: center; font-size: 12.5px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase; color: var(--blue); }
@media (min-width: 640px) { .choices-4 { grid-template-columns: repeat(4, 1fr); } }
.model-filter { margin: 0 0 10px; }
.choices .choice[hidden] { display: none; }
