@font-face { font-family: "Manrope"; src: url("fonts/manrope.woff2") format("woff2"); font-weight: 200 800; font-display: swap; }
:root {
  --ink: #0e1116; --ink-2: #3b4350; --muted: #6b7380; --line: #e3e6ea; --paper: #ffffff; --soft: #f4f6f7;
  --dark: #0b0d12; --dark-2: #151922; --accent: #2ccfa7; --accent-ink: #062b22; --wa: #1fa855;
  --r: 14px; --font: "Manrope", "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body { margin: 0; font: 400 16px/1.55 var(--font); color: var(--ink); background: var(--paper); -webkit-font-smoothing: antialiased; }
img { display: block; max-width: 100%; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 800; letter-spacing: -0.02em; line-height: 1.08; }
h2 { font-size: clamp(28px, 3.6vw, 44px); }
h3 { font-size: 18px; letter-spacing: -0.01em; }
p { margin: 0; }
.wrap { width: min(1240px, 100% - 32px); margin-inline: auto; }
.sr, .skip:not(:focus) { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip:focus { position: fixed; z-index: 100; top: 8px; left: 8px; padding: 10px 14px; background: var(--accent); color: var(--accent-ink); border-radius: 8px; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.eyebrow { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; text-transform: uppercase; color: var(--accent); margin-bottom: 12px; }
.lead { font-size: clamp(16px, 1.4vw, 18px); color: var(--ink-2); max-width: 56ch; margin-top: 14px; }
.fine { font-size: 12.5px; color: var(--muted); margin-top: 18px; max-width: 90ch; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: 999px; border: 1.5px solid transparent; font: 700 15px/1 var(--font); text-decoration: none; cursor: pointer; transition: transform .15s, background .15s, color .15s, border-color .15s; white-space: nowrap; }
.btn:active { transform: translateY(1px); }
.btn-accent { background: var(--accent); color: var(--accent-ink); }
.btn-accent:hover { background: #22b893; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #262c36; }
.btn-ghost { background: transparent; border-color: var(--line); color: var(--ink); }
.btn-ghost:hover { border-color: var(--ink); }
.btn-line { background: transparent; border-color: rgba(255, 255, 255, .28); color: #fff; }
.btn-line:hover { border-color: #fff; }
.btn-wa { background: var(--wa); color: #fff; }
.btn-wa:hover { background: #17924a; }

.demo-ribbon { display: flex; justify-content: center; align-items: center; gap: 14px; flex-wrap: wrap; padding: 7px 16px; background: var(--accent); color: var(--accent-ink); font-size: 13px; font-weight: 600; }
.demo-ribbon button { border: 0; background: var(--accent-ink); color: #fff; font: 700 12.5px var(--font); padding: 5px 12px; border-radius: 999px; cursor: pointer; }

.top { position: sticky; top: 0; z-index: 30; background: rgba(11, 13, 18, .92); backdrop-filter: blur(10px); color: #fff; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.top-in { display: flex; align-items: center; gap: 24px; min-height: 68px; }
.brand img { height: 34px; width: auto; background: #fff; padding: 4px 8px; border-radius: 8px; }
.nav { display: flex; gap: 26px; margin-left: auto; }
.nav a { text-decoration: none; font-weight: 600; font-size: 15px; color: rgba(255, 255, 255, .78); }
.nav a:hover { color: #fff; }
.top-cta { display: flex; gap: 10px; }
.top-cta .btn { min-height: 40px; padding: 0 16px; font-size: 14px; }

.hero { position: relative; overflow: hidden; background: var(--dark); color: #fff; isolation: isolate; }
.hero-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .42; z-index: -2; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, rgba(11, 13, 18, .96) 0%, rgba(11, 13, 18, .8) 45%, rgba(11, 13, 18, .35) 100%), linear-gradient(0deg, rgba(11, 13, 18, .9), transparent 40%); }
.hero-in { display: grid; grid-template-columns: 1.1fr .9fr; gap: 40px; align-items: center; padding: clamp(48px, 7vw, 96px) 0 clamp(44px, 6vw, 80px); }
.hero .eyebrow { color: var(--accent); }
.hero h1 { font-size: clamp(40px, 6.2vw, 80px); }
.hero h1 .count { color: var(--accent); }
.hero .lead { color: rgba(255, 255, 255, .78); }
.quick { display: grid; grid-template-columns: 1fr 1fr auto; gap: 10px; margin-top: 28px; padding: 10px; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .12); border-radius: 18px; max-width: 640px; }
.quick label { display: grid; gap: 4px; padding: 6px 10px; }
.quick span { font-size: 12px; font-weight: 600; color: rgba(255, 255, 255, .6); }
.quick select { appearance: none; border: 0; background: transparent; color: #fff; font: 700 16px var(--font); padding: 2px 0; cursor: pointer; }
.quick select option { color: var(--ink); }
.quick .btn { align-self: stretch; min-height: 54px; border-radius: 12px; }
.hero-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 22px 0 0; font-size: 14px; color: rgba(255, 255, 255, .6); }
.hero-facts b { color: #fff; font-weight: 700; margin-right: 4px; }
.hero-cars { position: relative; height: 430px; }
.hc { position: absolute; margin: 0; width: 64%; border-radius: 16px; overflow: hidden; background: var(--dark-2); box-shadow: 0 30px 60px rgba(0, 0, 0, .45); border: 1px solid rgba(255, 255, 255, .1); }
.hc img { width: 100%; aspect-ratio: 4/3; object-fit: cover; }
.hc figcaption { display: flex; justify-content: space-between; gap: 10px; padding: 10px 14px; font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, .78); }
.hc figcaption b { color: var(--accent); }
.hc-0 { right: 0; top: 0; z-index: 3; }
.hc-1 { left: 0; top: 90px; z-index: 2; transform: rotate(-3deg); opacity: .9; }
.hc-2 { right: 8%; bottom: 0; z-index: 1; width: 52%; transform: rotate(2deg); opacity: .75; }

/* offer of the week: intro film, then a looping background with the offer card on the right */
.drive { position: relative; height: calc(100svh - 104px); min-height: 620px; max-height: 980px; overflow: hidden; background: #000; color: #fff; isolation: isolate; }
.drive-film, .drive-loop { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.drive-loop { opacity: 0; transition: opacity .9s ease; }
.drive-on .drive-loop { opacity: 1; }
.drive-shade { position: absolute; inset: 0; z-index: 1; opacity: 0; transition: opacity .7s ease; background: linear-gradient(to left, rgba(8, 10, 14, .92) 0%, rgba(8, 10, 14, .8) 30%, rgba(8, 10, 14, 0) 60%), linear-gradient(0deg, rgba(8, 10, 14, .55), rgba(8, 10, 14, 0) 30%); }
.drive-on .drive-shade { opacity: 1; }
.drive-card { position: absolute; z-index: 2; right: max(16px, calc((100% - 1240px) / 2)); top: 50%; width: min(420px, 38vw); transform: translateY(-46%); opacity: 0; visibility: hidden; transition: opacity .7s ease .25s, transform .7s ease .25s, visibility 0s .9s; }
.drive-on .drive-card { opacity: 1; visibility: visible; transform: translateY(-50%); transition-delay: .25s, .25s, 0s; }
.drive-card .eyebrow { margin-bottom: 10px; }
.drive-title { font-size: clamp(34px, 3.6vw, 54px); line-height: 1; }
.drive-trim { margin-top: 10px; color: rgba(255, 255, 255, .74); font-size: 15px; }
.mode--dark { margin-top: 22px; background: rgba(255, 255, 255, .08); border-color: rgba(255, 255, 255, .2); }
.mode--dark button { color: rgba(255, 255, 255, .78); }
.mode--dark button[aria-pressed="true"] { background: #fff; color: var(--ink); }
.show-price, body[data-price="price"] .show-rate { display: none; }
body[data-price="price"] .show-price { display: block; }
.drive-from { margin-top: 18px; font-size: 14px; color: rgba(255, 255, 255, .72); }
.drive-price { margin-top: 2px; font-size: clamp(40px, 4vw, 58px); font-weight: 800; letter-spacing: -0.02em; line-height: 1.05; }
.drive-price small { font-size: 17px; font-weight: 600; color: rgba(255, 255, 255, .72); letter-spacing: 0; }
.drive-full { margin-top: 6px; font-size: 15px; color: rgba(255, 255, 255, .84); }
.drive-full b { color: #fff; }
.drive-facts { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 18px; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .16); }
.drive-facts dt { font-size: 12px; color: rgba(255, 255, 255, .6); }
.drive-facts dd { margin: 3px 0 0; font-weight: 700; font-size: 15px; }
.drive-feats { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 14px 0 0; }
.drive-feats li { font-size: 12.5px; font-weight: 600; padding: 4px 9px; border-radius: 999px; background: rgba(255, 255, 255, .1); color: rgba(255, 255, 255, .88); }
.drive-actions { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }
.drive-note { margin-top: 12px; font-size: 11.5px; line-height: 1.45; color: rgba(255, 255, 255, .55); }
.intro-skip, .drive-pause { position: absolute; z-index: 3; bottom: 22px; min-height: 40px; padding: 0 16px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .35); background: rgba(0, 0, 0, .45); color: #fff; font: 700 13px var(--font); cursor: pointer; }
.intro-skip { right: 22px; }
.drive-pause { left: max(16px, calc((100% - 1240px) / 2)); opacity: 0; visibility: hidden; }
.drive-on .drive-pause { opacity: 1; visibility: visible; }
body:not(.intro-playing) .intro-skip { display: none; }
.intro-playing .ai-open, .intro-playing .bar { opacity: 0; pointer-events: none; }
.strip { background: var(--dark); color: #fff; border-top: 1px solid rgba(255, 255, 255, .08); }
.strip-in { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 18px 32px; padding: 22px 0; }
.strip .quick { margin-top: 0; flex: 1 1 520px; }
.strip-facts { display: flex; flex-wrap: wrap; gap: 8px 22px; list-style: none; padding: 0; margin: 0; font-size: 14px; color: rgba(255, 255, 255, .62); }
.strip-facts b { color: #fff; margin-right: 4px; }
.dlg.dlg-dark { background: var(--dark); color: #fff; width: min(620px, 100% - 24px); }
.dlg-dark .dlg-x button { background: rgba(255, 255, 255, .1); border-color: rgba(255, 255, 255, .2); color: #fff; }
.dlg-dark .dlg-lead { margin: 10px 0 18px; color: rgba(255, 255, 255, .72); }
.dlg-dark .calc { padding: 0; border: 0; background: none; }
.dlg-dark .fine { grid-column: 1 / -1; color: rgba(255, 255, 255, .5); margin-top: 4px; }
@media (max-width: 860px) {
  .drive { height: auto; min-height: 0; max-height: none; padding-top: 100vw; }
  .intro-playing .drive { height: calc(100svh - 96px); padding-top: 0; }
  .drive-film, .drive-loop { height: 100vw; bottom: auto; object-position: 50% 34%; }
  .intro-playing .drive-film { height: 100%; object-position: 50% 50%; }
  .drive-shade { background: linear-gradient(rgba(8, 10, 14, 0) 60vw, var(--dark) 100vw); }
  .drive-card { position: relative; right: auto; top: auto; width: auto; transform: none; padding: 0 16px 36px; }
  .drive-on .drive-card { transform: none; }
  .intro-playing .drive-card { display: none; }
  .drive-pause { top: calc(100vw - 56px); bottom: auto; left: auto; right: 16px; }
  /* landscape phone videos (e.g. a driving clip): a 16:9 band on top, shown whole during the intro */
  .drive--wide { padding-top: 62vw; }
  .drive--wide .drive-film, .drive--wide .drive-loop { height: 62vw; object-position: 50% 50%; }
  .intro-playing .drive--wide .drive-film { height: 100%; object-fit: contain; }
  .drive--wide .drive-shade { background: linear-gradient(rgba(8, 10, 14, 0) 40vw, var(--dark) 62vw); }
  .drive--wide .drive-pause { top: calc(62vw - 56px); }
}
@media (min-width: 861px) and (max-height: 860px) {
  .drive-title { font-size: clamp(30px, 3vw, 42px); }
  .mode--dark { margin-top: 14px; }
  .drive-from { margin-top: 10px; }
  .drive-price { font-size: clamp(34px, 3.2vw, 46px); }
  .drive-facts { grid-template-columns: repeat(4, auto); gap: 8px 14px; margin-top: 12px; padding-top: 12px; }
  .drive-feats { display: none; }
  .drive-actions { margin-top: 14px; }
  .drive-actions .btn { min-height: 42px; }
}
@media (prefers-reduced-motion: reduce) { .drive-loop, .drive-card, .drive-shade { transition: none; } }

.section { padding: clamp(56px, 7vw, 96px) 0; }
.stock { background: var(--soft); }
.st-head { display: flex; justify-content: space-between; align-items: end; gap: 20px; flex-wrap: wrap; }
.mode { display: inline-flex; padding: 4px; background: #fff; border: 1px solid var(--line); border-radius: 999px; }
.mode button { border: 0; background: transparent; font: 700 14px var(--font); padding: 9px 16px; border-radius: 999px; cursor: pointer; color: var(--ink-2); }
.mode button[aria-pressed="true"] { background: var(--ink); color: #fff; }
.filters { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 10px; margin-top: 26px; padding: 14px; background: #fff; border: 1px solid var(--line); border-radius: var(--r); }
.f { display: grid; gap: 5px; min-width: 0; }
.f span { font-size: 12.5px; font-weight: 700; color: var(--ink-2); }
.f output { font-weight: 800; color: var(--ink); }
.f select { width: 100%; min-width: 0; height: 42px; padding: 0 10px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: 600 15px var(--font); color: var(--ink); }
.f input[type="range"] { width: 100%; accent-color: var(--accent); height: 42px; }
.f-reset { align-self: end; min-height: 42px; }
.st-count { margin-top: 18px; font-weight: 600; color: var(--ink-2); }
.st-count b { color: var(--ink); }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(270px, 1fr)); gap: 18px; margin-top: 14px; }
.card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; transition: box-shadow .2s, transform .2s; }
.card:hover { box-shadow: 0 18px 40px rgba(14, 17, 22, .1); transform: translateY(-2px); }
.card-img { position: relative; aspect-ratio: 4/3; background: #e9ecef; }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.card-img .pill { position: absolute; left: 10px; top: 10px; padding: 5px 10px; border-radius: 999px; background: rgba(14, 17, 22, .82); color: #fff; font-size: 12px; font-weight: 700; }
.card-body { display: flex; flex-direction: column; gap: 8px; padding: 14px 16px 16px; flex: 1; }
.card h3 { font-size: 17px; }
.card .ver { font-size: 13px; color: var(--muted); display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.facts { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; padding: 0; margin: 2px 0 0; }
.facts li { font-size: 12.5px; font-weight: 600; color: var(--ink-2); background: var(--soft); padding: 4px 8px; border-radius: 6px; }
.price { display: flex; align-items: baseline; justify-content: space-between; gap: 8px; margin-top: auto; padding-top: 8px; }
.price b { font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.price small { font-size: 13px; color: var(--muted); font-weight: 600; text-align: right; }
.env { font-size: 11.5px; color: var(--muted); }
.card-actions { display: grid; grid-template-columns: 1fr auto; gap: 8px; margin-top: 6px; }
.card-actions .btn { min-height: 42px; font-size: 14px; padding: 0 14px; }
.empty { grid-column: 1 / -1; padding: 30px; text-align: center; background: #fff; border-radius: var(--r); border: 1px dashed var(--line); }
.more { display: flex; justify-content: center; margin-top: 26px; }

.fin { background: var(--dark); color: #fff; }
.fin .lead { color: rgba(255, 255, 255, .72); }
.fin-in { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; }
.calc { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; padding: 22px; background: var(--dark-2); border: 1px solid rgba(255, 255, 255, .1); border-radius: 18px; }
.calc label { display: grid; gap: 6px; min-width: 0; }
.calc span { font-size: 12.5px; font-weight: 700; color: rgba(255, 255, 255, .6); }
.calc input, .calc select { width: 100%; min-width: 0; height: 46px; padding: 0 12px; border-radius: 10px; border: 1px solid rgba(255, 255, 255, .16); background: #0f1219; color: #fff; font: 700 16px var(--font); }
.calc-out { grid-column: 1 / -1; padding: 14px 0 4px; font-size: 15px; color: rgba(255, 255, 255, .7); }
.calc-out b { font-size: 40px; color: var(--accent); letter-spacing: -0.02em; }
.calc .btn { grid-column: 1 / -1; }

.sv-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 28px; }
.sv { padding: 22px; border: 1px solid var(--line); border-radius: var(--r); background: #fff; }
.sv h3::before { content: ""; display: block; width: 28px; height: 4px; border-radius: 4px; background: var(--accent); margin-bottom: 14px; }
.sv p { margin-top: 8px; color: var(--ink-2); font-size: 15px; }

.trade { background: var(--soft); }
.trade-in, .ct-in { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: start; }
.form { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form label { display: grid; gap: 6px; min-width: 0; }
.form label > span { font-size: 13px; font-weight: 700; color: var(--ink-2); }
.form input, .form textarea { width: 100%; min-width: 0; padding: 12px; border: 1px solid var(--line); border-radius: 10px; background: #fff; font: 500 16px var(--font); color: var(--ink); }
.form input[type="file"] { padding: 9px; }
.form .span2 { grid-column: 1 / -1; }
.form .check { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--ink-2); }
.form .check input { width: 18px; height: 18px; margin-top: 2px; flex: none; accent-color: var(--accent); }
.form .is-invalid { border-color: #d64545; }
.status { min-height: 1.4em; font-size: 14.5px; font-weight: 600; color: var(--ink-2); }
.status.ok { color: #0b7a5f; }

.addr { margin-top: 18px; font-size: 18px; font-weight: 600; }
.ct-btns { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 22px; }
.hours { width: 100%; border-collapse: collapse; background: #fff; border: 1px solid var(--line); border-radius: var(--r); overflow: hidden; }
.hours caption { text-align: left; font-weight: 800; font-size: 18px; padding-bottom: 12px; }
.hours th, .hours td { padding: 12px 16px; border-bottom: 1px solid var(--line); text-align: left; font-size: 15px; }
.hours th { font-weight: 600; color: var(--ink-2); }
.hours tr.today th, .hours tr.today td { background: #e8faf5; font-weight: 800; color: var(--ink); }

.foot { background: var(--dark); color: rgba(255, 255, 255, .6); padding: 32px 0 96px; font-size: 14px; }
.foot-in { display: grid; gap: 6px; }
.foot .fine { color: rgba(255, 255, 255, .45); margin-top: 8px; }

.dlg { width: min(560px, 100% - 24px); border: 0; border-radius: 18px; padding: 26px; color: var(--ink); box-shadow: 0 40px 80px rgba(0, 0, 0, .35); }
.dlg::backdrop { background: rgba(11, 13, 18, .6); backdrop-filter: blur(3px); }
.dlg h2 { font-size: 26px; padding-right: 36px; }
.dlg-x { position: absolute; top: 14px; right: 14px; margin: 0; }
.dlg-x button { width: 36px; height: 36px; border-radius: 50%; border: 1px solid var(--line); background: #fff; font-size: 22px; line-height: 1; cursor: pointer; }
.iq-car { margin: 8px 0 16px; font-weight: 700; color: var(--ink-2); }
.iq-type { display: flex; flex-wrap: wrap; gap: 8px 16px; border: 0; padding: 0; margin: 0; font-size: 14.5px; }
.iq-type legend { font-size: 13px; font-weight: 700; color: var(--ink-2); margin-bottom: 6px; }
.iq-type label { display: flex; gap: 6px; align-items: center; }
.iq-type input { accent-color: var(--accent); }
.ad-list { padding-left: 20px; margin: 16px 0 0; display: grid; gap: 12px; color: var(--ink-2); }
.ad-list b { color: var(--ink); }

.ai-open { position: fixed; right: 20px; bottom: 20px; z-index: 40; display: flex; align-items: center; gap: 10px; padding: 14px 20px; border: 0; border-radius: 999px; background: var(--ink); color: #fff; font: 800 15px var(--font); cursor: pointer; box-shadow: 0 16px 40px rgba(0, 0, 0, .3); }
.ai-dot { width: 10px; height: 10px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 0 0 rgba(44, 207, 167, .6); animation: pulse 2s infinite; }
@keyframes pulse { 70% { box-shadow: 0 0 0 10px rgba(44, 207, 167, 0); } 100% { box-shadow: 0 0 0 0 rgba(44, 207, 167, 0); } }
.ai-panel { position: fixed; right: 20px; bottom: 84px; z-index: 41; width: min(400px, 100% - 24px); height: min(620px, 100vh - 170px); display: flex; flex-direction: column; background: #fff; border-radius: 18px; overflow: hidden; box-shadow: 0 30px 80px rgba(0, 0, 0, .35); }
.ai-panel[hidden] { display: none; }
.ai-head { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; background: var(--ink); color: #fff; }
.ai-head b { display: block; font-size: 16px; }
.ai-head small { display: block; margin-top: 2px; font-size: 12px; color: rgba(255, 255, 255, .7); }
.ai-badge { display: inline-block; margin-left: 6px; padding: 2px 7px; border-radius: 999px; background: var(--accent); color: var(--accent-ink); font-size: 11px; font-weight: 800; vertical-align: 2px; }
.ai-x { width: 34px; height: 34px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .12); color: #fff; font-size: 20px; cursor: pointer; }
.ai-note { padding: 9px 16px; background: #eefbf7; color: #24433b; font-size: 12.5px; line-height: 1.45; border-bottom: 1px solid #d5f3ea; }
.ai-note a { font-weight: 800; }
.ai-log { flex: 1; overflow-y: auto; padding: 14px; display: flex; flex-direction: column; gap: 10px; background: var(--soft); }
.msg { max-width: 88%; padding: 10px 13px; border-radius: 14px; font-size: 14.5px; line-height: 1.45; white-space: pre-line; }
.msg-bot { align-self: flex-start; background: #fff; border: 1px solid var(--line); border-bottom-left-radius: 4px; }
.msg-me { align-self: flex-end; background: var(--ink); color: #fff; border-bottom-right-radius: 4px; }
.mini { display: grid; grid-template-columns: 74px 1fr; gap: 10px; align-items: center; margin-top: 8px; padding: 6px; border: 1px solid var(--line); border-radius: 10px; background: var(--soft); white-space: normal; }
.mini img { width: 74px; height: 56px; object-fit: cover; border-radius: 6px; }
.mini b { display: block; font-size: 13.5px; }
.mini span { font-size: 12.5px; color: var(--muted); }
.mini button, .msg .act { border: 0; background: none; padding: 0; color: #0b7a5f; font: 800 13px var(--font); cursor: pointer; text-decoration: underline; }
.acts { display: flex; flex-wrap: wrap; gap: 6px 14px; margin-top: 8px; }
.ai-chips { display: flex; gap: 6px; overflow-x: auto; padding: 10px 12px 0; background: #fff; }
.ai-chips button { flex: none; border: 1px solid var(--line); background: #fff; border-radius: 999px; padding: 7px 12px; font: 700 13px var(--font); cursor: pointer; }
.ai-chips button:hover { border-color: var(--ink); }
.ai-form { display: flex; gap: 8px; padding: 12px; background: #fff; }
.ai-form input { flex: 1; min-width: 0; padding: 11px 12px; border: 1px solid var(--line); border-radius: 999px; font: 500 15px var(--font); }
.ai-form .btn { min-height: 42px; padding: 0 16px; }
.bar { display: none; }

@media (max-width: 960px) {
  .nav { display: none; }
  .hero-in, .fin-in, .trade-in, .ct-in { grid-template-columns: 1fr; }
  .hero-cars { display: none; }
}
@media (max-width: 640px) {
  .top-cta .btn-line { display: none; }
  .rb-more { display: none; }
  .demo-ribbon { gap: 10px; padding: 6px 12px; }
  .quick { grid-template-columns: 1fr 1fr; }
  .quick .btn { grid-column: 1 / -1; }
  .calc { grid-template-columns: 1fr 1fr; }
  .calc label:nth-child(3) { grid-column: 1 / -1; }
  .form { grid-template-columns: 1fr; }
  .filters { grid-template-columns: 1fr 1fr; }
  .f-range, .f-reset { grid-column: 1 / -1; }
  .bar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 39; display: grid; grid-auto-flow: column; grid-auto-columns: 1fr; background: var(--ink); border-top: 1px solid rgba(255, 255, 255, .1); }
  .bar a, .bar button { padding: 15px 6px; text-align: center; color: #fff; text-decoration: none; font: 800 14px var(--font); background: none; border: 0; border-right: 1px solid rgba(255, 255, 255, .1); cursor: pointer; }
  .bar button { color: var(--accent); }
  .ai-open { display: none; }
  .ai-panel { right: 0; bottom: 0; width: 100%; height: 100%; border-radius: 0; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } * { animation: none !important; transition: none !important; } }
