* { box-sizing: border-box; }
:root { color-scheme: dark; color: #edf2f9; background: #101723; font-family: system-ui, sans-serif; }
body { margin: 0; line-height: 1.55; }
a { color: #8ae5d1; text-underline-offset: .22em; }
a:focus-visible, input:focus-visible, select:focus-visible { outline: 2px solid #8ae5d1; outline-offset: 3px; }
.wrap { width: min(100% - 2rem, 1100px); margin-inline: auto; }
.bar { background: #121e2b; border-bottom: 1px solid #334357; }
.bar .wrap, .footer { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; padding-block: .85rem; }
.brand { display: inline-flex; align-items: center; gap: .5rem; color: inherit; text-decoration: none; font-weight: 750; }
nav { display: flex; flex-wrap: wrap; gap: .6rem 1.1rem; }
.intro { padding-block: clamp(2rem, 6vw, 4rem) 1.5rem; }
h1 { margin: 0; font-size: clamp(2rem, 6vw, 3.5rem); letter-spacing: -.05em; }
.intro nav { margin-top: 1.5rem; }
.intro nav a { background: #203144; border: 1px solid #3d5367; padding: .45rem .7rem; text-decoration: none; }
h2 { font-size: 1.25rem; margin: 0 0 .75rem; }
p, dd, .footer { color: #b7c5d4; }
.panel { margin-bottom: 1rem; padding: clamp(.85rem, 3vw, 1.4rem); background: #172333; border: 1px solid #344559; overflow-wrap: anywhere; scroll-margin-top: 1rem; }
.filters { display: grid; grid-template-columns: minmax(0, 10rem) minmax(0, 1fr); gap: .75rem; }
.filters label { font-size: .875rem; }
input, select { display: block; min-width: 0; width: 100%; margin-top: .25rem; padding: .55rem; font: inherit; color: inherit; border: 1px solid #506074; background: #111c2a; }
.rows { padding: 0; list-style: none; }
.rows li { border-top: 1px solid #3b4d60; padding: .8rem 0; }
.rows a { color: #edf2f9; font-weight: 650; }
.rows strong { display: block; color: #8ae5d1; margin-top: .25rem; }
.rows small { color: #b7c5d4; }
dt { font-weight: 700; }
dd { margin: 0 0 .85rem; }
.links { display: grid; gap: .35rem; }
.footer { border-top: 1px solid #334357; font-size: .875rem; }
@media (max-width: 390px) { .filters { grid-template-columns: 1fr; } }

.buying-guides details { border-top: 1px solid #3b4d60; padding: .8rem 0; }
.buying-guides summary { cursor: pointer; font-weight: 650; }
.buying-guides details p { max-width: 70ch; }

.car-menu { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(8rem, 100%), 1fr)); gap: .5rem; }
.car-menu a { display: flex; align-items: center; gap: .45rem; min-width: 0; font-size: .875rem; }
.car-menu-icon { font-size: 1.15rem; line-height: 1; }
.car-menu a[aria-current="location"] { background: #163b38; border-color: #8ae5d1; color: #edf2f9; font-weight: 700; }
[data-car-panel][hidden] { display: none !important; }

@media (max-width: 600px) {
  .car-menu {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding: 4px 4px .5rem;
    scroll-padding-inline: 4px;
    scrollbar-width: thin;
  }
  .car-menu a { flex: 0 0 auto; white-space: nowrap; }
}
