/* ===== base.css ===== */

  :root{
    --brand:#0a2540; --accent:#0a58ca; --ink:#0c1116; --muted:#5b6672;
    --line:#e7ebef; --bg:#f6f8fa; --card:#ffffff; --radius:14px; --maxw:1180px;
  }
  *{box-sizing:border-box} html,body{margin:0;padding:0}
  /* System stack, per the September build decision. "Inter" led this list for
     months while nothing ever loaded it — no stylesheet link, no @font-face —
     so it rendered as the fallback for everyone except the few visitors with
     Inter installed locally, who got a different page from everyone else. */
  body{font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
    color:var(--ink);background:var(--bg);line-height:1.45;-webkit-font-smoothing:antialiased}
  a{color:inherit;text-decoration:none}
  .wrap{max-width:var(--maxw);margin:0 auto;padding:0 22px}
  .topbar{position:sticky;top:0;z-index:30;background:rgba(255,255,255,.92);
    backdrop-filter:saturate(150%) blur(8px);border-bottom:1px solid var(--line)}
  /* relative: the mobile sheet hangs off this box, not off the viewport */
  .topbar .wrap{position:relative;display:flex;align-items:center;gap:18px;height:62px}
  .logo{font-weight:800;letter-spacing:-.02em;font-size:16px;color:var(--ink)}
  .logo b{color:var(--accent)}
  .logo .tld{color:var(--ink)}
  /* The mark beside the wordmark. Sizes were measured against the live header:
     26px needs a 1040px window before the menu has room; below that it is
     18px so an iPad in landscape keeps the menu on one line; phones get 22px,
     narrow phones 18px, and at 340px and under the wordmark alone fills the
     bar, so the mark is dropped rather than pushing the menu button off. */
  .logo{display:inline-flex;align-items:center}
  .logo__mark{width:26px;height:26px;margin-right:8px;flex:none;display:block}
  @media(max-width:1039px){.logo__mark{width:18px;height:18px;margin-right:4px}}
  @media(max-width:760px){.logo__mark{width:22px;height:22px;margin-right:6px}}
  @media(max-width:400px){.logo__mark{width:18px;height:18px;margin-right:5px}}
  @media(max-width:340px){.logo__mark{display:none}}
  .topnav{margin-left:auto;display:flex;gap:6px;align-items:center}
  .topnav a{padding:8px 14px;border-radius:999px;font-weight:600;font-size:14px;color:var(--muted)}
  .topnav a:hover{background:var(--bg);color:var(--ink)}
  .topnav a.is-current{background:var(--ink);color:#fff}
  .cmpcount{display:inline-block;min-width:18px;height:18px;line-height:18px;text-align:center;
    background:var(--bg);color:var(--ink);border-radius:999px;font-size:11px;font-weight:800;margin-left:6px}
  .topnav a.is-current .cmpcount{background:#fff;color:var(--ink)}

  /* ---- grouped menu ---------------------------------------------------
     Two buttons, each opening a submenu. Hover opens it with no script; the
     script in layout.py adds click and keyboard. The ::before on the menu
     bridges the gap under the button so the pointer can cross it. */
  .navgroup{position:relative}
  .navgroup__btn{font:inherit;border:0;background:transparent;cursor:pointer;
    display:inline-flex;align-items:center;gap:7px;padding:8px 14px;border-radius:999px;
    font-weight:600;font-size:14px;color:var(--muted)}
  .navgroup__btn::after{content:"";width:6px;height:6px;margin-top:-3px;
    border-right:2px solid currentColor;border-bottom:2px solid currentColor;
    transform:rotate(45deg)}
  .navgroup:hover .navgroup__btn,.navgroup.is-open .navgroup__btn{background:var(--bg);color:var(--ink)}
  .navgroup.is-current .navgroup__btn{background:var(--ink);color:#fff}
  .navgroup__menu{display:none;position:absolute;top:calc(100% + 8px);right:0;z-index:32;
    min-width:220px;padding:8px;background:#fff;border:1px solid var(--line);
    border-radius:12px;box-shadow:0 12px 26px rgba(10,37,64,.16)}
  .navgroup__menu::before{content:"";position:absolute;left:0;right:0;top:-10px;height:10px}
  .navgroup:hover .navgroup__menu,.navgroup.is-open .navgroup__menu{display:block}
  .topnav .navgroup__menu a{display:flex;align-items:center;justify-content:space-between;
    gap:14px;padding:10px 12px;border-radius:8px;font-weight:600;font-size:14px;
    color:var(--ink);white-space:nowrap}
  .topnav .navgroup__menu a:hover{background:var(--bg);color:var(--ink)}
  .topnav .navgroup__menu a[aria-current]{background:var(--bg);font-weight:800}
  .navgroup__menu .cmpcount{background:var(--line)}

  /* ---- header overlay ------------------------------------------------
     On the page types that open with an edge-to-edge dark banner, the bar
     sits on the banner instead of above it, so there is no white strip
     between the two. It is not sticky there: it scrolls away with the
     banner it was drawn on. Pages with no banner keep the solid sticky bar
     above — a transparent header over white content is just floating links.
     --hdr is the bar height, which the banners below add to their own top
     padding so their text never lands underneath it. */
  :root{ --hdr:62px }
  .topbar--overlay{position:absolute;top:0;left:0;right:0;z-index:30;
    background:transparent;backdrop-filter:none;border-bottom:0}
  .topbar--overlay .logo,
  .topbar--overlay .logo .tld,
  .topbar--overlay .topnav a{color:#fff}
  /* On the banner the wordmark is entirely white — no blue on "Lease" and
     "Finance". The site blue measures 2.87:1 against the hero and less than
     that over the brighter parts of the photograph, so it read as dim rather
     than as brand colour. White is 14:1 on the same background and does not
     depend on which part of the photo sits behind it. The accent returns on
     every page with a white header. */
  .topbar--overlay .logo b{color:#fff}
  .topbar--overlay .topnav a:hover{background:rgba(255,255,255,.16);color:#fff}
  .topbar--overlay .topnav a.is-current{background:#fff;color:var(--ink)}
  .topbar--overlay .topnav a.is-current .cmpcount{background:var(--ink);color:#fff}
  /* On a banner the two buttons are white; the submenu itself stays a white
     card with dark links, whatever is behind the bar. */
  .topbar--overlay .navgroup__btn{color:#fff}
  .topbar--overlay .navgroup:hover .navgroup__btn,
  .topbar--overlay .navgroup.is-open .navgroup__btn{background:rgba(255,255,255,.16);color:#fff}
  .topbar--overlay .navgroup.is-current .navgroup__btn{background:#fff;color:var(--ink)}
  .topbar--overlay .topnav .navgroup__menu a,
  .topbar--overlay .topnav .navgroup__menu a:hover{color:var(--ink)}
  .topbar--overlay .topnav .navgroup__menu a:hover{background:var(--bg)}
  .topbar--overlay .navtoggle__bars,
  .topbar--overlay .navtoggle__bars::before,
  .topbar--overlay .navtoggle__bars::after{background:#fff}
  .topbar--overlay .navtoggle{background:rgba(255,255,255,.14)}
  /* Clear the overlaid bar. The brand banner is a fixed-height flex box with
     bottom-aligned content, so it grows rather than pads. */
  .has-overlay .hp-hero{padding-top:calc(clamp(48px,7vw,92px) + var(--hdr))}
  .has-overlay .res-hero{padding-top:calc(44px + var(--hdr))}
  .has-overlay .banner{height:calc(300px + var(--hdr))}

  /* ---- mobile menu ---------------------------------------------------
     Hidden above the breakpoint; the desktop row is hidden below it. */
  /* 48x48, not the 38x38 it was: this is the most-tapped control on the
     site and it was the smallest. 48 is Google's guideline and what
     Lighthouse audits, and it clears Apple's 44 at the same time. The bars
     inside are unchanged, so only the hit area grew. */
  .navtoggle{display:none;margin-left:auto;width:48px;height:48px;flex:0 0 auto;
    border:0;border-radius:10px;background:rgba(12,17,22,.07);
    place-items:center;cursor:pointer;padding:0}
  .navtoggle__bars{display:block;width:17px;height:2px;border-radius:2px;
    background:var(--ink);position:relative}
  .navtoggle__bars::before,.navtoggle__bars::after{content:"";position:absolute;
    left:0;width:17px;height:2px;border-radius:2px;background:var(--ink)}
  .navtoggle__bars::before{top:-5px} .navtoggle__bars::after{top:5px}
  /* Half the viewport wide, hung under the bar on the right beneath the
     button that opened it. max-height animates; height:auto cannot. */
  /* The colour lives on the container, not on `.navsheet a`. home.css loads
     after this file and carries `.hp a{color:inherit}`, which has the same
     specificity as `.navsheet a` and therefore wins on order — on the
     homepage the links rendered dark navy on navy. Setting it here means
     that `inherit` resolves to white instead of fighting it. */
  .navsheet{position:absolute;top:100%;right:0;width:50vw;z-index:31;
    color:#fff;background:var(--brand);border-bottom-left-radius:12px;
    overflow:hidden;max-height:0;transition:max-height .24s ease;
    box-shadow:0 12px 26px rgba(10,37,64,.26)}
  /* Tall enough for both groups, and it scrolls if the screen is short. */
  .navsheet.on{max-height:calc(100vh - var(--hdr));overflow-y:auto}
  .navsheet__group{margin:0;padding:13px 16px 5px;font-size:11px;font-weight:800;
    text-transform:uppercase;letter-spacing:.06em;color:rgba(255,255,255,.72);
    border-top:1px solid rgba(255,255,255,.14)}
  .navsheet__group:first-child{border-top:0}
  .navsheet .navsheet__group + a{border-top:0}
  .navsheet a{display:block;color:inherit;font-weight:600;font-size:15px;
    padding:14px 16px;border-top:1px solid rgba(255,255,255,.14)}
  .navsheet a:first-child{border-top:0}
  .hero{padding:50px 0 26px;text-align:center}
  .hero h1{font-size:38px;line-height:1.08;letter-spacing:-.03em;margin:0 0 12px;font-weight:800}
  .hero p{font-size:17px;color:var(--muted);max-width:680px;margin:0 auto}
  .hero .meta{margin-left:auto;margin-right:auto}
  .hero .ast{color:var(--accent);font-weight:800}
  .meta{margin-top:14px;font-size:13px;color:var(--muted)} .meta b{color:var(--ink)}
  .grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:16px;padding:8px 0 60px}
  .bcard{border-radius:var(--radius);overflow:hidden;background:var(--card);border:1px solid var(--line);
    transition:transform .15s,box-shadow .15s;cursor:pointer}
  .bcard:hover{transform:translateY(-3px);box-shadow:0 14px 30px rgba(13,22,38,.13)}
  .bcard .top{height:88px;display:flex;align-items:center;justify-content:center;padding:0 16px}
  .bcard .mark{color:#fff;font-weight:800;font-size:21px;text-align:center;letter-spacing:-.01em}
  .bcard .bot{padding:12px 16px 14px;border-top:1px solid var(--line)}
  .bcard .nm{font-weight:700;font-size:15px} .bcard .sub{color:var(--muted);font-size:12.5px;margin-top:2px}
  /* brand banner */
  .banner{position:relative;height:300px;overflow:hidden;background:var(--brand);
    display:flex;align-items:flex-end}
  .banner img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
  .banner .scrim{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.62) 0%,rgba(0,0,0,.22) 45%,rgba(0,0,0,0) 75%)}
  .banner .ph-mark{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;
    color:rgba(255,255,255,.16);font-weight:800;font-size:78px;letter-spacing:.02em}
  .banner .inner{position:relative;z-index:2;color:#fff;padding:0 0 26px}
  .banner .inner .wrap{display:flex;align-items:flex-end;gap:16px;flex-wrap:wrap}
  .banner h1{font-size:34px;margin:0;letter-spacing:-.02em;font-weight:800}
  .banner .tag{opacity:.9;font-size:14px;margin-top:4px}
  .banner .actions{margin-left:auto;display:flex;gap:10px;flex-wrap:wrap}
  .blogo{height:50px;max-width:210px;object-fit:contain}
  .cmark{max-height:46px;max-width:74%;object-fit:contain}
  .btn{display:inline-flex;align-items:center;gap:8px;padding:10px 15px;border-radius:10px;
    font-weight:700;font-size:14px;border:1px solid transparent;cursor:pointer;background:#fff;color:var(--ink)}
  .btn.ghost{background:rgba(255,255,255,.16);color:#fff;border-color:rgba(255,255,255,.45)}
  .btn.ghost:hover{background:rgba(255,255,255,.26)}
  .btn.solid{background:var(--ink);color:#fff}
  .crumbs{font-size:15px;color:var(--muted);padding:18px 0 6px;font-weight:600}
  .crumbs a{color:var(--muted);cursor:pointer;transition:color .15s}
  /* 18px tall before, under the WCAG 2.2 AA 24x24 minimum. The trail stays
     on one line; only the tappable box around each link grows. */
  @media(max-width:767px){
    .crumbs{padding:10px 0 6px}
    .crumbs a{display:inline-flex;align-items:center;min-height:48px}
  }
  .crumbs a:hover{color:var(--brand);text-decoration:underline}
  /* Four per row, not as many as fit. At 205px minimums a wide screen packed
     in six, which squeezed the payment column until "$479/mo" wrapped onto two
     lines — cutting off the term and knocking every card's rows out of line
     with its neighbours. */
  .vgrid{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));
    gap:14px;padding:8px 0 28px}
  @media (min-width:1000px){
    .vgrid{grid-template-columns:repeat(4,minmax(0,1fr))}
  }
  .vgrid:last-child{padding-bottom:70px}
  .bodyhdr{display:flex;align-items:center;gap:10px;margin:22px 0 2px;font-size:13px;font-weight:800;
    text-transform:uppercase;letter-spacing:.08em;color:var(--brand)}
  .bodyhdr::after{content:'';flex:1;height:1px;background:var(--line)}
  .bodyhdr span{order:1;flex:none;background:var(--brand);color:#fff;border-radius:20px;padding:1px 9px;font-size:11px}
  .na{color:var(--muted);font-weight:700;font-size:14px;opacity:.7}
  .evtag{position:absolute;top:8px;left:8px;z-index:4;background:#0a7d2c;color:#fff;font-weight:800;
    font-size:11px;letter-spacing:.02em;padding:4px 8px;border-radius:999px;box-shadow:0 2px 8px rgba(0,0,0,.25)}
  .phnote{color:#0a7d2c;font-weight:800}
  .jchip.ev{border-color:#0a7d2c;color:#0a7d2c}
  .jchip.ev.on{background:#0a7d2c;color:#fff;border-color:transparent}
  .phpill{display:inline-block;background:#e8f5ec;color:#0a7d2c;font-weight:800;font-size:10px;
    padding:1px 6px;border-radius:999px;vertical-align:middle;margin-left:6px}
  .bodynav{display:flex;flex-wrap:wrap;gap:8px;position:sticky;top:62px;z-index:6;
    background:var(--bg);margin:0 -4px;padding:10px 4px}
  .jchip{cursor:pointer;border:1px solid var(--line);background:var(--card);color:var(--ink);
    border-radius:999px;padding:7px 14px;font-size:12.5px;font-weight:800;letter-spacing:.01em;
    display:inline-flex;align-items:center;gap:7px;transition:background .15s,color .15s,border-color .15s}
  .jchip:hover{background:var(--brand);color:#fff;border-color:transparent}
  .jchip b{font-weight:800;opacity:.6;font-size:11px}
  .jchip:hover b{opacity:.85}
  /* --- mobile tap targets --------------------------------------------
     .btn was 37px tall and .jchip 34px. Both clear the WCAG 2.2 AA
     minimum of 24, so neither was a conformance failure; 48 is Google's
     recommendation and the size the menu button and footer links already
     use, so this makes the whole mobile UI one target size.
     The reason to bother is not SEO — Google retired the Mobile Usability
     report in 2023 and publishes no tap-target ranking signal. It is that
     a mis-tap next to an ad unit is an accidental ad click, and accidental
     clicks are invalid traffic against the AdSense account.
     Font size, padding and colour are untouched; only the box grows, and
     only below the breakpoint. */
  @media(max-width:767px){
    .btn{min-height:48px}
    .jchip{min-height:48px}
  }
  #topBtn{position:fixed;right:20px;bottom:20px;z-index:40;display:none;align-items:center;gap:7px;
    cursor:pointer;border:none;background:var(--brand,#0a2540);color:#fff;font-weight:800;font-size:13px;
    padding:11px 16px;border-radius:999px;box-shadow:0 10px 24px rgba(13,22,38,.28)}
  #topBtn:hover{filter:brightness(1.08)}
  @media(max-width:760px){#topBtn{right:14px;bottom:84px}}
  .vcard{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;
    display:flex;flex-direction:column;transition:transform .15s,box-shadow .15s}
  .vcard:hover{transform:translateY(-3px);box-shadow:0 14px 28px rgba(13,22,38,.12)}
  /* 16:9 to match the jelly beans. A square box with object-fit:cover was
     scaling a wide cut-out until it overflowed the frame, so the card showed
     the roof of the car and little else. The placeholder keeps its own dark
     gradient; this background only shows behind a real image. */
  .vthumb{position:relative;aspect-ratio:16/9;background:#fff;cursor:pointer;overflow:hidden}
  .vthumb img{width:100%;height:100%;object-fit:contain;display:block;padding:6px}
  .vthumb .ph{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;text-align:center;
    color:#fff;font-weight:800;font-size:20px;padding:18px;letter-spacing:-.01em}
  .vbody{padding:14px 15px 16px;display:flex;flex-direction:column;gap:10px;flex:1}
  .vbody .nm{cursor:pointer;min-height:46px}
  .vbody h3{margin:0;font-size:17px;letter-spacing:-.01em} .vbody .yr{color:var(--muted);font-size:12.5px;margin-top:1px}
  /* offer grid (the standardized 5 rows) */
  .ogrid{width:100%;border-collapse:collapse;font-size:13.5px}
  .ogrid td{padding:7px 6px;border-bottom:1px solid var(--line);vertical-align:middle}
  .ogrid tr:last-child td{border-bottom:none}
  .ogrid td.t{color:var(--muted);font-weight:700;width:34%}
  .ogrid td.o{font-weight:800;letter-spacing:-.01em;font-size:15px;white-space:nowrap}
  .ogrid td.tm{text-align:right;color:var(--muted);font-weight:600;white-space:nowrap}
  .nooffer{color:var(--muted);font-size:13px;padding:6px 0}
  /* The page footer is also `.foot`, and it matches the card's own footer div.
     Overriding only padding-top let its `padding:36px 0 60px` leak through —
     60px of dead white space under every card's buttons — along with its
     border, muted colour and 12.5px type. Reset the lot explicitly. */
  .vcard .foot{margin-top:auto;display:flex;gap:8px;padding:4px 0 0;
    border-top:none;color:inherit;font-size:inherit}
  .vcard .foot .btn{flex:1;justify-content:center;border:1px solid var(--line);
    font-size:13px;padding:8px;white-space:nowrap}
  .vcard .foot .btn.in{background:var(--brand);color:#fff;border-color:transparent}
  /* vehicle detail */
  .vdetail{display:grid;grid-template-columns:minmax(280px,420px) 1fr;gap:30px;padding:8px 0 24px;align-items:start}
  /* 16:9 on white, matching .vthumb and the jelly beans themselves. A square
     box with object-fit:cover scaled a wide cut-out until it overflowed, which
     clipped the front of the car on every model page. The placeholder keeps
     its own dark gradient, so this background only shows behind a real image. */
  .vhero{aspect-ratio:16/9;border-radius:var(--radius);overflow:hidden;
    background:#fff;position:relative;border:1px solid var(--line)}
  .vhero img{width:100%;height:100%;object-fit:contain;padding:10px}
  .vhero .ph{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;color:#fff;font-weight:800;font-size:26px;text-align:center;padding:24px}
  .vinfo h1{font-size:30px;margin:0 0 2px;letter-spacing:-.02em}
  .vinfo .sub{color:var(--muted);font-size:14px;margin-bottom:14px}
  .source-line{color:var(--muted);font-size:14px;margin:10px 0}
  .source-line a{color:inherit;text-decoration:underline}
  .biggrid{width:100%;border-collapse:separate;border-spacing:0;background:var(--card);border:1px solid var(--line);
    border-radius:var(--radius);overflow:hidden}
  .biggrid td{padding:14px 16px;border-bottom:1px solid var(--line);font-size:15px}
  .biggrid tr:last-child td{border-bottom:none}
  .biggrid td.t{color:var(--muted);font-weight:800;text-transform:uppercase;font-size:12px;letter-spacing:.04em;width:160px}
  .biggrid td.o{font-weight:800;font-size:20px;letter-spacing:-.02em}
  .biggrid td.tm{text-align:right;color:var(--muted);font-weight:600}
  .trimtbl{width:100%;border-collapse:separate;border-spacing:0;margin-top:22px;background:var(--card);
    border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
  .trimtbl th,.trimtbl td{padding:11px 14px;text-align:left;font-size:13.5px;border-bottom:1px solid var(--line)}
  .trimtbl th{background:var(--bg);font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);font-weight:800}
  .trimtbl tr:last-child td{border-bottom:none}
  .disclaimer-note{background:#fff7e6;border:1px solid #f3d488;color:#7a5b14;border-radius:10px;padding:12px 14px;font-size:12.5px;margin:18px 0}
  /* compare */
  .tray{position:sticky;bottom:0;background:#fff;border-top:1px solid var(--line);box-shadow:0 -8px 24px rgba(13,22,38,.07);z-index:25}
  .tray .wrap{display:flex;align-items:center;gap:12px;height:70px;overflow-x:auto}
  .chip{display:flex;align-items:center;gap:8px;background:var(--bg);border:1px solid var(--line);border-radius:999px;
    padding:7px 8px 7px 14px;font-size:13px;font-weight:700;white-space:nowrap}
  .chip button{border:none;background:#dfe5ea;width:20px;height:20px;border-radius:999px;cursor:pointer;font-weight:800;color:#566}
  .cmp-grid{display:grid;gap:16px;margin-top:22px;grid-template-columns:repeat(auto-fit,minmax(230px,1fr))}
  .cmp-col{background:var(--card);border:1px solid var(--line);border-radius:var(--radius);overflow:hidden}
  .cmp-col .ch{padding:14px 16px;color:#fff} .cmp-col .ch .m{font-size:12px;opacity:.85;font-weight:700} .cmp-col .ch h4{margin:2px 0 0;font-size:17px}
  .cmp-row{padding:11px 16px;border-bottom:1px solid var(--line)} .cmp-row:last-child{border-bottom:none}
  .cmp-row .k{font-size:11px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);font-weight:800}
  .cmp-row .v{font-size:18px;font-weight:800;margin-top:2px;letter-spacing:-.02em} .cmp-row .v small{font-size:12px;color:var(--muted);font-weight:600}
  .picker{display:flex;gap:10px;flex-wrap:wrap;margin:18px 0}
  select{padding:10px 12px;border:1px solid var(--line);border-radius:10px;font-size:14px;background:#fff}
  .empty-state{text-align:center;padding:60px 0;color:var(--muted)}
  .foot{padding:36px 0 60px;color:var(--muted);font-size:12.5px;border-top:1px solid var(--line);margin-top:24px}
  .section{padding-bottom:30px}
  @media(max-width:760px){.vdetail{grid-template-columns:1fr}.hero h1{font-size:30px}.banner h1{font-size:26px}}

  /* Six menu items and the wordmark need about 1,068px, so below 1,080px the
     menu button takes over (the limit was 850px with five items). */
  @media(min-width:761px) and (max-width:1079px){
    .topnav{display:none}
    .navtoggle{display:grid}
  }

  /* ---- phones --------------------------------------------------------
     The header was the worst thing on the site at this width and not only
     cosmetically: the wordmark measured 312px and the nav another 263px on
     a 390px screen, so the bar was 615px wide and every page on the site
     scrolled sideways. The wordmark drops to 13px (~253px, which leaves
     room for the 38px button) and the link row is replaced by the sheet. */
  @media(max-width:760px){
    /* 19px tall and the last target on the page under the WCAG 2.2 AA
       minimum. The bar is already 62px, so claiming 48 of it costs no
       layout — the wordmark keeps its size and position. */
    .logo{font-size:13px;white-space:nowrap;display:inline-flex;
      align-items:center;min-height:48px}
    .topbar .wrap{gap:10px;padding:0 14px}
    .topnav{display:none}
    .navtoggle{display:grid}
  }
  /* Keep the full wordmark and 48px menu target inside a narrow phone. */
  @media(max-width:360px){
    .logo{font-size:12px}
    .topbar .wrap{gap:6px;padding:0 10px}
  }


/* ===== components.css ===== */
/* Additions to base.css — written in its idiom, not a second design system.
   base.css is the existing site's stylesheet, ported verbatim. Nothing here
   redefines a token or restyles an existing class; these are only the
   components the SSG introduces that the SPA never had. */

/* ------------------------------------------------------- static page shell --
   The SPA rendered everything into #app. Static pages need real document
   structure, so these mirror the SPA's own spacing and rhythm. */
.skip { position:absolute; left:-9999px; top:0; z-index:100;
  background:var(--brand); color:#fff; padding:10px 16px; border-radius:0 0 10px 0; }
.skip:focus { left:0 }
:focus-visible { outline:3px solid var(--accent); outline-offset:2px }

.page { padding:8px 0 40px }
.page h1 { font-size:34px; letter-spacing:-.025em; font-weight:800; margin:0 0 10px }
.page h2 { font-size:22px; letter-spacing:-.02em; font-weight:800; margin:34px 0 12px }
.page h3 { font-size:17px; letter-spacing:-.01em; font-weight:800; margin:22px 0 8px }
.lede { font-size:17px; color:var(--muted); max-width:70ch; margin:0 0 18px }

/* No line-length cap on page body text. These blocks sit inside the
   1180px .wrap alongside buttons and ad slots that are not capped, so a
   72-78ch limit left the text stopping ~55% across with a dead strip down
   the right that read as a stray border. Filling the column is the
   deliberate trade: longer lines, one consistent edge. */
.prose { max-width:none }
.prose p { margin:0 0 14px }
.prose ul, .prose ol { padding-left:20px; margin:0 0 14px }
.prose li { margin-bottom:6px }
.prose a { color:var(--accent); font-weight:600 }
.prose a:hover { text-decoration:underline }

.stats { display:grid; gap:14px; margin:22px 0 8px;
  grid-template-columns:repeat(auto-fit,minmax(150px,1fr)) }
.stat { background:var(--card); border:1px solid var(--line);
  border-radius:var(--radius); padding:14px 16px }
.stat .v { font-size:26px; font-weight:800; letter-spacing:-.02em }
.stat .k { font-size:12px; color:var(--muted); font-weight:700;
  text-transform:uppercase; letter-spacing:.05em }

/* ------------------------------------------------------------ breadcrumbs --
   The SPA used .crumbs with click handlers; static pages need real links,
   plus BreadcrumbList schema alongside. */
.breadcrumbs ol { display:flex; flex-wrap:wrap; gap:6px; list-style:none;
  margin:0; padding:18px 0 6px; font-size:14px; color:var(--muted); font-weight:600 }
.crumb + .crumb::before { content:'/'; margin-right:6px; opacity:.5 }
.crumb a { color:var(--muted) }
.crumb a:hover { color:var(--brand); text-decoration:underline }
.crumb--current { color:var(--ink) }
/* 17px tall on phones, under the WCAG 2.2 AA 24x24 minimum. Easy to miss
   because the site has two breadcrumb UIs — this schema-backed .breadcrumbs
   trail and the plain .crumbs row — and offer detail pages render both, so
   fixing .crumbs alone left these still failing.
   The height goes on the <li>, not the <a>. Putting it on the link alone
   gave the last crumb — which is current-page text, not a link — no box of
   its own, so it floated above the centred links and the trail read as two
   ragged lines. */
@media(max-width:767px){
  .breadcrumbs ol { padding:10px 0 6px; align-items:center }
  .crumb { display:inline-flex; align-items:center; min-height:48px }
  .crumb a { display:inline-flex; align-items:center; align-self:stretch }
}

/* ---------------------------------------------------------------- trends --
   Month-over-month sparklines. Green means better for the shopper, not "up":
   a falling lease payment and a rising cash allowance are both good news. */
.trend { display:grid; align-items:center; gap:4px 14px;
  grid-template-columns:minmax(110px,1fr) auto auto;
  grid-template-areas:"label chart now" "meta meta meta";
  padding:12px 0; border-bottom:1px solid var(--line) }
.trend:last-child { border-bottom:none }
.trend__label { grid-area:label; font-weight:700; font-size:14px }
.trend__chart { grid-area:chart; line-height:0 }
.trend__now { grid-area:now; font-weight:800; font-size:15px; letter-spacing:-.01em;
  min-width:88px; text-align:right }
.trend__meta { grid-area:meta; display:flex; flex-wrap:wrap; gap:4px 14px; font-size:12.5px }
.trend__delta--good { color:#0a7d2c; font-weight:700 }
.trend__delta--bad { color:#b3261e; font-weight:700 }
.trend__delta--flat, .trend__delta--none, .trend__span { color:var(--muted); font-weight:600 }
/* The three tracks have hard floors — minmax(110px,1fr), the sparkline's own
   width, and .trend__now's 88px min-width — which with the 14px gaps total
   358px. Inside the 328px content column of a 390px phone that overflowed by
   30px. Giving the sparkline its own row keeps all three legible instead of
   squeezing them; nothing changes above the breakpoint. */
@media(max-width:480px){
  .trend{grid-template-columns:minmax(0,1fr) auto;
    grid-template-areas:"label now" "chart chart" "meta meta"}
  .trend__now{min-width:0}
  /* The sparkline keeps its natural 132x34. Stretching it to the full column
     would make it 84px tall on a phone, which is a chart, not a sparkline —
     and 132px cannot overflow a 328px row anyway. */
}
.spark { display:block; overflow:visible }

.legend { background:var(--card); border:1px solid var(--line);
  border-radius:var(--radius); padding:14px 16px; margin:14px 0 18px; font-size:13px }
.legend__summary { font-weight:800; cursor:pointer }
.legend__list { list-style:none; margin:12px 0 6px; padding:0; display:grid; gap:7px }
.legend__list li { display:flex; align-items:baseline; gap:9px }
.legend__swatch { flex:0 0 22px; height:3px; border-radius:2px; margin-top:7px }
.legend__swatch--good { background:#0a7d2c }
.legend__swatch--bad { background:#b3261e }
.legend__swatch--flat { background:var(--muted) }
.legend__swatch--gap { background:repeating-linear-gradient(90deg,var(--muted) 0 5px,transparent 5px 10px) }
.legend__note { margin:8px 0 0; color:var(--muted); font-size:12.5px }

/* ------------------------------------------------------------ offer table --
   Full trim-by-trim listing. Reuses .trimtbl from base.css for the shell;
   this only adds expiry state, which the SPA never displayed. */
.table-scroll { overflow-x:auto; margin:18px 0; -webkit-overflow-scrolling:touch }
.trimtbl caption { text-align:left; padding:0 0 8px; color:var(--muted); font-size:13px }

/* ------------------------------------------------------------- lease cost --
   "What this lease costs": the headline lease with the amount due at signing
   counted in. Built by ssg/lease_math.py. */
.leasecost__offer { color:var(--muted); font-size:14px; margin:0 0 10px }
.leasecost__grid { display:grid; grid-template-columns:repeat(auto-fit,minmax(200px,1fr));
  gap:12px; margin:14px 0 }
.leasecost__item { background:var(--card); border:1px solid var(--line);
  border-radius:var(--radius); padding:14px 16px }
.leasecost__item dt { font-size:11px; text-transform:uppercase; letter-spacing:.04em;
  color:var(--muted); font-weight:800 }
.leasecost__item dd { margin:6px 0 0; font-size:22px; font-weight:800; letter-spacing:-.01em }
.leasecost__item dd small { display:block; font-size:12.5px; font-weight:600;
  color:var(--muted); margin-top:2px }
.leasecost__note { color:var(--muted); font-size:12.5px; margin:0 }

/* ------------------------------------------------------------- best deals --
   /offers/best-deals/: ranking tables. Built by ssg/pages/best_deals.py. */
.best-jump { margin:0 0 6px; font-weight:700 }
.best-jump a, .best-link { color:var(--accent); text-decoration:underline }
.best-link { font-weight:700 }
.best-sub { margin:28px 0 0; font-size:17px; letter-spacing:-.01em }
.best-count { color:var(--muted); font-size:14px; margin:4px 0 0 }
.best-rank { display:inline-block; min-width:1.9em; color:var(--muted); font-weight:800 }
.best-table a { color:inherit; font-weight:700; text-decoration:underline }

/* ---------------------------------------------------------- offer changes --
   /offers/changes/: month-over-month tables and lists. Built by
   ssg/pages/offer_changes.py. The words Down and Up carry the meaning; the
   colour only repeats it. */
/* ----------------------------------------------------------- buying guide --
   /buying-guide/...: long-form text kept to a readable line length; the
   example table runs the full width. Built by ssg/pages/buying_guide.py. */
.guide-text { max-width:76ch }
.guide-text h2 { margin:34px 0 12px; font-size:24px; letter-spacing:-.02em }
.guide-text li { margin-bottom:8px }
.guide-table td:first-child { min-width:190px }

.chg-down { color:#0a7d2c; font-weight:700 }
.chg-up { color:#b3261e; font-weight:700 }
.chg-list { list-style:none; margin:12px 0 0; padding:0; columns:2; column-gap:32px }
.chg-list li { padding:8px 0; border-bottom:1px solid var(--line); break-inside:avoid;
  font-size:14px }
.chg-list a { color:inherit; font-weight:700; text-decoration:underline }
.chg-list span { display:block; color:var(--muted); margin-top:2px }
@media(max-width:760px){ .chg-list { columns:1 } }
@media(max-width:1224px){
  .best-deals-page .page, .offer-changes-page .page, .guide-page .page { padding-left:22px; padding-right:22px }
}

/* ---- trim table on phones ------------------------------------------------
   Nine columns measured 722px inside a 346px window, so reading lease terms
   meant swiping a table sideways. Below 760px each row becomes its own card
   and each cell carries its own label from the `data-label` the generator
   writes, because there is no header row left to read across to.

   The <thead> is hidden with clip rather than display:none: a table whose
   header cells are display:none stops being a table to a screen reader, and
   the row/column association goes with it. */
@media(max-width:760px){
  /* .table-scroll keeps its overflow-x:auto — a stacked table fits inside it,
     so there is nothing left to scroll and no scrollbar appears. */
  .trimtbl--stack{display:block;background:transparent;border:0;margin-top:14px}
  .trimtbl--stack thead{position:absolute;width:1px;height:1px;overflow:hidden;
    clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap}
  .trimtbl--stack tbody,.trimtbl--stack tr,.trimtbl--stack td{display:block;width:auto}
  .trimtbl--stack tr{background:var(--card);border:1px solid var(--line);
    border-radius:var(--radius);padding:4px 14px;margin-bottom:10px}
  .trimtbl--stack tr:last-child{margin-bottom:0}
  .trimtbl--stack td{display:flex;justify-content:space-between;align-items:baseline;
    gap:14px;padding:9px 0;text-align:right;
    border-bottom:1px solid var(--line)}
  .trimtbl--stack tr td:last-child{border-bottom:none}
  .trimtbl--stack td::before{content:attr(data-label);flex:0 0 auto;text-align:left;
    font-size:11px;text-transform:uppercase;letter-spacing:.04em;
    color:var(--muted);font-weight:800}
  /* The trim name is the card's heading, so it loses the label and the
     right-alignment and sits on its own line. */
  .trimtbl--stack td:first-child{display:block;text-align:left;font-weight:800;
    font-size:15px;padding-top:11px}
  .trimtbl--stack td:first-child::before{display:none}
}
.expired { display:inline-flex; align-items:center; gap:6px; color:var(--muted) }
.expired__tag { font-size:10px; font-weight:800; text-transform:uppercase;
  letter-spacing:.05em; padding:2px 6px; border-radius:999px;
  background:#b3261e; color:#fff; white-space:nowrap }
tr.offers-table__row--expired th, tr.offers-table__row--expired td { opacity:.6 }

.disclaimers { margin:20px 0; font-size:13px; color:var(--muted) }
.disclaimers summary { cursor:pointer; font-weight:800; color:var(--ink) }
.disclaimers ul { padding-left:18px; margin:12px 0 }
.disclaimers li { margin-bottom:9px }
.disclaimers__note { font-style:italic }

.callout { background:#fff7e6; border:1px solid #f3d488; color:#7a5b14;
  border-radius:10px; padding:12px 14px; font-size:12.5px; margin:18px 0 }
.callout p { margin:0 }
.callout--warn { background:#fdecea; border-color:#f3b0aa; color:#8a2019 }

/* --------------------------------------------------------------- ad slots --
   Reserved at full size before AdSense approval so adding the markup later
   causes no layout shift. */
.adslot { display:flex; flex-direction:column; align-items:center; gap:4px; margin:22px auto }
.adslot__label { font-size:10px; text-transform:uppercase; letter-spacing:.1em; color:var(--muted) }
/* One size rule for the placeholder and the live unit alike, from the
   --ad-* properties ad_slot() writes. The live <ins> used to carry an
   uncapped inline width, so it would have overflowed narrow viewports the
   moment AdSense was enabled while the placeholder next to it did not.
   width:min(size,100%) is what keeps a 728px unit inside a 390px phone. */
.adslot__placeholder,
.adslot ins.adsbygoogle {
  display:flex; width:min(var(--ad-w), 100%); height:var(--ad-h); max-width:100% }
.adslot ins.adsbygoogle { display:inline-block }
.adslot__placeholder { align-items:center; justify-content:center;
  border:1px dashed #cfd8e0; border-radius:10px; background:var(--card);
  color:var(--muted); font-size:11px; text-transform:uppercase; letter-spacing:.1em }
@media(max-width:767px){
  /* --ad-mw/--ad-mh are absent on desktop-only slots, which are hidden
     below, so the fallback to the desktop size is never what renders. */
  .adslot__placeholder,
  .adslot ins.adsbygoogle {
    width:min(var(--ad-mw, var(--ad-w)), 100%);
    height:var(--ad-mh, var(--ad-h)) }
  .adslot--desktop-only{display:none}
}

/* ----------------------------------------------------------------- lists --
   Index pages the SPA handled with in-page routing. */
.brand-list, .sitemap-list, .mover-list { list-style:none; margin:18px 0; padding:0 }
.brand-list { display:grid; gap:10px }
.brand-list a { display:flex; justify-content:space-between; align-items:baseline;
  gap:16px; flex-wrap:wrap; padding:14px 16px; background:var(--card);
  border:1px solid var(--line); border-radius:var(--radius) }
.brand-list a:hover { border-color:var(--brand) }
.brand-row__name { font-weight:800; font-size:16px; letter-spacing:-.01em }
.brand-row__meta { font-size:13px; color:var(--muted) }

/* Shared homepage and offers index cards, with a shallow arched top. */
.offer-brand-grid {
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr));
  gap:18px; list-style:none; padding:0; margin:24px 0;
}
.offer-brand-grid > li { display:flex; min-width:0; }
.offer-brand-tile {
  display:flex; flex-direction:column; width:100%; min-height:190px;
  padding:25px 20px 18px; color:#111; background:#fff;
  border:2px solid var(--offer-brand-color,var(--brand));
  border-radius:50% 50% 8px 8px / 29px 29px 8px 8px;
  box-shadow:0 2px 5px rgba(12,17,22,.025);
  transition:transform .16s ease,box-shadow .16s ease;
}
.offer-brand-tile:hover {
  transform:translateY(-3px); box-shadow:0 6px 18px rgba(12,17,22,.09);
}
.offer-brand-tile:focus-visible { outline:3px solid var(--ink); outline-offset:4px; }
.offer-brand-tile__name {
  display:flex; align-items:center; justify-content:center; min-height:44px;
  margin:0 0 10px; font-size:22px; font-weight:750; line-height:1.12;
  letter-spacing:-.025em; text-align:center; overflow-wrap:anywhere;
}
.offer-brand-tile__facts {
  display:flex; flex-direction:column; gap:5px; margin-top:auto;
  color:#111; font-size:13.5px; line-height:1.45; text-align:left;
}
.offer-brand-jump { margin:24px 0 8px; max-width:460px; }
.offer-brand-jump label { display:block; margin-bottom:7px; color:#111; font-weight:700; }
.offer-brand-jump__controls { display:flex; gap:8px; }
.offer-brand-jump input {
  min-width:0; flex:1; padding:12px 14px; border:1px solid #59626c;
  border-radius:8px; background:#fff; color:#111; font:inherit;
}
.offer-brand-jump input::placeholder { color:#444; }
.offer-brand-jump input:focus-visible { outline:3px solid #1267c8; outline-offset:2px; }
.offer-brand-jump button {
  border:0; border-radius:8px; padding:12px 16px; background:#111;
  color:#fff; font:inherit; font-weight:700; cursor:pointer;
}
.offer-brand-jump button:focus-visible { outline:3px solid #1267c8; outline-offset:2px; }
@media(min-width:1100px) and (max-width:1240px) {
  .offer-brand-tile { padding:22px 15px 16px; }
}
@media(max-width:1099px) {
  .offer-brand-grid { grid-template-columns:repeat(3,minmax(0,1fr)); }
}
@media(max-width:760px) {
  .offer-brand-grid { grid-template-columns:repeat(2,minmax(0,1fr)); }
}
@media(max-width:520px) {
  .offer-brand-grid { grid-template-columns:1fr; gap:16px; }
  .offer-brand-tile { padding:25px 22px 18px; }
  .offer-brand-jump__controls { flex-direction:column; }
}
@media(prefers-reduced-motion:reduce) { .offer-brand-tile { transition:none; } }

/* Research index: a tile per brand, four across, each with a jump menu.
   The previous full-width stacked rows made a 14-brand list read as a long
   scroll with one brand per line. */
.sr-only { position:absolute; width:1px; height:1px; padding:0; margin:-1px;
  overflow:hidden; clip:rect(0 0 0 0); white-space:nowrap; border:0 }
.brand-grid { list-style:none; margin:18px 0; padding:0; display:grid;
  gap:14px; grid-template-columns:repeat(4,minmax(0,1fr)) }
.brand-tile { background:var(--card); border:1px solid var(--line);
  border-radius:var(--radius); padding:16px; display:flex;
  flex-direction:column; gap:12px }
.brand-tile[hidden] { display:none }
.brand-tile__head { display:flex; flex-direction:column; gap:3px;
  text-decoration:none; color:inherit }
.brand-tile__head:hover .brand-tile__name { color:var(--brand) }
.brand-tile__name { font-weight:800; font-size:17px; letter-spacing:-.01em }
.brand-tile__meta { font-size:12.5px; color:var(--muted) }
.brand-tile__jump { margin-top:auto; display:flex; gap:6px }
.brand-tile__jump select { width:100%; font:inherit; font-size:13px;
  padding:8px 10px; border:1px solid var(--line); border-radius:9px;
  background:var(--bg); color:inherit; cursor:pointer }
.brand-tile__jump select:focus-visible { outline:2px solid var(--brand);
  outline-offset:1px }

.brand-search { margin:18px 0 6px; position:relative }
.brand-search input { width:100%; font:inherit; font-size:15px;
  padding:13px 15px; border:1px solid var(--line); border-radius:11px;
  background:var(--card) }
.brand-search input:focus-visible { outline:2px solid var(--brand);
  outline-offset:1px; border-color:transparent }
.brand-search__results { list-style:none; margin:6px 0 0; padding:6px;
  background:var(--card); border:1px solid var(--line); border-radius:11px;
  position:absolute; left:0; right:0; z-index:20; max-height:320px;
  overflow:auto; box-shadow:0 10px 30px rgba(10,20,40,.12) }
.brand-search__results a { display:block; padding:9px 11px; border-radius:8px;
  text-decoration:none; color:inherit; font-size:14px }
.brand-search__results a:hover { background:var(--bg); color:var(--brand) }
.brand-search__empty { color:var(--muted); font-size:14px; margin:14px 0 }
.research-year-picker { margin:24px 0 18px; padding:24px;
  background:var(--card); border:1px solid var(--line); border-radius:var(--radius) }
.research-year-picker h2 { margin:0 0 16px; font-size:24px }
.research-year-picker__buttons { display:flex; flex-wrap:wrap; gap:10px }
.research-year-picker__buttons button { min-width:82px; padding:11px 16px;
  border:1px solid var(--line); border-radius:9px; background:var(--bg);
  color:var(--ink); font:inherit; font-weight:800; cursor:pointer }
.research-year-picker__buttons button:hover { border-color:var(--brand); color:var(--brand) }
.research-year-picker__buttons button[aria-pressed="true"] { background:var(--brand);
  border-color:var(--brand); color:#fff }
.research-year-picker__buttons button:focus-visible { outline:3px solid var(--accent); outline-offset:2px }
.research-year-picker__count { margin:14px 0 0; color:var(--muted); font-size:14px }
@media(max-width:1100px){ .brand-grid{grid-template-columns:repeat(3,minmax(0,1fr))} }
@media(max-width:860px){ .brand-grid{grid-template-columns:repeat(2,minmax(0,1fr))} }
@media(max-width:560px){ .brand-grid{grid-template-columns:1fr} }

.mover-list { display:grid; gap:10px; grid-template-columns:repeat(auto-fit,minmax(270px,1fr)) }
.mover a { display:grid; grid-template-columns:1fr auto; gap:2px 12px; padding:13px 15px;
  background:var(--card); border:1px solid var(--line); border-radius:var(--radius) }
.mover a:hover { border-color:#0a7d2c }
.mover__name { font-weight:700; font-size:15px }
.mover__now { font-weight:800; letter-spacing:-.01em }
.mover__delta { grid-column:1/-1; font-size:12.5px; color:#0a7d2c; font-weight:700 }

.sitemap-list { columns:2; column-gap:32px }
.sitemap-list li { break-inside:avoid; margin-bottom:5px; font-size:14px }
.sitemap-list a { color:var(--accent) }
.sitemap-list a:hover { text-decoration:underline }
@media(max-width:640px){ .sitemap-list{columns:1} }

/* ------------------------------------------------------------------- faq --*/
.faq-item { border-bottom:1px solid var(--line); padding:18px 0 }
.faq-item:last-child { border-bottom:none }
.faq-item h3 { margin:0 0 6px; font-size:17px }
.faq-item p { margin:0; color:var(--muted) }

/* -------------------------------------------------------------- research --
   Model research pages, structured from the Mercedes C-Class template. */
.res-hero { background:var(--brand); color:#fff; padding:44px 0 38px; text-align:center }
.res-hero h1 { font-size:38px; line-height:1.08; letter-spacing:-.03em; margin:0 0 12px; font-weight:800 }
.res-hero__sub { font-size:17px; opacity:.86; max-width:760px; margin:0 auto 20px }
.cta-buttons { display:flex; gap:10px; justify-content:center; flex-wrap:wrap }
.cta-buttons .btn[hidden] { display:none }

.banner-placeholder { display:flex; align-items:center; justify-content:center;
  height:min(30vw,300px); background:var(--brand); color:rgba(255,255,255,.16);
  font-weight:800; font-size:clamp(28px,5vw,78px); letter-spacing:.02em }
.banner-image { display:block; width:100%; height:min(30vw,300px); object-fit:cover; background:var(--brand) }

.trim-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:16px; margin:18px 0 }
.trim-card { background:var(--card); border:1px solid var(--line); border-radius:var(--radius);
  padding:20px; display:flex; flex-direction:column }
.brand-year-card[hidden], .brand-year-section[hidden] { display:none }
.trim-card h3 { margin:0 0 4px; font-size:18px; font-weight:800; letter-spacing:-.01em;
  text-align:center; min-height:48px; display:flex; align-items:center; justify-content:center; line-height:1.2 }
.trim-card .subtitle { min-height:22px; margin:0 0 10px; text-align:center;
  color:var(--muted); font-size:12.5px; font-weight:700;
  text-transform:uppercase; letter-spacing:.05em }
/* `height:auto` is load-bearing. The markup carries width/height attributes,
   which browsers apply as a presentational height — so without this the card
   image renders at that attribute's height and `aspect-ratio` is ignored
   entirely, leaving a tall band of background around a short photo. Same
   failure that made the vehicle cards 540px tall once before. */
.trim-card img { display:block; width:100%; height:auto; aspect-ratio:16/9;
  object-fit:contain; border-radius:10px; margin-bottom:12px; padding:10px;
  background:var(--bg) }
.trim-card .img-placeholder { display:flex; align-items:center; justify-content:center;
  aspect-ratio:1/1; border-radius:10px; margin-bottom:12px; background:#0d1320;
  color:rgba(255,255,255,.45); font-size:12px; font-weight:800;
  text-transform:uppercase; letter-spacing:.06em; text-align:center; padding:16px }
.pricing-tier { background:var(--bg); border:1px solid var(--line); padding:10px 13px;
  border-radius:10px; margin:0 0 12px; font-weight:800; font-size:15px;
  letter-spacing:-.01em; min-height:42px; display:flex; align-items:center }
/* No tall fixed floors here: the alignment script equalises these sections
   across each row at load, so a 120px/210px minimum only ever adds dead
   space under the short descriptions and four-item feature lists that the
   newer brands produce. */
.card-description { min-height:40px; font-size:13.5px; color:var(--muted); margin:0 }
.features-list { list-style:none; padding:12px 0; margin:0; min-height:0 }
.features-list li { padding:7px 0; border-bottom:1px solid var(--line); font-size:13.5px }
.features-list li:last-child { border-bottom:none }
.features-list li::before { content:'\2713'; color:var(--accent); font-weight:800; margin-right:8px }
.config-line { font-size:12px; color:var(--muted); margin:8px 0 0; padding-top:10px;
  border-top:1px dashed var(--line) }
.card-buttons { margin-top:auto; padding-top:13px; display:flex; gap:8px }
.card-buttons .btn { flex:1; justify-content:center; border:1px solid var(--line); font-size:13px; padding:8px }
.card-buttons .btn.in { background:var(--brand); color:#fff; border-color:transparent }

.quiz-grid { display:grid; grid-template-columns:repeat(3,1fr); gap:14px; margin:18px 0 }
.quiz-card { background:var(--card); border:1px solid var(--line); border-top:3px solid var(--accent);
  border-radius:var(--radius); padding:16px; text-align:center }
.quiz-card h4 { color:var(--accent); font-size:11px; margin:0 0 8px; text-transform:uppercase;
  letter-spacing:.06em; font-weight:800 }
.quiz-card .model-name { font-weight:800; font-size:16px; display:block; margin-bottom:6px;
  letter-spacing:-.01em }
.quiz-card p { font-size:13px; margin:0 0 6px; color:var(--muted) }

@media(min-width:1201px){
  .trim-grid, .quiz-grid { grid-template-columns:repeat(12,minmax(0,1fr)) }
  /* Every card needs a span on a 12-column grid, or it falls back to a
     single 1/12 track and renders as a sliver one word wide. The rules below
     only covered counts 3-8, which held while every brand averaged several
     trims per model — but the main trim grid is not capped, so 160 of 283
     models (counts 1, 2 and 9+) were laying out as slivers.

     Three across is the default because it is what the existing counts
     mostly do (3, 5 and 6 all span 4) and what a long lineup should do: a
     nine-trim model reads as 3/3/3. Counts 4, 7 and 8 override to four
     across below, and one or two cards keep this same card width rather
     than stretching into banners. */
  .trim-grid > .trim-card, .quiz-grid > .quiz-card { grid-column:span 4 }
  .trim-grid.trim-count-3 > .trim-card,
  .trim-grid.trim-count-5 > .trim-card,
  .trim-grid.trim-count-6 > .trim-card,
  .trim-grid.trim-count-7 > .trim-card:nth-child(n+5) { grid-column:span 4 }
  .trim-grid.trim-count-4 > .trim-card,
  .trim-grid.trim-count-7 > .trim-card:nth-child(-n+4),
  .trim-grid.trim-count-8 > .trim-card { grid-column:span 3 }
  .trim-grid.trim-count-5 > .trim-card:nth-child(4) { grid-column:3/span 4 }
  .trim-grid.trim-count-5 > .trim-card:nth-child(5) { grid-column:7/span 4 }
  .quiz-grid.quiz-count-3 > .quiz-card,
  .quiz-grid.quiz-count-5 > .quiz-card,
  .quiz-grid.quiz-count-6 > .quiz-card,
  .quiz-grid.quiz-count-7 > .quiz-card:nth-child(n+5) { grid-column:span 4 }
  .quiz-grid.quiz-count-4 > .quiz-card,
  .quiz-grid.quiz-count-7 > .quiz-card:nth-child(-n+4),
  .quiz-grid.quiz-count-8 > .quiz-card { grid-column:span 3 }
  .quiz-grid.quiz-count-5 > .quiz-card:nth-child(4) { grid-column:3/span 4 }
  .quiz-grid.quiz-count-5 > .quiz-card:nth-child(5) { grid-column:7/span 4 }
}
@media(max-width:1200px){ .trim-grid{grid-template-columns:repeat(2,1fr)} .quiz-grid{grid-template-columns:1fr} }
@media(max-width:760px){
  .trim-grid,.quiz-grid{grid-template-columns:1fr}
  .res-hero h1{font-size:30px}
  .banner-placeholder,.banner-image{height:180px}
}

.pricing-note { background:#fff7e6; border:1px solid #f3d488; color:#7a5b14;
  border-radius:10px; padding:12px 14px; font-size:12.5px; margin:20px 0 }
/* The asterisk footnote sits inside the pricing note, separated by a rule so
   the third-party attribution reads as its own statement rather than as a
   continuation of the manufacturer disclaimer above it. */
.pricing-note .price-note { margin:10px 0 0; padding-top:10px;
  border-top:1px solid #f3d488 }
.pricing-note .price-note a { color:#7a5b14; text-decoration:underline }
.seo-content p { max-width:none; margin:0 0 14px }
.seo-content a { color:var(--accent); font-weight:600 }
.seo-content a:hover { text-decoration:underline }
.table-note { font-size:12px; color:var(--muted); margin:-8px 0 18px; max-width:74ch }
.highlight { color:var(--accent); font-weight:800 }

/* ---------------------------------------------------------------- footer --
   base.css has .foot; these are the pieces the static footer adds. */
.foot__nav ul { display:flex; flex-wrap:wrap; gap:6px 20px; list-style:none; margin:0 0 14px; padding:0 }
.foot__nav a { color:var(--muted); font-weight:600 }
.foot__nav a:hover { color:var(--ink); text-decoration:underline }
/* On phones these were 15px tall on rows 10px apart — under the WCAG 2.2 AA
   minimum of 24x24, and too tightly packed for the spacing exemption to
   apply, so they failed on both counts. 48 is the same target the menu
   button uses. The text does not move; the hit area around it grows, and
   the row gap goes to zero because each link now carries its own height. */
@media(max-width:767px){
  .foot__nav ul { gap:0 20px }
  .foot__nav a { display:inline-flex; align-items:center; min-height:48px }
}
.foot__stamp { font-weight:700; color:var(--ink); margin:0 0 10px }
.foot p { max-width:82ch; margin:0 0 10px }

@media(prefers-reduced-motion:reduce){ *{animation:none!important;transition:none!important} }
@media print { .topbar,.foot__nav,.adslot,.skip,#topBtn{display:none} }

/* Keyword line inside an offer-page H1 (brand banner and model page). One
   heading for the crawler, two visual lines for the reader: the name stays
   the headline and "Lease Deals & Finance Offers" sits quieter beneath it. */
h1 .h1-kw{display:block;font-size:.55em;font-weight:600;letter-spacing:0;line-height:1.3;margin-top:4px;opacity:.82}


/* ===== compare.css ===== */
/* ===== compare.css =====
   Ported from the Mercedes vehicle comparison app's globals.css.
   Generated by tools/port_compare_css.py — do not edit by hand.
   Every rule is scoped under `.cmp` so it cannot collide with
   base.css. MB Corpo @font-face blocks removed and families mapped
   to the site typeface, per OEM_REBUILD_GUIDE.md.
*/

.cmp {
  --ink: #111314;
  --muted: #5d6267;
  --line: #d8dadd;
  --soft-line: #e9eaeb;
  --paper: #ffffff;
  --surface: #f5f6f6;
  --control-gray: #c8cbcd;
  --graphite: #191b1d;
  --blue: #0a58ca;
  --blue-dark: #0a4fb4;
  --blue-pale: #e8f3fb;
  --vehicle-count: 3;
}

.cmp * {
  box-sizing: border-box;
}

.cmp {
  scroll-behavior: smooth;
}

.cmp {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font);
  line-height: 1.45;
}

body.modal-open {
  overflow: hidden;
}

.cmp button, .cmp input {
  font: inherit;
}

.cmp button, .cmp a {
  -webkit-tap-highlight-color: transparent;
}

.cmp button:focus-visible, .cmp a:focus-visible, .cmp input:focus-visible, .cmp summary:focus-visible {
  outline: 3px solid rgba(0, 120, 214, 0.35);
  outline-offset: 3px;
}

.cmp a {
  color: inherit;
}

.cmp {
  min-height: 100vh;
}

.cmp .topbar {
  align-items: center;
  background: #0d0e0f;
  color: white;
  display: flex;
  height: 72px;
  justify-content: space-between;
  padding: 0 clamp(24px, 5vw, 80px);
  position: relative;
  z-index: 30;
}

.cmp .brand {
  align-items: center;
  display: inline-flex;
  font-family: var(--font);
  font-size: 21px;
  gap: 13px;
  text-decoration: none;
}

.cmp .brand img {
  height: 42px;
  object-fit: contain;
  width: 42px;
}

.cmp .topbar nav {
  align-items: center;
  display: flex;
  gap: clamp(18px, 3vw, 42px);
}

.cmp .topbar nav a, .cmp .topbar nav button {
  background: none;
  border: 0;
  color: #f6f6f6;
  cursor: pointer;
  font-size: 14px;
  text-decoration: none;
}

.cmp .topbar nav a:hover, .cmp .topbar nav button:hover {
  color: #0a58ca;
}

.cmp .hero {
  background: white;
  padding: clamp(28px, 3vw, 42px) 24px 22px;
  text-align: center;
}

.cmp .eyebrow {
  color: #4e5459;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  margin: 0 0 12px;
  text-transform: uppercase;
}

.cmp .hero h1, .cmp .section-heading h2, .cmp .specification-toolbar h2, .cmp .rail-heading h2, .cmp .picker-header h2, .cmp .load-state h1 {
  font-family: var(--font);
  font-weight: 400;
  letter-spacing: -0.025em;
  margin: 0;
}

.cmp .hero h1 {
  font-size: clamp(42px, 5vw, 68px);
  line-height: 1.04;
}

.cmp .hero-copy {
  color: var(--muted);
  font-size: clamp(16px, 1.4vw, 18px);
  margin: 12px auto 18px;
  max-width: 780px;
}

.cmp .compare-modes {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin: 0 auto;
}

.cmp .compare-modes a {
  border: 1px solid var(--line);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  padding: 10px 16px;
  text-decoration: none;
}

.cmp .compare-modes a[aria-current="page"] {
  border-color: var(--blue);
  background: var(--blue-pale);
  color: var(--blue-dark);
}

.cmp .compare-unavailable {
  border: 1px solid var(--line);
  color: var(--ink);
  margin: 0 auto 20px;
  max-width: 760px;
  padding: 12px 16px;
  text-align: center;
}

.cmp .primary-button, .cmp .secondary-button {
  align-items: center;
  border: 1px solid transparent;
  cursor: pointer;
  display: inline-flex;
  font-weight: 700;
  gap: 28px;
  justify-content: center;
  min-height: 50px;
  padding: 13px 22px;
  text-decoration: none;
  transition:
    background 160ms ease,
    border-color 160ms ease,
    transform 160ms ease;
}

.cmp .primary-button {
  background: var(--blue);
  color: white;
}

.cmp .primary-button:hover:not(:disabled) {
  background: var(--blue-dark);
  transform: translateY(-1px);
}

.cmp .primary-button:disabled {
  background: #aac9df;
  cursor: not-allowed;
}

.cmp .secondary-button {
  background: white;
  border-color: #8d9296;
  color: var(--ink);
}

.cmp .secondary-button:hover {
  border-color: var(--ink);
}

.cmp .vehicle-rail {
  background: white;
  border-bottom: 1px solid var(--line);
  padding: 24px clamp(20px, 5vw, 84px) 30px;
}

.cmp .rail-heading, .cmp .specification-toolbar {
  align-items: end;
  display: flex;
  justify-content: space-between;
  margin: 0 auto 20px;
  max-width: 1600px;
}

.cmp .rail-heading h2 {
  font-size: clamp(28px, 3vw, 40px);
}

.cmp .text-button {
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--ink);
  color: var(--ink);
  cursor: pointer;
  font-weight: 700;
  padding: 5px 0;
}

.cmp .vehicle-card-grid {
  display: grid;
  gap: clamp(18px, 2.2vw, 36px);
  grid-template-columns: repeat(3, minmax(0, 1fr));
  margin: 0 auto;
  max-width: 1600px;
}

.cmp .vehicle-card {
  /* Black, 2px. At 1px against --line (#e7ebef) the card edge all but
     disappeared on a white page, so three selected vehicles read as one
     continuous block instead of three cards. The 8px radius matches the
     trim select inside it, so the card and its control share one corner. */
  border: 2px solid var(--ink);
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  min-width: 0;
  /* Without this the artwork's square top corners poke through the rounded
     border. */
  overflow: hidden;
  position: relative;
}
.cmp .vehicle-card-copy { flex: 1; }

.cmp .vehicle-card-empty {
  align-items: center;
  appearance: none;
  background: white;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: clamp(400px, 32vw, 510px);
  padding: 34px;
  text-align: center;
  transition:
    background 160ms ease,
    border-color 160ms ease;
  width: 100%;
}

.cmp .vehicle-card-empty:hover {
  background: var(--surface);
  border-color: var(--blue);
}

.cmp .vehicle-card-empty strong {
  font-size: 17px;
  margin-top: 18px;
}

.cmp .vehicle-card-empty small {
  color: var(--muted);
  display: block;
  margin-top: 6px;
  max-width: 220px;
}

.cmp .add-vehicle-icon {
  align-items: center;
  border: 1px solid var(--blue);
  border-radius: 50%;
  color: var(--blue);
  display: flex;
  font-size: 38px;
  font-weight: 300;
  height: 64px;
  justify-content: center;
  line-height: 1;
  width: 64px;
}

.cmp .vehicle-art {
  align-items: center;
  background: var(--surface);
  display: flex;
  /* 16:9 box to match the jelly beans. Was a tall fixed band sized for
     square 500x500 Mercedes art. */
  aspect-ratio: 16 / 9;
  height: auto;
  justify-content: center;
  overflow: hidden;
  padding: 8px;
}

.cmp .vehicle-art img {
  height: 100%;
  /* `cover` crops to fill. On a cut-out that means zooming past the edges of
     the vehicle — the car looked oversized and clipped. `contain` is what the
     rest of the site uses and what a product shot needs. */
  object-fit: contain;
  width: 100%;
}

.cmp .vehicle-image-fallback {
  align-items: center;
  background: var(--surface);
  color: #3d4549;
  display: flex;
  font-family: var(--font);
  font-size: 24px;
  height: 100%;
  justify-content: center;
  width: 100%;
}

.cmp .remove-button {
  align-items: center;
  background: rgba(255, 255, 255, 0.92);
  border: 0;
  border-radius: 50%;
  color: var(--ink);
  cursor: pointer;
  display: flex;
  font-size: 26px;
  height: 42px;
  justify-content: center;
  line-height: 1;
  position: absolute;
  right: 12px;
  top: 12px;
  width: 42px;
  z-index: 2;
}

.cmp .vehicle-card-copy {
  padding: 18px 20px 20px;
}

.cmp .vehicle-year {
  color: var(--muted);
  font-size: 14px;
  margin: 0 0 3px;
}

.cmp .vehicle-card h3 {
  font-family: var(--font);
  font-size: clamp(25px, 2vw, 34px);
  font-weight: 400;
  line-height: 1.08;
  margin: 0 0 14px;
  /* Exactly three lines, never more, never fewer. The title carries the trim
     now — "2026 Chevrolet Silverado 1500 Crew Cab 4WD LT w/TurboMax" against
     "2026 Ford F-150 XL" — and a floor alone does not align two cards,
     because a long title still overruns it at narrow widths and pushes every
     row beneath it down. Clamping as well as reserving makes the block a
     fixed height at any card width, so the rows below line up across cards.
     The full trim stays readable in the Trims control underneath. */
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  min-height: 3.24em;
  overflow: hidden;
}

.cmp .vehicle-price {
  margin: 0;
}

.cmp .vehicle-price sup {
  color: var(--blue);
}

.cmp .vehicle-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cmp .vehicle-tags span {
  background: var(--surface);
  border-radius: 999px;
  color: #50565b;
  font-size: 12px;
  padding: 6px 10px;
  text-transform: capitalize;
}

.cmp .highlights-section {
  background: white;
  padding: 30px clamp(20px, 5vw, 84px) 24px;
}

.cmp .section-heading {
  margin-bottom: 18px;
}

.cmp .section-heading.centered {
  text-align: center;
}

.cmp .section-heading h2, .cmp .specification-toolbar h2 {
  font-size: clamp(34px, 4vw, 50px);
}

.cmp .comparison-scroll {
  margin: 0 auto;
  max-width: 1600px;
  overflow-x: auto;
}

.cmp .comparison-grid {
  display: grid;
  grid-template-columns:
    minmax(170px, 0.7fr)
    repeat(var(--vehicle-count), minmax(210px, 1fr));
  min-width: calc(190px + (var(--vehicle-count) * 230px));
}

.cmp .highlights-grid {
  background: white;
  border-top: 1px solid var(--line);
}

.cmp .comparison-label, .cmp .comparison-value {
  border-bottom: 1px solid var(--soft-line);
  min-width: 0;
  padding: 16px 18px;
}

.cmp .comparison-label {
  color: #4e5559;
  font-size: 14px;
  font-weight: 700;
}

.cmp .comparison-value {
  border-left: 1px solid var(--soft-line);
  font-size: 16px;
}

.cmp .metric strong {
  display: block;
  font-family: var(--font);
  font-size: clamp(24px, 2.5vw, 36px);
  font-weight: 400;
  line-height: 1.08;
}

.cmp .metric span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  margin-top: 7px;
  text-transform: capitalize;
}

.cmp .specifications-section {
  padding: 30px clamp(20px, 5vw, 84px) 48px;
}

.cmp .specification-toolbar {
  align-items: center;
}

.cmp .difference-toggle {
  align-items: center;
  cursor: pointer;
  display: flex;
  font-size: 14px;
  gap: 10px;
}

.cmp .difference-toggle input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.cmp .difference-toggle span {
  background: var(--control-gray);
  border-radius: 999px;
  display: inline-block;
  height: 24px;
  position: relative;
  transition: background 160ms ease;
  width: 44px;
}

.cmp .difference-toggle span::after {
  background: white;
  border-radius: 50%;
  content: "";
  height: 18px;
  left: 3px;
  position: absolute;
  top: 3px;
  transition: transform 160ms ease;
  width: 18px;
}

.cmp .difference-toggle input:checked + span {
  background: var(--blue);
}

.cmp .difference-toggle input:checked + span::after {
  transform: translateX(20px);
}

.cmp .selected-name-strip {
  background: white;
  border: 1px solid var(--line);
  margin: 0 auto 22px;
  max-width: 1600px;
  position: sticky;
  top: 0;
  z-index: 12;
}

.cmp .selected-name-strip .comparison-label, .cmp .selected-name-strip .comparison-value {
  border-bottom: 0;
  font-size: 13px;
}

.cmp .selected-name-strip .comparison-label {
  font-size: 15px;
  font-weight: 700;
}

.cmp .selected-name-strip strong {
  font-size: 15px;
  font-weight: 700;
}

.cmp .accordion-stack {
  border-top: 1px solid var(--ink);
  margin: 0 auto;
  max-width: 1600px;
}

.cmp .comparison-accordion {
  border-bottom: 1px solid var(--ink);
}

.cmp .comparison-accordion summary {
  align-items: center;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  list-style: none;
  padding: 20px 5px;
}

.cmp .comparison-accordion summary::-webkit-details-marker {
  display: none;
}

.cmp .comparison-accordion summary > div > span {
  color: var(--muted);
  display: block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.cmp .comparison-accordion h3 {
  font-family: var(--font);
  font-size: clamp(27px, 3vw, 40px);
  font-weight: 400;
  margin: 0;
}

.cmp .summary-icon {
  align-items: center;
  border: 1px solid #a4a8ab;
  border-radius: 50%;
  display: flex;
  font-size: 24px;
  height: 38px;
  justify-content: center;
  transition: transform 180ms ease;
  width: 38px;
}

.cmp .comparison-accordion[open] .summary-icon {
  transform: rotate(45deg);
}

.cmp .accordion-content {
  padding: 0 0 28px;
}

.cmp .section-intro {
  color: var(--muted);
  margin: 0 0 18px;
  max-width: 680px;
}

.cmp .comparison-row {
  display: contents;
}

.cmp .feature-comparison {
  display: grid;
  grid-template-columns:
    minmax(170px, 0.7fr)
    repeat(var(--vehicle-count), minmax(210px, 1fr));
  margin-top: 20px;
  min-width: calc(190px + (var(--vehicle-count) * 230px));
}

.cmp .feature-list {
  border-left: 1px solid var(--soft-line);
  padding: 16px 18px;
}

.cmp .feature-item {
  align-items: flex-start;
  display: flex;
  gap: 11px;
  margin-bottom: 18px;
}

.cmp .feature-item > span {
  align-items: center;
  background: var(--blue-pale);
  border-radius: 50%;
  color: var(--blue-dark);
  display: flex;
  flex: 0 0 auto;
  font-size: 11px;
  height: 22px;
  justify-content: center;
  width: 22px;
}

.cmp .feature-item strong {
  display: block;
  font-size: 14px;
  line-height: 1.3;
}

.cmp .feature-item small {
  color: var(--muted);
  display: block;
  font-size: 11px;
  margin-top: 3px;
}

.cmp .not-listed {
  color: var(--muted);
  font-size: 14px;
  margin: 0;
}

.cmp .vehicle-actions {
  background: var(--graphite);
  color: white;
  display: grid;
  grid-template-columns:
    minmax(170px, 0.7fr)
    repeat(var(--vehicle-count), minmax(210px, 1fr));
  padding: 40px clamp(20px, 5vw, 84px);
}

.cmp .vehicle-actions .comparison-label {
  border: 0;
  color: #b7bbbd;
  padding-left: 0;
}

.cmp .vehicle-action {
  border-left: 1px solid #484c4f;
  padding: 16px 18px;
}

.cmp .vehicle-action h3 {
  font-family: var(--font);
  font-size: 24px;
  font-weight: 400;
  margin: 0 0 20px;
}

.cmp .vehicle-action a {
  border-bottom: 1px solid white;
  font-weight: 700;
  padding-bottom: 4px;
  text-decoration: none;
}

.cmp footer {
  align-items: flex-start;
  background: #0d0e0f;
  border-top: 1px solid #343638;
  color: #d3d5d6;
  display: flex;
  gap: 40px;
  justify-content: space-between;
  padding: 28px clamp(24px, 5vw, 80px);
}

.cmp footer > div {
  align-items: center;
  display: flex;
  gap: 12px;
}

.cmp footer img {
  height: 32px;
  width: 32px;
}

.cmp footer p {
  font-size: 12px;
  margin: 0;
  max-width: 720px;
}

.cmp .picker-backdrop {
  align-items: center;
  background: rgba(5, 7, 8, 0.72);
  display: flex;
  inset: 0;
  justify-content: center;
  padding: 24px;
  position: fixed;
  z-index: 100;
}

.cmp .vehicle-picker {
  background: white;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  height: min(900px, calc(100vh - 48px));
  max-width: 1500px;
  overflow: hidden;
  width: min(1500px, 100%);
}

.cmp .picker-header {
  align-items: flex-start;
  border-bottom: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  padding: 22px 28px 18px;
}

.cmp .picker-header h2 {
  font-size: clamp(32px, 4vw, 50px);
}

.cmp .picker-header p:last-child {
  color: var(--muted);
  margin: 9px 0 0;
}

.cmp .picker-close {
  align-items: center;
  background: var(--surface);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  font-size: 30px;
  height: 44px;
  justify-content: center;
  line-height: 1;
  width: 44px;
}

.cmp .category-tabs {
  background: var(--surface);
  display: grid;
  gap: 1px;
  grid-template-columns: repeat(6, 1fr);
  overflow-x: auto;
}

.cmp .category-tabs button {
  background: var(--surface);
  border: 0;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  min-width: 150px;
  padding: 14px 13px 12px;
  text-align: left;
}

.cmp .category-tabs button.active {
  background: white;
  border-bottom-color: var(--blue);
}

.cmp .category-tabs strong, .cmp .category-tabs span {
  display: block;
}

.cmp .category-tabs strong {
  font-size: 15px;
}

.cmp .category-tabs span {
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px;
}

.cmp .picker-search {
  align-items: end;
  border-bottom: 1px solid var(--line);
  display: grid;
  gap: 16px;
  grid-template-columns: minmax(260px, 520px) auto;
  padding: 16px 28px;
}

.cmp .picker-search label {
  font-size: 12px;
  font-weight: 700;
  grid-column: 1;
}

.cmp .picker-search > div {
  align-items: center;
  border: 1px solid #a9adb0;
  display: flex;
  grid-column: 1;
  min-height: 46px;
}

.cmp .picker-search > div span {
  font-size: 25px;
  padding: 0 13px;
}

.cmp .picker-search input {
  border: 0;
  flex: 1;
  min-width: 0;
  outline: 0;
  padding: 12px 12px 12px 0;
}

.cmp .picker-search p {
  color: var(--muted);
  grid-column: 2;
  grid-row: 2;
  margin: 0;
}

.cmp .picker-results {
  flex: 1;
  overflow-y: auto;
  padding: 4px 28px 20px;
}

.cmp .family-group {
  border: 0;
  border-bottom: 1px solid var(--line);
  margin: 0;
  padding: 20px 0 22px;
}

.cmp .family-group legend {
  font-family: var(--font);
  font-size: 26px;
  padding: 0;
}

.cmp .family-options {
  display: grid;
  gap: 10px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-top: 17px;
}

.cmp .vehicle-option {
  align-items: center;
  border: 1px solid var(--line);
  cursor: pointer;
  display: grid;
  gap: 12px;
  /* thumbnail | copy — TWO columns, not three. The checkbox is
     position:absolute and therefore out of the grid flow, so a leading
     26px column pushed the thumbnail into the text and the 84px art
     overflowed its cell. The port also carried `.option-art` markup with
     no rules at all, which is why the image rendered at 960x540. */
  grid-template-columns: 84px minmax(0, 1fr);
  min-height: 68px;
  padding: 12px 14px;
  transition:
    border-color 140ms ease,
    background 140ms ease;
}

.cmp .vehicle-option:hover:not(.disabled) {
  border-color: #8d9296;
}

.cmp .vehicle-option.selected {
  background: var(--blue-pale);
  border-color: var(--blue);
}

.cmp .vehicle-option.disabled {
  cursor: not-allowed;
  opacity: 0.46;
}

.cmp .vehicle-option input {
  height: 1px;
  opacity: 0;
  position: absolute;
  width: 1px;
}

.cmp .custom-checkbox {
  align-items: center;
  border: 1px solid #777d81;
  display: flex;
  height: 24px;
  justify-content: center;
  width: 24px;
}

.cmp .selected .custom-checkbox {
  background: var(--blue);
  border-color: var(--blue);
  color: white;
}

.cmp .option-copy strong, .cmp .option-copy small {
  display: block;
}

.cmp .option-copy strong {
  line-height: 1.25;
}

.cmp .option-copy small {
  color: var(--muted);
  margin-top: 3px;
}

.cmp .option-powertrain {
  background: var(--surface);
  border-radius: 999px;
  color: #51565a;
  font-size: 10px;
  padding: 5px 8px;
  text-transform: capitalize;
}

.cmp .empty-results {
  padding: 70px 20px;
  text-align: center;
}

.cmp .empty-results h3 {
  font-family: var(--font);
  font-size: 30px;
  font-weight: 400;
  margin: 0;
}

.cmp .empty-results p {
  color: var(--muted);
}

.cmp .picker-footer {
  align-items: center;
  background: white;
  border-top: 1px solid var(--line);
  color: var(--ink);
  display: flex;
  gap: 20px;
  justify-content: space-between;
  padding: 14px 28px;
}

.cmp .draft-selection {
  align-items: center;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cmp .draft-selection > span {
  font-size: 12px;
  font-weight: 700;
  margin-right: 4px;
}

.cmp .draft-selection button {
  background: var(--surface);
  border: 0;
  cursor: pointer;
  font-size: 11px;
  padding: 7px 9px;
}

.cmp .picker-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.cmp .load-state {
  padding: 15vh 8vw;
}

.cmp .load-state h1 {
  font-size: clamp(42px, 7vw, 76px);
}

@media (max-width: 900px) {
  .cmp .topbar {
    height: 64px;
    padding: 0 18px;
  }

  .cmp .brand span, .cmp .topbar nav a {
    display: none;
  }

  .cmp .topbar nav {
    gap: 10px;
  }

  .cmp .vehicle-card-grid {
    display: flex;
    margin-right: -20px;
    overflow-x: auto;
    padding-right: 20px;
    scroll-snap-type: x mandatory;
  }

  .cmp .vehicle-card {
    flex: 0 0 min(78vw, 390px);
    scroll-snap-align: start;
  }

  .cmp .vehicle-art {
    aspect-ratio: 16 / 9;
    height: auto;
  }

  .cmp .rail-heading, .cmp .specification-toolbar {
    align-items: flex-start;
    gap: 22px;
  }

  .cmp .category-tabs {
    grid-template-columns: repeat(6, minmax(150px, 1fr));
  }

  .cmp .family-options {
    grid-template-columns: 1fr;
  }

  .cmp .vehicle-actions {
    grid-template-columns: 1fr;
  }

  .cmp .vehicle-actions .comparison-label {
    padding-bottom: 16px;
  }

  .cmp .vehicle-action {
    border-left: 0;
    border-top: 1px solid #484c4f;
    padding-left: 0;
  }

  .cmp footer {
    flex-direction: column;
  }
}

@media (max-width: 650px) {
  .cmp .hero {
    padding-left: 18px;
    padding-right: 18px;
  }

  .cmp .hero h1 {
    font-size: 52px;
  }

  .cmp .vehicle-rail, .cmp .highlights-section, .cmp .specifications-section {
    padding-left: 18px;
    padding-right: 18px;
  }

  .cmp .rail-heading, .cmp .specification-toolbar {
    display: block;
  }

  .cmp .rail-heading .text-button, .cmp .difference-toggle {
    margin-top: 18px;
  }

  .cmp .picker-backdrop {
    padding: 0;
  }

  /* The slots stop being a side-swipe carousel and stack. At 390px the
     carousel showed one and a half cards, so the second vehicle was a
     cut-off sliver off the right edge with nothing saying to swipe for it.
     Overriding the @900 rules above: back to one column, no overflow, and
     the negative right margin that bled the rail off-screen removed. */
  .cmp .vehicle-card-grid {
    display: grid;
    grid-template-columns: 1fr;
    margin-right: 0;
    overflow-x: visible;
    padding-right: 0;
    scroll-snap-type: none;
  }

  .cmp .vehicle-card {
    flex: none;
    scroll-snap-align: none;
  }

  /* ---- comparison results, grouped by vehicle ----------------------------
     The desktop grids are one row per metric with a column per vehicle. On a
     phone the JS emits .stack-cards instead: one card per vehicle carrying
     all of its values. The "Selected Vehicle" strip goes with them — every
     card is already headed by its own vehicle name, so the strip would just
     repeat all three names with nothing to line them up against. */
  .cmp .selected-name-strip { display: none; }

  .cmp .stack-cards { display: grid; gap: 14px; margin-top: 18px; }

  .cmp .stack-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px 16px;
  }

  .cmp .stack-card__name {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -.02em;
    margin: 0 0 6px;
  }

  .cmp .stack-row {
    align-items: baseline;
    border-top: 1px solid var(--soft-line);
    display: flex;
    gap: 14px;
    justify-content: space-between;
    padding: 10px 0;
  }

  .cmp .stack-row__k {
    color: var(--muted, #5b6672);
    flex: 1 1 38%;
    min-width: 0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .05em;
    text-transform: uppercase;
  }

  .cmp .stack-row__v {
    flex: 1 1 58%;
    min-width: 0;
    overflow-wrap: anywhere;
    font-size: 16px;
    font-weight: 700;
    text-align: right;
  }

  /* The caption the desktop metric card shows under its value — "Base MSRP",
     "Pricing not yet announced". Kept rather than dropped: on the TBA rows it
     is the only thing that explains the dash. */
  .cmp .stack-row__v small {
    color: var(--muted, #5b6672);
    display: block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0;
    text-transform: none;
  }

  .cmp .vehicle-picker {
    height: 100vh;
    width: 100%;
  }

  .cmp .picker-header {
    padding: 20px 18px 18px;
  }

  .cmp .picker-header p:last-child {
    display: none;
  }

  .cmp .picker-search {
    display: block;
    padding: 16px 18px;
  }

  .cmp .picker-search label {
    display: block;
    margin-bottom: 7px;
  }

  .cmp .picker-search p {
    margin-top: 8px;
  }

  .cmp .picker-results {
    padding-left: 18px;
    padding-right: 18px;
  }

  .cmp .vehicle-option {
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .cmp .option-powertrain {
    display: none;
  }

  .cmp .picker-footer {
    align-items: stretch;
    display: block;
    padding: 13px 18px;
  }

  .cmp .draft-selection {
    max-height: 66px;
    overflow-y: auto;
  }

  .cmp .picker-actions {
    margin-top: 10px;
  }

  .cmp .picker-actions button {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cmp *, .cmp *::before, .cmp *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}


/* ---- selector thumbnail ------------------------------------------------- */
.cmp .option-art {
  align-items: center;
  display: flex;
  height: 48px;
  justify-content: center;
  overflow: hidden;
  width: 84px;
}
.cmp .option-art img {
  display: block;
  height: 100%;
  object-fit: contain;
  width: 100%;
}
.cmp .vehicle-image-fallback {
  align-items: center;
  background: var(--line);
  border-radius: 6px;
  color: var(--muted);
  display: flex;
  font-size: 10px;
  height: 100%;
  justify-content: center;
  overflow: hidden;
  padding: 0 4px;
  text-align: center;
  width: 100%;
}
.cmp .option-copy span {
  color: var(--muted);
  display: block;
  font-size: 12.5px;
  margin-top: 3px;
}

@media (max-width: 640px) {
  .cmp .vehicle-option { grid-template-columns: 64px minmax(0, 1fr); }
  .cmp .option-art { height: 40px; width: 64px; }
}

/* Secondary lines inside the selected-vehicle price block. */
/* Three lines reserved: payment + term, due at signing, MSRP. A vehicle with
   only a cash incentive fills one of them; the tag row still lines up with
   its neighbours. */
/* One labelled row per offer type, each on its own line with an even gap.
   A flex column is what makes the spacing settable at all — the lines were
   <br>-separated before, which stacks them but leaves no box to put margin
   on. */
.cmp .vehicle-price {
  display: flex;
  flex-direction: column;
  gap: 8px;
  line-height: 1.35;
  /* The rows carry their own two-line floor, so the block needs none. */
  min-height: 0;
}

/* Each row reserves two lines whether it needs them or not. "Lease — $432
   per month for 48 months" wraps in a narrow card and "Cash Back — $8,000"
   does not, so without a floor every card's rows sat at different heights
   and the three could not be read across. Two lines is the worst case for
   every row at the narrowest card width. */
.cmp .vehicle-price .vp-row {
  display: block;
  font-size: 15px;
  min-height: 2.7em;
}

/* Labels and values are both full-strength ink. These were grey on grey,
   which read as disabled text on the figures the card exists to show. */
.cmp .vehicle-price .vp-label,
.cmp .trim-pick .vp-label {
  color: var(--ink);
  font-weight: 600;
}

/* A non-breaking space after the dash: a plain trailing space in `content`
   is collapsed, which ran the label into its value ("Lease —$432"). */
.cmp .vehicle-price .vp-label::after {
  content: " \2014\00a0";
  font-weight: 400;
}

.cmp .vehicle-price .vp-value {
  color: var(--ink);
}

/* Pin the tags to the bottom so cards of unequal copy still end level. */
.cmp .vehicle-card-copy { display: flex; flex-direction: column; }
.cmp .vehicle-tags { margin-top: auto; padding-top: 18px; }
.cmp .vehicle-price .vp-sub {
  color: var(--muted);
  font-size: 13.5px;
  font-weight: 400;
}

/* ---- trim picker ------------------------------------------------------- */
/* This shipped with no styles at all: `.trim-pick` matched nothing, so the
   label and the <select> were laid out as bare inline elements. The control
   rendered as a hairline until it took focus and then sat on top of the word
   "Trim" next to it. Giving the label a flex row and the select real padding
   is what makes it a control rather than a glyph. */
.cmp .trim-pick {
  align-items: center;
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.cmp .trim-pick > .vp-sub,
.cmp .trim-pick > .vp-label {
  flex: 0 0 auto;
}

/* An absent program. Still readable, but visibly not a figure, so a column
   of "No Offer" does not look like a column of prices. */
.cmp .vehicle-price .vp-none {
  color: var(--muted);
}

.cmp .trim-pick select {
  appearance: none;
  -webkit-appearance: none;
  background-color: #fff;
  /* Chevron drawn inline so the control needs no network request and still
     looks like a dropdown with the native arrow suppressed. */
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='none' stroke='%23555' stroke-width='1.6' d='M1 1.5 6 6.5l5-5'/%3E%3C/svg%3E");
  background-position: right 11px center;
  background-repeat: no-repeat;
  border: 2px solid var(--ink);
  border-radius: 8px;
  color: var(--ink);
  font: inherit;
  font-size: 14px;
  /* flex:1 with min-width:0 keeps a long trim name from pushing the control
     past the card edge instead of truncating inside it. */
  flex: 1 1 auto;
  min-width: 0;
  padding: 9px 34px 9px 11px;
  text-overflow: ellipsis;
}

.cmp .trim-pick select:hover {
  border-color: var(--accent);
}

.cmp .trim-pick select:focus-visible {
  border-color: var(--blue);
  outline: 2px solid var(--blue);
  outline-offset: 1px;
}

/* ---- inline per-slot type-ahead ---------------------------------------- */
.cmp .vehicle-card-empty.slot {
  align-items: stretch;
  background: #f8fbff;
  border-color: #8fb1e6;
  border-style: dashed;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: 340px;
  padding: 26px 20px 20px;
  text-align: center;
}
.cmp .vehicle-card-empty.slot strong { font-size: 17px; margin: 10px 0 14px; }

.cmp .slot-search {
  align-items: center;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  display: flex;
  gap: 8px;
  height: 42px;
  padding: 0 16px;
}
.cmp .slot-search:focus-within { border-color: var(--blue); }
.cmp .slot-search input {
  background: transparent;
  border: 0;
  color: var(--ink);
  flex: 1 1 auto;
  font: inherit;
  font-size: 15px;
  min-width: 0;
  outline: 0;
}
.cmp .slot-search input::-webkit-search-cancel-button { display: none; }

.cmp .slot-results {
  margin-top: 10px;
  max-height: 300px;
  overflow-y: auto;
  text-align: left;
}
.cmp .slot-results:empty { display: none; }

.cmp .slot-hit {
  align-items: center;
  appearance: none;
  background: transparent;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  display: grid;
  gap: 10px;
  grid-template-columns: 56px minmax(0, 1fr);
  padding: 7px 8px;
  text-align: left;
  width: 100%;
}
.cmp .slot-hit:hover, .cmp .slot-hit.on { background: var(--surface); }
.cmp .slot-hit-art {
  align-items: center;
  display: flex;
  height: 34px;
  justify-content: center;
  overflow: hidden;
  width: 56px;
}
.cmp .slot-hit-art img {
  height: 100%; object-fit: contain; width: 100%;
}
.cmp .slot-hit-copy { min-width: 0; }
.cmp .slot-hit-copy strong {
  display: block;
  font-size: 14.5px;
  line-height: 1.25;
  margin: 0;
  overflow-wrap: anywhere;
}
.cmp .slot-hit-copy span {
  /* Was --muted, which read as disabled text on the figures that help a
     shopper pick between two results. */
  color: var(--ink);
  display: block;
  font-size: 12.5px;
  font-weight: 700;
  line-height: 1.35;
  margin-top: 2px;
  overflow-wrap: anywhere;
}
.cmp .slot-none {
  color: var(--muted);
  font-size: 14px;
  margin: 10px 2px;
  text-align: left;
}

@media (max-width: 650px) {
  .cmp .hero { padding: 28px 18px 20px; }
  .cmp .hero h1 { font-size: clamp(36px, 10vw, 44px); }
  .cmp .hero-copy { font-size: 16px; margin: 12px auto 18px; }
  .cmp .compare-modes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .cmp .compare-modes a { display: flex; align-items: center; justify-content: center; padding: 9px 7px; }
  .cmp .vehicle-rail { padding-top: 18px; padding-bottom: 24px; }
  .cmp .rail-heading { margin-bottom: 14px; }
  .cmp .vehicle-card-empty.slot { min-height: 230px; }
  .cmp .highlights-section { padding-top: 26px; padding-bottom: 22px; }
  .cmp .specifications-section { padding-top: 26px; }
  .cmp .section-heading h2, .cmp .specification-toolbar h2 { font-size: 36px; }
}


/* ===== home.css ===== */
/* ===========================================================================
   Homepage — the approved editorial direction.

   Scoped under `.hp` on purpose. The agreed plan is homepage first, then roll
   this language out site-wide, so the palette lives in named tokens at :root
   and only the component rules are scoped. Promotion later means moving rules
   out of `.hp` and pointing base.css's tokens at these values — not a rewrite.

   The mockup was fixed-width desktop (a 960px hero image, a 720px search bar).
   Everything here is fluid instead; the approved proportions hold at desktop
   and collapse sensibly below.
   =========================================================================== */

:root {
  /* Editorial palette. Deliberately distinct from base.css's navy set, which
     stays in force everywhere else until the rollout. */
  --hp-bg:        #fbfbfd;
  --hp-surface:   #ffffff;
  --hp-ink:       #1d1d1f;
  --hp-muted:     #6e6e73;
  --hp-faint:     #86868b;
  --hp-accent:    #0a58ca;
  --hp-line:      #e8e8ed;
  --hp-line-2:    #d2d2d7;
  --hp-good:      #1b7f3b;
  --hp-chip:      #f5f5f7;

  --hp-r-card:    20px;
  --hp-r-pill:    999px;
  --hp-gut:       clamp(20px, 5vw, 64px);
}

.hp {
  background: var(--hp-bg);
  color: var(--hp-ink);
  /* The September build decision was the system stack. Inter is never loaded
     by this site — there is a preconnect and no stylesheet — so naming it
     here would silently fall back anyway. */
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               Helvetica, Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

.hp a { color: inherit; text-decoration: none; }
.hp__wrap { max-width: 1240px; margin: 0 auto; padding: 0 var(--hp-gut); }

/* ---- hero ---------------------------------------------------------------- */
.hp-hero {
  /* Photograph behind the headline, with a scrim over it. The scrim is not
     decoration: white text on an unmodified autumn photograph is unreadable
     where the sky is pale and unreadable again where the foliage is bright.
     A uniform darkening keeps contrast constant wherever the text lands. */
  background-image:
    linear-gradient(180deg, rgba(8,16,26,.58), rgba(8,16,26,.66)),
    image-set(url("/assets/hero/home-hero.webp") 1x);
  background-color: #0b1420;          /* while the image loads */
  background-size: cover;
  background-position: center 58%;
  color: #fff;
  text-align: center;
  padding: clamp(48px, 7vw, 92px) var(--hp-gut) clamp(32px, 4vw, 48px);
}
@media (max-width: 960px) {
  .hp-hero {
    background-image:
      linear-gradient(180deg, rgba(8,16,26,.58), rgba(8,16,26,.66)),
      image-set(url("/assets/hero/home-hero-960.webp") 1x);
  }
}
.hp-hero__eyebrow {
  font-size: 15px; font-weight: 500; color: rgba(255,255,255,.72);
  margin-top: 16px;
}
.hp-hero h1 {
  margin: 0 auto;
  /* 64px, measured: the headline is 1,060px at that size against ~1,112px of
     usable width, so it sits on one line. The old 900px cap is what forced it
     onto two, not the font size. */
  font-size: clamp(28px, 5vw, 64px);
  line-height: 1.06;
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: 1200px;
  text-wrap: balance;
}
/* The site's line, kept under the dated headline it used to be. */
.hp-hero__tagline {
  margin: 14px auto 0;
  font-size: clamp(18px, 2.4vw, 28px);
  line-height: 1.2;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: rgba(255,255,255,.92);
}
.hp-hero__sub {
  margin: 22px auto 0;
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.45;
  color: rgba(255,255,255,.88);
  max-width: 1250px;
  text-wrap: pretty;
}
.hp-cta {
  display: flex; gap: 28px; align-items: center; justify-content: center;
  flex-wrap: wrap; margin-top: 24px; font-size: clamp(16px, 2vw, 19px);
}
.hp-cta__primary {
  display: inline-flex; align-items: center; height: 48px; padding: 0 26px;
  border-radius: var(--hp-r-pill);
  background: var(--hp-accent); color: #fff; font-weight: 500;
}
.hp-cta__primary:hover { background: #0a4fb4; }
/* Both hero CTAs are the same blue pill. This was a white text link beside
   the primary button; it now matches it, so Compare reads as an action
   rather than as fine print next to one. */
.hp-cta__link {
  display: inline-flex; align-items: center; gap: 6px; height: 48px;
  padding: 0 26px; border-radius: var(--hp-r-pill);
  background: var(--hp-accent); color: #fff; font-weight: 500;
}
.hp-cta__link:hover { background: #0a4fb4; text-decoration: none; }

/* ---- best selling -------------------------------------------------------- */
.hp-best {
  background: var(--hp-surface);
  display: flex; flex-direction: column; align-items: center;
  padding: 20px var(--hp-gut) clamp(28px, 3.5vw, 40px);
}
.hp-best__label {
  font-size: 13px; font-weight: 600; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--hp-muted);
}
.hp-toggle {
  display: inline-flex; gap: 4px; margin-top: 12px; padding: 4px;
  background: var(--hp-chip); border-radius: 22px;
}
.hp-toggle button {
  appearance: none; border: 0; cursor: pointer;
  display: inline-flex; align-items: center; height: 36px; padding: 0 22px;
  border-radius: 18px; font: inherit; font-size: 15px; font-weight: 500;
  color: var(--hp-ink); background: transparent;
}
.hp-toggle button[aria-selected="true"] {
  font-weight: 600; color: #fff; background: var(--hp-ink);
  box-shadow: 0 2px 8px rgba(0,0,0,.12);
}
.hp-best__panel[hidden] { display: none; }
.hp-best__panel { display: flex; flex-direction: column; align-items: center; }
.hp-best__img {
  width: min(760px, 100%); height: auto; max-height: 340px;
  aspect-ratio: 16/9; display: block; margin-top: 4px; object-fit: contain;
}
.hp-best__meta {
  display: flex; gap: 14px; align-items: baseline; flex-wrap: wrap;
  justify-content: center; font-size: 15px; color: var(--hp-muted);
}
.hp-best__name { font-weight: 600; color: var(--hp-ink); }
.hp-best__more { color: var(--hp-accent); }
.hp-best__more:hover { text-decoration: underline; }
.hp-dots { display: flex; gap: 8px; margin-top: 14px; }
.hp-dots span {
  width: 8px; height: 8px; border-radius: 4px; background: var(--hp-line-2);
  transition: width .18s ease;
}
.hp-dots span.on { width: 20px; background: var(--hp-ink); }

/* ---- search -------------------------------------------------------------- */
.hp-search {
  position: relative;
  display: flex; align-items: center; gap: 12px;
  width: min(720px, 100%); margin: clamp(20px, 2.5vw, 28px) auto 0;
  padding: 0 12px 0 22px; height: 60px;
  background: var(--hp-surface);
  border: 1px solid var(--hp-line-2); border-radius: 30px;
  box-shadow: 0 6px 24px rgba(0,0,0,.06);
}
.hp-search input {
  flex: 1 1 auto; min-width: 0; border: 0; outline: 0; background: transparent;
  font: inherit; font-size: 18px; color: var(--hp-ink);
}
.hp-search input::placeholder { color: var(--hp-faint); }
.hp-search button {
  appearance: none; border: 0; cursor: pointer; flex-shrink: 0;
  display: inline-flex; align-items: center; height: 40px; padding: 0 20px;
  border-radius: 20px; background: var(--hp-ink); color: #fff;
  font: inherit; font-size: 15px; font-weight: 500;
}
.hp-results {
  position: absolute; top: calc(100% + 8px); left: 0; right: 0; z-index: 40;
  background: var(--hp-surface); border: 1px solid var(--hp-line-2);
  border-radius: 16px; box-shadow: 0 10px 34px rgba(0,0,0,.12);
  overflow: hidden; text-align: left;
}
.hp-results:empty { display: none; }
.hp-results a {
  display: flex; align-items: baseline; gap: 10px;
  padding: 11px 20px; font-size: 16px;
}
.hp-results a:hover, .hp-results a.on { background: var(--hp-chip); }
.hp-results .r-sub { font-size: 13px; color: var(--hp-muted); }
.hp-results .r-none { padding: 14px 20px; color: var(--hp-muted); font-size: 15px; }

/* ---- rails --------------------------------------------------------------- */
.hp-rail { padding: clamp(36px, 4.5vw, 56px) 0 0; }
.hp-rail__head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 16px; margin-bottom: 18px; flex-wrap: wrap;
}
.hp-rail h2 {
  margin: 0; font-size: clamp(26px, 4vw, 40px);
  font-weight: 700; letter-spacing: -0.025em;
}
.hp-rail__all { font-size: 17px; color: var(--hp-accent); flex-shrink: 0; }
.hp-rail__all:hover { text-decoration: underline; }
.hp-rail__lede {
  margin: 0 0 18px; font-size: 17px; color: var(--hp-muted); max-width: 720px;
}
.hp-grid {
  display: grid; gap: 20px;
  grid-template-columns: repeat(auto-fill, minmax(min(230px, 100%), 1fr));
}
.hp-grid--3 { grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr)); }

.hp-card {
  display: flex; flex-direction: column; gap: 8px;
  background: var(--hp-surface); border-radius: var(--hp-r-card);
  padding: 18px 18px 20px;
}
.hp-card:hover { box-shadow: 0 8px 28px rgba(0,0,0,.07); }
/* `height: auto` is load-bearing. The markup carries width="960" height="540"
   so the browser can reserve space before the file arrives, but the height
   attribute also acts as a presentational hint — without this override every
   card image box rendered 540px tall whatever its width, which is what made
   the whole page look like whitespace with a car floating in it. */
.hp-card img {
  width: 100%; height: auto; max-height: 150px;
  aspect-ratio: 16/9; display: block; object-fit: contain;
}
.hp-card__name { font-size: 17px; font-weight: 600; }
.hp-card__price { display: flex; align-items: baseline; gap: 6px; }
.hp-card__price b {
  font-size: 30px; font-weight: 700; letter-spacing: -0.02em;
}
.hp-card__price span { font-size: 15px; color: var(--hp-muted); }
.hp-card__delta { font-size: 14px; font-weight: 500; color: var(--hp-good); }

/* wide card — image left, terms right (the 0% APR rail) */
.hp-wide {
  display: flex; gap: 22px; align-items: center;
  background: var(--hp-surface); border-radius: var(--hp-r-card);
  padding: 22px 24px;
}
.hp-wide img {
  width: 150px; max-width: 34%; height: auto; max-height: 90px;
  aspect-ratio: 16/9; flex-shrink: 0; display: block; object-fit: contain;
}
.hp-wide__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hp-wide__name { font-size: 19px; font-weight: 600; }
.hp-wide__rate {
  font-size: 26px; font-weight: 700; letter-spacing: -0.02em;
}
/* "0% APR for 60 months" was breaking after "60", orphaning "months" on its
   own line. The term is one unit of meaning, so it wraps as one. */
.hp-wide__rate small {
  display: block; font-size: 15px; font-weight: 500;
  color: var(--hp-muted); white-space: nowrap;
}
.hp-wide__alt { font-size: 15px; color: var(--hp-muted); }

/* ---- brand grid ---------------------------------------------------------- */
.hp-brands {
  display: grid; gap: 12px;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}
.hp-brand {
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 96px; padding: 16px 18px;
  background: var(--hp-surface); border-radius: 16px;
  border: 1px solid var(--hp-line);
}
.hp-brand:hover { border-color: var(--hp-line-2); }
.hp-brand__name { font-size: 16px; font-weight: 600; }
.hp-brand__sub { font-size: 13px; color: var(--hp-muted); }

/* ---- closing note -------------------------------------------------------- */
.hp-note {
  padding: clamp(36px, 4.5vw, 56px) 0 clamp(32px, 4vw, 48px);
}
.hp-note h2 {
  margin: 0 0 16px; font-size: clamp(26px, 4vw, 40px);
  font-weight: 700; letter-spacing: -0.025em;
}
.hp-note p { margin: 0 0 14px; font-size: 17px; line-height: 1.55;
  color: var(--hp-muted); max-width: 78ch; }
.hp-note a { color: var(--hp-accent); }
.hp-note a:hover { text-decoration: underline; }
.hp-note__fine { font-size: 14px; color: var(--hp-faint); }

@media (max-width: 640px) {
  .hp-wide { flex-direction: column; align-items: flex-start; }
  .hp-wide img { width: 100%; max-width: none; }
  .hp-search { height: 54px; padding-left: 16px; }
  .hp-search input { font-size: 16px; }
}


/* ===== research-guides.css ===== */
.model-guide{max-width:1120px;margin:0 auto;padding:2rem 0 4rem}.guide-hero{max-width:900px}.guide-hero h1{font-size:clamp(2rem,4vw,3.2rem);line-height:1.12;margin:.6rem 0 1rem}.guide-hero .lede{font-size:1.12rem;line-height:1.75}.guide-meta,.guide-source-note{font-size:.9rem;color:#526276}.guide-nav{display:flex;flex-wrap:wrap;gap:.8rem 1.4rem;padding:1.2rem 0;margin:1.2rem 0;border-block:1px solid #dce4ed}.model-guide>section{margin:2.6rem 0}.model-guide p{line-height:1.75;max-width:85ch}.guide-configs{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,300px),1fr));gap:1.2rem}.guide-config{border:1px solid #d6e0eb;border-radius:16px;background:#fff;padding:1.2rem;min-width:0}.guide-config h3{margin:0 0 1rem;font-size:1.15rem}.guide-config table{border-collapse:collapse;width:100%;font-size:.95rem}.guide-config th,.guide-config td{border-bottom:1px solid #e5ebf1;text-align:left;vertical-align:top;padding:.65rem .25rem;overflow-wrap:anywhere}.guide-config th{width:42%;font-weight:600}.guide-config small{display:block;font-size:.82rem;color:#526276;line-height:1.5;margin-top:.35rem}.guide-citations{font-size:.72rem;margin-left:.25rem;white-space:nowrap}.guide-sources{padding-left:1.5rem}.guide-sources li{padding:.65rem 0;scroll-margin-top:100px}.guide-sources p{margin:.3rem 0;font-size:.9rem}.model-guide section{scroll-margin-top:100px}.guide-links{margin:2rem auto;padding:1.6rem;border:1px solid #d6e0eb;border-radius:18px;background:#f5f8fc;max-width:1200px}.guide-links h2{margin-top:0}.guide-links ul{list-style:none;display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,235px),1fr));padding:0;gap:1rem}.guide-links li a{display:flex;flex-direction:column;gap:.5rem;padding:1.15rem;border-radius:12px;background:#fff;border:1px solid #d6e0eb;height:100%;color:#10233d;text-decoration:none}.guide-links li a:hover,.guide-links li a:focus-visible{border-color:#1259c3;box-shadow:0 2px 12px #0a254014}.guide-links span{font-size:.9rem;line-height:1.5;color:#526276}.model-guide .faq-item{padding:1rem 0;border-bottom:1px solid #d6e0eb}.model-guide .faq-item h3{font-size:1.12rem}.model-guide .faq-item p{margin-bottom:0}@media(max-width:600px){.model-guide{padding-top:1rem}.guide-links{padding:1.1rem}.guide-config{padding:.9rem}.guide-nav{gap:.7rem;font-size:.9rem}}
/* Preserve readable side gutters where legacy research page rules remove them. */
.model-guide-page .page{padding-left:22px;padding-right:22px}

.source-review-notice{font-size:.9rem;line-height:1.6;padding:.8rem;border-left:3px solid #a66a12;background:#fff8e9;color:#614409}

.offer-region-note{font-size:.9rem;color:#344d6e;font-weight:600}.recovered-offer-terms{font-size:.85rem;line-height:1.6;margin:1rem 0}.recovered-offer-terms ul{padding-left:1.2rem}

/* Research shares the comparison category grammar while keeping its own
   editorial layout, source notes and year navigation. */
.research-spec-page,.model-guide-page{background:#fff}
.research-spec-page .res-hero{background:#fff;color:var(--ink);text-align:left;padding:64px 0 38px;max-width:1100px;margin:0 auto}
.research-spec-page .res-hero h1,.model-guide .guide-hero h1{font-family:Georgia,"Times New Roman",serif;font-weight:400;font-size:clamp(2.1rem,4.6vw,3.8rem);letter-spacing:-.035em;line-height:1.08}
.research-spec-page .res-hero__sub{margin:20px 0 26px;max-width:780px;font-size:1.1rem;line-height:1.7;opacity:1;color:var(--muted)}
.research-spec-page .res-hero .cta-buttons{justify-content:flex-start}
.research-spec-page .res-hero>.spec-eyebrow{margin:0 0 16px}
.research-spec-page .res-body{max-width:1100px;margin:0 auto;padding-bottom:64px;min-width:0}
.research-spec-page .res-body>h2,.research-spec-page .research-specifications>h2,.research-spec-page .res-body>section>h2,.model-guide>section>h2{font-family:Georgia,"Times New Roman",serif;font-weight:400;font-size:clamp(1.65rem,3vw,2.25rem);line-height:1.2;letter-spacing:-.02em;margin:48px 0 18px}
.research-spec-page .res-body>p,.research-specifications>p{line-height:1.7;color:var(--muted);max-width:84ch}
.research-spec-page .page{padding-left:22px;padding-right:22px}
.research-spec-page .trim-grid{margin-bottom:48px}
.research-specifications{margin:48px 0 56px;min-width:0}
.research-specifications .spec-table th,.research-specifications .spec-table td,.model-guide .spec-table th,.model-guide .spec-table td{overflow-wrap:anywhere;vertical-align:top}
.research-specifications .spec-table small,.model-guide .spec-table small{display:block;margin-top:.4rem;font-size:.8rem;line-height:1.5;font-weight:400;color:var(--muted)}
.research-specifications .spec-table .spec-source a,.model-guide .spec-source a{text-decoration:underline;text-underline-offset:3px}
.spec-source-section{font-size:.75rem!important;font-weight:400!important;color:var(--muted)}
.spec-unavailable,.spec-na{color:#69737b;font-size:.85rem;font-style:normal}
.model-guide{max-width:1100px;padding-top:48px}
.model-guide .guide-hero{max-width:900px;padding:16px 0 24px}
.model-guide .guide-hero .eyebrow{font-size:.7rem;letter-spacing:.18em;text-transform:uppercase;font-weight:600;color:var(--muted)}
.model-guide .guide-hero .lede{font-size:1.1rem;color:var(--muted)}
.model-guide>section{margin:48px 0}
.guide-configuration-list{display:flex;flex-wrap:wrap;gap:.6rem 1.4rem;list-style:none;padding:0;margin:20px 0 28px;color:var(--muted);font-size:.9rem}
.guide-configuration-list li{padding:0 0 .4rem;border-bottom:1px solid var(--line)}
.model-guide .guide-nav{border-color:#d5d8da}
.model-guide .guide-citations a{text-decoration:underline;text-underline-offset:2px}
.research-spec-page [id],.model-guide [id]{scroll-margin-top:100px}
@media(max-width:600px){
  .research-spec-page .res-hero{padding-top:32px;padding-bottom:26px}
  .model-guide{padding-top:20px}
  .research-spec-page .res-hero__sub{font-size:1rem}
  .research-spec-page .res-body>h2,.model-guide>section>h2{margin-top:34px}
}


/* ===== specifications.css ===== */
/* Shared comparison and model-research presentation. Keep these overrides
   after the imported comparison stylesheet so regenerating that port does
   not restore the old heading type or erase ALFO's responsive controls. */
.cmp,.spec-layout{--spec-serif:Georgia,"Times New Roman",serif;--spec-ink:#111314;--spec-muted:#5d6267;--spec-line:#d8dadd;--spec-soft-line:#e9eaeb;--spec-header-offset:62px}
.cmp .hero h1,.cmp .section-heading h2,.cmp .specification-toolbar h2,.cmp .rail-heading h2,.cmp .vehicle-card h3,.cmp .comparison-accordion h3,.cmp .metric strong{font-family:var(--spec-serif);font-weight:400;letter-spacing:-.025em}
.cmp .comparison-accordion summary{gap:24px;padding:26px 5px}
.cmp .comparison-accordion summary>div>span{letter-spacing:.12em;margin-bottom:9px}
.cmp .comparison-accordion h3{font-size:clamp(27px,3vw,42px);line-height:1.15}
.cmp .summary-icon{flex:0 0 38px;line-height:1}
.cmp .comparison-value,.cmp .comparison-label{overflow-wrap:anywhere}
.cmp .comparison-scroll--names{position:sticky;top:var(--spec-header-offset);z-index:12;background:#fff;border:1px solid var(--spec-line);margin-bottom:22px;scrollbar-width:thin}
.cmp .comparison-scroll--names .selected-name-strip{position:static;margin:0;border:0;max-width:none}
.cmp .comparison-scroll:focus-visible,.spec-table-wrap:focus-visible{outline:3px solid #0a58ca;outline-offset:3px}
.cmp .feature-comparison{margin-top:20px}
.cmp .feature-comparison .comparison-value{padding:18px}
.cmp .feature-list{border:0;padding:0;margin:0;list-style:none}
.cmp .feature-item:last-child{margin-bottom:0}
.cmp .feature-item strong{overflow-wrap:anywhere}
.cmp .feature-model{font-family:inherit;font-size:13px;font-weight:700;line-height:1.5;margin:0 0 14px}
.cmp .feature-item .feature-availability{font-size:12px;font-weight:500;margin-top:4px;color:var(--spec-muted)}
.cmp .feature-item .feature-indicator{border:1px solid #cee2ef}
.cmp .feature-item .feature-indicator--note{background:#f2f3f4;color:#555;border-color:#d8dadd}
.cmp .comparison-source-note{font-size:12px;color:var(--spec-muted);display:block;margin-top:5px;line-height:1.5}
.cmp .comparison-accordion .section-intro{max-width:80ch;line-height:1.65}
.spec-layout{background:#fff;color:var(--spec-ink);line-height:1.6}
.spec-layout *{box-sizing:border-box}
.spec-layout h1,.spec-layout .spec-heading,.spec-layout .spec-title{font-family:var(--spec-serif);font-weight:400;letter-spacing:-.025em}
.spec-layout h1{font-size:clamp(40px,5.7vw,76px);line-height:1.06}
.spec-layout .spec-heading{font-size:clamp(34px,4.5vw,58px);line-height:1.12}
.spec-eyebrow{display:block;color:var(--spec-muted);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:12px;font-weight:700;letter-spacing:.12em;line-height:1.5;text-transform:uppercase;margin:0 0 9px}
.spec-accordion-stack{border-top:1px solid var(--spec-ink);margin:32px 0}
.spec-accordion{border-bottom:1px solid var(--spec-ink);margin:0;background:#fff;border-radius:0}
.spec-accordion:first-of-type{border-top:1px solid var(--spec-ink)}
.spec-summary{display:flex;align-items:center;justify-content:space-between;gap:24px;list-style:none;cursor:pointer;padding:27px 5px}
.spec-summary::-webkit-details-marker{display:none}
.spec-summary::marker{content:""}
.spec-layout .spec-title{display:block;font-size:clamp(27px,3vw,42px);line-height:1.15;margin:0}
.spec-toggle{display:flex;align-items:center;justify-content:center;flex:0 0 38px;width:38px;height:38px;border:1px solid #a4a8ab;border-radius:50%;font:24px/1 -apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;transition:transform 180ms ease}
.spec-accordion[open]>.spec-summary .spec-toggle{transform:rotate(45deg)}
.spec-summary:focus-visible{outline:3px solid #0a58ca;outline-offset:3px}
.spec-content{padding:0 0 30px;min-width:0}
.spec-content>p:first-child{color:var(--spec-muted);max-width:80ch;margin:0 0 20px}
.spec-table-wrap{max-width:100%;overflow-x:auto;overscroll-behavior-x:contain;scrollbar-width:thin}
.spec-table{border-collapse:collapse;table-layout:fixed;width:100%;min-width:calc(var(--spec-label-width,190px) + var(--spec-count,2)*var(--spec-value-width,230px));text-align:left;background:#fff}
.spec-table th,.spec-table td{vertical-align:top;text-align:left;padding:16px 18px;border-bottom:1px solid var(--spec-soft-line);overflow-wrap:anywhere;font-size:15px;font-weight:400;line-height:1.6}
.spec-table th:first-child{width:var(--spec-label-width,190px);color:#4e5559;font-size:13px;font-weight:700}
.spec-table thead th{font-weight:700;border-top:1px solid var(--spec-line);border-bottom:1px solid var(--spec-line);background:#fafbfb;color:var(--spec-ink)}
.spec-table td{border-left:1px solid var(--spec-soft-line)}
.spec-table td small,.spec-table .spec-note{display:block;color:var(--spec-muted);font-size:12px;line-height:1.55;margin-top:6px}
.spec-table .spec-citations,.spec-table .guide-citations{font-size:11px}
.spec-table .spec-list{padding-left:18px;margin:0}
.spec-table .spec-list li{margin-bottom:10px}
.spec-layout .spec-table-caption{font-size:13px;color:var(--spec-muted);margin:0 0 12px;max-width:85ch}
.spec-layout [id]{scroll-margin-top:92px}
.research-spec-page .guide-links{margin:38px 0;padding:24px 0;border:0;border-block:1px solid var(--spec-line);border-radius:0;background:#fff}
.research-spec-page .guide-links h2{font-family:var(--spec-serif);font-size:30px;font-weight:400;line-height:1.2;margin:0 0 12px}
.research-spec-page .guide-links ul{margin:16px 0 0}
.research-spec-page .guide-links li a{border:0;border-left:2px solid #0a58ca;border-radius:0;background:#fff;padding:8px 16px}
.research-spec-page .guide-links li a:hover,.research-spec-page .guide-links li a:focus-visible{background:#f7f9fb;box-shadow:none}
.research-spec-page .res-hero .cta-buttons,.model-guide .cta-buttons{display:flex;flex-wrap:wrap;gap:12px}
.research-spec-page .res-hero .cta-buttons a,.model-guide .cta-buttons a{display:inline-flex;align-items:center;justify-content:center;min-height:46px;padding:11px 18px;border:1px solid #a4a8ab;border-radius:0;background:#fff;color:#111314;text-decoration:none;font-size:14px;font-weight:650;line-height:1.4}
.research-spec-page .res-hero .cta-buttons .btn-primary{background:#0a58ca;border-color:#0a58ca;color:#fff}
.research-spec-page .res-hero .cta-buttons a:hover,.model-guide .cta-buttons a:hover{border-color:#0a58ca}
.research-spec-page .res-hero .cta-buttons a:focus-visible,.model-guide .cta-buttons a:focus-visible{outline:3px solid #0a58ca;outline-offset:3px}
@media(max-width:760px){.cmp .comparison-scroll--names{max-width:100%}.spec-table th,.spec-table td{padding:13px 14px}.spec-summary{padding:24px 2px;gap:18px}.spec-layout .spec-title{font-size:clamp(26px,5.5vw,34px)}.spec-layout h1{font-size:clamp(38px,8vw,58px)}}
@media(max-width:650px){.cmp .comparison-scroll--names{display:none}.cmp .comparison-accordion summary{padding:24px 2px;gap:18px}.cmp .comparison-accordion h3{font-size:28px}.cmp .feature-comparison{display:grid;grid-template-columns:1fr;min-width:0}.cmp .feature-comparison .comparison-label{padding:0 0 12px}.cmp .feature-comparison .comparison-value{border:1px solid var(--spec-line);margin-bottom:14px;padding:16px}.spec-toggle{flex-basis:34px;width:34px;height:34px}.spec-eyebrow{font-size:11px}.spec-layout .spec-table{--spec-label-width:155px;--spec-value-width:210px}.spec-accordion-stack{margin-top:24px}}
@media(prefers-reduced-motion:reduce){.spec-toggle,.cmp .summary-icon{transition:none}}


/* ===== model-editorials.css ===== */
.rich-model-page{--brand:#0a2540;--accent:#0a58ca;--ink:#152639;--muted:#536575;--line:#dce4eb;--bg:#f5f8fb;--card:#fff}.rich-model-page .rich-model *{box-sizing:border-box}.rich-model-page .rich-model{scroll-padding-top:104px}.rich-model-page{margin:0;background:var(--bg);font-family:-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;color:var(--ink);line-height:1.65}.rich-model-page .rich-model a{color:var(--accent);text-underline-offset:3px}.rich-model-page .rich-model button,.rich-model-page .rich-model select,.rich-model-page .rich-model input{font:inherit}.rich-model-page .rich-model a:focus-visible,.rich-model-page .rich-model summary:focus-visible,.rich-model-page .rich-model button:focus-visible{outline:3px solid #e9a837;outline-offset:4px}.rich-model-page .rich-model img{max-width:100%;height:auto}.rich-model-page .rich-model .mr-wrap{width:min(1180px,calc(100% - 48px));margin:auto}.rich-model-page .rich-model .mr-skip{position:absolute;top:-70px;left:16px;z-index:100;background:#fff;padding:12px}.rich-model-page .rich-model .mr-skip:focus{top:10px}.rich-model-page .rich-model .mr-header{background:#fff;border-bottom:1px solid var(--line)}.rich-model-page .rich-model .mr-header>.mr-wrap{display:flex;align-items:center;justify-content:space-between;gap:24px;min-height:76px}.rich-model-page .rich-model .mr-logo{font-size:17px;font-weight:800;letter-spacing:-.6px;text-decoration:none;color:var(--brand)}.rich-model-page .rich-model .mr-logo b{color:var(--accent)}.rich-model-page .rich-model .mr-headernav{display:flex;gap:24px;font-size:14px;font-weight:650}.rich-model-page .rich-model .mr-headernav a{text-decoration:none;color:var(--muted)}.rich-model-page .rich-model .mr-headernav a:last-child{color:var(--accent)}.rich-model-page .rich-model .mr-preview{background:#eaf1fa;color:#344d67;font-size:12px;padding:7px 24px;text-align:center}.rich-model-page .rich-model .mr-preview a{font-weight:600}.rich-model-page .rich-model .mr-crumbs{display:flex;gap:9px;flex-wrap:wrap;font-size:12px;margin:0;padding:22px 0;list-style:none;color:var(--muted)}.rich-model-page .rich-model .mr-crumbs a{text-decoration:none}.rich-model-page .rich-model .mr-hero{background:var(--brand);color:#fff;padding:50px 0 54px}.rich-model-page .rich-model .mr-hero-grid{display:grid;grid-template-columns:1.06fr 1fr;gap:48px;align-items:center}.rich-model-page .rich-model .mr-eyebrow{font-size:12px;font-weight:750;text-transform:uppercase;letter-spacing:1.6px;margin:0 0 14px;color:#a9c9ef}.rich-model-page .rich-model .mr-hero h1{font-size:clamp(36px,4vw,54px);line-height:1.1;letter-spacing:-1.8px;margin:0 0 24px;max-width:650px}.rich-model-page .rich-model .mr-lede{font-size:18px;line-height:1.7;color:#d9e4f0;max-width:620px;margin:0 0 26px}.rich-model-page .rich-model .mr-actions{display:flex;gap:10px;flex-wrap:wrap}.rich-model-page .rich-model .mr-button{display:inline-flex;justify-content:center;align-items:center;min-height:44px;padding:10px 17px;background:var(--accent);border:1px solid var(--accent);border-radius:7px;color:#fff;font-weight:700;font-size:13px;text-decoration:none}.rich-model-page .rich-model .mr-button--light{background:#fff;color:var(--brand);border-color:#fff}.rich-model-page .rich-model .mr-button--outline{background:transparent;border-color:#6b829b;color:#fff}.rich-model-page .rich-model .mr-hero figure{margin:0}.rich-model-page .rich-model .mr-vehicle{background:linear-gradient(145deg,#fff,#eaf1f7);border-radius:16px;padding:8px 12px;aspect-ratio:16/10;display:grid;align-items:center}.rich-model-page .rich-model .mr-vehicle img{mix-blend-mode:multiply;width:100%;object-fit:contain}.rich-model-page .rich-model .mr-hero figcaption{font-size:11px;color:#b6c9db;margin-top:10px;line-height:1.5}.rich-model-page .rich-model .mr-meta{font-size:12px;color:#6c7f90;margin:0;padding:21px 0}.rich-model-page .rich-model .mr-meta a{color:inherit}.rich-model-page .rich-model .mr-hero-stats{display:grid;grid-template-columns:repeat(3,1fr);border:1px solid #cddcea;background:#fff;border-radius:10px;margin-top:24px}.rich-model-page .rich-model .mr-stat{padding:18px 22px;border-right:1px solid var(--line)}.rich-model-page .rich-model .mr-stat:last-child{border:0}.rich-model-page .rich-model .mr-stat strong{font-size:22px;display:block;line-height:1.3;color:var(--brand)}.rich-model-page .rich-model .mr-stat span{font-size:12px;color:var(--muted)}.rich-model-page .rich-model .mr-toc{position:sticky;top:0;z-index:10;background:rgba(255,255,255,.97);border-block:1px solid var(--line)}.rich-model-page .rich-model .mr-toc .mr-wrap{display:flex;gap:24px;overflow:auto;white-space:nowrap;padding-top:15px;padding-bottom:15px}.rich-model-page .rich-model .mr-toc a{font-size:12px;font-weight:700;text-decoration:none;color:#4b6073}.rich-model-page .rich-model .mr-toc a:hover{color:var(--accent)}.rich-model-page .rich-model .mr-main{padding-bottom:64px}.rich-model-page .rich-model .mr-section{padding-top:60px}.rich-model-page .rich-model .mr-section h2{font-size:30px;letter-spacing:-.8px;line-height:1.22;margin:0 0 18px;color:var(--brand)}.rich-model-page .rich-model .mr-section h3{font-size:19px;line-height:1.35;letter-spacing:-.2px;margin:0 0 10px}.rich-model-page .rich-model .mr-section p{margin:0 0 17px}.rich-model-page .rich-model .mr-intro{max-width:850px;font-size:16px}.rich-model-page .rich-model .mr-section-kicker{font-size:11px;color:var(--accent);font-weight:800;letter-spacing:1.4px;text-transform:uppercase;margin-bottom:10px}.rich-model-page .rich-model .mr-cite{font-size:10px;vertical-align:super;white-space:nowrap;margin-left:4px}.rich-model-page .rich-model .mr-cite a{text-decoration:none;padding:1px}.rich-model-page .rich-model .mr-table-wrap{overflow-x:auto;margin:24px 0 14px;border:1px solid var(--line);border-radius:10px;background:#fff}.rich-model-page .rich-model .mr-table{border-collapse:collapse;width:100%;font-size:13px;text-align:left}.rich-model-page .rich-model .mr-table caption{text-align:left;font-size:12px;color:var(--muted);padding:16px 18px;border-bottom:1px solid var(--line)}.rich-model-page .rich-model .mr-table th,.rich-model-page .rich-model .mr-table td{vertical-align:top;padding:15px 18px;border-bottom:1px solid var(--line)}.rich-model-page .rich-model .mr-table thead th{font-size:11px;text-transform:uppercase;letter-spacing:.7px;color:var(--muted);background:#f8fafc}.rich-model-page .rich-model .mr-table tbody tr:last-child>*{border-bottom:0}.rich-model-page .rich-model .mr-table tbody th{color:var(--brand);min-width:100px}.rich-model-page .rich-model .mr-table td:nth-child(2){white-space:nowrap}.rich-model-page .rich-model .mr-note{font-size:12px;color:var(--muted);max-width:940px;line-height:1.65}.rich-model-page .rich-model .mr-trims{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:30px}.rich-model-page .rich-model .mr-trim{background:#fff;border:1px solid var(--line);border-radius:10px;padding:26px;position:relative;scroll-margin-top:80px}.rich-model-page .rich-model .mr-trim h3{font-size:24px}.rich-model-page .rich-model .mr-trim-purpose{font-size:10px;font-weight:800;letter-spacing:1px;text-transform:uppercase;color:var(--accent);margin:0 0 6px!important}.rich-model-page .rich-model .mr-price{font-size:15px;font-weight:750;color:var(--brand);margin:0 0 20px!important}.rich-model-page .rich-model .mr-price small{display:block;color:var(--muted);font-size:11px;font-weight:400;margin-top:2px}.rich-model-page .rich-model .mr-trim p{font-size:14px}.rich-model-page .rich-model .mr-trim details{border-top:1px solid var(--line);padding-top:12px;font-size:12px;margin-top:20px}.rich-model-page .rich-model .mr-trim summary{font-weight:700;cursor:pointer;color:var(--accent);min-height:32px}.rich-model-page .rich-model .mr-equipment-group{margin-top:16px}.rich-model-page .rich-model .mr-equipment-group h4{text-transform:capitalize;font-size:12px;margin:0 0 5px}.rich-model-page .rich-model .mr-equipment-group ul{padding-left:17px;margin:0 0 12px}.rich-model-page .rich-model .mr-equipment-group li{padding-bottom:6px}.rich-model-page .rich-model .mr-tag{font-size:10px;display:inline-block;font-weight:700;border-radius:4px;background:#eaf0f8;color:#24496e;padding:1px 5px;margin-right:4px}.rich-model-page .rich-model .mr-topic-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;margin-top:24px}.rich-model-page .rich-model .mr-topic{background:#fff;border:1px solid var(--line);border-radius:10px;padding:25px}.rich-model-page .rich-model .mr-topic p{font-size:14px}.rich-model-page .rich-model .mr-topic:last-child p:last-child{margin-bottom:0}.rich-model-page .rich-model .mr-topic .mr-tag{margin-bottom:10px}.rich-model-page .rich-model .mr-wide{max-width:880px}.rich-model-page .rich-model .mr-panel{background:#edf3fa;border-left:4px solid var(--accent);border-radius:0 9px 9px 0;padding:25px 28px;margin:24px 0}.rich-model-page .rich-model .mr-panel p:last-child{margin:0}.rich-model-page .rich-model .mr-checklist{padding-left:22px;margin:18px 0}.rich-model-page .rich-model .mr-checklist li{padding:0 0 12px 5px}.rich-model-page .rich-model .mr-offer-state{background:var(--brand);color:#fff;border-radius:12px;padding:32px;display:grid;grid-template-columns:1.6fr 1fr;gap:35px;align-items:center;margin-top:24px}.rich-model-page .rich-model .mr-offer-state h3{font-size:23px}.rich-model-page .rich-model .mr-offer-state p{font-size:14px;color:#d4e1ef}.rich-model-page .rich-model .mr-offer-state .mr-note{color:#c2d0df}.rich-model-page .rich-model .mr-offer-state a{color:#fff}.rich-model-page .rich-model .mr-offer-state .mr-button{margin-top:8px;display:flex}.rich-model-page .rich-model .mr-status{display:inline-block;color:#d9eaff;background:#264b70;border:1px solid #557597;border-radius:30px;padding:4px 10px;font-size:11px;font-weight:700;margin-bottom:14px}.rich-model-page .rich-model .mr-faq{background:#fff;border:1px solid var(--line);border-radius:10px;overflow:hidden;margin-top:25px}.rich-model-page .rich-model .mr-faq details{border-bottom:1px solid var(--line);padding:0 24px}.rich-model-page .rich-model .mr-faq details:last-child{border:0}.rich-model-page .rich-model .mr-faq summary{font-weight:700;padding:20px 26px 20px 0;cursor:pointer;line-height:1.5;font-size:15px;color:var(--brand)}.rich-model-page .rich-model .mr-faq details p{font-size:14px;max-width:900px;margin:0 0 23px}.rich-model-page .rich-model .mr-faq-actions{display:flex;justify-content:flex-end;gap:16px}.rich-model-page .rich-model .mr-text-button{background:none;border:0;text-decoration:underline;color:var(--accent);padding:10px 0;cursor:pointer;font-size:12px;min-height:44px}.rich-model-page .rich-model .mr-sources{padding:0;list-style:none;counter-reset:sources}.rich-model-page .rich-model .mr-sources li{counter-increment:sources;display:grid;grid-template-columns:30px 1fr;gap:10px;margin-bottom:20px;font-size:13px}.rich-model-page .rich-model .mr-sources li:before{content:counter(sources) ".";color:var(--muted);font-weight:700}.rich-model-page .rich-model .mr-sources p{font-size:12px;color:var(--muted);margin-top:4px}.rich-model-page .rich-model .mr-related{display:flex;gap:10px;flex-wrap:wrap;margin-top:24px}.rich-model-page .rich-model .mr-related a{font-size:13px;padding:11px 16px;border:1px solid var(--line);border-radius:6px;background:#fff;text-decoration:none}.rich-model-page .rich-model .mr-footer{padding:36px 0;background:#fff;border-top:1px solid var(--line);color:var(--muted);font-size:12px}.rich-model-page .rich-model .mr-footer nav{display:flex;gap:20px;flex-wrap:wrap;margin-bottom:20px}.rich-model-page .rich-model .mr-footer a{color:var(--muted)}.rich-model-page .rich-model .mr-footer p{max-width:900px}.rich-model-page .rich-model .mr-readtime{color:var(--accent);font-weight:650}.rich-model-page .rich-model .mr-evidence{font-size:12px;border:1px solid var(--line);border-radius:8px;padding:16px 18px;background:#fff;margin-top:24px}.rich-model-page .rich-model .mr-evidence summary{font-weight:700;cursor:pointer}.rich-model-page .rich-model .mr-evidence p{margin:14px 0 0}.rich-model-page .rich-model .mr-baseline{margin-top:16px;font-size:12px;color:var(--muted)}@media(max-width:900px){.rich-model-page .rich-model .mr-hero-grid{gap:28px}.rich-model-page .rich-model .mr-hero h1{font-size:39px}.rich-model-page .rich-model .mr-headernav{gap:14px}.rich-model-page .rich-model .mr-logo{max-width:280px;line-height:1.25}.rich-model-page .rich-model .mr-topic-grid{grid-template-columns:1fr}.rich-model-page .rich-model .mr-offer-state{grid-template-columns:1fr;gap:15px}.rich-model-page .rich-model .mr-stat{padding:16px}.rich-model-page .rich-model .mr-stat strong{font-size:19px}}@media(max-width:650px){.rich-model-page .rich-model .mr-wrap{width:calc(100% - 32px)}.rich-model-page .rich-model .mr-header>.mr-wrap{min-height:84px;gap:14px}.rich-model-page .rich-model .mr-logo{font-size:13px;max-width:185px;overflow-wrap:anywhere}.rich-model-page .rich-model .mr-headernav{gap:13px;font-size:12px}.rich-model-page .rich-model .mr-headernav a:first-child{display:none}.rich-model-page .rich-model .mr-preview{font-size:11px;padding-inline:16px}.rich-model-page .rich-model .mr-hero{padding:35px 0}.rich-model-page .rich-model .mr-hero-grid{grid-template-columns:1fr;gap:28px}.rich-model-page .rich-model .mr-hero h1{font-size:38px;letter-spacing:-1.3px}.rich-model-page .rich-model .mr-lede{font-size:16px}.rich-model-page .rich-model .mr-vehicle{aspect-ratio:16/9}.rich-model-page .rich-model .mr-hero-stats{margin-top:10px}.rich-model-page .rich-model .mr-stat{padding:14px 10px}.rich-model-page .rich-model .mr-stat strong{font-size:16px}.rich-model-page .rich-model .mr-stat span{font-size:10px}.rich-model-page .rich-model .mr-meta{line-height:1.8}.rich-model-page .rich-model .mr-trims{grid-template-columns:1fr}.rich-model-page .rich-model .mr-section{padding-top:43px}.rich-model-page .rich-model .mr-section h2{font-size:26px}.rich-model-page .rich-model .mr-section h3{font-size:20px}.rich-model-page .rich-model .mr-trim{padding:22px}.rich-model-page .rich-model .mr-table th,.rich-model-page .rich-model .mr-table td{padding:12px}.rich-model-page .rich-model .mr-table{min-width:690px}.rich-model-page .rich-model .mr-toc .mr-wrap{gap:20px}.rich-model-page .rich-model .mr-offer-state{padding:24px}.rich-model-page .rich-model .mr-topic{padding:22px}.rich-model-page .rich-model .mr-faq details{padding-inline:19px}.rich-model-page .rich-model .mr-panel{padding:22px}.rich-model-page .rich-model .mr-sources li{grid-template-columns:22px 1fr}.rich-model-page .rich-model .mr-related{display:grid;grid-template-columns:1fr}.rich-model-page .rich-model .mr-headernav a{min-height:40px;display:flex;align-items:center}.rich-model-page .rich-model .mr-footer nav{gap:14px}}@media(prefers-reduced-motion:reduce){.rich-model-page .rich-model{scroll-behavior:auto}}.rich-model-page .rich-model .mr-offer-state .mr-button--light{color:var(--brand)}.rich-model-page .rich-model .mr-cell-note{display:block;font-size:11px;line-height:1.5;color:var(--muted);max-width:230px;margin-top:6px;white-space:normal}

.rich-model-page .mr-toc{top:62px}.rich-model-page .mr-section{scroll-margin-top:130px}.rich-model-page .mr-table td{white-space:pre-line}.rich-model-page .mr-table td:nth-child(2){white-space:pre-line}.rich-model-page .spec-accordion{background:#fff}.rich-model-page .mr-main>.mr-section>.spec-accordion{margin-block:16px}.rich-model-page .mr-hero{margin-top:0}.rich-model-page .mr-trim details p{font-size:12px}.rich-model-page .mr-table a{overflow-wrap:anywhere}
