:root {
  --paper: #f3eee4;
  --canvas: #fffdfa;
  --cream: #e7ddd0;
  --ink: #171411;
  --soft: #6f6860;
  --tomato: #e73428;
  --tomato-fg: #fffdfa;
  --shadow: 0 0 0 1px rgb(23 20 17 / 0.06), 0 1px 2px -1px rgb(23 20 17 / 0.06),
    0 2px 4px 0 rgb(23 20 17 / 0.04);
  --font-sans: "Figtree", ui-sans-serif, system-ui, sans-serif;
  --font-display: "Bricolage Grotesque", ui-rounded, system-ui, sans-serif;
  --ease: cubic-bezier(0.23, 1, 0.32, 1);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  min-height: 100dvh;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-sans);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
button, [role="button"] { cursor: pointer; font-family: inherit; }
a { color: inherit; }
h1, h2, h3 { text-wrap: balance; font-family: var(--font-display); letter-spacing: -0.03em; margin: 0; }
p { text-wrap: pretty; }

.wrap { width: min(72rem, calc(100% - 2rem)); margin-inline: auto; }
@media (min-width: 640px) { .wrap { width: min(72rem, calc(100% - 3rem)); } }

.skip {
  position: absolute; left: -999px; top: 0;
}
.skip:focus {
  left: 0.75rem; top: 0.75rem; z-index: 50;
  background: var(--ink); color: var(--paper);
  padding: 0.5rem 1rem; border-radius: 0.5rem;
}

header {
  position: sticky; top: 0; z-index: 40;
  background: rgb(243 238 228 / 0.96);
  border-bottom: 1px solid rgb(23 20 17 / 0.1);
}
.nav-bar {
  display: flex; align-items: center; justify-content: space-between;
  gap: 0.75rem; height: 4.25rem;
}
.logo {
  display: flex; align-items: center; gap: 0.6rem; text-decoration: none; color: var(--ink);
}
.logo-tile {
  display: flex; align-items: center; justify-content: center;
  width: 4.5rem; height: 2.75rem; border-radius: 0.75rem; background: rgb(231 221 208 / 0.85);
  padding: 0.15rem 0.25rem;
}
.logo-tile img { height: 2.1rem; width: auto; }
.logo-tile.light { background: var(--paper); }
.logo-name { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; line-height: 1; display: block; }
.logo-sub { display: block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.18em; text-transform: uppercase; color: var(--tomato); margin-top: 0.15rem; }
.nav-links { display: none; gap: 1.75rem; font-size: 0.9rem; font-weight: 600; color: rgb(23 20 17 / 0.8); }
.nav-links a { text-decoration: none; }
.nav-links a:hover { color: var(--tomato); }
.nav-actions { display: flex; align-items: center; gap: 0.5rem; }
.menu-btn {
  display: inline-flex; width: 2.75rem; height: 2.75rem; align-items: center; justify-content: center;
  border: 0; background: transparent; color: var(--ink); border-radius: 0.5rem;
}
.mobile-nav { display: none; border-top: 1px solid rgb(23 20 17 / 0.1); padding: 0.5rem 0 0.75rem; }
.mobile-nav.open { display: block; }
.mobile-nav a {
  display: flex; min-height: 2.75rem; align-items: center; padding: 0 0.75rem;
  text-decoration: none; font-weight: 500; border-radius: 0.5rem;
}
.mobile-nav a:hover { background: var(--cream); }
@media (min-width: 1024px) {
  .nav-links { display: flex; }
  .menu-btn, .mobile-nav { display: none !important; }
}

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  min-height: 2.75rem; padding: 0 1rem; border-radius: 0.75rem; border: 0;
  font-weight: 600; font-size: 0.9rem; text-decoration: none;
  box-shadow: var(--shadow); transition: opacity 150ms var(--ease), transform 150ms var(--ease);
}
.btn:active { transform: scale(0.96); }
.btn-tomato { background: var(--tomato); color: var(--tomato-fg); }
.btn-ink { background: var(--ink); color: var(--paper); }
.btn-paper { background: var(--canvas); color: var(--ink); }
.btn-tomato:hover, .btn-ink:hover { opacity: 0.9; }
.btn-lg { min-height: 3rem; padding: 0 1.25rem; font-size: 1rem; border-radius: 1rem; }
.btn-sm { min-height: 2.5rem; }

.hero { padding: 3rem 0 4rem; }
.hero-grid { display: grid; gap: 2.5rem; align-items: center; }
.chip {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--cream); border-radius: 999px; padding: 0.35rem 0.75rem;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase;
}
.chip img { height: 1.25rem; width: auto; }
.hero h1 { font-size: clamp(2rem, 5vw, 3.75rem); font-weight: 800; line-height: 1.05; margin-top: 1.25rem; }
.lede { max-width: 36rem; font-size: 1.125rem; color: var(--soft); margin-top: 1.25rem; }
.hero-ctas { display: flex; flex-direction: column; gap: 0.75rem; margin-top: 2rem; }
.fine { margin-top: 1.5rem; font-size: 0.9rem; color: var(--soft); }
.hero-art { position: relative; padding-bottom: 2rem; }
.hero-art img {
  width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 2rem;
  box-shadow: var(--shadow); outline: 1px solid rgb(23 20 17 / 0.1); outline-offset: -1px;
}
.badge-10 {
  position: absolute; left: 1rem; bottom: 0.75rem; max-width: 11rem;
  background: var(--tomato); color: var(--tomato-fg);
  padding: 0.75rem 1rem; border-radius: 1rem; transform: rotate(-6deg);
  box-shadow: var(--shadow);
}
.badge-10 strong { font-family: var(--font-display); font-size: 1.85rem; display: block; line-height: 1; }
.badge-10 span { font-size: 0.75rem; font-weight: 500; }
@media (min-width: 640px) {
  .hero-ctas { flex-direction: row; }
}
@media (min-width: 1024px) {
  .hero-grid { grid-template-columns: 1.1fr 0.9fr; }
  .hero-art img { aspect-ratio: 1; }
}

.ticker { overflow: hidden; border-block: 1px solid rgb(23 20 17 / 0.1); background: var(--cream); padding: 0.75rem 0; }
.marquee { display: flex; width: max-content; animation: slide 28s linear infinite; }
.marquee span { display: flex; gap: 2.5rem; padding: 0 1.25rem; font-size: 0.8rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgb(23 20 17 / 0.7); }
@keyframes slide { to { transform: translateX(-50%); } }

.section { padding: 4rem 0; }
.section.tint { background: rgb(231 221 208 / 0.7); }
.kicker { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: var(--tomato); margin: 0 0 0.75rem; }
.section h2 { font-size: clamp(1.75rem, 3vw, 2.25rem); font-weight: 800; max-width: 36rem; }
.muted { color: var(--soft); max-width: 36rem; margin-top: 0.75rem; }

.cards-3 { display: grid; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 768px) { .cards-3 { grid-template-columns: repeat(3, 1fr); } }
.card {
  background: var(--canvas); border-radius: 1.75rem; padding: 1.5rem; box-shadow: var(--shadow);
}
.card-top { display: flex; justify-content: space-between; align-items: center; }
.icon-box {
  width: 2.75rem; height: 2.75rem; border-radius: 1rem; background: var(--cream);
  display: flex; align-items: center; justify-content: center;
}
.step-n { font-family: var(--font-display); font-size: 1.85rem; font-weight: 800; color: var(--cream); }
.card h3 { font-size: 1.35rem; font-weight: 700; margin-top: 1.5rem; }
.card p, .card-copy { font-size: 0.9rem; color: var(--soft); margin-top: 0.5rem; }

.car-grid { display: grid; gap: 1rem; margin-top: 2.5rem; }
@media (min-width: 640px) { .car-grid { grid-template-columns: 1fr 1fr; } }
@media (min-width: 1024px) { .car-grid { grid-template-columns: 1fr 1fr 1fr; } }
.car { overflow: hidden; background: var(--canvas); border-radius: 1.75rem; box-shadow: var(--shadow); }
.car-img { position: relative; aspect-ratio: 4/3; background: var(--cream); }
.car-img img { width: 100%; height: 100%; object-fit: cover; outline: 1px solid rgb(23 20 17 / 0.1); outline-offset: -1px; }
.price-pill {
  position: absolute; top: 0.75rem; left: 0.75rem;
  background: rgb(255 253 250 / 0.95); border-radius: 999px; padding: 0.25rem 0.75rem;
  font-size: 0.75rem; font-weight: 600; box-shadow: var(--shadow);
}
.car-body { padding: 1.25rem; }
.car-head { display: flex; justify-content: space-between; gap: 0.75rem; align-items: start; }
.car-head h3 { font-size: 1.5rem; margin: 0; }
.ins { font-size: 0.75rem; font-weight: 500; color: var(--soft); }
.car-foot { display: flex; justify-content: space-between; align-items: center; gap: 0.75rem; margin-top: 1rem; }
.mpg { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); }

.split { display: grid; gap: 2.5rem; align-items: center; }
@media (min-width: 1024px) { .split { grid-template-columns: 1fr 1fr; } .find-split { grid-template-columns: 0.9fr 1.1fr; } }
.bullets { list-style: none; padding: 0; margin: 1.5rem 0 0; }
.bullets li { display: flex; gap: 0.75rem; font-size: 0.9rem; margin-bottom: 0.75rem; }
.dot { width: 0.5rem; height: 0.5rem; border-radius: 999px; background: var(--tomato); margin-top: 0.45rem; flex-shrink: 0; }

.hold {
  background: var(--ink); color: var(--paper); border-radius: 2rem; padding: 1.5rem 2rem;
}
.hold .kicker { color: rgb(255 253 250 / 0.55); }
.hold-num { font-family: var(--font-display); font-size: 3rem; font-weight: 800; line-height: 1; margin: 0.75rem 0 0.5rem; font-variant-numeric: tabular-nums; }
.hold p { color: rgb(255 253 250 / 0.7); font-size: 0.9rem; }
.hold label { display: block; margin-top: 2rem; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgb(255 253 250 / 0.55); }
input[type="range"] { width: 100%; margin-top: 0.75rem; accent-color: var(--tomato); }
.hold-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.75rem; margin-top: 1.5rem; }
.hold-mini { background: rgb(255 253 250 / 0.1); border-radius: 1rem; padding: 1rem; }
.hold-mini.tomato { background: var(--tomato); color: var(--tomato-fg); }
.hold-mini span { display: block; font-size: 0.8rem; opacity: 0.75; }
.hold-mini strong { display: block; font-family: var(--font-display); font-size: 1.25rem; margin-top: 0.25rem; font-variant-numeric: tabular-nums; }

.mascot-box {
  margin-top: 2rem; background: var(--canvas); border-radius: 1.75rem; padding: 2.5rem 1.5rem;
  box-shadow: var(--shadow); display: flex; justify-content: center;
}
.mascot-box img { width: min(20rem, 100%); }

.form-card { background: var(--canvas); border-radius: 2rem; padding: 1.25rem; box-shadow: var(--shadow); }
@media (min-width: 640px) { .form-card { padding: 2rem; } }
.steps { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 0.5rem; margin-bottom: 1.5rem; }
.steps p { margin: 0; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); }
.steps p.on { color: var(--tomato); }
.bar { height: 4px; border-radius: 999px; background: var(--cream); margin-top: 0.5rem; }
.bar.on { background: var(--tomato); }
.grid-2 { display: grid; gap: 1rem; }
@media (min-width: 640px) { .grid-2 { grid-template-columns: 1fr 1fr; } .span-2 { grid-column: 1 / -1; } }
label, legend { font-size: 0.9rem; font-weight: 500; }
input[type="text"], input[type="email"], input[type="tel"], textarea {
  width: 100%; min-height: 2.75rem; margin-top: 0.4rem; padding: 0 0.85rem;
  border: 0; border-radius: 0.75rem; background: var(--paper); color: var(--ink);
  box-shadow: var(--shadow); font: inherit; font-size: 1rem;
}
textarea { min-height: 7rem; padding: 0.75rem 0.85rem; border-radius: 1rem; resize: vertical; }
input:focus, textarea:focus { outline: 2px solid var(--ink); outline-offset: 2px; }
.chips { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-top: 0.5rem; }
.chip-btn {
  min-height: 2.75rem; padding: 0 1rem; border-radius: 999px; border: 0;
  background: var(--paper); color: var(--ink); font-weight: 500; font-size: 0.9rem;
  box-shadow: var(--shadow);
}
.chip-btn.on { background: var(--ink); color: var(--paper); }
.model-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 0.5rem; margin-top: 0.75rem; }
@media (min-width: 640px) { .model-grid { grid-template-columns: 1fr 1fr 1fr; } }
.model-btn {
  min-height: 2.75rem; border-radius: 1rem; border: 0; padding: 0.75rem;
  background: var(--paper); font-weight: 500; box-shadow: var(--shadow);
}
.model-btn.on { background: var(--ink); color: var(--paper); }
.err { color: var(--tomato); font-size: 0.85rem; margin: 0.4rem 0 0; }
.budget-row { display: flex; justify-content: space-between; align-items: end; }
.budget-row strong { font-family: var(--font-display); font-size: 1.5rem; font-variant-numeric: tabular-nums; }
.range-labels { display: flex; justify-content: space-between; font-size: 0.75rem; color: var(--soft); font-variant-numeric: tabular-nums; }
.math { display: grid; gap: 0.75rem; margin: 1.5rem 0; }
@media (min-width: 640px) { .math { grid-template-columns: 1fr 1fr 1fr; } }
.math div { background: var(--paper); border-radius: 1rem; padding: 1rem; }
.math .dark { background: var(--ink); color: var(--paper); }
.math span { display: block; font-size: 0.7rem; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; color: var(--soft); }
.math .dark span { color: rgb(255 253 250 / 0.6); }
.math strong { display: block; font-family: var(--font-display); font-size: 1.5rem; margin-top: 0.5rem; font-variant-numeric: tabular-nums; }
.check {
  display: flex; gap: 0.75rem; align-items: start; background: var(--paper);
  border-radius: 1rem; padding: 1rem; font-size: 0.9rem; cursor: pointer;
}
.check input { margin-top: 0.2rem; accent-color: var(--tomato); width: 1rem; height: 1rem; }
.form-nav { display: flex; flex-direction: column-reverse; gap: 0.75rem; margin-top: 2rem; }
@media (min-width: 640px) { .form-nav { flex-direction: row; justify-content: space-between; } }
.hidden { display: none !important; }
.ok-icon { width: 3rem; height: 3rem; border-radius: 1rem; background: var(--tomato); color: var(--tomato-fg); display: flex; align-items: center; justify-content: center; }

.faq { background: var(--canvas); border-radius: 1.75rem; box-shadow: var(--shadow); overflow: hidden; }
.faq-item { border-bottom: 1px solid rgb(23 20 17 / 0.1); padding: 0 1.25rem; }
.faq-item:last-child { border-bottom: 0; }
.faq-item button {
  width: 100%; min-height: 3.5rem; display: flex; justify-content: space-between; gap: 1rem;
  align-items: center; background: none; border: 0; text-align: left;
  font-family: var(--font-display); font-size: 1.1rem; font-weight: 600; padding: 1rem 0;
}
.faq-item p { margin: 0; padding-bottom: 1rem; font-size: 0.9rem; color: var(--soft); display: none; }
.faq-item.open p { display: block; }
.chev { transition: transform 250ms var(--ease); }
.faq-item.open .chev { transform: rotate(180deg); }

footer { background: var(--ink); color: var(--paper); margin-top: 0; }
.foot-grid { display: grid; gap: 2.5rem; padding: 3.5rem 0; }
@media (min-width: 768px) { .foot-grid { grid-template-columns: 1.3fr 1fr 1fr; } }
footer .logo { color: var(--paper); }
.foot-copy { max-width: 22rem; font-size: 0.9rem; color: rgb(255 253 250 / 0.7); }
.foot-kicker { font-size: 0.7rem; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; color: rgb(255 253 250 / 0.5); margin: 0 0 1rem; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 0.5rem; font-size: 0.9rem; }
footer a { text-decoration: none; }
footer a:hover { color: var(--tomato); }
.legal { border-top: 1px solid rgb(255 253 250 / 0.1); }
.legal p { width: min(72rem, calc(100% - 2rem)); margin: 0 auto; padding: 1.25rem 0; font-size: 0.75rem; color: rgb(255 253 250 / 0.45); }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .marquee { animation: none; }
}
