:root {
  --bg: #f7f9fc;
  --surface: #fff;
  --surface-blue: #eaf3ff;
  --primary: #1d5fbf;
  --primary-strong: #174a8e;
  --text: #111827;
  --muted: #475467;
  --border: #d6dee9;
  --success: #147a55;
  --warning: #b65f00;
  --danger: #b42318;
  --highlight: #f4d86a;
  --shadow: 0 18px 45px rgba(37, 70, 116, .12);
  --radius: 16px;
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { scroll-behavior: smooth; }
body { margin: 0; color: var(--text); background: var(--bg); font-family: system-ui, -apple-system, "Segoe UI", "Noto Sans JP", "Yu Gothic UI", Meiryo, sans-serif; font-size: 16px; line-height: 1.7; }
img { max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select { font: inherit; }
button, a, input, select { -webkit-tap-highlight-color: transparent; }
:focus-visible { outline: 3px solid #76aaf0; outline-offset: 3px; }
.shell { width: min(100% - 32px, 1240px); margin-inline: auto; }
.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; }
.skip-link { position: fixed; z-index: 1000; top: 8px; left: -9999px; padding: 10px 16px; border-radius: 8px; color: #fff; background: var(--primary-strong); }
.skip-link:focus { left: 8px; }

.site-header { position: relative; z-index: 20; background: rgba(255,255,255,.97); border-bottom: 1px solid var(--border); }
.header-top { min-height: 88px; display: grid; grid-template-columns: minmax(270px, 1fr) minmax(280px, 430px); gap: 24px; align-items: center; }
.brand { display: inline-flex; align-items: center; width: fit-content; text-decoration: none; line-height: 1.15; }
.brand-mark { width: 88px; height: 64px; overflow: hidden; display: grid; place-items: center; margin-right: 12px; }
.brand-mark img { width: 100%; height: 100%; object-fit: contain; }
.brand strong { display: block; font-size: clamp(1.15rem, 2vw, 1.45rem); letter-spacing: .015em; }
.brand small { display: block; margin-top: 8px; color: var(--muted); font-size: .8rem; }
.site-search { display: grid; grid-template-columns: 1fr 48px; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: #fff; box-shadow: 0 3px 15px rgba(37,70,116,.06); }
.site-search input { min-width: 0; height: 48px; padding: 0 14px; border: 0; color: var(--text); }
.site-search button { border: 0; background: #deebfb; color: var(--primary-strong); cursor: pointer; }
.site-search svg { width: 22px; fill: none; stroke: currentColor; stroke-width: 2; }
.menu-button { display: none; }
.global-nav { background: #fff; }
.nav-inner { min-height: 50px; display: flex; justify-content: center; gap: clamp(18px, 3vw, 42px); align-items: stretch; }
.nav-inner a { position: relative; display: grid; place-items: center; color: #303846; font-weight: 700; font-size: .92rem; text-decoration: none; white-space: nowrap; }
.nav-inner a:hover { color: var(--primary); }
.nav-inner a[aria-current="page"] { color: var(--primary-strong); }
.nav-inner a[aria-current="page"]::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; border-radius: 3px 3px 0 0; background: var(--primary); }

.hero { position: relative; overflow: hidden; padding: 48px 0 64px; background: linear-gradient(180deg, #eaf5ff 0 64%, #f7f9fc 64%); }
.hero-sky { position: absolute; inset: 0 0 auto; height: 65%; opacity: .7; background: radial-gradient(circle at 80% 0, #fff 0 10%, transparent 35%), linear-gradient(145deg, transparent 0 65%, rgba(106,166,118,.18) 65% 72%, rgba(76,119,65,.12) 72%); pointer-events: none; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: clamp(24px, 5vw, 72px); align-items: center; }
.eyebrow { color: var(--primary-strong); font-size: .78rem; font-weight: 800; letter-spacing: .14em; }
.hero h1 { max-width: 690px; margin: 10px 0 14px; font-size: clamp(2.4rem, 5vw, 4.7rem); line-height: 1.12; letter-spacing: -.045em; }
.hero h1 span { position: relative; z-index: 0; }
.hero h1 span::after { content: ""; position: absolute; z-index: -1; left: -.05em; right: -.05em; bottom: .04em; height: .25em; background: linear-gradient(90deg, var(--highlight), #fff0a6); transform: rotate(-1deg); }
.hero-lead { max-width: 600px; margin: 0 0 16px; font-size: clamp(1.05rem, 1.6vw, 1.25rem); font-weight: 650; }
.trust-list { display: grid; gap: 7px; margin: 0; padding: 0; list-style: none; }
.trust-list li { display: flex; gap: 9px; align-items: center; }
.trust-list li::before { content: "✓"; display: grid; place-items: center; width: 22px; height: 22px; flex: 0 0 22px; border-radius: 50%; color: #fff; background: var(--success); font-size: .85rem; font-weight: 900; }
.hero-visual { position: relative; align-self: end; min-width: 0; }
.hero-visual img { display: block; width: 100%; aspect-ratio: 1.495; object-fit: cover; object-position: center; border-radius: 26px 26px 12px 12px; mix-blend-mode: multiply; filter: contrast(1.03); }
.speech { position: absolute; z-index: 2; top: 3%; left: -4%; max-width: 190px; margin: 0; padding: 12px 16px; border: 2px solid #1f2937; border-radius: 50%; background: rgba(255,255,255,.95); font-weight: 800; line-height: 1.45; transform: rotate(-6deg); }
.road-line { position: absolute; left: 6%; right: 3%; bottom: 2%; height: 5px; border-radius: 99px; background: #2b3038; }

.search-panel { position: relative; margin-top: 28px; border: 1px solid rgba(196,210,226,.9); border-radius: 20px; background: rgba(255,255,255,.96); box-shadow: var(--shadow); overflow: hidden; }
.demo-note { display: flex; gap: 10px; align-items: center; padding: 9px 20px; color: #5d4600; background: #fff7d6; border-bottom: 1px solid #f1dea2; font-size: .82rem; }
.demo-note strong { padding: 2px 8px; border-radius: 999px; background: #f6df80; }
.tabs { display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--border); }
.tabs button { min-height: 54px; padding: 10px; border: 0; border-bottom: 3px solid transparent; color: var(--muted); background: transparent; font-weight: 800; cursor: pointer; }
.tabs button[aria-selected="true"] { color: var(--primary-strong); border-bottom-color: var(--primary); background: linear-gradient(180deg, transparent, #eff6ff); }
.tab-panel { padding: 18px; }
.quick-form { display: grid; grid-template-columns: repeat(3, 1fr) minmax(250px, 1.15fr); gap: 12px; }
.quick-form label { display: grid; gap: 5px; color: var(--muted); font-size: .78rem; font-weight: 800; }
.quick-form select { width: 100%; height: 54px; padding: 0 40px 0 14px; border: 1px solid var(--border); border-radius: 11px; color: var(--text); background: #fff; }
.button { min-height: 52px; display: inline-flex; justify-content: center; align-items: center; gap: 12px; padding: 11px 20px; border: 1px solid transparent; border-radius: 11px; font-weight: 800; text-decoration: none; cursor: pointer; }
.button.primary { color: #fff; background: linear-gradient(135deg, var(--primary), #286bd0); box-shadow: 0 8px 20px rgba(29,95,191,.22); }
.button.primary:hover { background: var(--primary-strong); }
.button.disabled { opacity: .5; pointer-events: none; }
.quick-form .button { align-self: end; }
.panel-message { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.panel-message strong { font-size: 1.05rem; }
.panel-message p { margin: 2px 0 0; color: var(--muted); }

/* Shared sections and supporting content */
.section { padding: 76px 0; }
.section-heading { display: flex; align-items: end; justify-content: space-between; gap: 32px; margin-bottom: 26px; }
.section-heading h2 { margin: 5px 0 0; font-size: clamp(1.65rem, 3vw, 2.45rem); line-height: 1.25; letter-spacing: -.025em; }
.section-heading > p { max-width: 520px; margin: 0; color: var(--muted); }
.section-heading.inline { align-items: center; }
.feature-section { background: #fff; }
.feature-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.feature-card { position: relative; min-height: 220px; padding: 24px 20px; border: 1px solid var(--border); border-radius: var(--radius); color: inherit; background: linear-gradient(180deg, #fff, #fbfdff); text-decoration: none; overflow: hidden; transition: transform .18s ease, border-color .18s ease, box-shadow .18s ease; }
.feature-card:hover { transform: translateY(-4px); border-color: #a9c6e9; box-shadow: 0 14px 30px rgba(44,78,120,.11); }
.feature-card h3 { margin: 30px 0 6px; font-size: 1.12rem; }
.feature-card p { margin: 0 0 16px; color: var(--muted); font-size: .91rem; }
.feature-number { position: absolute; top: 14px; right: 16px; color: #d8e7f9; font-size: 2rem; font-weight: 900; letter-spacing: -.05em; }
.text-link { color: var(--primary); font-weight: 800; text-decoration: none; }
.text-link:hover { text-decoration: underline; }
.vehicle-showcase { background: var(--bg); }
.section-note { display: flex; gap: 8px; align-items: center; margin: -10px 0 20px; color: var(--muted); font-size: .88rem; }
.vehicle-row { display: grid; grid-template-columns: repeat(5, 1fr); gap: 14px; }
.vehicle-card { min-width: 0; overflow: hidden; border: 1px solid var(--border); border-radius: var(--radius); color: inherit; background: #fff; text-decoration: none; box-shadow: 0 5px 18px rgba(37,70,116,.06); }
.vehicle-card > div { padding: 15px 16px 18px; }
.vehicle-card small, .maker { color: var(--muted); font-size: .78rem; font-weight: 700; }
.vehicle-card h3, .result-card h3 { margin: 1px 0 9px; line-height: 1.25; }
.vehicle-monogram { min-height: 116px; display: grid; place-items: center; padding: 12px; color: #184c81; background: linear-gradient(145deg, #eef6ff, #d5e7fa); font-size: clamp(1.1rem, 2vw, 1.65rem); font-weight: 900; letter-spacing: .04em; }
.vehicle-monogram.red { color: #8b2e2b; background: linear-gradient(145deg, #fff1f0, #f6d4d1); }
.vehicle-monogram.navy { color: #25314f; background: linear-gradient(145deg, #eef1f7, #d9deea); }
.vehicle-monogram.green { color: #28664e; background: linear-gradient(145deg, #effaf5, #d2ecde); }
.vehicle-monogram.black { color: #2c3137; background: linear-gradient(145deg, #f2f3f5, #d5d9df); }
.loading-card { min-height: 180px; display: grid; align-content: end; gap: 10px; padding: 20px; border: 1px solid var(--border); border-radius: var(--radius); background: linear-gradient(110deg, #fff 8%, #f0f4f8 18%, #fff 33%); background-size: 220% 100%; animation: loading-shimmer 1.4s linear infinite; }
.loading-line { display: block; height: 13px; border-radius: 999px; background: #dfe6ef; }
.loading-line.short { width: 58%; }
@keyframes loading-shimmer { to { background-position-x: -220%; } }
.data-error-banner { display: flex; align-items: center; justify-content: space-between; gap: 18px; margin: 18px auto; padding: 14px 16px; border: 1px solid #efb5ae; border-radius: 12px; color: #7a271a; background: #fff1ef; }
.data-error-banner strong { display: block; }
.data-error-banner p { margin: 1px 0 0; font-size: .85rem; }
.data-error-banner .button { flex: 0 0 auto; }
.data-version { display: inline-flex; align-items: center; gap: 6px; color: var(--muted); font-size: .72rem; }
.tag { display: inline-flex; align-items: center; min-height: 25px; margin: 2px 3px 2px 0; padding: 2px 9px; border-radius: 999px; color: #344054; background: #eef2f7; font-size: .72rem; font-weight: 750; }
.about-band { position: relative; overflow: hidden; padding: 54px 0; background: linear-gradient(135deg, #eaf4ff, #f5fbff 58%, #eef9f2); }
.about-band::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 30%; background: linear-gradient(160deg, transparent 48%, rgba(90,151,94,.12) 49%); pointer-events: none; }
.about-grid { position: relative; z-index: 1; display: grid; grid-template-columns: 220px 1fr auto; gap: 36px; align-items: center; }
.about-character { align-self: end; }
.about-character img { display: block; mix-blend-mode: multiply; }
.about-grid h2 { margin: 5px 0 6px; font-size: clamp(1.6rem, 3vw, 2.35rem); }
.about-grid p { max-width: 670px; margin: 0; color: var(--muted); }
.button.secondary { color: var(--primary-strong); border-color: #a9c6e9; background: #fff; }
.button.secondary:hover { background: var(--surface-blue); }
.button.tertiary { color: var(--text); border-color: var(--border); background: #fff; box-shadow: none; }
.button.tertiary:hover { border-color: #9db8d9; background: #f7fbff; }
.columns-section { background: #fff; }
.empty-card { padding: 36px; border: 1px dashed #b9c8da; border-radius: var(--radius); text-align: center; background: #fbfdff; }
.empty-card h3 { margin: 12px 0 4px; }
.empty-card p { margin: 0; color: var(--muted); }
.badge { display: inline-flex; width: fit-content; align-items: center; min-height: 23px; padding: 2px 8px; border: 1px solid transparent; border-radius: 999px; font-size: .7rem; font-style: normal; font-weight: 800; line-height: 1.25; white-space: nowrap; }
.badge-reference { color: #7a4b00; border-color: #f0d58a; background: #fff7d6; }
.badge-user { color: #344054; border-color: #d0d5dd; background: #f2f4f7; }
.badge-calculated { color: #174a8e; border-color: #b8d2f0; background: #eaf3ff; }
.badge-official { color: #0b5f43; border-color: #9ad1bb; background: #e8f7f0; }

.site-footer { padding: 48px 0 34px; color: #eaf1fa; background: #15263d; }
.footer-grid { display: grid; grid-template-columns: 1.15fr 1fr 1.2fr; gap: 44px; align-items: start; }
.footer-brand { display: block; color: #fff; font-size: 1.25rem; }
.site-footer p { margin: 5px 0; }
.site-footer nav { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; }
.site-footer a { color: #eaf1fa; text-decoration: none; }
.site-footer a:hover { text-decoration: underline; }
.footer-note { color: #bccbe0; font-size: .82rem; }
.footer-note small { display: block; margin-top: 15px; }
.mobile-actions { display: none; }

/* Interior pages */
.page-main { min-height: 70vh; }
.page-hero { position: relative; overflow: hidden; padding: 48px 0 42px; background: linear-gradient(135deg, #eaf4ff, #f7fbff 68%, #edf8f1); border-bottom: 1px solid #dbe6f2; }
.page-hero.compact { padding-block: 34px; }
.page-hero::after { content: ""; position: absolute; width: 320px; height: 320px; right: -80px; top: -170px; border: 55px solid rgba(29,95,191,.06); border-radius: 50%; }
.page-title-row { position: relative; z-index: 1; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.page-title-row h1 { margin: 5px 0 4px; font-size: clamp(2rem, 4vw, 3.25rem); line-height: 1.2; letter-spacing: -.035em; }
.page-title-row p:not(.breadcrumb) { margin: 0; color: var(--muted); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 10px; color: var(--muted); font-size: .8rem; }
.breadcrumb a { color: var(--primary); }
.breadcrumb.light, .breadcrumb.light a { color: #d9e8ff; }
.mini-character { width: 180px; flex: 0 0 180px; }
.mini-character img { display: block; mix-blend-mode: multiply; }
.page-content { padding-block: 34px 80px; }
.demo-banner { display: flex; gap: 14px; align-items: start; margin-bottom: 28px; padding: 15px 18px; border: 1px solid #ead389; border-radius: 12px; color: #5d4600; background: #fff9df; }
.demo-banner strong { display: block; }
.demo-banner p { margin: 2px 0 0; font-size: .88rem; }

/* Vehicle search */
.vehicle-directory-intro { max-width: 920px; margin: 0 0 30px; color: #45556c; font-size: 1rem; line-height: 1.9; }
.featured-vehicles { margin-bottom: 52px; }
.featured-vehicles-heading { display: flex; align-items: end; justify-content: space-between; gap: 28px; margin-bottom: 20px; }
.featured-vehicles-heading h2, .all-vehicles-heading h2 { margin: 4px 0 0; font-size: 1.7rem; }
.featured-vehicles-heading p, .all-vehicles-heading p { max-width: 570px; margin: 0; color: var(--muted); }
.featured-vehicle-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.featured-vehicle-card { display: flex; min-width: 0; flex-direction: column; padding: 18px; border: 1px solid var(--border); border-radius: 14px; background: #fff; box-shadow: 0 5px 16px rgba(37,70,116,.055); }
.featured-vehicle-card .maker { margin: 0; color: var(--primary); font-size: .78rem; font-weight: 850; }
.featured-vehicle-card h3 { margin: 3px 0 13px; font-size: 1.14rem; line-height: 1.45; overflow-wrap: anywhere; }
.featured-vehicle-card dl { display: grid; gap: 7px; margin: 0 0 16px; }
.featured-vehicle-card dl > div { display: grid; grid-template-columns: 4.6rem minmax(0, 1fr); gap: 8px; padding-bottom: 6px; border-bottom: 1px solid #e7ecf2; font-size: .78rem; }
.featured-vehicle-card dt { color: var(--muted); }
.featured-vehicle-card dd { min-width: 0; margin: 0; font-weight: 800; overflow-wrap: anywhere; }
.featured-vehicle-card a { display: flex; align-items: center; justify-content: center; min-height: 44px; margin-top: auto; padding: 8px 10px; border: 1px solid #a9c8ec; border-radius: 9px; color: var(--primary-strong); background: #eff6ff; font-size: .8rem; font-weight: 850; text-align: center; text-decoration: none; }
.featured-vehicle-card a:hover { border-color: var(--primary); background: #e2f0ff; }
.featured-vehicle-card a:focus-visible { outline: 3px solid #76aaf0; outline-offset: 3px; }
.all-vehicles-heading { margin-bottom: 22px; padding-top: 34px; border-top: 1px solid #dce5ef; }
.all-vehicles-heading p { margin-top: 6px; }
.noscript-note { margin-top: 22px; padding: 14px 16px; border: 1px solid #d4dfec; border-radius: 10px; color: #45556c; background: #f7f9fc; }
.search-layout { display: grid; grid-template-columns: 270px 1fr; gap: 28px; align-items: start; }
.filters { position: sticky; top: 18px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; overflow: hidden; }
.filters summary { min-height: 58px; display: flex; align-items: center; justify-content: space-between; padding: 14px 18px; cursor: pointer; font-weight: 850; list-style: none; }
.filters summary::-webkit-details-marker { display: none; }
.filters summary span { color: var(--muted); font-size: .72rem; font-weight: 700; }
.filter-body { display: grid; gap: 16px; padding: 0 18px 20px; border-top: 1px solid var(--border); }
.filter-body .field:first-child { margin-top: 16px; }
.field { display: grid; gap: 6px; color: #344054; font-size: .88rem; font-weight: 750; }
.field > span { display: flex; align-items: center; gap: 6px; }
.field > span em { color: var(--danger); font-size: .7rem; font-style: normal; }
.field input, .field select, .period-control select, .car-picker select, .result-toolbar select { width: 100%; min-height: 48px; padding: 9px 12px; border: 1px solid var(--border); border-radius: 10px; color: var(--text); background: #fff; }
.field small { color: var(--muted); font-size: .76rem; font-weight: 500; }
.field small .badge { margin-right: 5px; }
.result-toolbar { display: flex; align-items: end; justify-content: space-between; gap: 20px; margin-bottom: 16px; }
.result-toolbar h2 { margin: 0; font-size: 1.55rem; }
.result-toolbar p { margin: 0; color: var(--muted); }
.result-toolbar label { display: grid; gap: 4px; color: var(--muted); font-size: .72rem; font-weight: 750; }
.result-toolbar select { min-width: 150px; }
.active-filters { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 12px; }
.filter-chip { display: inline-flex; align-items: center; gap: 5px; padding: 5px 10px; border-radius: 999px; color: #174a8e; background: #eaf3ff; font-size: .75rem; font-weight: 800; }
.search-results { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.result-card { display: grid; grid-template-columns: 38% 1fr; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; overflow: hidden; box-shadow: 0 5px 16px rgba(37,70,116,.055); }
.result-card .vehicle-monogram { min-height: 100%; font-size: clamp(.9rem, 1.6vw, 1.3rem); text-align: center; }
.result-card-body { padding: 18px; }
.result-card-body .maker { margin: 0; }
.result-card-body p:not(.maker) { color: var(--muted); font-size: .84rem; }
.result-card-body .button { width: 100%; min-height: 44px; padding: 7px 10px; font-size: .82rem; }
.catalog-card { align-items: stretch; }
.catalog-card .vehicle-monogram { overflow-wrap: anywhere; }
.catalog-badges { display: flex; flex-wrap: wrap; gap: 6px; margin: 8px 0 12px; }
.spec-summary { display: grid; grid-template-columns: 1fr 1fr; gap: 0 14px; margin: 0 0 12px; }
.spec-summary > div { min-width: 0; padding: 7px 0; border-bottom: 1px solid #e7ecf2; }
.spec-summary dt { color: var(--muted); font-size: .7rem; font-weight: 750; }
.spec-summary dd { margin: 2px 0 0; font-size: .82rem; font-weight: 800; overflow-wrap: anywhere; }
.catalog-source { display: flex; align-items: center; min-height: 44px; margin-bottom: 10px; color: var(--primary); font-size: .76rem; font-weight: 750; line-height: 1.5; text-underline-offset: 3px; overflow-wrap: anywhere; }
.disabled-button { color: var(--muted); background: #f4f6f8; cursor: not-allowed; box-shadow: none; }
.load-more-wrap { display: flex; justify-content: center; padding-top: 24px; }
.load-more-wrap .button { min-width: 220px; }
.empty-state { padding: 48px 24px; border: 1px dashed #b9c8da; border-radius: var(--radius); text-align: center; background: #fff; }
.empty-state img { width: 180px; mix-blend-mode: multiply; }
.empty-state h3 { margin: 8px 0 4px; }
.empty-state p { margin: 0 0 18px; color: var(--muted); }

/* Simulator */
.simulator-hero { background: linear-gradient(135deg, #eaf4ff, #f7fbff 55%, #fff6d9); }
.step-orbit { position: relative; width: 260px; height: 130px; flex: 0 0 260px; }
.step-orbit::before { content: ""; position: absolute; inset: 20px 0 0; border: 2px dashed rgba(29,95,191,.25); border-radius: 50%; transform: rotate(-5deg); }
.step-orbit span { position: absolute; display: grid; place-items: center; width: 64px; height: 64px; border: 1px solid #b8d2f0; border-radius: 50%; color: var(--primary-strong); background: #fff; font-weight: 850; box-shadow: 0 8px 18px rgba(37,70,116,.09); }
.step-orbit span:nth-child(1) { left: 0; top: 38px; }
.step-orbit span:nth-child(2) { left: 65px; top: 3px; }
.step-orbit span:nth-child(3) { left: 132px; top: 28px; }
.step-orbit span:nth-child(4) { right: 0; top: 0; }
.simulator-layout { display: grid; grid-template-columns: minmax(0, 1fr) 300px; gap: 24px; align-items: start; }
.simulator-card, .condition-summary, .content-card, .compare-picker { border: 1px solid var(--border); border-radius: var(--radius); background: #fff; box-shadow: 0 9px 28px rgba(37,70,116,.07); }
.simulator-card { overflow: hidden; }
.stepper { display: grid; grid-template-columns: repeat(4, 1fr); margin: 0; padding: 20px 24px; border-bottom: 1px solid var(--border); list-style: none; counter-reset: step; }
.stepper li { position: relative; display: flex; flex-direction: column; align-items: center; gap: 5px; color: #5f6b7d; font-size: .78rem; font-style: normal; font-weight: 750; }
.stepper li:not(:last-child)::after { content: ""; position: absolute; z-index: 0; top: 17px; left: calc(50% + 22px); width: calc(100% - 44px); height: 2px; background: #dce3ec; }
.stepper li.done:not(:last-child)::after { background: #66a0e5; }
.stepper span { position: relative; z-index: 1; width: 34px; height: 34px; display: grid; place-items: center; border: 2px solid #cfd8e5; border-radius: 50%; background: #fff; }
.stepper li.active { color: var(--primary-strong); }
.stepper li.active span { color: #fff; border-color: var(--primary); background: var(--primary); }
.stepper li.done span { color: #fff; border-color: var(--success); background: var(--success); }
.stepper em { font-style: normal; }
.form-step { padding: 30px; }
.form-step-heading { margin-bottom: 22px; }
.form-step-heading h2 { margin: 2px 0 3px; font-size: 1.55rem; }
.form-step-heading p { margin: 0; color: var(--muted); }
.step-kicker { color: var(--primary); font-size: .72rem; font-weight: 900; letter-spacing: .12em; }
.form-grid { display: grid; gap: 20px; }
.form-grid.two { grid-template-columns: 1fr 1fr; }
.form-grid.two .field-wide { grid-column: 1 / -1; }
.input-unit { display: grid !important; grid-template-columns: 1fr auto; gap: 0 !important; overflow: hidden; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
.input-unit:focus-within { outline: 3px solid #76aaf0; outline-offset: 2px; }
.input-unit input { min-width: 0; border: 0; border-radius: 0; outline: 0; }
.input-unit b { min-width: 64px; display: grid; place-items: center; padding: 0 10px; color: var(--muted); border-left: 1px solid var(--border); background: #f7f9fc; font-size: .78rem; }
.info-callout, .warning-callout { position: relative; margin-top: 22px; padding: 16px 18px; border-radius: 12px; }
.info-callout { border: 1px solid #b8d2f0; background: #eff6ff; }
.warning-callout { border: 1px solid #efd48b; background: #fff8dd; }
.tax-rule-notice { margin: 0 0 24px; }
.tax-rule-notice strong { display: block; margin-bottom: 6px; }
.tax-rule-notice ul { margin: 0; padding-left: 1.25rem; color: #6d4b00; }
.info-callout p, .warning-callout p { margin: 2px 0 0; color: var(--muted); font-size: .88rem; }
.info-callout .badge { position: absolute; top: 14px; right: 14px; }
.form-hint { color: var(--muted); font-size: .86rem; }
.review-list { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.review-list div { display: flex; justify-content: space-between; gap: 10px; padding: 13px 14px; border-radius: 10px; background: #f7f9fc; }
.review-list span { color: var(--muted); font-size: .84rem; }
.review-list strong { text-align: right; }
.form-actions { display: flex; justify-content: space-between; gap: 12px; padding: 20px 30px; border-top: 1px solid var(--border); background: #fbfcfe; }
.form-actions .button.primary { margin-left: auto; }
.form-error { margin: 0 30px; padding: 10px 14px; border-radius: 8px; color: var(--danger); background: #fff0ee; }
.condition-summary { position: sticky; top: 18px; padding: 22px; overflow: hidden; }
.summary-character { height: 116px; margin: -20px -10px 12px; overflow: hidden; }
.summary-character img { width: 180px; display: block; margin-inline: auto; mix-blend-mode: multiply; }
.condition-summary h2 { margin: 4px 0 12px; font-size: 1.25rem; }
.condition-summary dl, .condition-list, .source-meta, .shared-conditions dl { margin: 0; }
.condition-summary dl div, .condition-list div, .source-meta div, .shared-conditions dl div { display: flex; justify-content: space-between; gap: 18px; padding: 9px 0; border-bottom: 1px solid #e7ecf2; }
.condition-summary dt, .condition-list dt, .source-meta dt, .shared-conditions dt { color: var(--muted); }
.condition-summary dd, .condition-list dd, .source-meta dd, .shared-conditions dd { margin: 0; text-align: right; font-weight: 750; }
.condition-summary > p { margin: 16px 0 0; color: var(--muted); font-size: .8rem; }

/* Results */
.result-hero { padding: 30px 0 48px; color: #fff; background: linear-gradient(135deg, #123d78, #1d5fbf 62%, #3e7cca); }
.result-heading { display: flex; align-items: end; justify-content: space-between; gap: 24px; margin: 20px 0 24px; }
.result-heading h1 { margin: 8px 0 2px; font-size: clamp(1.8rem, 4vw, 3.2rem); line-height: 1.18; }
.result-heading p { margin: 0; color: #dbeaff; }
.period-control { display: grid; gap: 5px; min-width: 150px; color: #e6f0ff; font-size: .75rem; font-weight: 800; }
.period-control select { color: var(--text); background: #fff; }
.result-kpis { display: grid; grid-template-columns: 1.4fr 1fr .8fr; gap: 14px; }
.kpi-card { min-height: 150px; display: flex; flex-wrap: wrap; align-content: center; gap: 5px 10px; padding: 24px; border: 1px solid rgba(255,255,255,.2); border-radius: var(--radius); background: rgba(255,255,255,.12); backdrop-filter: blur(8px); }
.kpi-card span { width: 100%; color: #dbeaff; font-weight: 750; }
.kpi-card strong { font-size: clamp(2rem, 4vw, 3.6rem); line-height: 1; font-variant-numeric: tabular-nums; }
.kpi-card small { align-self: end; color: #eaf3ff; }
.primary-kpi { color: #10223a; background: #fff; }
.primary-kpi span, .primary-kpi small { color: var(--muted); }
.compact-kpi strong { font-size: clamp(1.8rem, 3vw, 2.8rem); }
.results-content { margin-top: 0; }
.cost-breakdown { padding: 28px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; box-shadow: 0 9px 28px rgba(37,70,116,.07); }
.legend { display: flex; flex-wrap: wrap; gap: 12px; color: var(--muted); font-size: .75rem; }
.legend span { display: inline-flex; align-items: center; gap: 5px; }
.legend i { width: 10px; height: 10px; border-radius: 50%; }
.legend-user { background: #7b8798; }.legend-calc { background: var(--primary); }.legend-ref { background: #d58a18; }
.breakdown-grid { display: grid; grid-template-columns: 320px 1fr; gap: 36px; align-items: center; }
.donut-wrap { text-align: center; }
.cost-donut { position: relative; width: 250px; height: 250px; display: grid; place-items: center; margin-inline: auto; border-radius: 50%; background: conic-gradient(#1d5fbf 0 30%, #47a1e8 30% 48%, #ecb645 48% 55%, #83bd74 55% 63%, #8b73c8 63% 70%, #e78561 70% 76%, #66879e 76% 82%, #4eaa93 82% 91%, #a4b257 91%); }
.cost-donut::before { content: ""; position: absolute; width: 62%; height: 62%; border-radius: 50%; background: #fff; }
.cost-donut span { position: relative; z-index: 1; display: grid; }
.cost-donut strong { font-size: 1.3rem; }
.cost-donut small { color: var(--muted); }
.donut-wrap > p { color: var(--muted); font-size: .78rem; }
.cost-list { display: grid; grid-template-columns: 1fr 1fr; column-gap: 24px; }
.cost-list > div { display: grid; grid-template-columns: 12px 1fr auto; gap: 10px; align-items: center; padding: 12px 0; border-bottom: 1px solid #e7ecf2; }
.cost-list span:nth-child(2) { display: flex; flex-wrap: wrap; gap: 5px; align-items: center; }
.cost-list b { font-size: .9rem; }
.cost-list strong { font-variant-numeric: tabular-nums; white-space: nowrap; }
.cost-swatch { width: 10px; height: 10px; border-radius: 3px; }
.c1{background:#1d5fbf}.c2{background:#47a1e8}.c3{background:#ecb645}.c4{background:#83bd74}.c5{background:#8b73c8}.c6{background:#e78561}.c7{background:#66879e}.c8{background:#4eaa93}.c9{background:#a4b257}.c10{background:#c17b9a}
.results-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.content-card { padding: 24px; }
.content-card h2 { margin: 3px 0 14px; font-size: 1.35rem; }
.card-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.source-card > p { color: var(--muted); }
.source-card details { border-top: 1px solid #e7ecf2; }
.source-card summary { display: flex; gap: 10px; align-items: center; min-height: 54px; cursor: pointer; font-weight: 750; }
.source-card details > div { padding: 0 8px 16px; color: var(--muted); font-size: .86rem; }
.source-card a { display: inline-flex; align-items: center; min-height: 24px; color: var(--primary); font-weight: 750; text-underline-offset: 3px; }
.source-card .source-meta dd { max-width: 62%; overflow-wrap: anywhere; }
.source-version { margin-top: 18px; }
.policy-layout { display: grid; grid-template-columns: 230px minmax(0, 1fr); gap: 24px; align-items: start; }
.policy-nav { position: sticky; top: 96px; display: grid; gap: 4px; padding: 18px; border: 1px solid var(--border); border-radius: 15px; background: #fff; box-shadow: 0 9px 28px rgba(37,70,116,.06); }
.policy-nav strong { margin-bottom: 6px; font-size: .85rem; }
.policy-nav a { display: flex; align-items: center; min-height: 44px; padding: 8px 10px; border-radius: 9px; color: var(--muted); font-size: .86rem; font-weight: 750; text-decoration: none; }
.policy-nav a:hover, .policy-nav a:focus-visible { color: var(--primary); background: #eef6ff; }
.policy-stack { display: grid; gap: 18px; min-width: 0; }
.policy-card { scroll-margin-top: 96px; }
.policy-card p { color: var(--muted); }
.policy-card p:last-child { margin-bottom: 0; }
.policy-list { display: grid; gap: 10px; margin: 0; padding-left: 1.4rem; color: var(--muted); }
.policy-meta { margin: 0 0 18px; }
.policy-meta > div { display: grid; grid-template-columns: minmax(9rem, .45fr) 1fr; gap: 18px; padding: 11px 0; border-bottom: 1px solid #e7ecf2; }
.policy-meta dt { color: var(--muted); }
.policy-meta dd { margin: 0; font-weight: 750; overflow-wrap: anywhere; }
.contact-email { display: inline-flex; min-height: 44px; align-items: center; overflow-wrap: anywhere; }
.next-actions { display: flex; align-items: center; justify-content: space-between; gap: 24px; margin-top: 20px; padding: 28px; border-radius: var(--radius); color: #fff; background: linear-gradient(135deg, #174a8e, #1d5fbf); }
.next-actions h2 { margin: 3px 0; }
.next-actions p { margin: 0; color: #dbeaff; }
.action-buttons { display: flex; flex-wrap: wrap; gap: 10px; }

/* Compare */
.compare-hero { background: linear-gradient(135deg, #edf5ff, #fff 50%, #eef8f2); }
.compare-glyph { display: flex; align-items: center; gap: 14px; color: var(--primary-strong); }
.compare-glyph span { width: 74px; height: 74px; display: grid; place-items: center; border-radius: 18px; background: #fff; box-shadow: 0 12px 30px rgba(37,70,116,.12); font-size: 2rem; font-weight: 900; }
.compare-glyph i { font-size: .8rem; font-style: normal; font-weight: 900; }
.compare-picker { padding: 24px; }
.picker-grid { display: grid; grid-template-columns: 1fr 54px 1fr; gap: 14px; align-items: start; }
.car-picker { display: grid; gap: 9px; padding: 18px; border: 1px solid #cfe0f4; border-radius: 16px; background: #f7fbff; font-weight: 850; }
.car-picker > label > span { color: var(--primary-strong); font-size: 1.05rem; }
.car-b { border-color: #cfe6d8; background: #f7fcf9; }
.car-b > label > span { color: #28664e; }
.compare-vehicle-selectors { display: grid; gap: 9px; }
.compare-vehicle-selectors label { display: grid; gap: 5px; color: #344054; font-size: .78rem; font-weight: 750; }
.compare-vehicle-selectors select { width: 100%; min-height: 44px; padding: 9px 34px 9px 10px; border: 1px solid var(--border); border-radius: 9px; background: #fff; color: var(--text); font: inherit; }
.compare-vehicle-selectors select:focus { outline: 3px solid rgba(29,95,191,.2); border-color: var(--primary); }
.car-spec { min-height: 44px; margin: 0; color: var(--muted); font-size: .84rem; line-height: 1.55; }
.vehicle-inputs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.vehicle-inputs label { display: grid; gap: 6px; color: #344054; font-size: .82rem; }
.vehicle-inputs .badge { width: fit-content; font-size: .65rem; }
.vehicle-inputs input { width: 100%; min-height: 44px; padding: 9px 10px; border: 1px solid var(--border); border-radius: 9px; background: #fff; font: inherit; }
.vehicle-inputs input:focus { outline: 3px solid rgba(29,95,191,.2); border-color: var(--primary); }
.swap-button { width: 54px; height: 48px; border: 1px solid var(--border); border-radius: 50%; color: var(--primary); background: #fff; font-size: 1.5rem; cursor: pointer; }
.swap-button:hover { background: var(--surface-blue); }
.compare-conditions-card { margin-top: 20px; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; box-shadow: 0 9px 28px rgba(37,70,116,.07); }
.compare-conditions-card h2 { margin: 3px 0; }
.text-button { min-height: 44px; padding: 8px 12px; border: 0; color: var(--primary); background: transparent; font: inherit; font-weight: 800; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.compare-condition-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-top: 18px; }
.compare-condition-grid > label:not(.include-purchase) { display: grid; grid-template-columns: 1fr auto; gap: 6px 10px; align-items: end; color: #344054; font-size: .88rem; font-weight: 800; }
.compare-condition-grid > label > span { color: var(--muted); font-size: .75rem; font-weight: 650; }
.compare-condition-grid input[type="number"] { grid-column: 1 / -1; width: 100%; min-height: 46px; padding: 10px 12px; border: 1px solid var(--border); border-radius: 10px; background: #fff; font: inherit; }
.compare-condition-grid input:focus { outline: 3px solid rgba(29,95,191,.2); border-color: var(--primary); }
.include-purchase { grid-column: 1 / -1; display: flex; gap: 12px; align-items: center; min-height: 58px; padding: 12px 14px; border: 1px solid #cfe0f4; border-radius: 12px; background: #f3f8ff; cursor: pointer; }
.include-purchase input { width: 22px; height: 22px; accent-color: var(--primary); }
.include-purchase > span { display: grid; gap: 2px; color: var(--text); font-size: .9rem; }
.include-purchase small { color: var(--muted); font-size: .76rem; font-weight: 600; }
.include-purchase:has(input:disabled) { color: var(--muted); cursor: not-allowed; background: #f7f8fa; }
.form-note { margin: 14px 0 0; color: var(--muted); font-size: .84rem; line-height: 1.65; }
.compare-summary { margin: 20px 0; padding: 28px; border-radius: var(--radius); text-align: center; color: #fff; background: linear-gradient(135deg, #153f79, #2064be); }
.compare-labels { display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center; max-width: 800px; margin-inline: auto; }
.compare-labels > div { display: grid; padding: 14px; border-radius: 12px; background: rgba(255,255,255,.12); }
.compare-labels small { color: #dbeaff; }
.compare-summary h2 { margin: 22px 0 0; color: #dbeaff; font-size: 1rem; }
.difference { margin: 0; font-size: clamp(2rem, 5vw, 4rem); font-weight: 900; letter-spacing: -.04em; }
.compare-summary > p { margin: 2px 0 0; color: #dbeaff; font-size: .84rem; }
.shared-conditions { position: relative; }
.shared-conditions summary { min-height: 44px; padding: 8px 12px; border: 1px solid var(--border); border-radius: 10px; cursor: pointer; color: var(--primary); font-weight: 800; }
.shared-conditions[open] { min-width: 300px; }
.shared-conditions dl { position: absolute; z-index: 5; right: 0; width: 300px; padding: 12px 16px; border: 1px solid var(--border); border-radius: 10px; background: #fff; box-shadow: var(--shadow); }
.comparison-table { width: 100%; border-spacing: 0; border: 1px solid var(--border); border-radius: var(--radius); background: #fff; overflow: hidden; }
.comparison-table caption { padding: 10px; color: var(--muted); font-size: .78rem; text-align: left; }
.comparison-table th, .comparison-table td { padding: 15px 18px; border-top: 1px solid #e6ebf2; text-align: right; font-variant-numeric: tabular-nums; }
.comparison-table thead th { color: #fff; border-top: 0; background: #1b4e8c; }
.comparison-table th:first-child, .comparison-table td:first-child { text-align: left; }
.comparison-table tbody th { color: #344054; font-weight: 750; }
.comparison-table td:nth-child(3) { color: var(--muted); background: #f7f9fc; }
.comparison-table tr.major-row th, .comparison-table tr.major-row td { color: var(--text); background: #edf5ff; font-weight: 900; }
.comparison-table tbody th .badge { margin-left: 7px; vertical-align: middle; }
.mobile-comparison { display: none; }
.compare-sources { margin-top: 20px; }
.compare-source-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.compare-source-item { padding: 16px; border: 1px solid var(--border); border-radius: 13px; background: #f8fafc; }
.compare-source-item h3 { margin: 3px 0 9px; font-size: 1.05rem; }
.compare-source-item dl { display: grid; gap: 7px; margin: 0; }
.compare-source-item dl > div { display: grid; grid-template-columns: 7.5rem 1fr; gap: 10px; font-size: .83rem; }
.compare-source-item dt { color: var(--muted); }
.compare-source-item dd { margin: 0; overflow-wrap: anywhere; }
.compare-source-item a { display: inline-flex; min-height: 32px; align-items: center; color: var(--primary); font-weight: 750; text-underline-offset: 3px; }
.comparison-mobile-card .badge { margin-left: 6px; font-size: .62rem; vertical-align: middle; }
.compare-note { display: grid; grid-template-columns: 1fr 180px; align-items: center; gap: 24px; margin-top: 20px; padding: 24px 28px; border: 1px solid #d1e4d7; border-radius: var(--radius); background: #f1faf5; }
.compare-note h2 { margin: 7px 0 2px; font-size: 1.25rem; }
.compare-note p { margin: 0; color: var(--muted); }
.compare-note img { width: 170px; mix-blend-mode: multiply; }

@media (max-width: 900px) {
  .header-top { min-height: 72px; grid-template-columns: 1fr auto; }
  .brand-mark { width: 66px; height: 48px; }
  .brand small, .site-search { display: none; }
  .menu-button { width: 48px; height: 48px; display: grid; align-content: center; gap: 5px; padding: 10px; border: 1px solid var(--border); border-radius: 10px; background: #fff; }
  .menu-button span:not(.sr-only) { display: block; height: 2px; background: var(--text); }
  .global-nav { display: none; position: absolute; left: 0; right: 0; top: 72px; border-top: 1px solid var(--border); box-shadow: var(--shadow); }
  .global-nav.open { display: block; }
  .nav-inner { display: grid; gap: 0; padding-block: 8px; }
  .nav-inner a { min-height: 48px; justify-content: start; padding-inline: 8px; }
  .nav-inner a[aria-current="page"]::after { top: 10px; bottom: 10px; left: 0; right: auto; width: 3px; height: auto; }
  .hero { padding-top: 30px; background: linear-gradient(180deg, #eaf5ff 0 72%, #f7f9fc 72%); }
  .hero-grid { grid-template-columns: 1fr; gap: 14px; }
  .hero-copy { text-align: center; }
  .hero h1 { margin-inline: auto; }
  .hero-lead { margin-inline: auto; }
  .trust-list { width: fit-content; margin-inline: auto; text-align: left; }
  .hero-visual { width: min(100%, 540px); margin-inline: auto; }
  .speech { left: 0; font-size: .86rem; }
  .quick-form { grid-template-columns: 1fr 1fr; }
  .quick-form .button { grid-column: 1 / -1; }
}

@media (max-width: 620px) {
  .shell { width: min(100% - 24px, 1240px); }
  .brand strong { font-size: 1rem; }
  .hero { padding-top: 24px; }
  .eyebrow { font-size: .68rem; }
  .hero h1 { font-size: clamp(2.3rem, 12vw, 3.4rem); }
  .hero-lead { font-size: 1rem; }
  .trust-list { font-size: .9rem; }
  .hero-visual { margin-top: 4px; }
  .speech { max-width: 148px; padding: 9px 12px; font-size: .75rem; }
  .search-panel { width: calc(100% - 16px); margin-top: 18px; }
  .demo-note { display: grid; gap: 3px; padding: 8px 12px; }
  .demo-note strong { width: fit-content; }
  .tabs { grid-template-columns: 1fr; padding: 6px; gap: 4px; }
  .tabs button { min-height: 46px; border: 1px solid transparent; border-radius: 9px; text-align: left; }
  .tabs button[aria-selected="true"] { border-color: #bcd3f1; background: var(--surface-blue); }
  .tab-panel { padding: 12px; }
  .quick-form { grid-template-columns: 1fr; }
  .quick-form .button { grid-column: auto; }
  .panel-message { align-items: stretch; flex-direction: column; }
}

@media (max-width: 1100px) {
  .featured-vehicle-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .feature-grid { grid-template-columns: repeat(3, 1fr); }
  .vehicle-row { grid-template-columns: repeat(3, 1fr); }
  .search-results { grid-template-columns: 1fr; }
  .breakdown-grid { grid-template-columns: 270px 1fr; gap: 24px; }
  .cost-donut { width: 220px; height: 220px; }
  .cost-list { grid-template-columns: 1fr; }
}

@media (max-width: 900px) {
  .featured-vehicle-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .featured-vehicles-heading { align-items: flex-start; flex-direction: column; gap: 7px; }
  .section { padding: 58px 0; }
  .section-heading { align-items: start; flex-direction: column; gap: 8px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .vehicle-row { grid-template-columns: repeat(3, 1fr); }
  .about-grid { grid-template-columns: 160px 1fr; }
  .about-grid .button { grid-column: 2; width: fit-content; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-note { grid-column: 1 / -1; }
  .page-title-row { align-items: flex-start; }
  .search-layout { grid-template-columns: 230px 1fr; gap: 18px; }
  .result-card { grid-template-columns: 33% 1fr; }
  .step-orbit, .compare-glyph { display: none; }
  .simulator-layout { grid-template-columns: 1fr; }
  .condition-summary { position: static; display: grid; grid-template-columns: 120px 1fr; column-gap: 18px; }
  .summary-character { grid-row: 1 / 5; height: auto; margin: 0; }
  .condition-summary .eyebrow, .condition-summary h2, .condition-summary dl, .condition-summary > p { grid-column: 2; }
  .condition-summary dl { width: 100%; }
  .result-kpis { grid-template-columns: 1fr 1fr; }
  .compact-kpi { grid-column: 1 / -1; min-height: 110px; }
  .breakdown-grid { grid-template-columns: 1fr; }
  .results-columns { grid-template-columns: 1fr; }
  .policy-layout { grid-template-columns: 1fr; }
  .policy-nav { position: static; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .policy-nav strong { grid-column: 1 / -1; }
  .next-actions { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 620px) {
  .vehicle-directory-intro { margin-bottom: 24px; line-height: 1.8; }
  .featured-vehicles { margin-bottom: 40px; }
  .featured-vehicle-grid { grid-template-columns: 1fr; gap: 11px; }
  .featured-vehicle-card { padding: 16px; }
  .featured-vehicle-card dl { grid-template-columns: 1fr 1fr; gap: 7px 14px; }
  .featured-vehicle-card dl > div { grid-template-columns: 1fr; gap: 2px; }
  .all-vehicles-heading { padding-top: 28px; }
  body { padding-bottom: 64px; }
  .section { padding: 44px 0; }
  .section-heading { margin-bottom: 18px; }
  .section-heading.inline { align-items: flex-start; }
  .feature-grid { grid-template-columns: 1fr; }
  .feature-card { min-height: auto; }
  .vehicle-row { display: flex; overflow-x: auto; gap: 12px; padding-bottom: 8px; scroll-snap-type: x proximity; }
  .vehicle-card { flex: 0 0 78%; scroll-snap-align: start; }
  .vehicle-row .loading-card { flex: 0 0 78%; }
  .data-error-banner { align-items: stretch; flex-direction: column; }
  .about-grid { grid-template-columns: 1fr; text-align: center; }
  .about-character { width: 190px; margin-inline: auto; }
  .about-grid .button { grid-column: auto; width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
  .site-footer nav { grid-template-columns: 1fr; }
  .site-footer nav a { display: flex; align-items: center; min-height: 44px; }
  .breadcrumb a { display: inline-flex; align-items: center; min-height: 44px; margin-block: -11px; }
  .footer-note { grid-column: auto; }
  .mobile-actions { position: fixed; z-index: 30; left: 0; right: 0; bottom: 0; height: 64px; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--border); background: rgba(255,255,255,.98); box-shadow: 0 -8px 22px rgba(37,70,116,.1); }
  .mobile-actions a { display: grid; place-items: center; min-height: 52px; color: var(--muted); font-size: .82rem; font-weight: 850; text-decoration: none; }
  .mobile-actions a[aria-current="page"] { color: var(--primary); background: #eff6ff; }
  .page-hero, .page-hero.compact { padding-block: 28px; }
  .page-title-row { display: block; }
  .page-title-row h1 { font-size: 2rem; text-wrap: balance; overflow-wrap: anywhere; }
  .mini-character { width: 130px; margin: 14px auto -12px; }
  .page-content { padding-block: 22px 48px; }
  .demo-banner { padding: 12px; }
  .search-layout { grid-template-columns: 1fr; }
  .filters { position: static; }
  .result-toolbar { align-items: stretch; flex-direction: column; }
  .result-toolbar label { width: 100%; }
  .result-card { grid-template-columns: 34% 1fr; }
  .result-card-body { padding: 14px; }
  .result-card-body p:not(.maker) { display: none; }
  .catalog-card { grid-template-columns: 1fr; }
  .catalog-card .vehicle-monogram { min-height: 76px; }
  .catalog-card .result-card-body p.maker { display: block; }
  .spec-summary { grid-template-columns: 1fr; }
  .stepper { padding: 14px 10px; }
  .stepper li:not(:last-child)::after { left: calc(50% + 18px); width: calc(100% - 36px); }
  .stepper em { font-size: .68rem; }
  .form-step { padding: 22px 16px; }
  .form-grid.two { grid-template-columns: 1fr; }
  .info-callout .badge { position: static; margin-top: 8px; }
  .review-list { grid-template-columns: 1fr; }
  .form-actions { position: sticky; z-index: 4; bottom: 64px; padding: 14px 16px; }
  .form-actions .button { flex: 1; padding-inline: 10px; }
  .condition-summary { grid-template-columns: 1fr; }
  .summary-character { display: none; }
  .condition-summary .eyebrow, .condition-summary h2, .condition-summary dl, .condition-summary > p { grid-column: 1; }
  .result-heading { align-items: stretch; flex-direction: column; }
  .result-heading h1 { font-size: 1.75rem; text-wrap: balance; overflow-wrap: anywhere; }
  .result-kpis { grid-template-columns: 1fr; }
  .kpi-card, .compact-kpi { grid-column: auto; min-height: 120px; }
  .cost-breakdown { padding: 18px 14px; }
  .cost-donut { width: 210px; height: 210px; }
  .cost-list { grid-template-columns: 1fr; }
  .cost-list > div { grid-template-columns: 10px 1fr auto; gap: 7px; }
  .cost-list b { font-size: .82rem; }
  .cost-list .badge { font-size: .63rem; }
  .content-card { padding: 18px; }
  .policy-nav { grid-template-columns: 1fr; }
  .policy-nav strong { grid-column: auto; }
  .policy-meta > div { grid-template-columns: 1fr; gap: 3px; }
  .card-heading { align-items: flex-start; }
  .action-buttons { width: 100%; }
  .action-buttons .button { width: 100%; }
  .compare-picker { padding: 18px; }
  .picker-grid { grid-template-columns: 1fr; }
  .car-picker { padding: 15px; }
  .vehicle-inputs { grid-template-columns: 1fr; }
  .swap-button { justify-self: center; transform: rotate(90deg); }
  .compare-conditions-card { padding: 18px; }
  .compare-condition-grid { grid-template-columns: 1fr 1fr; }
  .compare-summary { padding: 20px 14px; }
  .compare-labels { grid-template-columns: 1fr; gap: 8px; }
  .compare-labels > span { font-size: .72rem; }
  .shared-conditions { width: 100%; }
  .shared-conditions[open] { min-width: 0; }
  .shared-conditions dl { position: static; width: 100%; box-shadow: none; }
  .desktop-comparison { display: none; }
  .mobile-comparison { display: grid; gap: 12px; }
  .comparison-mobile-card { overflow: hidden; border: 1px solid var(--border); border-radius: 14px; background: #fff; }
  .comparison-mobile-card h3 { margin: 0; padding: 10px 14px; color: #344054; background: #f2f6fb; font-size: .88rem; }
  .comparison-mobile-values { display: grid; grid-template-columns: 1fr auto 1fr; align-items: stretch; }
  .comparison-mobile-values > div { display: grid; gap: 3px; align-content: center; padding: 14px 10px; text-align: center; }
  .comparison-mobile-values small { color: var(--muted); font-size: .66rem; }
  .comparison-mobile-values strong { font-size: .88rem; font-variant-numeric: tabular-nums; }
  .mobile-difference { min-width: 82px; color: var(--muted); background: #f8fafc; }
  .compare-source-grid { grid-template-columns: 1fr; }
  .compare-note { grid-template-columns: 1fr; padding: 20px; }
  .compare-note img { display: none; }
}

@media (max-width: 620px) {
  .compare-condition-grid { grid-template-columns: 1fr; }
  .include-purchase { grid-column: 1; }
  .compare-source-item dl > div { grid-template-columns: 1fr; gap: 2px; }
  .comparison-mobile-values { grid-template-columns: 1fr; }
  .comparison-mobile-values > div { min-height: 58px; }
  .mobile-difference { min-width: 0; border-block: 1px solid #edf0f4; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
.analytics-consent {
  position: fixed;
  z-index: 1200;
  right: 24px;
  bottom: 24px;
  left: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 960px;
  margin-inline: auto;
  padding: 20px 22px;
  color: #152238;
  background: rgba(255, 255, 255, 0.98);
  border: 1px solid #c9d7ea;
  border-radius: 18px;
  box-shadow: 0 16px 48px rgba(17, 45, 84, 0.2);
}

.analytics-consent-copy {
  min-width: 0;
}

.analytics-consent-copy strong {
  display: block;
  margin-bottom: 4px;
  font-size: 1rem;
}

.analytics-consent-copy p {
  margin: 0;
  line-height: 1.65;
}

.analytics-consent-copy a {
  display: inline-block;
  margin-top: 4px;
  color: #145bb8;
  font-weight: 700;
  text-underline-offset: 3px;
}

.analytics-consent-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 10px;
}

.analytics-consent .button {
  min-width: 112px;
  min-height: 44px;
}

@media (max-width: 700px) {
  .analytics-consent {
    right: 12px;
    bottom: calc(76px + env(safe-area-inset-bottom));
    left: 12px;
    display: block;
    padding: 18px;
    border-radius: 16px;
  }

  .analytics-consent-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    margin-top: 14px;
  }

  .analytics-consent .button {
    width: 100%;
    min-width: 0;
  }
}

/* Columns and editorial articles */
.column-intro { padding-bottom: 54px; background: linear-gradient(180deg, #edf6ff 0%, #fff 100%); }
.breadcrumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; color: #667085; font-size: .86rem; }
.breadcrumbs a { color: #145bb8; font-weight: 700; }
.editorial-policy { display: grid; grid-template-columns: 170px 1fr; gap: 22px; margin-bottom: 30px; padding: 22px 26px; border: 1px solid #cfe0f4; border-radius: 16px; background: #f4f8fd; }
.editorial-policy strong { color: #154b86; font-size: 1.05rem; }
.editorial-policy p { margin: 0; }
.column-grid, .home-column-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 18px; }
.column-card { display: flex; flex-direction: column; min-height: 290px; padding: 24px; border: 1px solid #dbe4ef; border-radius: 18px; background: #fff; box-shadow: 0 8px 24px rgba(37,70,116,.07); }
.column-card h2 { margin: 14px 0 12px; font-size: 1.23rem; line-height: 1.5; }
.column-card h2 a { color: #152238; text-decoration: none; }
.column-card h2 a:hover { color: #145bb8; text-decoration: underline; text-underline-offset: 4px; }
.column-card p { margin: 0 0 18px; color: #526074; line-height: 1.75; }
.column-card .text-link { margin-top: auto; }
.column-card-meta { display: flex; flex-wrap: wrap; gap: 7px 14px; margin: auto 0 14px; color: #687589; font-size: .8rem; }
.home-column-grid .column-card { min-height: 250px; }
.home-column-grid .column-card h2 { font-size: 1.08rem; }

.article-hero { padding: 42px 0 48px; border-bottom: 1px solid #dbe5f0; background: linear-gradient(145deg, #eef7ff 0%, #fff 58%, #f1faf5 100%); }
.article-shell { max-width: 920px; }
.article-hero h1 { max-width: 860px; margin: 18px 0; font-size: clamp(2rem, 4vw, 3.35rem); line-height: 1.3; letter-spacing: -.03em; }
.article-lead { max-width: 760px; margin: 0; color: #415169; font-size: 1.08rem; line-height: 1.9; }
.article-meta { display: flex; flex-wrap: wrap; gap: 8px 20px; margin-top: 22px; color: #667085; font-size: .84rem; }
.article-layout { display: grid; grid-template-columns: minmax(0, 740px) 260px; gap: 58px; align-items: start; padding-top: 52px; padding-bottom: 72px; }
.article-body { min-width: 0; color: #243247; font-size: 1rem; line-height: 1.95; }
.article-body h2 { margin: 2.8em 0 .8em; padding-left: 15px; border-left: 5px solid #2473c8; color: #152238; font-size: 1.55rem; line-height: 1.45; }
.article-body h2:first-child { margin-top: 0; }
.article-body p { margin: 0 0 1.35em; }
.article-body ul { margin: 0 0 1.5em; padding-left: 1.5em; }
.article-body li { margin: .45em 0; }
.article-contents { margin: 0 0 36px; padding: 22px 26px; border: 1px solid #d5e3f2; border-radius: 15px; background: #f5f9fe; }
.article-contents > strong { display: block; color: #174e86; font-size: 1.05rem; }
.article-contents ol { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3px 28px; margin: 12px 0 0; padding-left: 1.5em; }
.article-contents li { padding-left: 2px; }
.article-contents a { color: #175b9f; text-underline-offset: 3px; }
.article-body h2[id] { scroll-margin-top: 100px; }
.home-model-guides { margin: 18px 0 25px; }
.home-model-guides p { margin-bottom: 10px; color: #526074; font-size: .9rem; }
.home-model-guides > div { display: flex; flex-wrap: wrap; gap: 9px; }
.home-model-guides a { display: inline-flex; align-items: center; min-height: 44px; padding: 8px 14px; border: 1px solid #cbdced; border-radius: 10px; background: #fff; color: #175b9f; text-decoration: none; font-size: .9rem; }
.home-model-guides a:hover { background: #edf5ff; text-decoration: underline; }
.guide-mode-list { margin: 22px 0; border: 1px solid #d5e3f2; border-radius: 14px; overflow: hidden; }
.guide-mode-row { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 15px; padding: 15px 18px; border-bottom: 1px solid #d5e3f2; }
.guide-mode-row:last-child { border-bottom: 0; }
.guide-mode-row:nth-child(odd) { background: #f5f9fe; }
.guide-mode-row > div { display: grid; }
.guide-mode-row > div:last-child { text-align: right; }
.guide-mode-row span, .guide-small, .guide-spec-source { color: #526074; font-size: .85rem; }
.guide-mode-row b { color: #175b9f; }
.guide-input-grid, .guide-results { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; }
.guide-input-grid { margin: 18px 0 10px; }
.guide-results { margin: 22px 0 12px; }
.guide-results > div { display: grid; gap: 6px; padding: 16px; border-radius: 12px; background: #edf6ff; }
.guide-results span { font-size: .82rem; color: #435a74; }
.guide-results strong { font-size: clamp(1.1rem, 2vw, 1.35rem); color: #154b86; }
.guide-spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; margin: 24px 0; }
.guide-spec-card { display: flex; flex-direction: column; padding: 21px; border: 1px solid #d5e3f2; border-radius: 15px; background: #fff; min-width: 0; }
.guide-spec-card h3 { margin: 10px 0 16px; font-size: 1.1rem; overflow-wrap: anywhere; }
.guide-spec-card dl { margin: 0; font-size: .85rem; }
.guide-spec-card dl > div { display: grid; grid-template-columns: 1fr 1.3fr; gap: 12px; padding: 8px 0; border-bottom: 1px solid #e5edf5; }
.guide-spec-card dt { color: #526074; }
.guide-spec-card dd { margin: 0; font-weight: 600; overflow-wrap: anywhere; }
.guide-spec-card .guide-spec-source { margin: 13px 0; }
.guide-spec-card .button { margin-top: auto; min-width: 0; padding-inline: 12px; font-size: .88rem; }
.guide-mode { display: block; color: #526074; font-size: .8rem; font-weight: 400; }
[data-page="vehicle-guide"] .article-sources summary { min-height: 44px; cursor: pointer; color: #175b9f; }
[data-page="vehicle-guide"] .article-sources small { display: block; }
[data-page="vehicle-guide"] .article-sources li[id] { scroll-margin-top: 100px; }
.article-summary, .formula-box, .calculation-example, .automation-disclosure { margin: 28px 0; padding: 22px 24px; border-radius: 15px; }
.article-summary { border: 1px solid #cfe0f4; background: #f4f8fd; }
.article-summary > strong { display: block; margin-bottom: 8px; color: #154b86; }
.article-summary ul { margin-bottom: 14px; }
.formula-box { display: grid; gap: 6px; border: 1px solid #bcd8f4; background: #eaf5ff; text-align: center; }
.formula-box span { color: #52657b; font-weight: 700; }
.formula-box strong { color: #0d4f94; font-size: 1.22rem; }
.calculation-example { display: grid; gap: 7px; border: 1px solid #cfe4d7; background: #f1faf5; }
.calculation-example strong { color: #16623a; font-size: 1.12rem; }
.calculation-example span { color: #426052; }
.article-note { padding: 14px 18px; border-left: 4px solid #e5a62e; background: #fff8e8; color: #665329; font-size: .9rem; }
.comparison-table { overflow-x: auto; margin: 28px 0; border: 1px solid #dbe4ef; border-radius: 14px; }
.comparison-table table { width: 100%; min-width: 620px; border-collapse: collapse; }
.comparison-table th, .comparison-table td { padding: 13px 15px; border-bottom: 1px solid #e3e9f1; text-align: left; vertical-align: top; }
.comparison-table thead th { background: #eef5fd; color: #24466c; }
.article-sources { margin-top: 48px; padding-top: 10px; border-top: 1px solid #dbe4ef; }
.article-sources h2 { border-left-color: #36a06c; }
.article-sources a { overflow-wrap: anywhere; }
.article-sources p { color: #667085; font-size: .88rem; }
.automation-disclosure { border: 1px solid #dde3ea; background: #f8fafc; color: #536174; font-size: .9rem; }
.automation-disclosure p { margin: 5px 0 0; }
.article-cta { width: 100%; margin-top: 10px; }
.article-aside { position: sticky; top: 110px; }
.article-aside h2 { margin: 28px 0 12px; font-size: 1rem; }
.aside-character { padding: 18px; border: 1px solid #d8e5f2; border-radius: 18px; background: #f5f9fd; text-align: center; }
.aside-character img { width: 100%; height: auto; border-radius: 12px; }
.aside-character strong { display: block; margin-top: 10px; color: #264d78; font-size: .9rem; line-height: 1.6; }
.related-article { display: block; margin-bottom: 10px; padding: 14px; border: 1px solid #dbe4ef; border-radius: 12px; background: #fff; color: #25364e; text-decoration: none; }
.related-article span { display: block; margin-bottom: 5px; color: #3172b8; font-size: .72rem; font-weight: 800; }
.related-article strong { font-size: .85rem; line-height: 1.55; }
.related-article:hover { border-color: #89b7e5; box-shadow: 0 5px 16px rgba(37,70,116,.08); }

@media (max-width: 960px) {
  .column-grid, .home-column-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .article-layout { grid-template-columns: minmax(0, 1fr) 220px; gap: 34px; }
}

@media (max-width: 700px) {
  .column-intro { padding-bottom: 34px; }
  .editorial-policy { grid-template-columns: 1fr; gap: 5px; padding: 19px; }
  .column-grid, .home-column-grid { grid-template-columns: 1fr; }
  .column-card { min-height: 0; padding: 21px; }
  .article-hero { padding: 28px 0 34px; }
  .article-hero h1 { font-size: 2rem; }
  .article-lead { font-size: 1rem; }
  .article-layout { grid-template-columns: 1fr; gap: 34px; padding-top: 36px; padding-bottom: 92px; }
  .article-body h2 { font-size: 1.3rem; }
  .article-contents { padding: 18px; }
  .article-contents ol { grid-template-columns: 1fr; }
  .guide-input-grid, .guide-spec-grid, .guide-results { grid-template-columns: 1fr; }
  .guide-results > div { display: flex; align-items: center; justify-content: space-between; }
  .guide-mode-row { padding: 13px; gap: 10px; }
  .article-summary, .formula-box, .calculation-example, .automation-disclosure { padding: 18px; }
  .article-aside { position: static; }
  .aside-character { display: grid; grid-template-columns: 100px 1fr; gap: 14px; align-items: center; text-align: left; }
}
