@import url("https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700&family=Manrope:wght@500;600;700;800&display=swap");

:root {
  color-scheme: light;
  --ink: #10231f;
  --muted: #66756f;
  --cream: #f5f2e9;
  --paper: #fcfbf7;
  --green: #1c5a48;
  --green-dark: #123b31;
  --lime: #d9ec82;
  --orange: #ef895f;
  --line: rgba(16, 35, 31, 0.14);
  --shadow: 0 26px 65px rgba(0, 0, 0, 0.18), 0 5px 14px rgba(0, 0, 0, 0.09);
  --control-shadow: 0 12px 24px rgba(0, 0, 0, 0.16), 0 3px 7px rgba(0, 0, 0, 0.1);
  --icon-shadow: 0 9px 17px rgba(0, 0, 0, 0.22), 0 2px 5px rgba(0, 0, 0, 0.12);
  --page-gutter: clamp(16px, 1.5vw, 32px);
  --page-max: 1760px;
  --page-gap: clamp(32px, 4vw, 78px);
  --card-gap: clamp(12px, 1.3vw, 24px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  min-width: 320px;
  min-height: 100vh;
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: "DM Sans", sans-serif;
}
button, input, select { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { cursor: pointer; }
.hidden { display: none !important; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  height: 123px;
  margin: 0;
  padding: 0 var(--page-gutter);
  border-bottom: 1px solid var(--line);
  background: rgba(245, 242, 233, 0.92);
  backdrop-filter: blur(14px);
  transition: transform 220ms ease, opacity 220ms ease;
}
.site-header.header-hidden {
  transform: translateY(-110%);
  opacity: 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--ink);
  font-family: "Manrope", sans-serif;
  font-size: 1.58rem;
  font-weight: 800;
  letter-spacing: -0.04em;
  text-decoration: none;
}
.brand > span:last-child span { color: var(--orange); }
.brand-icon {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  overflow: hidden;
  border: 1px solid rgba(16, 35, 31, 0.15);
  border-radius: 6px;
  background: var(--paper);
  box-shadow: var(--icon-shadow);
}
.brand-icon img { width: 86%; height: 86%; object-fit: contain; transform: none; }
.header-status {
  display: flex;
  align-items: center;
  gap: 9px;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.header-tools { display: flex; gap: 12px; margin-left: 16px; }
.tool-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 63px;
  height: 63px;
  border: 1px solid var(--line);
  border-radius: 9px;
  background: var(--paper);
  color: var(--green);
  box-shadow: var(--control-shadow);
}
.tool-button svg { width: 34px; height: 34px; fill: none; stroke: currentColor; stroke-linecap: round; stroke-linejoin: round; stroke-width: 1.8; }
.dashboard-button svg { fill: currentColor; stroke: none; }
.tool-button > span { font-size: 2rem; line-height: 1; }
.tool-button b { position: absolute; top: -9px; right: -8px; display: grid; place-items: center; min-width: 28px; height: 28px; border-radius: 99px; padding: 0 7px; background: var(--orange); color: var(--ink); font-size: .8rem; }
.saved-burst { animation: savedBurst 700ms ease; }
@keyframes savedBurst {
  0% { transform: scale(1); }
  45% { transform: scale(1.22) translateY(-4px); box-shadow: 0 20px 36px rgba(0,0,0,.24); }
  100% { transform: scale(1); }
}
.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 5px rgba(0, 0, 0, 0.08), 0 3px 8px rgba(0, 0, 0, 0.18);
}

main { overflow: hidden; }
.home-view, .quiz-view, .results-view {
  width: calc(100% - (var(--page-gutter) * 2));
  margin: 0 auto;
}
.home-view {
  position: relative;
  display: grid;
  grid-template-columns: 0.88fr 1.12fr;
  gap: var(--page-gap);
  align-items: center;
  min-height: calc(100vh - 82px);
  padding: 70px 0 120px;
}
.kicker {
  margin: 0 0 16px;
  color: var(--orange);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}
h1, h2, h3, p { margin-top: 0; }
h1, h2, h3 {
  font-family: "Manrope", sans-serif;
  letter-spacing: -0.055em;
}
.hero-copy { position: relative; z-index: 2; }
.hero-copy h1 {
  max-width: 720px;
  margin-bottom: 24px;
  font-size: clamp(3.8rem, 6.6vw, 7rem);
  line-height: 0.91;
}
.hero-copy h1 em {
  color: var(--green);
  font-family: Georgia, serif;
  font-weight: 400;
}
.hero-text {
  max-width: 590px;
  margin-bottom: 31px;
  color: var(--muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

/* TEMPORARY LAUNCH QA MENU: safe to remove as one block after launch testing. */
.vehicle-cheat-menu {
  margin-top: 20px;
  padding: 18px;
  border: 1px dashed rgba(33, 86, 72, .45);
  border-radius: 18px;
  background: rgba(241, 250, 246, .92);
  box-shadow: 0 14px 36px rgba(22, 54, 45, .08);
}
.vehicle-cheat-menu h2 { margin: 2px 0 4px; font-size: 1.2rem; }
.vehicle-cheat-menu p { margin: 0 0 12px; color: var(--muted); }
.vehicle-cheat-menu label { display: block; margin: 9px 0 5px; font-size: .78rem; font-weight: 800; }
.vehicle-cheat-menu input,
.vehicle-cheat-menu select {
  width: 100%;
  min-height: 44px;
  padding: 0 12px;
  border: 1px solid rgba(25, 55, 47, .2);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  font: inherit;
}
.vehicle-cheat-actions { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
.vehicle-cheat-actions .button { white-space: nowrap; }
@media (max-width: 560px) { .vehicle-cheat-actions { grid-template-columns: 1fr; } }
/* END TEMPORARY LAUNCH QA MENU. */
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(28px, 3vw, 56px);
  min-height: 50px;
  border: 1px solid transparent;
  border-radius: 5px;
  padding: 0 21px;
  font-family: "Manrope", sans-serif;
  font-weight: 800;
  text-decoration: none;
  box-shadow: var(--control-shadow);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.button:hover { transform: translateY(-2px); box-shadow: 0 16px 31px rgba(0, 0, 0, 0.2), 0 4px 9px rgba(0, 0, 0, 0.12); }
.button-primary {
  background: var(--orange);
  color: #251c17;
  box-shadow: var(--control-shadow);
}
.button-dark { background: var(--green-dark); color: white; }
.button-ghost { border-color: var(--line); background: transparent; color: var(--ink); }
.button-large { min-height: 58px; padding: 0 25px; }
.cta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}
.research-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 58px;
  border: 1px solid rgba(28, 90, 72, 0.18);
  border-radius: 7px;
  padding: 10px 16px;
  background: rgba(252, 251, 247, 0.78);
  box-shadow: var(--control-shadow);
  backdrop-filter: blur(10px);
}
.research-pill div { display: grid; gap: 2px; }
.research-pill strong { color: var(--green); font-size: 0.79rem; }
.research-pill small { color: var(--muted); font-size: 0.64rem; font-weight: 800; letter-spacing: 0.04em; }
.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(23px, 3vw, 54px);
  margin-top: 25px;
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 600;
}
.trust-row span::before { content: "✓"; margin-right: 7px; color: var(--green); font-weight: 900; }
.requirements-card { max-width: 620px; margin-top: 22px; border: 1px solid var(--line); border-radius: 7px; background: rgba(252,251,247,.72); box-shadow: var(--control-shadow); }
.requirements-card summary { display: flex; justify-content: space-between; cursor: pointer; padding: 14px 16px; color: var(--green); font-weight: 800; list-style: none; }
.requirements-card summary::-webkit-details-marker { display: none; }
.requirements-card summary span { color: var(--muted); font-size: .68rem; letter-spacing: .08em; text-transform: uppercase; }
.requirements-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; border-top: 1px solid var(--line); padding: 16px; }
.requirements-grid label, .deal-form label, .calculator-form label { display: grid; gap: 7px; color: var(--muted); font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; }
.requirements-grid input, .requirements-grid select, .deal-form input, .calculator-form input {
  width: 100%;
  min-height: 43px;
  border: 1px solid var(--line);
  border-radius: 5px;
  padding: 0 11px;
  background: white;
  color: var(--ink);
  outline: 0;
}
.requirements-grid .check-label { display: flex; align-items: center; gap: 9px; align-self: end; min-height: 43px; }
.check-label input { width: 18px; min-height: 18px; }

.hero-stage {
  position: relative;
  aspect-ratio: 1 / 1;
  width: min(100%, clamp(390px, 44vw, 760px));
  min-height: 0;
  justify-self: end;
}
.hero-stage::before {
  content: "";
  position: absolute;
  inset: 5% -4% 0 7%;
  border-radius: 50% 42% 48% 45%;
  background: linear-gradient(145deg, var(--green), var(--green-dark));
  transform: rotate(-6deg);
  box-shadow: 0 32px 72px rgba(0, 0, 0, 0.24);
}
.hero-stage img {
  position: absolute;
  z-index: 2;
  top: 12%;
  left: 12%;
  width: 81%;
  height: auto;
  aspect-ratio: 1 / 1;
  border-radius: 28px;
  object-fit: contain;
  box-shadow: 0 29px 55px rgba(0, 0, 0, 0.28), 0 6px 14px rgba(0, 0, 0, 0.12);
  transform: rotate(2deg);
}
.hero-orbit {
  position: absolute;
  z-index: 1;
  border: 1px solid rgba(217, 236, 130, 0.3);
  border-radius: 50%;
}
.orbit-one { inset: 14% 5% 9% 13%; }
.orbit-two { inset: 25% 15% 20% 2%; transform: rotate(20deg); }
.floating-card {
  position: absolute;
  z-index: 4;
  border: 1px solid rgba(255,255,255,0.7);
  border-radius: 7px;
  background: rgba(252, 251, 247, 0.94);
  box-shadow: 0 17px 35px rgba(0, 0, 0, 0.22), 0 3px 8px rgba(0, 0, 0, 0.12);
  backdrop-filter: blur(10px);
}
.floating-match {
  top: 10%;
  right: -2%;
  display: grid;
  padding: 17px 21px;
}
.floating-match small, .floating-research small { color: var(--muted); font-size: 0.62rem; font-weight: 800; letter-spacing: 0.1em; }
.floating-match strong { color: var(--green); font-family: "Manrope"; font-size: 2rem; letter-spacing: -0.08em; }
.floating-match span { font-size: 0.76rem; font-weight: 700; }
.pulse {
  width: 11px; height: 11px; border-radius: 50%; background: var(--orange);
  box-shadow: 0 0 0 6px rgba(0, 0, 0, 0.07), 0 5px 12px rgba(0, 0, 0, 0.22);
}
.how-strip {
  position: absolute;
  right: 0;
  bottom: 32px;
  left: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.how-strip > div {
  display: grid;
  grid-template-columns: auto 1fr;
  column-gap: 13px;
  padding: 21px 28px;
  border-right: 1px solid var(--line);
}
.how-strip > div:first-child { padding-left: 0; }
.how-strip > div:last-child { border-right: 0; }
.how-strip span { grid-row: 1 / 3; color: var(--orange); font-family: "Manrope"; font-weight: 800; }
.how-strip strong { font-size: 0.83rem; }
.how-strip small { margin-top: 3px; color: var(--muted); }

.quiz-view { min-height: calc(100vh - 82px); padding: 35px 0 45px; }
.quiz-top, .progress-copy, .quiz-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.text-button { border: 0; padding: 0; background: transparent; color: var(--muted); font-weight: 700; }
.progress-copy { gap: 24px; color: var(--muted); font-size: 0.78rem; text-transform: uppercase; }
.progress-copy strong { color: var(--green); }
.progress-track { height: 4px; margin-top: 17px; background: rgba(16, 35, 31, 0.1); box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.24); }
.progress-track span { display: block; height: 100%; background: var(--orange); transition: width 260ms ease; }
.quiz-page-title { margin: 22px 0 -42px; color: var(--muted); font-size: .76rem; letter-spacing: 0; text-align: center; text-transform: uppercase; }
.question-wrap {
  display: grid;
  grid-template-columns: 130px minmax(0, 780px);
  justify-content: center;
  column-gap: 40px;
  row-gap: 12px;
  width: min(1120px, 100%);
  margin: 0 auto;
  min-height: 520px;
  padding: 62px 0 24px;
}
.question-number {
  color: rgba(28, 90, 72, 0.15);
  font-family: "Manrope";
  font-size: 6rem;
  font-weight: 800;
  letter-spacing: -0.08em;
  line-height: 0.9;
}
.question-content {
  display: contents;
}
.question-content h2 {
  grid-column: 2;
  max-width: 780px;
  margin-bottom: 13px;
  font-size: clamp(2rem, min(4.6vw, 7vh), 4.1rem);
  line-height: 1.02;
}
.question-content .kicker, .question-help { grid-column: 2; }
.question-help { margin-bottom: 4px; color: var(--muted); }
.options {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  justify-items: center;
  gap: 12px;
  margin-top: -4px;
}
.price-range-question {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  width: min(100%, 860px);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
  background: var(--paper);
  box-shadow: var(--control-shadow);
}
.option-card { width: 100%; }
.price-range-question label { display: grid; gap: 8px; color: var(--muted); font-size: .72rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.price-range-question label + label { margin-left: -1px; }
.price-range-question select { width: 100%; min-height: 50px; border: 1px solid var(--line); border-radius: 0; padding: 0 12px; background: white; color: var(--ink); }
.price-range-question label:first-child select { border-radius: 6px 0 0 6px; }
.price-range-question label:last-child select { border-radius: 0 6px 6px 0; }
.price-range-error { margin: 10px 0 0; color: #a13d24; font-size: .78rem; font-weight: 800; text-align: center; }
.option-card {
  display: grid;
  grid-template-columns: 36px 1fr 24px;
  gap: 13px;
  align-items: center;
  min-height: 92px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 15px;
  background: rgba(252, 251, 247, 0.64);
  color: var(--ink);
  text-align: left;
  box-shadow: 0 7px 15px rgba(0, 0, 0, 0.09), 0 2px 5px rgba(0, 0, 0, 0.06);
  transition: border-color 160ms, transform 160ms, background 160ms;
}
.option-card:hover { transform: translateY(-2px); border-color: rgba(28, 90, 72, 0.45); box-shadow: 0 12px 22px rgba(0, 0, 0, 0.14); }
.option-card.selected { border-color: var(--green); background: #edf2df; box-shadow: inset 0 0 0 1px var(--green), 0 10px 20px rgba(0, 0, 0, 0.14); }
.option-key {
  display: grid;
  place-items: center;
  width: 33px; height: 33px;
  border: 1px solid var(--line);
  border-radius: 4px;
  color: var(--muted);
  font-size: 0.73rem;
  font-weight: 800;
  box-shadow: 0 5px 11px rgba(0, 0, 0, 0.13);
}
.option-card > span:nth-child(2) { display: grid; gap: 5px; }
.option-card strong { font-family: "Manrope"; font-size: 0.94rem; }
.option-card small { color: var(--muted); }
.option-check {
  display: grid; place-items: center; width: 22px; height: 22px; border-radius: 50%;
  background: var(--green); color: white; opacity: 0; box-shadow: var(--icon-shadow);
}
.option-card.selected .option-check { opacity: 1; }
.condition-warning {
  grid-column: 1 / -1;
  width: 100%;
  border: 1px solid #d7a44a;
  border-left: 5px solid #b96b20;
  border-radius: 6px;
  padding: 16px 18px;
  background: #fff5de;
  color: #5d3a17;
  box-shadow: var(--control-shadow);
}
.condition-warning strong { display: block; margin-bottom: 5px; font-family: "Manrope"; }
.condition-warning p { margin: 0; line-height: 1.55; }
.quiz-action-stack {
  width: min(950px, 100%);
  margin: 18px auto 0;
  transform: none;
}
.quiz-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--line);
  padding-top: 24px;
}
.quiz-understanding {
  width: min(1120px, 100%);
  margin: 88px auto 0;
  border-top: 1px solid var(--line);
}
.quiz-understanding > section {
  padding: 58px 0;
  border-bottom: 1px solid var(--line);
}
.quiz-understanding h2,
.route-view h1,
.route-view > section > h2 {
  margin-bottom: 18px;
  font-size: clamp(2rem, 4vw, 4rem);
  line-height: 1;
}
.quiz-explainer > p:not(.kicker), .route-lead {
  max-width: 850px;
  color: var(--muted);
  font-size: 1.05rem;
  line-height: 1.75;
}
.text-link { color: var(--green); font-weight: 900; text-underline-offset: 4px; }
.quiz-answers ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  margin: 28px 0 0;
  padding: 1px;
  background: var(--line);
  list-style: none;
}
.quiz-answers li { padding: 22px; background: var(--cream); font-family: "Manrope"; font-weight: 800; }
.common-result-grid, .indexable-car-grid, .method-factor-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--card-gap);
  margin-top: 28px;
}
.common-result-grid article, .indexable-car-card, .method-factor-grid article {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 24px;
  background: var(--paper);
  box-shadow: var(--control-shadow);
}
.common-result-grid h3, .indexable-car-card h2, .method-factor-grid h3 { margin-bottom: 11px; font-size: 1.08rem; letter-spacing: 0; }
.common-result-grid a { color: var(--green); text-underline-offset: 4px; }
.common-result-grid p, .method-factor-grid p { margin-bottom: 0; color: var(--muted); line-height: 1.6; }
.faq-list { border-top: 1px solid var(--line); }
.faq-list details { border-bottom: 1px solid var(--line); }
.faq-list summary { cursor: pointer; padding: 22px 0; font-family: "Manrope"; font-weight: 800; }
.faq-list p { max-width: 850px; padding-bottom: 22px; color: var(--muted); line-height: 1.65; }
.route-view {
  width: calc(100% - (var(--page-gutter) * 2));
  margin: 0 auto;
  padding: 72px 0 30px;
}
.route-hero { max-width: 1020px; padding-bottom: 58px; }
.route-view h1 { max-width: 980px; font-size: clamp(3rem, 7vw, 7rem); }
.route-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.result-type-intro, .pros-cons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: var(--card-gap);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  padding: 38px 0;
}
.result-type-intro article + article, .pros-cons > div + div { border-left: 1px solid var(--line); padding-left: var(--card-gap); }
.result-type-intro p:last-child { margin-bottom: 0; font-size: 1rem; line-height: 1.65; }
.indexable-recommendations, .method-steps, .method-factors, .method-limits { padding: 64px 0; border-bottom: 1px solid var(--line); }
.indexable-car-card dl, .indexable-car-card dl div { display: grid; gap: 7px; }
.indexable-car-card dl { gap: 17px; margin: 0; }
.indexable-car-card dt { color: var(--orange); font-size: .68rem; font-weight: 900; letter-spacing: 0; text-transform: uppercase; }
.indexable-car-card dd { margin: 0; color: var(--muted); line-height: 1.55; }
.result-caveat { max-width: 850px; margin: 24px 0 0; color: var(--muted); font-size: .82rem; line-height: 1.6; }
.pros-cons { margin-top: 18px; }
.pros-cons h2 { font-size: 1.55rem; }
.pros-cons li { margin: 9px 0; }
.result-type-nav { display: flex; flex-wrap: wrap; gap: 10px 20px; align-items: center; padding: 40px 0; }
.result-type-nav a { color: var(--green); font-weight: 800; }
.result-type-nav a[aria-current="page"] { color: var(--ink); text-decoration: none; }
.method-steps ol { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: var(--card-gap); padding: 0; list-style: none; counter-reset: method-step; }
.method-steps li { display: grid; align-content: start; gap: 12px; border-top: 3px solid var(--orange); padding-top: 18px; counter-increment: method-step; }
.method-steps li::before { content: "0" counter(method-step); color: var(--orange); font-family: "Manrope"; font-weight: 900; }
.method-steps span, .method-limits p { color: var(--muted); line-height: 1.65; }
.method-factor-grid article { box-shadow: none; }
.ad-space {
  border: 1px dashed rgba(28, 90, 72, 0.34);
  border-radius: 8px;
  background: rgba(252, 251, 247, 0.72);
  color: var(--muted);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.08);
}
.ad-space span {
  display: inline-flex;
  width: max-content;
  border-radius: 99px;
  padding: 5px 9px;
  background: #eef0e6;
  color: var(--green);
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.ad-space strong {
  display: block;
  margin-top: 10px;
  color: var(--ink);
  font-family: "Manrope";
}
.ad-space p {
  margin: 7px 0 0;
  font-size: .78rem;
  line-height: 1.5;
}
.ad-space-banner {
  display: grid;
  grid-template-columns: auto auto 1fr;
  align-items: center;
  gap: 10px 16px;
  min-height: 92px;
  margin: 18px auto 0;
  padding: 16px 18px;
}
.ad-space-banner strong { margin-top: 0; }
.ad-space-banner p { margin: 0; }
button:disabled { cursor: not-allowed; opacity: 0.35; transform: none !important; }

.research-view {
  display: grid;
  place-items: center;
  align-content: center;
  min-height: calc(100vh - 123px);
  padding: 40px 24px;
  text-align: center;
}
.matching-icon {
  width: 118px;
  height: 118px;
  margin-bottom: 30px;
  border: 1px solid var(--line);
  border-radius: 28px;
  object-fit: cover;
  box-shadow: var(--shadow);
}
.google-handoff {
  width: min(850px, 100%);
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: clamp(24px, 5vw, 48px);
  background: var(--paper);
  box-shadow: var(--shadow);
}
.handoff-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  width: 100%;
  margin: 30px 0;
  text-align: left;
}
.handoff-steps div {
  display: grid;
  gap: 7px;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 17px;
}
.handoff-steps span { color: var(--orange); font-family: "Manrope"; font-weight: 800; }
.handoff-steps strong { font-family: "Manrope"; font-size: .88rem; }
.handoff-steps small { color: var(--muted); line-height: 1.45; }
.handoff-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 9px;
}
.import-field {
  display: grid;
  gap: 9px;
  margin: 28px 0 13px;
  color: var(--muted);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-align: left;
  text-transform: uppercase;
}
.import-field textarea {
  width: 100%;
  min-height: 190px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 15px;
  background: white;
  color: var(--ink);
  font: .82rem/1.5 ui-monospace, SFMono-Regular, Consolas, monospace;
}
.import-error {
  margin: 0 0 14px;
  border-left: 3px solid var(--orange);
  padding: 10px 13px;
  background: #fff0e8;
  color: #78452f !important;
  font-size: .8rem;
  text-align: left;
}
.research-radar { position: relative; width: 180px; height: 180px; margin-bottom: 35px; }
.radar-ring { position: absolute; inset: 0; border: 1px solid rgba(28,90,72,.22); border-radius: 50%; animation: radar 2.2s infinite ease-out; }
.radar-ring:nth-child(2) { animation-delay: .75s; }
.radar-core {
  position: absolute; inset: 50%; display: grid; place-items: center; width: 74px; height: 74px;
  border-radius: 50%; background: var(--green); color: var(--lime); font-family: "Manrope"; font-weight: 800;
  transform: translate(-50%, -50%);
}
@keyframes radar { 0% { transform: scale(.4); opacity: 1; } 100% { transform: scale(1.25); opacity: 0; } }
.research-view h2 { max-width: 800px; margin-bottom: 14px; font-size: clamp(2.3rem, 5vw, 4.4rem); }
.research-view > p:not(.kicker) { color: var(--muted); }
.research-steps { display: flex; gap: 9px; margin-top: 33px; }
.research-steps span {
  border: 1px solid var(--line); border-radius: 99px; padding: 8px 12px;
  color: var(--muted); font-size: .72rem; font-weight: 700;
  box-shadow: 0 5px 11px rgba(0, 0, 0, 0.11);
}
.research-steps span.active { border-color: var(--green); background: var(--green); color: white; }

.results-view {
  position: relative;
  --sponsor-rail-width: clamp(220px, 19vw, 300px);
  --sponsor-rail-gap: clamp(12px, 1vw, 24px);
  width: calc(100% - (var(--page-gutter) * 2) - var(--sponsor-rail-width) - var(--sponsor-rail-gap));
  margin-left: var(--page-gutter);
  margin-right: auto;
  padding: 65px 0 80px;
}
.result-heading {
  display: block;
  margin-bottom: 32px;
}
.result-title-row {
  display: flex;
  align-items: end;
  gap: clamp(22px, 2.2vw, 42px);
}
.result-heading h1 { margin: 0 0 8px; font-size: clamp(3.2rem, 7vw, 6.7rem); line-height: .9; }
.result-accuracy-notice { max-width: 920px; margin: 14px 0 0; padding-left: 12px; border-left: 3px solid var(--orange); color: var(--muted); font-size: .78rem; line-height: 1.5; }
.result-accuracy-notice strong { color: var(--ink); }
.car-meta { margin-bottom: 0; color: var(--muted); font-weight: 600; }
.match-score {
  display: grid;
  justify-items: start;
  flex: 0 0 auto;
  margin-bottom: 12px;
  border-left: 1px solid var(--line);
  padding-left: 28px;
}
.match-score strong { color: var(--green); font-family: "Manrope"; font-size: 3.1rem; letter-spacing: -.08em; }
.match-score span { color: var(--muted); font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.result-layout { display: grid; grid-template-columns: 1.45fr 1.05fr; gap: var(--card-gap); }
.match-side {
  display: grid;
  align-content: start;
  align-items: start;
}
.vehicle-card, .fit-card, .alternatives-card, .sources-card, .detail-card {
  border: 1px solid var(--line); border-radius: 7px; background: var(--paper);
  box-shadow: 0 12px 27px rgba(0, 0, 0, 0.12), 0 3px 8px rgba(0, 0, 0, 0.07);
}
.vehicle-image {
  position: relative; aspect-ratio: 21 / 9; min-height: 0; overflow: hidden; border-radius: 6px 6px 0 0;
  background: linear-gradient(140deg, #dbe3d0, #a8b8a2);
}
.vehicle-image img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.image-credit, .photo-credit, .older-photo-credit { position: absolute; z-index: 3; right: 8px; bottom: 8px; max-width: calc(100% - 16px); border-radius: 4px; padding: 4px 6px; background: rgba(252,251,247,.88); color: var(--green); font-size: .55rem; font-weight: 800; line-height: 1.2; text-decoration: none; }
.image-credit:hover, .photo-credit:hover, .older-photo-credit:hover { text-decoration: underline; }
.vehicle-image.image-fallback::after {
  content: "No verified vehicle photo available"; position: absolute; inset: 0; display: grid; place-items: center;
  color: var(--green); font-family: "Manrope"; font-weight: 800;
}
.older-photo { position: relative; aspect-ratio: 16 / 9; margin: -20px -20px 16px; overflow: hidden; background: #dbe6e0; border: 0; border-bottom: 1px solid rgba(9, 42, 35, .16); border-radius: 7px 7px 0 0; }
.older-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.older-photo.image-fallback::after { content: "No verified vehicle photo available"; position: absolute; inset: 0; display: grid; place-items: center; padding: 18px; color: var(--green); font: 800 .75rem/1.4 "Manrope"; text-align: center; }
.data-badge {
  position: absolute; z-index: 2; top: 16px; left: 16px; border-radius: 99px; padding: 8px 12px;
  background: rgba(252,251,247,.9); color: var(--green); font-size: .68rem; font-weight: 800; text-transform: uppercase;
  box-shadow: 0 7px 15px rgba(0, 0, 0, 0.17);
}
.vehicle-summary { display: grid; gap: 18px; align-items: center; padding: 24px; }
.vehicle-summary p { max-width: 760px; margin: 0; color: var(--muted); line-height: 1.65; }
.action-row { display: flex; flex-wrap: wrap; gap: 8px; }
.local-links { grid-column: 1 / -1; display: flex; flex-wrap: wrap; gap: 8px 15px; }
.local-links a { color: var(--green); font-size: .72rem; font-weight: 800; }
.fit-card { padding: 27px; }
.fit-reasons { display: grid; gap: 0; }
.fit-reasons div { display: grid; grid-template-columns: 35px 1fr; gap: 12px; padding: 17px 0; border-bottom: 1px solid var(--line); }
.fit-reasons span { color: var(--orange); font-family: "Manrope"; font-size: .74rem; font-weight: 800; }
.fit-reasons p { margin: 0; font-weight: 700; line-height: 1.45; }
.tradeoff-block { margin-top: 25px; border-radius: 6px; padding: 18px; background: #eef0e6; }
.tradeoff-block { box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08), 0 6px 13px rgba(0, 0, 0, 0.08); }
.tradeoff-block h3 { margin-bottom: 8px; font-size: .88rem; }
.tradeoff-block h4 { margin: 16px 0 8px; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; }
.tradeoff-block ul { display: grid; gap: 9px; margin: 0; padding-left: 18px; color: var(--muted); font-size: .83rem; line-height: 1.45; }
.buy-warning-copy { color: var(--muted); font-size: .82rem; line-height: 1.5; }
.affiliate-list a { color: var(--green); font-weight: 900; }
.results-right-ad-rail {
  position: absolute;
  top: 178px;
  left: calc(100% + var(--sponsor-rail-gap));
  display: grid;
  gap: clamp(16px, 1.4vw, 28px);
  width: var(--sponsor-rail-width);
}
.results-right-ad {
  display: grid;
  align-content: start;
  aspect-ratio: 1 / 4;
  min-height: 0;
  padding: 22px;
}
.results-right-ad strong { font-size: 1.1rem; line-height: 1.18; }
.sponsor-tile {
  display: none;
  align-content: start;
  gap: 6px;
  aspect-ratio: 1 / 2.35;
  width: min(100%, 220px);
  min-height: 0;
  margin: 18px 0;
  padding: 16px;
}
.sponsor-tile strong { margin-top: 3px; font-size: .98rem; line-height: 1.2; }
.sponsor-tile p { margin-top: 0; font-size: .76rem; }
.details-section { margin-top: 90px; }
.section-title { display: flex; justify-content: space-between; align-items: end; margin-bottom: 25px; }
.comparison-title { justify-content: flex-start; gap: 18px; }
.comparison-title .button { margin-bottom: 7px; }
.section-title h2 { margin-bottom: 0; font-size: clamp(2rem, 4vw, 3.7rem); }
.lower-grid h2 {
  margin-bottom: 0;
  font-size: clamp(1.65rem, 3vw, 2.65rem);
  line-height: 1.14;
  word-spacing: 0.22em;
}
.section-title > span { color: var(--muted); font-size: .73rem; font-weight: 700; }
.detail-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--card-gap); }
.detail-card { min-height: 150px; padding: 0; overflow: hidden; }
.detail-card.wide-card { grid-column: span 2; }
.detail-card summary {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 14px;
  align-items: start;
  min-height: 150px;
  padding: 16px;
  cursor: pointer;
  list-style: none;
}
.detail-card summary::-webkit-details-marker, .matching-brief summary::-webkit-details-marker { display: none; }
.detail-heading { display: grid; min-width: 0; gap: 8px; }
.detail-heading small { color: var(--muted); font-size: .72rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }
.detail-heading strong { overflow-wrap: anywhere; font-family: "Manrope"; font-size: 1rem; line-height: 1.5; }
.detail-toggle, .matching-brief summary i {
  position: relative;
  display: block;
  width: 28px;
  height: 28px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: rgba(255, 255, 255, .56);
  box-shadow: 0 5px 11px rgba(0, 0, 0, .12);
}
.detail-toggle::before, .detail-toggle::after, .matching-brief summary i::before, .matching-brief summary i::after {
  content: "";
  position: absolute;
  top: 13px;
  left: 8px;
  width: 11px;
  height: 2px;
  border-radius: 2px;
  background: currentColor;
}
.detail-toggle::after, .matching-brief summary i::after { transform: rotate(90deg); transition: transform 160ms ease; }
.detail-card[open] .detail-toggle::after, .matching-brief[open] summary i::after { transform: rotate(0); }
.detail-information { display: grid; gap: 0; border-top: 1px solid var(--line); background: rgba(255,255,255,.48); }
.statistics-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  padding: 1px;
  background: var(--line);
}
.statistics-grid div { display: grid; min-width: 0; gap: 5px; padding: 15px 17px; background: var(--paper); }
.statistics-grid small { color: var(--muted); font-size: .65rem; font-weight: 800; letter-spacing: .07em; text-transform: uppercase; }
.statistics-grid strong { overflow-wrap: anywhere; font-family: "Manrope"; font-size: .88rem; line-height: 1.35; }
.detail-information section { padding: 17px 22px; border-bottom: 1px solid var(--line); }
.detail-information section:last-child { border-bottom: 0; }
.detail-information h3 { margin-bottom: 6px; font-size: .78rem; letter-spacing: -.01em; }
.detail-information p { margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.58; }
.stat-source { display: block; border-top: 1px solid var(--line); padding: 11px 17px; background: #efeee8; color: var(--green); font-size: .7rem; font-weight: 800; text-decoration: none; }
.detail-icon {
  display: grid; place-items: center; width: 35px; height: 35px;
  border-radius: 50%; background: #edf1de; color: var(--green); font-weight: 900;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.18), 0 2px 5px rgba(0, 0, 0, 0.09);
}
.price-card { background: var(--green); color: white; }
.price-card summary {
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "icon toggle"
    "heading heading";
  align-content: start;
}
.price-card .detail-icon { grid-area: icon; }
.price-card .detail-heading { grid-area: heading; margin-top: 8px; }
.price-card .detail-toggle { grid-area: toggle; }
.price-card .detail-icon { background: rgba(255,255,255,.13); color: var(--lime); }
.price-card .detail-heading small { color: rgba(255,255,255,.65); }
.price-card .detail-heading strong {
  max-width: 100%;
  font-size: clamp(1rem, 1.55vw, 1.3rem);
  line-height: 1.3;
  text-wrap: balance;
}
.price-card .detail-information { background: rgba(255,255,255,.08); }
.price-card .detail-information p { color: rgba(255,255,255,.78); }
.price-card .detail-toggle { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.2); }
.lower-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--card-gap); margin-top: 80px; }
.alternatives-card, .sources-card { padding: 28px; }
.alternative {
  display: grid;
  grid-template-columns: 38px 1fr;
  gap: 15px;
  border-bottom: 1px solid var(--line);
  padding: 22px 8px;
  color: var(--ink);
  text-decoration: none;
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}
.alternative:hover {
  transform: translateX(4px);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.65);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}
.alternative > span { color: var(--orange); font-family: "Manrope"; font-weight: 800; }
.alternative strong { font-family: "Manrope"; font-size: 1.08rem; }
.alternative p { margin: 7px 0; color: var(--muted); line-height: 1.5; }
.alternative small { color: var(--green); font-weight: 800; }
.alternative b { display: block; margin-top: 10px; color: var(--orange); font-size: .72rem; letter-spacing: .04em; text-transform: uppercase; }
.sources-card > div { display: grid; margin-top: 23px; }
.sources-card a, .sources-card button {
  position: relative; display: grid; gap: 5px; border-top: 1px solid var(--line); padding: 15px 28px 15px 0;
  color: var(--ink); text-decoration: none;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}
.sources-card button { width: 100%; border-right: 0; border-bottom: 0; border-left: 0; background: transparent; text-align: left; }
.sources-card a:hover, .sources-card button:hover { transform: translateX(3px); background: rgba(255, 255, 255, 0.55); box-shadow: 0 7px 14px rgba(0, 0, 0, 0.09); }
.sources-card a span, .sources-card button span { color: var(--muted); font-size: .68rem; font-weight: 800; text-transform: uppercase; }
.sources-card a i, .sources-card button i { position: absolute; right: 0; top: 25px; color: var(--orange); font-style: normal; }
.matching-brief { margin-top: 20px; border-top: 1px solid var(--line); padding-top: 15px; }
.matching-brief summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  cursor: pointer;
  color: var(--green);
  font-weight: 800;
  list-style: none;
}
.brief-content { display: grid; gap: 20px; margin-top: 18px; border-radius: 7px; padding: 18px; background: #f1f0e9; box-shadow: inset 0 1px 4px rgba(0,0,0,.1); }
.brief-priorities h3 { margin-bottom: 10px; font-size: .78rem; }
.brief-priorities > div { display: flex; flex-wrap: wrap; gap: 7px; }
.brief-priorities span { border: 1px solid var(--line); border-radius: 99px; padding: 6px 9px; background: white; color: var(--green); font-size: .7rem; font-weight: 800; text-transform: capitalize; }
.brief-answers { display: grid; gap: 0; margin: 0; padding: 0; list-style: none; }
.brief-answers li { display: grid; grid-template-columns: 28px 1fr; gap: 9px; border-top: 1px solid var(--line); padding: 10px 0; }
.brief-answers li > span { color: var(--orange); font-size: .7rem; font-weight: 800; }
.brief-answers li div { display: grid; gap: 3px; }
.brief-answers small { color: var(--muted); font-size: .7rem; line-height: 1.35; }
.brief-answers strong { font-size: .82rem; }
.warning { border-left: 3px solid var(--orange); padding: 10px 13px; background: #fff0e8; color: #78452f; font-size: .8rem; line-height: 1.5; }
.reviews-section, .decision-section, .comparison-section, .older-section, .buyer-tools-section, .trust-section { margin-top: 85px; }
.review-grid, .similar-models, .older-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--card-gap);
}
.review-grid article, .similar-card, .older-card {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  background: var(--paper);
  box-shadow: 0 12px 27px rgba(0,0,0,.12), 0 3px 8px rgba(0,0,0,.07);
}
.review-grid small, .similar-card small, .older-card small { color: var(--orange); font-size: .68rem; font-weight: 900; letter-spacing: .09em; text-transform: uppercase; }
.review-grid strong, .similar-card strong, .older-card strong { display: block; margin: 8px 0; font-family: "Manrope"; }
.review-grid p, .modal-note, .modal-list, .version-summary p { color: var(--muted); font-size: .82rem; line-height: 1.55; }
.similar-models { margin-top: 18px; }
.similar-card { display: grid; gap: 16px; }
.similar-photo, .modal-photos figure {
  position: relative;
  display: grid;
  place-items: center;
  aspect-ratio: 8 / 3;
  min-height: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #ece8dc;
  color: var(--green);
  font-weight: 900;
}
.photo-credit { top: 8px; bottom: auto; }
.similar-photo img, .modal-photos img { width: 100%; height: 100%; object-fit: cover; }
.similar-actions, .older-actions { display: flex; flex-wrap: wrap; gap: 8px; }
.modal-photos { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 16px; }
.modal-photos figure { margin: 0; aspect-ratio: 16 / 5; position: relative; }
.modal-photos figcaption { position: absolute; left: 10px; bottom: 10px; border-radius: 99px; padding: 5px 9px; background: rgba(252,251,247,.88); color: var(--ink); font-size: .72rem; font-weight: 900; }
.comparison-copy { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin-top: 14px; }
.comparison-copy article { border: 1px solid var(--line); border-radius: 8px; padding: 15px; background: var(--paper); }
.comparison-copy p { color: var(--muted); font-size: .82rem; line-height: 1.5; }
.similar-card span, .older-card b { color: var(--muted); font-size: .82rem; }
.older-card {
  position: relative;
  min-height: 150px;
  text-align: left;
}
.custom-spec label { display: flex; gap: 8px; align-items: center; margin-top: 8px; color: var(--muted); font-size: .82rem; font-weight: 800; }
.version-dot {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: var(--icon-shadow);
}
.version-dot.is-significant {
  background: #d63b2f;
  animation: versionPulse 1.35s infinite;
}
@keyframes versionPulse {
  0% { box-shadow: 0 0 0 0 rgba(214,59,47,.34), var(--icon-shadow); }
  70% { box-shadow: 0 0 0 13px rgba(214,59,47,0), var(--icon-shadow); }
  100% { box-shadow: 0 0 0 0 rgba(214,59,47,0), var(--icon-shadow); }
}
.decision-grid, .buyer-tools-section { display: grid; grid-template-columns: 1fr 1fr; gap: var(--card-gap); }
.decision-card, .ownership-card, .deal-card, .trust-grid article {
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 26px;
  background: var(--paper);
  box-shadow: 0 12px 27px rgba(0,0,0,.12), 0 3px 8px rgba(0,0,0,.07);
}
.decision-card > h3, .recommendation-card h3 { font-size: 1.08rem; letter-spacing: -.03em; }
.score-factor { display: grid; grid-template-columns: 100px 1fr auto; gap: 8px 12px; align-items: center; border-top: 1px solid var(--line); padding: 12px 0; text-transform: capitalize; }
.score-factor > span { font-size: .78rem; font-weight: 800; }
.score-factor input { width: 100%; accent-color: var(--orange); }
.score-factor > strong { font-size: .75rem; }
.score-factor small { grid-column: 2 / 4; color: var(--muted); }
.constraint-checks { margin-top: 18px; border-top: 1px solid var(--line); padding-top: 14px; }
.constraint-checks h4 { margin: 0 0 9px; font-size: .75rem; text-transform: uppercase; }
.constraint-checks > div { display: grid; grid-template-columns: 25px 1fr; gap: 9px; align-items: center; padding: 7px 0; }
.constraint-checks > div > span { display: grid; place-items: center; width: 23px; height: 23px; border-radius: 50%; color: white; font-weight: 900; }
.constraint-checks .passes > span { background: var(--green); }
.constraint-checks .fails > span { background: var(--orange); color: var(--ink); }
.constraint-checks p { display: grid; gap: 2px; margin: 0; }
.constraint-checks small, .empty-note { color: var(--muted); font-size: .76rem; line-height: 1.45; }
.recommendation-card { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.recommendation-card > div { display: grid; align-content: start; }
.recommendation-card > div + div { border-left: 1px solid var(--line); padding-left: 25px; }
.recommendation-card strong { color: var(--green); font-family: "Manrope"; font-size: 1.2rem; }
.recommendation-card p { margin: 9px 0; color: var(--muted); line-height: 1.55; }
.recommendation-card small { line-height: 1.45; }
.comparison-wrap { overflow: auto; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); box-shadow: var(--shadow); }
.comparison-wrap table { width: 100%; min-width: 820px; border-collapse: collapse; }
.comparison-wrap th, .comparison-wrap td { border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); padding: 15px; text-align: left; vertical-align: top; }
.comparison-wrap thead th { background: var(--green); color: white; font-family: "Manrope"; }
.comparison-wrap tbody th { width: 145px; color: var(--muted); font-size: .72rem; text-transform: uppercase; }
.comparison-wrap td { font-size: .83rem; line-height: 1.45; }
.tool-nudge {
  margin: 16px 0;
  border-left: 3px solid var(--orange);
  padding: 11px 13px;
  background: #fff0e8;
  color: #78452f;
  font-size: .8rem;
  line-height: 1.5;
}
.save-button-icon {
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 9px;
  vertical-align: -3px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2;
}
.save-button-icon.is-saved { fill: currentColor; }
.save-pop .save-button-icon { animation: saveIconPop 680ms ease; }
@keyframes saveIconPop {
  0% { transform: translateY(0) scale(1); }
  45% { transform: translateY(-10px) scale(1.25) rotate(-8deg); }
  100% { transform: translateY(0) scale(1); }
}
.ownership-card h2, .deal-card h2 { margin-bottom: 20px; font-size: clamp(1.8rem, 3vw, 2.7rem); }
.ownership-total { display: grid; gap: 5px; margin-bottom: 20px; border-radius: 6px; padding: 18px; background: var(--green); color: white; }
.ownership-total small, .ownership-total span { color: rgba(255,255,255,.68); }
.ownership-total strong { font-family: "Manrope"; font-size: 2.2rem; }
.ownership-bars { display: grid; gap: 11px; margin-bottom: 17px; }
.ownership-bars div { display: grid; grid-template-columns: 1fr auto; gap: 7px; font-size: .76rem; }
.ownership-bars i { grid-column: 1 / 3; display: block; max-width: 100%; height: 6px; border-radius: 99px; background: var(--orange); }
.ownership-card > p:not(.kicker) { color: var(--muted); font-size: .75rem; line-height: 1.5; }
.deal-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.deal-form button { grid-column: 1 / 3; }
.deal-form .full-field { grid-column: 1 / 3; }
.deal-result { display: flex; gap: 15px; align-items: center; margin-top: 17px; border-radius: 6px; padding: 16px; background: #efeee8; color: var(--muted); line-height: 1.45; }
.deal-result p { margin: 5px 0 0; font-size: .76rem; }
.deal-grade { display: grid; place-items: center; flex: 0 0 auto; width: 58px; height: 58px; border-radius: 50%; background: var(--orange); color: var(--ink); font-family: "Manrope"; font-size: 1.7rem; font-weight: 900; box-shadow: var(--icon-shadow); }
.trust-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: var(--card-gap); }
.trust-grid article { min-height: 190px; }
.trust-grid strong { font-family: "Manrope"; }
.trust-grid p, .trust-grid li { color: var(--muted); font-size: .78rem; line-height: 1.55; }
.trust-grid ul { padding-left: 17px; }
.trust-grid a { color: var(--green); font-weight: 800; }
.drawer-backdrop {
  position: fixed;
  z-index: 90;
  inset: 0;
  background: rgba(8,18,15,.52);
  opacity: 0;
  backdrop-filter: blur(4px);
  transition: opacity 240ms ease;
}
.drawer-backdrop.is-open { opacity: 1; }
.utility-drawer {
  position: fixed;
  z-index: 100;
  top: 0;
  right: 0;
  width: min(540px, 100%);
  height: 100vh;
  overflow: auto;
  padding: 28px;
  background: var(--cream);
  box-shadow: -24px 0 60px rgba(0,0,0,.28);
  opacity: .96;
  transform: translateX(104%);
  transition: transform 260ms cubic-bezier(.2,.8,.2,1), opacity 260ms ease;
}
.utility-drawer.is-open {
  opacity: 1;
  transform: translateX(0);
}
.utility-drawer.saved-page { width: min(980px, 100%); }
.drawer-header { display: flex; justify-content: space-between; gap: 20px; align-items: start; border-bottom: 1px solid var(--line); padding-bottom: 18px; }
.drawer-header h2 { margin: 0; font-size: 2.4rem; }
.drawer-header button { width: 39px; height: 39px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); font-size: 1.4rem; box-shadow: var(--control-shadow); }
.calculator-tabs { display: flex; gap: 7px; overflow: auto; padding: 20px 0 14px; }
.calculator-tabs button { flex: 0 0 auto; border: 1px solid var(--line); border-radius: 99px; padding: 8px 11px; background: var(--paper); color: var(--muted); font-size: .72rem; font-weight: 800; }
.calculator-tabs button.active { background: var(--green); color: white; }
.calculator-form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.calculator-output { display: grid; gap: 8px; margin-top: 18px; border-radius: 7px; padding: 20px; background: var(--green); color: white; }
.calculator-output strong { font-family: "Manrope"; font-size: 1.45rem; }
.calculator-output span { color: rgba(255,255,255,.72); line-height: 1.5; }
.ad-space-calculator {
  margin-top: 18px;
  padding: 18px;
}
.drawer-intro { margin: 20px 0; color: var(--muted); }
#savedCars { display: grid; gap: 10px; }
#savedCars article { display: grid; grid-template-columns: 1fr auto auto; gap: 10px; border: 1px solid var(--line); border-radius: 7px; padding: 15px; background: var(--paper); box-shadow: var(--control-shadow); }
#savedCars article div { display: grid; gap: 4px; }
.saved-title { grid-column: 1 / -1; display: flex !important; align-items: start; justify-content: space-between; gap: 12px; }
.saved-title button.saved-open-button { white-space: nowrap; color: var(--ink); background: var(--orange); box-shadow: var(--button-shadow); }
#savedCars article span { color: var(--muted); font-size: .75rem; }
#savedCars article a { color: var(--green); font-weight: 800; }
#savedCars article button:not(.saved-open-button) { border: 0; background: transparent; color: var(--green); font-weight: 800; }
.saved-rank { display: grid; gap: 5px; color: var(--muted); font-size: .68rem; font-weight: 900; text-transform: uppercase; }
.saved-rank input { width: 70px; min-height: 34px; border: 1px solid var(--line); border-radius: 5px; padding: 0 8px; }
.saved-note { grid-column: 1 / 4; display: grid; gap: 6px; color: var(--muted); font-size: .68rem; font-weight: 900; letter-spacing: .08em; text-transform: uppercase; }
.saved-note textarea {
  min-height: 82px;
  resize: vertical;
  border: 1px solid var(--line);
  border-radius: 6px;
  padding: 10px;
  background: white;
  color: var(--ink);
  font: inherit;
  text-transform: none;
  letter-spacing: 0;
}
.modal-backdrop { position: fixed; z-index: 110; inset: 0; background: rgba(8,18,15,.56); backdrop-filter: blur(4px); }
.compare-modal {
  position: fixed;
  z-index: 120;
  top: 50%;
  left: 50%;
  width: min(880px, calc(100% - 34px));
  max-height: min(760px, calc(100vh - 34px));
  overflow: auto;
  transform: translate(-50%, -50%);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 28px;
  background: var(--cream);
  box-shadow: var(--shadow);
}
.compare-modal > button { position: absolute; top: 16px; right: 16px; width: 38px; height: 38px; border: 1px solid var(--line); border-radius: 50%; background: var(--paper); box-shadow: var(--control-shadow); font-size: 1.4rem; }
.compare-modal h2 { max-width: 720px; margin-bottom: 18px; font-size: clamp(1.8rem, 4vw, 3.2rem); }
.modal-table { overflow: auto; border: 1px solid var(--line); border-radius: 7px; background: var(--paper); }
.modal-table table { width: 100%; min-width: 620px; border-collapse: collapse; }
.modal-table th, .modal-table td { border-bottom: 1px solid var(--line); padding: 13px; text-align: left; vertical-align: top; font-size: .82rem; line-height: 1.45; }
.modal-table th { width: 150px; color: var(--muted); text-transform: uppercase; font-size: .68rem; }
.version-summary { border-radius: 8px; padding: 17px; background: var(--paper); box-shadow: inset 0 1px 4px rgba(0,0,0,.1); }
.modal-list { padding-left: 20px; }
.result-footer { display: flex; justify-content: center; gap: 10px; margin-top: 65px; border-top: 1px solid var(--line); padding-top: 28px; }
.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 420px) 1fr;
  gap: var(--card-gap);
  width: calc(100% - (var(--page-gutter) * 2));
  margin: 40px auto 0;
  border-top: 1px solid var(--line);
  padding: 24px 0 34px;
  color: var(--muted);
}
.site-footer strong { color: var(--ink); font-family: "Manrope"; }
.site-footer p { margin: 7px 0 0; font-size: .78rem; line-height: 1.5; }
.legal-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px 14px;
  align-content: start;
}
.legal-links button, .legal-links a {
  border: 0;
  padding: 0;
  background: transparent;
  color: var(--green);
  font-size: .75rem;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.legal-copy { display: grid; gap: 14px; color: var(--muted); font-size: .88rem; line-height: 1.58; }
.legal-copy h3 { margin: 8px 0 0; color: var(--ink); font-size: 1rem; }
.legal-copy p, .legal-copy ul { margin: 0; }
.legal-copy ul { padding-left: 20px; }

button:focus-visible, a:focus-visible, summary:focus-visible { outline: 3px solid rgba(239,137,95,.42); outline-offset: 3px; }
@media (min-width: 1500px) {
  :root {
    --page-max: 1920px;
    --page-gap: clamp(70px, 6vw, 120px);
    --card-gap: clamp(20px, 1.8vw, 34px);
  }
  .home-view { grid-template-columns: minmax(520px, .82fr) minmax(620px, 1.18fr); }
  .hero-copy { max-width: 760px; }
  .hero-text { max-width: 660px; }
  .question-wrap {
    grid-template-columns: 150px minmax(780px, 920px);
    width: min(1240px, 100%);
    column-gap: 64px;
  }
  .quiz-action-stack { width: min(1080px, 100%); }
  .result-layout { grid-template-columns: minmax(680px, 1.5fr) minmax(360px, .85fr); }
  .lower-grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); }
}
@media (min-width: 1900px) {
  :root {
    --page-max: 2240px;
    --page-gutter: clamp(18px, 1.25vw, 34px);
    --page-gap: clamp(110px, 7vw, 180px);
    --card-gap: clamp(28px, 2vw, 44px);
  }
  .site-header { height: 136px; }
  .home-view {
    grid-template-columns: minmax(600px, .8fr) minmax(760px, 1.2fr);
    min-height: calc(100vh - 96px);
  }
  .hero-copy { max-width: 820px; }
  .hero-text { max-width: 720px; }
  .hero-stage { width: min(100%, clamp(520px, 42vw, 860px)); }
  .how-strip { left: 0; right: 0; }
  .question-wrap {
    grid-template-columns: 170px minmax(860px, 1080px);
    width: min(1380px, 100%);
    column-gap: 78px;
  }
  .options { gap: 18px; }
  .price-range-question { gap: 22px; }
  .quiz-action-stack { width: min(1180px, 100%); }
  .result-layout { grid-template-columns: minmax(900px, 1.55fr) minmax(500px, .8fr); }
  .detail-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
@media (max-width: 1250px) {
  .results-view { width: calc(100% - (var(--page-gutter) * 2)); margin: 0 auto; }
  .results-right-ad-rail { display: none; }
  .sponsor-tile { display: grid; }
  .comparison-section {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(160px, 220px);
    gap: var(--card-gap);
    align-items: start;
  }
  .comparison-section > .section-title,
  .comparison-section > .comparison-wrap {
    grid-column: 1 / -1;
  }
  .comparison-section > .sponsor-tile {
    grid-column: 2;
    grid-row: 3;
    width: 100%;
    margin-top: 18px;
  }
  .comparison-section > .similar-models {
    grid-column: 1;
    grid-row: 3;
  }
  .deal-card > .sponsor-tile { margin-top: 12px; }
}
@media (max-width: 1000px) {
  .home-view { grid-template-columns: 1fr; padding-top: 50px; }
  .hero-copy { max-width: 780px; }
  .hero-stage { width: min(100%, 620px); justify-self: center; }
  .how-strip { position: static; grid-column: 1; }
  .results-view { width: calc(100% - (var(--page-gutter) * 2)); margin: 0 auto; }
  .result-layout, .lower-grid, .match-side { grid-template-columns: 1fr; }
  .results-right-ad-rail { display: none; position: static; width: auto; margin-top: 18px; zoom: 1; }
  .results-right-ad { min-height: 180px; }
  .detail-grid { grid-template-columns: 1fr 1fr; }
  .vehicle-summary { grid-template-columns: 1fr; }
  .action-row { flex-wrap: wrap; }
  .price-card .detail-heading strong { font-size: clamp(1.05rem, 2.8vw, 1.3rem); }
  .result-title-row { flex-wrap: wrap; align-items: start; }
  .match-score { margin-bottom: 0; }
  .decision-grid, .buyer-tools-section, .review-grid, .similar-models, .older-grid, .comparison-copy { grid-template-columns: 1fr; }
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .common-result-grid, .indexable-car-grid, .method-factor-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .method-steps ol { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 700px) {
  .home-view, .quiz-view, .results-view { width: calc(100% - 28px); }
  .home-view, .quiz-view, .results-view {
    zoom: 1;
    transform: none;
    transform-origin: initial;
  }
  .header-status { display: none; }
  .site-header { gap: 10px; padding: 0 14px; }
  .brand { gap: 6px; font-size: 1.08rem; }
  .brand-icon { width: 20px; height: 20px; }
  .header-tools { gap: 6px; margin-left: auto; }
  .tool-button { width: 48px; height: 48px; }
  .tool-button svg { width: 26px; height: 26px; }
  .tool-button b { top: -7px; right: -6px; min-width: 22px; height: 22px; padding: 0 5px; font-size: .68rem; }
  .home-view {
    justify-items: center;
    gap: 18px;
    min-height: auto;
    padding: 34px 0;
    text-align: center;
  }
  .hero-copy { display: grid; justify-items: center; }
  .hero-copy h1 { font-size: clamp(3.25rem, 17vw, 5.3rem); }
  .hero-text { max-width: 34rem; }
  .hero-stage {
    width: min(54vw, 210px);
    margin: -6px auto 4px;
    justify-self: center;
  }
  .hero-stage img { border-radius: 18px; }
  .floating-match { display: none; }
  .cta-row { justify-content: center; align-items: stretch; }
  .research-pill { flex: 1 1 190px; }
  .requirements-card { text-align: left; }
  .how-strip { grid-template-columns: 1fr; margin-top: 20px; }
  .how-strip > div, .how-strip > div:first-child { border-right: 0; border-bottom: 1px solid var(--line); padding: 17px 0; }
  .quiz-view { text-align: center; }
  .quiz-top, .progress-copy { text-align: left; }
  .question-wrap {
    justify-items: center;
    grid-template-columns: 1fr;
    gap: 8px;
    padding-top: 45px;
    text-align: center;
  }
  .question-number { font-size: 3.2rem; }
  .options { grid-template-columns: 1fr; }
  .question-content { display: grid; min-height: auto; }
  .question-content .kicker, .question-content h2, .question-help, .options { grid-column: auto; }
  .question-content h2 { font-size: clamp(1.9rem, 10vw, 2.55rem); }
  .quiz-action-stack { position: sticky; bottom: 0; z-index: 20; margin-top: 0; padding: 12px 0 10px; background: var(--cream); transform: translateY(-10px); }
  .quiz-understanding { margin-top: 52px; text-align: left; }
  .quiz-understanding > section { padding: 42px 0; }
  .quiz-answers ul, .common-result-grid, .indexable-car-grid, .method-factor-grid, .method-steps ol { grid-template-columns: 1fr; }
  .route-view { width: calc(100% - 28px); padding-top: 46px; text-align: center; }
  .route-actions { display: grid; }
  .result-type-intro, .pros-cons { grid-template-columns: 1fr; text-align: left; }
  .result-type-intro article + article, .pros-cons > div + div { border-top: 1px solid var(--line); border-left: 0; padding-top: 28px; padding-left: 0; }
  .indexable-car-card, .method-factor-grid article, .method-steps li, .method-limits { text-align: left; }
  .result-type-nav { justify-content: center; }
  .ad-space-banner { grid-template-columns: 1fr; }
  .research-steps { flex-direction: column; }
  .handoff-steps { grid-template-columns: 1fr; }
  .results-view {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    width: calc(100% - 28px);
    margin: 0 auto;
    text-align: center;
  }
  .result-heading { align-items: center; order: 1; }
  .result-title-row { justify-content: center; }
  .match-score { padding-left: 18px; }
  .result-layout { order: 2; text-align: center; }
  .vehicle-summary { justify-items: center; }
  .local-links, .action-row { justify-content: center; }
  .fit-card, .tradeoff-block { text-align: left; }
  .results-right-ad-rail { display: none; }
  .results-right-ad {
    width: min(100%, 420px);
    margin: 22px auto 0;
    aspect-ratio: 6 / 1;
    min-height: 0;
    text-align: left;
  }
  .results-right-ad:nth-of-type(1) { order: 3; }
  .details-section { order: 4; }
  .results-right-ad:nth-of-type(2) { order: 5; }
  .lower-grid { order: 6; }
  .reviews-section { order: 7; }
  .decision-section { order: 8; }
  .comparison-section { order: 9; }
  .results-right-ad:nth-of-type(3) { order: 10; }
  .older-section { order: 11; }
  .buyer-tools-section { order: 12; }
  .trust-section { order: 13; }
  .result-footer { order: 14; }
  .vehicle-image { aspect-ratio: 16 / 7; min-height: 0; }
  .action-row { display: grid; }
  .detail-grid { grid-template-columns: 1fr; }
  .detail-card.wide-card { grid-column: auto; }
  .statistics-grid { grid-template-columns: 1fr; }
  .price-card summary { min-height: 160px; }
  .price-card .detail-heading strong { font-size: clamp(1.1rem, 5vw, 1.35rem); }
  .section-title { align-items: start; gap: 15px; }
  .result-footer { flex-direction: column; }
  .site-footer {
    grid-template-columns: 1fr;
    width: calc(100% - 28px);
    text-align: center;
  }
  .legal-links { justify-content: center; }
  .requirements-grid, .recommendation-card, .deal-form, .calculator-form, .trust-grid, .price-range-question { grid-template-columns: 1fr; }
  .price-range-question label + label { margin-top: -1px; margin-left: 0; }
  .price-range-question label:first-child select { border-radius: 6px 6px 0 0; }
  .price-range-question label:last-child select { border-radius: 0 0 6px 6px; }
  .recommendation-card > div + div { border-top: 1px solid var(--line); border-left: 0; padding-top: 20px; padding-left: 0; }
  .deal-form button { grid-column: auto; }
  .deal-form .full-field { grid-column: auto; }
  .utility-drawer { padding: 20px; }
}
@media (prefers-reduced-motion: reduce) {
  .utility-drawer, .drawer-backdrop {
    transition: none;
  }
}
