.home-page { --home-width: 1280px; }
.home-page ::selection { color: #fff; background: #1f6e91; }
.home-page a { text-underline-offset: .2em; }
.home-page .vehicle-search input::placeholder { color: #52606b; opacity: 1; }
.home-page .spec-grid em { font-size: 11px; }
.home-example .dimension-guide.a { color: #bf3828; }
.home-topbar { height: 76px; grid-template-columns: 1fr auto; gap: 24px; padding-inline: max(24px, calc((100vw - var(--home-width)) / 2)); backdrop-filter: none; background: var(--paper); }
.home-topbar nav { display: flex; gap: 32px; align-items: center; }
.home-topbar nav a { color: #4b5862; font-size: 14px; text-decoration: none; padding-block: 12px; }
.home-topbar nav a:hover { color: var(--b); text-decoration: underline; }
.home-topbar .icon-button { display: none; }
.home-main { max-width: calc(var(--home-width) + 48px); padding: 0 24px 80px; margin-inline: auto; }
.home-intro { padding: 64px 0 32px; }
.home-intro h1 { font-size: clamp(42px, 5.4vw, 76px); line-height: 1.04; letter-spacing: -.035em; max-width: 1100px; text-wrap: balance; }
.home-intro > p { max-width: 730px; font-size: 19px; line-height: 1.55; margin: 24px 0 0; color: #52606b; }
.home-choose { scroll-margin-top: 100px; margin-bottom: 54px; }
.home-choose .picker-row { grid-template-columns: 1fr 44px 1fr auto; gap: 12px; margin-bottom: 16px; }
.home-choose .car-card { min-height: 100px; grid-template-columns: 86px 1fr auto; padding: 14px 18px; gap: 12px; border-radius: 12px; }
.home-choose .number { display: none; }
.home-choose .picker-field-label { display: block; color: #52606b; font-size: 12px; font-weight: 500; margin-bottom: 7px; }
.home-choose .car-card strong { font-size: 16px; }
.home-choose .car-card small { font-size: 12px; }
.home-choose .selected-car-thumb { position: relative; }
.home-choose .selected-car-thumb img { position: absolute; max-width: none; object-fit: contain; }
.home-choose .change-car { font-size: 0; }
.home-choose .change-car b { font-size: 20px; }
.home-primary { display: inline-flex; justify-content: center; align-items: center; min-height: 62px; padding: 18px 24px; background: var(--b); color: white; font-size: 15px; font-weight: 750; text-decoration: none; border-radius: 10px; white-space: nowrap; }
.home-primary:hover { background: #185772; }
.home-shortcuts { display: flex; align-items: center; gap: 8px 18px; flex-wrap: wrap; font-size: 12px; line-height: 1.7; }
.home-shortcuts > span { color: #52606b; }
.home-shortcuts a { color: var(--b); }
.home-shortcuts .browse-link { margin-left: auto; font-weight: 700; }
.home-example-heading { display: flex; justify-content: space-between; align-items: end; gap: 20px; margin: 0 0 18px; }
.home-example-heading h2 { font-size: clamp(24px, 3vw, 34px); line-height: 1.15; letter-spacing: -.025em; }
.home-replay { position: static; display: inline-flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 12px; border: 0; border-radius: 8px; color: #52606b; background: transparent; cursor: pointer; }
.home-replay img { display: block; width: 16px; height: 16px; opacity: .4; }
.home-replay:hover { color: var(--b); background: #e9eeeb; }
.home-example .stage-card { box-shadow: none; border-radius: 14px; }
.home-example .alignment-note { text-align: left; }
.home-example .comparison-summary { margin: 18px 0 0; border: 0; padding: 18px 20px; font-size: 16px; line-height: 1.5; background: #e9eeeb; }
.home-example .specs { margin-top: 46px; margin-bottom: 0; }
.home-example .spec-heading h2 { font-size: 30px; }
.home-explanation, .home-about { display: grid; grid-template-columns: 1fr 1.45fr; gap: 60px; padding-top: 54px; margin-top: 64px; border-top: 1px solid var(--line); scroll-margin-top: 110px; }
.home-explanation h2, .home-about h2 { max-width: 350px; font-size: 36px; line-height: 1.12; letter-spacing: -.025em; }
.home-explanation p, .home-about p { font-size: 17px; color: #52606b; line-height: 1.7; max-width: 65ch; margin: 0 0 16px; }
.home-explanation a, .home-about a { color: var(--b); font-size: 14px; }
.source-separator { color: #66717b; }
.home-page .site-footer { max-width: none; padding: 28px max(24px, calc((100vw - var(--home-width)) / 2)); }
.home-page .site-footer > .brand { color: #171c22; font-size: 18px; font-weight: 800; }
.directory-index { display: flex; flex-wrap: wrap; gap: 10px 24px; padding: 12px 0 36px; }
.directory-index a, .directory-links a { color: var(--b); }
.directory-page main > section:not(.home-intro) { margin: 24px 0 48px; scroll-margin-top: 110px; border-top: 1px solid var(--line); padding-top: 28px; }
.directory-page h2 { font-size: 30px; margin-bottom: 20px; }
.directory-links { display: grid; grid-template-columns: 1fr 1fr; gap: 0 32px; }
.directory-links a { padding: 13px 0; border-bottom: 1px solid var(--line); line-height: 1.45; font-size: 14px; }
@media (min-width: 1100px) { .home-intro h1 br { display: none; } }
@media (max-width: 1000px) {
  .home-choose .picker-row { grid-template-columns: 1fr 40px 1fr; }
  .home-choose .home-primary { grid-column: 1 / -1; min-height: 50px; }
  .home-shortcuts .browse-link { margin-left: 0; }
  .home-choose .car-card { grid-template-columns: 60px 1fr auto; padding: 12px; gap: 8px; }
  .home-choose .selected-car-thumb { width: 60px; }
  .home-explanation, .home-about { gap: 32px; }
}
@media (max-width: 650px) {
  .home-topbar { height: 64px; padding-inline: 20px; gap: 12px; }
  .home-topbar .brand-mark { width: 152px; }
  .home-topbar nav { gap: 12px; }
  .home-topbar nav a { font-size: 12px; }
  .home-topbar nav { display: none; }
  .home-main { padding: 0 20px 56px; }
  .home-intro { padding: 38px 0 26px; }
  .home-intro h1 { font-size: clamp(36px, 9.9vw, 56px); line-height: 1.07; }
  .home-intro > p { font-size: 16px; line-height: 1.6; margin-top: 18px; }
  .home-choose { margin-bottom: 38px; }
  .home-choose .picker-row { display: grid; grid-template-columns: 1fr; gap: 8px; }
  .home-choose .car-card { min-height: 84px; grid-template-columns: 72px 1fr auto; gap: 12px; }
  .home-choose .selected-car-thumb { width: 72px; }
  .home-choose .swap-button { display: none; }
  .home-choose .car-card strong { font-size: 15px; }
  .home-choose .home-primary { min-height: 52px; margin-top: 4px; }
  .home-shortcuts { gap: 6px 14px; font-size: 12px; }
  .home-shortcuts > span { flex-basis: 100%; }
  .home-shortcuts a:nth-of-type(3), .home-shortcuts a:nth-of-type(4) { display: none; }
  .home-shortcuts .browse-link { flex-basis: 100%; margin-top: 3px; }
  .home-example-heading { align-items: start; gap: 12px; }
  .home-example-heading h2 { font-size: 24px; }
  .home-example .comparison-summary { font-size: 14px; padding: 16px; }
  .home-example .specs { margin-top: 30px; }
  .home-explanation, .home-about { display: block; margin-top: 40px; padding-top: 30px; }
  .home-explanation h2, .home-about h2 { font-size: 30px; margin-bottom: 20px; }
  .home-explanation p, .home-about p { font-size: 16px; }
  .home-page .site-footer { padding: 24px 20px; gap: 20px; }
  .directory-links { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) { .home-replay { display: none; } }
