@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/barlow-condensed-700.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "DM Sans";
  src: url("/fonts/dm-sans.woff2") format("woff2");
  font-weight: 400 750;
  font-display: swap;
}

:root {
  color-scheme: light;
  --bg: #f4f2eb;
  --surface: #fff;
  --surface-2: #eef3ed;
  --border: #d9ded5;
  --fg: #172824;
  --muted: #485852;
  --accent: #12604d;
  --accent-soft: #e2eee6;
  --lime: #f7cb74;
  --navy: #16302a;
  --blue: #285d97;
  --rust: #a53f23;
  --radius: 18px;
  --font: "DM Sans", system-ui, sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", var(--font);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 6rem; }
body { margin: 0; background: var(--bg); color: var(--fg); font: 1rem/1.52 var(--font); }
a { color: var(--accent); text-underline-offset: .2em; }
button, input, select { font: inherit; }
button, select, summary { cursor: pointer; }
button:focus-visible, a:focus-visible, input:focus-visible, select:focus-visible, summary:focus-visible,
canvas:focus-visible, label:focus-within:has(input[type=file]) {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}
[hidden] { display: none !important; }
.sr-only, .skip:not(:focus) {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.skip:focus { position: fixed; z-index: 8; top: 1rem; left: 1rem; background: var(--surface); padding: .5rem 1rem; }

.shell, .top-inner { width: min(1240px, calc(100% - 72px)); margin: auto; }
.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  background: #fffffffa;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.top-inner { min-height: 68px; display: flex; gap: clamp(1rem, 3vw, 3rem); align-items: center; }
.brand {
  display: inline-flex;
  align-items: center;
  color: var(--fg);
  text-decoration: none;
  white-space: nowrap;
  font: 700 1.74rem/1 var(--display);
  letter-spacing: .016em;
  text-transform: uppercase;
}
.brand > span:last-child { color: #a13d27; }
.mark {
  width: 34px;
  height: 34px;
  margin-right: .52rem;
  border-radius: 7px;
  background: #173c32;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 2px;
  transform: skew(-5deg);
}
.mark i { height: 13px; width: 3px; border-radius: 1px; background: #fff6e8; transform: skew(-23deg) translateY(3px); }
.mark i:nth-child(2) { height: 17px; transform: skew(-23deg) translateY(1px); }
.mark i:nth-child(3) { height: 20px; background: #ef956c; transform: skew(-23deg) translateY(-1px); }
nav { display: flex; align-items: center; gap: clamp(.65rem, 2vw, 1.75rem); }
nav a { color: #41584d; text-decoration: none; font-size: .93rem; font-weight: 650; white-space: nowrap; }
nav a:hover { color: var(--accent); text-decoration: underline; }
.top-link {
  margin-left: auto;
  border: 1px solid #b8ccc0;
  border-radius: 9px;
  padding: .47rem .77rem;
  color: var(--accent);
  text-decoration: none;
  font-size: .88rem;
  font-weight: 750;
  white-space: nowrap;
}
.top-link:hover { background: var(--accent-soft); }

.intro {
  display: grid;
  grid-template-columns: minmax(0, 1.48fr) minmax(248px, .72fr);
  align-items: stretch;
  gap: clamp(1.15rem, 4vw, 4rem);
  margin-top: clamp(1.15rem, 3.1vw, 2.5rem);
  padding: clamp(1.35rem, 3.85vw, 3.45rem);
  background: #e6ebe0;
  border: 1px solid #cfd8cb;
  border-top: 3px solid #345c4e;
  border-radius: 16px;
}
.intro-copy { min-width: 0; }
.eyebrow {
  font: 750 .73rem/1.45 var(--font);
  letter-spacing: .13em;
  color: var(--accent);
  margin: 0 0 .5rem;
}
.market-preview {
  display: flex;
  flex-direction: column;
  min-width: 0;
  overflow: hidden;
  background: #163b33;
  color: #fff;
  border-radius: 15px;
  box-shadow: 0 14px 36px #1e332a22;
}
.market-preview-photo {
  position: relative;
  flex: 1 1 auto;
  min-height: 125px;
  background: #263d67 url("market-photo.webp") center 57% / cover no-repeat;
}
.photo-credit { position: absolute; bottom: .35rem; right: .36rem; padding: .1rem .28rem; border-radius: 4px; background: #101c32e8; color: #fff; font-size: .69rem; line-height: 1.4; }
.photo-credit a { color: #fff; text-underline-offset: .12em; }
.market-preview-content { padding: .85rem 1.15rem .95rem; border-top: 3px solid #edb078; }
.preview-top, .preview-quote { display: flex; justify-content: space-between; align-items: center; gap: .6rem; }
.preview-top .eyebrow { color: #e7ecfb; margin: 0; }
.preview-top > span { color: #eff2fd; font-size: .86rem; }
.preview-quote strong { font: 750 clamp(1.8rem, 4vw, 2.42rem)/1.2 var(--display); letter-spacing: -.02em; font-variant-numeric: tabular-nums; }
.market-preview-content a { color: #f9d391; font-size: .88rem; font-weight: 700; }
.market-preview .delta.down { color: #892c26; background: #ffe9df; border-color: #f3bbaf; }
.market-preview .delta.up { color: #13563b; background: #d7f4e1; border-color: #a5d9b5; }
h1, h2, h3, .quote strong, .release-date { font-family: var(--display); font-weight: 700; }
h1 {
  font-size: clamp(3.05rem, 6.8vw, 6.4rem);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.018em;
  margin: 0 0 .8rem;
}
h1 em { color: #a13d27; font-style: normal; }
.lede { font-size: clamp(1.03rem, 1.6vw, 1.19rem); max-width: 475px; color: var(--muted); margin: 0 0 1.2rem; }
.hero-search { position: relative; max-width: 560px; }
.hero-input {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: .55rem;
  align-items: center;
  padding: .34rem .38rem .34rem .8rem;
  background: #fff;
  border: 1px solid #b4c7ba;
  border-radius: 9px;
  color: var(--fg);
  box-shadow: 0 5px 18px #12604d0d;
}
.hero-input:focus-within { outline: 2px solid #228166; outline-offset: 3px; }
.hero-input input { border: 0; padding: .65rem .15rem; background: transparent; outline: none; }
.hero-input input:focus-visible { outline: none; }
.hero-input button {
  min-height: 43px;
  padding: .4rem .72rem;
  background: #12604d;
  color: #fff;
  border: 0;
  border-radius: 7px;
  font-weight: 800;
  font-size: .9rem;
  white-space: nowrap;
}
.hero-input button:hover { background: #0e493a; }
.search-icon { position: relative; width: 13px; height: 13px; border: 2px solid #507467; border-radius: 50%; margin-right: 3px; }
.search-icon::after { content: ""; position: absolute; width: 6px; height: 2px; top: 9px; left: 8px; background: #507467; transform: rotate(45deg); }
.suggestion-list {
  position: absolute;
  z-index: 4;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  border-radius: 11px;
  background: #fff;
  color: var(--fg);
  box-shadow: 0 12px 30px #19382e30;
  border: 1px solid var(--border);
  padding: .27rem;
}
.suggestion { display: flex; align-items: center; justify-content: space-between; gap: .7rem; padding: .63rem .72rem; border-radius: 7px; cursor: pointer; }
.suggestion:hover, .suggestion[aria-selected=true] { background: var(--accent-soft); }
.suggestion span { color: var(--muted); font-size: .82rem; text-align: right; }
.popular-cars { display: flex; align-items: center; flex-wrap: wrap; gap: .4rem; margin-top: .8rem; color: #5a6479; font-size: .86rem; }
.popular-cars span { margin-right: .22rem; font-weight: 600; }
.popular-cars a {
  padding: .24rem .53rem;
  border: 1px solid #c7d2e8;
  border-radius: 20px;
  background: #fff;
  color: #31594c;
  font-size: .84rem;
  text-decoration: none;
}
.popular-cars a:hover { color: #10503e; border-color: #769688; background: #edf4ec; }

main section + section { margin-top: 48px; }
main .intro + section { margin-top: 23px; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 1rem; margin: 0 0 16px; }
.section-head .eyebrow { margin-bottom: .32rem; }
.section-link { font-size: .89rem; font-weight: 720; white-space: nowrap; }
h2 { margin: 0; font-size: clamp(1.6rem, 3.3vw, 2.35rem); line-height: 1.1; letter-spacing: -.015em; }
h3 { margin: 0 0 .52rem; font-size: 1.15rem; line-height: 1.29; letter-spacing: 0; }
.tag, .delta {
  padding: .24rem .55rem;
  border: 1px solid #d4ddd1;
  border-radius: 18px;
  background: #eef3eb;
  color: #3d5346;
  font-size: .82rem;
  font-weight: 750;
  white-space: nowrap;
}
.tag.official, .delta.up { background: #e5f5eb; color: #00664b; border-color: #bfdecc; }
.delta.down { background: #fcece8; color: #a43523; border-color: #eac6bb; }
.positive { color: #00664b; }
.negative { color: #a43523; }

.panel { min-width: 0; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); }
.market-grid, .model-grid { display: grid; grid-template-columns: minmax(0, 2.5fr) minmax(252px, 1fr); gap: 14px; }
.model-grid { grid-template-columns: minmax(0, 2.5fr) minmax(285px, 1fr); }
.index-panel, .market-side, .forecast-panel, .calculator, .drivers, .compare-panel, .chat-panel { padding: 1.3rem 1.45rem; }
.chart-head, .chart-foot, .stat, .catalog-meta, .forecast-result, .pager, .calc-line, .data-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .6rem;
}
.chart-head { align-items: start; }
.label, .stat span, .forecast-result span, .detail-meta, .muted, .subtle, .chart-foot { color: var(--muted); }
.label { font-size: .93rem; }
.quote { display: flex; align-items: center; gap: .5rem; flex-wrap: wrap; }
.quote strong {
  color: #214138;
  font-size: clamp(1.9rem, 4vw, 2.8rem);
  line-height: 1.16;
  letter-spacing: -.02em;
  font-variant-numeric: tabular-nums;
}
.segmented { display: flex; flex: none; padding: 3px; border: 1px solid var(--border); border-radius: 9px; background: #f4f6fc; }
.segmented button {
  min-width: 2.15rem;
  padding: .28rem .56rem;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--muted);
  font-size: .84rem;
  font-weight: 750;
}
.segmented button.active { color: #fff; background: #12604d; }
.segmented button:hover:not(.active) { color: var(--accent); background: var(--accent-soft); }
.plot { position: relative; height: 247px; margin: .58rem 0 .24rem; }
.plot canvas { display: block; width: 100%; height: 100%; }
.plot-tip {
  position: absolute;
  z-index: 1;
  pointer-events: auto;
  max-width: calc(100% - 8px);
  background: #fff;
  color: var(--fg);
  border: 1px solid #aec5b7;
  box-shadow: 0 4px 17px #172e211a;
  border-radius: 7px;
  padding: .35rem .55rem;
  font-size: .83rem;
  white-space: pre-line;
}
.chart-foot { justify-content: flex-start; gap: 1rem; font-size: .87rem; }
.chart-foot a { margin-left: auto; }
.wrap { flex-wrap: wrap; }
.legend-dot { display: inline-block; width: 9px; height: 9px; background: #00664b; border-radius: 50%; margin-right: .35rem; }
.forecast-dot { background: var(--blue); }
.compare-dot { background: var(--rust); }
.table-details { margin-top: .7rem; color: var(--muted); font-size: .88rem; }
.table-details > div { max-height: 240px; overflow: auto; }
.table-details table, .compare-table { width: 100%; border-collapse: collapse; }
.table-details th, .table-details td, .compare-table th, .compare-table td {
  padding: .47rem .42rem;
  border-bottom: 1px solid var(--border);
  text-align: left;
  font-variant-numeric: tabular-nums;
}
.market-side { display: flex; flex-direction: column; justify-content: space-between; gap: .75rem; background: #e9f1e8; border-color: #d1e0d2; }
.release-date { margin: .1rem 0; font-size: 1.65rem; line-height: 1.12; letter-spacing: -.045em; font-weight: 730; }
.stat { border-top: 1px solid #cbdbce; padding: .7rem 0 0; font-size: .95rem; }
.stat strong { font-variant-numeric: tabular-nums; }
.subtle, .inline-note { margin: .45rem 0; color: var(--muted); font-size: .91rem; line-height: 1.55; }
.market-side .subtle { margin: 0; }

.explorer { padding: 1rem 1.18rem; }
.filter-bar { display: grid; grid-template-columns: minmax(0,1.24fr) repeat(2,minmax(0,1fr)); gap: .7rem; }
input, select {
  width: 100%;
  min-width: 0;
  padding: .6rem .71rem;
  border: 1px solid #bdc7d8;
  border-radius: 8px;
  background: #fff;
  color: var(--fg);
  line-height: 1.35;
}
select {
  appearance: none;
  background-repeat: no-repeat;
  background-image: linear-gradient(45deg, transparent 50%, #586b88 50%), linear-gradient(135deg, #586b88 50%, transparent 50%);
  background-position: calc(100% - 15px) 53%, calc(100% - 10px) 53%;
  background-size: 5px 5px;
  padding-right: 1.65rem;
}
input::placeholder { color: #57677f; }
.search-field { display: flex; align-items: center; gap: .52rem; background: #fff; border: 1px solid #bdc7d8; border-radius: 8px; padding-left: .72rem; color: var(--accent); }
.search-field > span { font-size: 1.45rem; line-height: 1; }
.search-field input { border: 0; padding-left: .03rem; background: transparent; }
.search-field:focus-within { outline: 2px solid var(--accent); outline-offset: 2px; }
.search-field input:focus-visible { outline: none; }
.catalog-meta { margin: .64rem 0; color: var(--muted); font-size: .88rem; font-weight: 650; }
.text-button { padding: .18rem .15rem; border: 0; background: transparent; color: var(--accent); text-decoration: underline; text-underline-offset: .2em; font-size: .88rem; }
.applied-filters { display: flex; flex-wrap: wrap; gap: .42rem; margin: 0 0 .68rem; }
.filter-chip { border: 1px solid #becbf0; padding: .3rem .56rem; border-radius: 20px; background: var(--accent-soft); color: #244599; font-size: .86rem; font-weight: 600; }
.filter-chip:hover { border-color: var(--accent); }
.vehicle-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .7rem; }
.vehicle-card { display: grid; gap: .17rem; min-width: 0; text-align: left; padding: .8rem .87rem; background: #fcfcf8; border: 1px solid #d9ded5; color: var(--fg); border-radius: 11px; }
.vehicle-card:hover, .vehicle-card[aria-pressed=true] { border-color: #448278; background: #eaf3eb; }
.vehicle-card[aria-pressed=true] { box-shadow: inset 3px 0 #276956; }
.vehicle-card strong { font: 700 1.35rem/1.1 var(--display); color: #19382e; }
.vehicle-card span { color: var(--muted); font-size: .86rem; }
.vehicle-card-heading { display: grid; gap: .1rem; }
.vehicle-card-heading small { font-size: .78rem; color: #536078; }
.vehicle-card .vehicle-count { color: #3e564d; font-weight: 650; }
.vehicle-card .card-evidence { display: flex; flex-wrap: wrap; align-items: center; gap: .3rem .5rem; margin-top: .22rem; }
.vehicle-card .card-coverage { color: #604074; background: #f0e9f7; border-radius: 4px; padding: .07rem .33rem; font-size: .76rem; }
.vehicle-card[data-coverage=fleet] { background: #fbfcfa; }
.vehicle-card[data-coverage=fleet]:hover, .vehicle-card[data-coverage=fleet][aria-pressed=true] { background: #eaf3eb; }
.pager { justify-content: center; margin-top: .88rem; color: var(--muted); font-size: .87rem; }
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .55rem .73rem;
  color: #fff;
  background: #12604d;
  border: 1px solid #12604d;
  border-radius: 8px;
  text-decoration: none;
  line-height: 1.25;
  font-size: .9rem;
  font-weight: 750;
  cursor: pointer;
}
.button:hover { background: #0e493a; }
.button.secondary { color: #273c71; background: #f0f5ee; border-color: #c6d1ee; }
.button.secondary:hover { background: #e7edfd; border-color: #718ac9; }
.button:disabled { opacity: .48; cursor: default; }

.vehicle-detail { margin-top: 32px; scroll-margin-top: 1rem; }
.detail-meta { margin: .26rem 0 0; font-size: .95rem; }
.detail-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: flex-end; gap: .45rem; }
.detail-actions .tag { white-space: normal; }
.profile-grid, .compare-controls { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .69rem; }
.profile-grid label, .compare-controls label, .horizon-control { display: grid; gap: .26rem; color: var(--muted); font-size: .87rem; }
.profile-grid input, .profile-grid select, .compare-controls select, .horizon-control select { font-size: .94rem; }
.horizon-control { margin-top: .68rem; }
.forecast-result { flex-wrap: wrap; border-top: 1px solid var(--border); margin-top: .85rem; padding-top: .76rem; }
.forecast-result strong, .tax-result strong { color: var(--accent); font: 730 1.35rem/1.15 var(--display); }
.forecast-result small { flex-basis: 100%; color: var(--muted); font-size: .85rem; }
.forecast-panel { background: #f7f2fc; border-color: #e3d8ee; }
.forecast-panel .eyebrow { color: #6f3889; }
.forecast-panel .subtle { font-size: .87rem; }
.drivers { margin-top: 14px; }
.driver-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: .58rem; margin-top: .72rem; }
.driver { border: 1px solid var(--border); background: #fcfcf8; border-radius: 9px; padding: .63rem .68rem; }
.driver span, .driver small { display: block; color: var(--muted); font-size: .86rem; }
.driver strong { display: block; margin: .1rem 0; font-size: 1.1rem; }
.compare-table { margin-top: .88rem; }
.compare-table th, .compare-table td { font-size: .91rem; overflow-wrap: anywhere; }
.compare-table td:last-child, .compare-table th:last-child { text-align: right; }
.compare-chart-heading { display: flex; justify-content: space-between; gap: .5rem; align-items: baseline; margin-top: 1.2rem; }
.compare-chart-heading h3 { margin: 0; }
.compare-plot { height: 228px; }

.ownership-grid, .data-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: .9rem; }
.calculator .profile-grid { margin: .87rem 0; }
.pcp-card { border-top: 3px solid #d9984a; }
.tax-card { border-top: 3px solid #34907b; }
.chat-panel { border-top: 3px solid #596bc1; }
.calc-results, .tax-result, .insurance, .registry { border-top: 1px solid var(--border); margin-top: .86rem; padding-top: .65rem; }
.calc-line { padding: .26rem 0; font-size: .94rem; }
.tax-result p, .insurance p { margin: .24rem 0; color: var(--muted); font-size: .9rem; }
.source-list > div { padding: .61rem 0; border-bottom: 1px solid var(--border); }
.source-list > div:last-child { padding-bottom: 0; border-bottom: 0; }
.source-list a { font-size: .9rem; }
.source-list .subtle { margin: .13rem 0; }
.import-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .52rem; margin: .72rem 0; }
.data-row { padding: .37rem .22rem; border-bottom: 1px solid var(--border); font-size: .93rem; }
.data-row strong { white-space: nowrap; font-variant-numeric: tabular-nums; }

.chat-panel > .subtle:first-child { margin-top: 0; }
.chat-context, .chat-prompts, .chat-form { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem; }
.chat-context { color: var(--muted); font-size: .91rem; margin: .82rem 0; }
.chat-context strong { color: var(--fg); }
.chat-context a { font-size: .85rem; }
.chat-form { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: .57rem; }
.chat-form .button { height: 100%; min-width: 3.9rem; }
.chat-history { display: grid; gap: .59rem; max-height: 375px; overflow: auto; padding-right: .23rem; margin: .79rem 0; }
.chat-message { max-width: min(92%, 77ch); padding: .57rem .78rem; border: 1px solid #d7e2d7; border-radius: 9px; background: #f0f5ee; white-space: pre-wrap; overflow-wrap: anywhere; }
.chat-message.user { justify-self: end; background: #e7efe6; }
.chat-message p { margin: 0; }
.chat-message small { display: block; margin-top: .45rem; color: var(--muted); font-size: .85rem; }
.chat-message a { margin-right: .7rem; }
.chat-message a:last-child { margin: 0; }

footer { border-top: 1px solid var(--border); margin-top: 3.75rem; color: var(--muted); }
footer .shell { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1.25rem 0; }
footer a:last-child { font-size: .9rem; }

@media (max-width: 990px) {
  .top-inner, .shell { width: calc(100% - 40px); }
  .top-inner { gap: .82rem; }
  .top-inner nav { gap: .72rem; }
  .top-inner nav a { font-size: .88rem; }
  .top-link { padding: .4rem .53rem; }
  .intro { grid-template-columns: minmax(0, 1.2fr) minmax(195px, .8fr); gap: 1.65rem; }
  .market-grid, .model-grid { grid-template-columns: minmax(0, 1fr) minmax(249px, .49fr); }
  .index-panel, .market-side, .forecast-panel, .calculator, .drivers, .compare-panel, .chat-panel { padding: 1rem; }
  .plot { height: 220px; }
}

@media (max-width: 690px) {
  html { scroll-padding-top: 7rem; }
  .top-inner, .shell { width: calc(100% - 28px); }
  .top-inner { min-height: 60px; gap: .45rem; flex-wrap: wrap; padding: .58rem 0; }
  .top-inner nav { flex-basis: 100%; justify-content: space-between; order: 3; gap: .44rem; overflow-x: auto; scrollbar-width: thin; }
  .top-inner nav a { font-size: .84rem; }
  .top-link { font-size: .79rem; padding: .29rem .5rem; }
  .brand { font-size: 1.43rem; }
  .mark { width: 29px; height: 29px; }
  .intro { grid-template-columns: minmax(0, 1fr); padding: 1.12rem .85rem .85rem; gap: 1rem; }
  .market-preview { display: grid; grid-template-columns: minmax(0, .68fr) minmax(0, 1fr); min-height: 91px; border-radius: 11px; }
  .market-preview-photo { min-height: 0; background-position: center; }
  .photo-credit { font-size: .63rem; }
  .market-preview-content { padding: .5rem .62rem; border-width: 0 0 0 3px; border-style: solid; }
  .preview-top { gap: .3rem; }
  .preview-top .eyebrow { font-size: .65rem; }
  .preview-top > span { font-size: .72rem; white-space: nowrap; }
  .market-preview-content a { font-size: .79rem; }
  .market-preview .delta { font-size: .72rem; }
  .desktop-break { display: none; }
  .lede { max-width: 410px; }
  .hero-input { padding-left: .65rem; gap: .46rem; }
  .hero-input input { font-size: .94rem; }
  .hero-input button { min-height: 39px; padding: .36rem .51rem; font-size: .82rem; }
  .popular-cars a { font-size: .77rem; }
  .market-grid, .model-grid, .ownership-grid, .data-grid { grid-template-columns: 1fr; }
  .market-side { display: grid; grid-template-columns: 1fr 1fr; gap: .56rem; }
  .market-side .subtle { grid-column: 1/-1; }
  .release-date { font-size: 1.25rem; }
  .market-side .stat { font-size: .86rem; }
  .plot { height: 205px; }
  .filter-bar { grid-template-columns: 1fr 1fr; }
  .filter-bar .search-field { grid-column: 1/-1; }
  .explorer { padding: .78rem; }
  .vehicle-grid, .driver-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .vehicle-card { padding: .65rem .67rem; }
  .tag { font-size: .75rem; }
  .chart-foot { gap: .58rem; }
  .section-head { align-items: center; }
  .detail-head { align-items: end; }
  .detail-actions .button { font-size: .81rem; }
  .section-head h2 { overflow-wrap: anywhere; }
  main section + section { margin-top: 36px; }
  main .intro + section { margin-top: 24px; }
  .chat-prompts .button { font-size: .79rem; padding: .43rem .53rem; }
  .compare-chart-heading { flex-wrap: wrap; }
  footer .shell > span { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; }
}

.vehicle-card-shell { position: relative; min-width: 0; display: flex; }
.vehicle-card-shell .vehicle-card { width: 100%; padding-right: 2.45rem; text-decoration: none; align-content: start; }
.vehicle-card-shell .garage-star { position: absolute; inset: .49rem .44rem auto auto; }
.garage-star { display: inline-flex; align-items: center; gap: .36rem; border: 1px solid #cbd9ce; border-radius: 8px; background: #fff; color: #345f4d; padding: .45rem .62rem; font-size: .88rem; font-weight: 720; line-height: 1.2; }
.garage-star:hover { background: #eef4eb; }
.garage-star[aria-pressed=true] { background: #fff6e3; border-color: #dfb778; color: #80541b; }
.garage-star-icon { justify-content: center; padding: .26rem; width: 2rem; height: 2rem; font-size: 1.12rem; }
.garage-entries { display: grid; gap: .62rem; margin: .9rem 0; }
.garage-entry { padding: .72rem .82rem; border: 1px solid var(--border); border-radius: 9px; background: #fcfcf8; }
.garage-entry-head, .garage-target-form, .garage-compare { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: .55rem; }
.garage-target-form { margin-top: .52rem; justify-content: flex-start; align-items: end; }
.garage-target-form label { display: grid; flex: 1 1 143px; gap: .23rem; font-size: .87rem; color: var(--muted); }
.garage-compare { justify-content: flex-start; margin: .6rem 0; }
.garage-compare-label { display: inline-flex; align-items: center; gap: .32rem; font-size: .87rem; font-weight: 620; }
.garage-compare-label input { width: auto; }
.garage-status { color: var(--muted); font-size: .87rem; }
.compare-share-controls, .compare-share { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.pcp-extra-costs { margin-top: .8rem; color: #4b5b75; font-size: .9rem; }
.pcp-extra-costs summary { font-weight: 690; }
@media(max-width: 690px) {
  .vehicle-card-shell .vehicle-card { padding-right: 2.04rem; }
  .vehicle-card-shell .garage-star { top: .36rem; right: .31rem; }
  .garage-star-icon { width: 1.72rem; height: 1.72rem; }
}

.catalog-meta > label { margin-left: auto; }
.catalog-meta select { max-width: 195px; font-size: .86rem; }
.compare-controls > label { min-width: 0; }
.compare-controls input[type=search] { margin-bottom: .33rem; }
.published-coverage { color: #08664f !important; background: #e7f4ee !important; }
@media(max-width: 690px) { .filter-bar > label:last-child { grid-column: 1 / -1; } }

footer { background: #183a31; color: #e6eee6; border-top: 3px solid #b86d4d; }
footer .brand { color: #fffbef; }
footer .brand > span:last-child { color: #efab88; }
footer .mark { border: 1px solid #719181; }
footer a:last-child { color: #f3cf9f; }

:root {
  --bg: #f6f7f6;
  --surface: #fff;
  --fg: #172521;
  --muted: #53635d;
  --border: #dfe5e1;
  --radius: 13px;
}
.topbar { background: #fff; border: 0; box-shadow: 0 1px 10px #132c2010; }
.brand { letter-spacing: .03em; }
.intro {
  background: transparent;
  border: 0;
  border-radius: 0;
  margin-top: 0;
  padding: clamp(1.8rem, 5vw, 4rem) 0 1.4rem;
  grid-template-columns: minmax(0, 1fr) minmax(220px, .48fr);
  align-items: center;
}
.intro h1 { font-size: clamp(2.65rem, 6vw, 5.5rem); }
.market-preview {
  display: block;
  background: #eaf1ec;
  color: var(--fg);
  border: 0;
  box-shadow: none;
  min-height: 0;
}
.market-preview-content { border: 0; padding: 1.1rem 1.2rem; }
.preview-top .eyebrow, .preview-top > span, .market-preview-content a { color: #265b4a; }
.preview-quote strong { font-size: clamp(2.5rem, 5vw, 4rem); }
footer { background: #edf2ee; border: 0; color: var(--muted); }
footer .brand { color: var(--fg); }
footer .brand > span:last-child { color: #a13d27; }
footer .mark { border: 0; }
footer a:last-child { color: var(--accent); }
.pcp-card, .tax-card, .chat-panel { border-top: 1px solid var(--border); }
.vehicle-card-shell { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; }
.vehicle-card-shell:hover { border-color: #91aaa0; }
.vehicle-card-shell .vehicle-card { border: 0; border-radius: inherit; background: transparent; padding: .85rem; }
.vehicle-card-shell .vehicle-card:focus-visible { outline-offset: 0; }
.vehicle-card-shell .garage-star { top: .62rem; right: .62rem; }
.vehicle-image { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: center 55%; border-radius: 8px; margin-bottom: .45rem; }
.vehicle-card-heading { padding-right: 1.6rem; }
.vehicle-card .card-price { color: #165240; font-weight: 750; font-variant-numeric: tabular-nums; }
.suggestion { display: grid; grid-template-columns: 49px minmax(0, 1fr) auto; text-decoration: none; color: var(--fg); }
.suggestion-photo { width: 45px; height: 32px; object-fit: cover; border-radius: 4px; }
.suggestion strong:first-child { grid-column: 1 / 3; }
@media (max-width: 690px) {
  .intro { grid-template-columns: 1fr; gap: 1rem; padding: 1.4rem 0 .25rem; }
  .market-preview-content { padding: .68rem .82rem; }
  .preview-quote strong { font-size: 2.3rem; }
  .vehicle-card-shell .vehicle-card { padding: .61rem; }
  .vehicle-card-shell .garage-star { top: .42rem; right: .4rem; }
  .vehicle-card-heading { padding-right: 1.35rem; }
  .suggestion { grid-template-columns: 38px minmax(0, 1fr) auto; gap: .4rem; padding: .44rem; }
  .suggestion-photo { width: 36px; height: 27px; }
}
