:root {
  color-scheme: light;
  --bg: #eef3f8;
  --bg-strong: #dfe8f2;
  --surface: #ffffff;
  --surface-soft: #f7fafc;
  --surface-warm: #fbfcfd;
  --text: #101827;
  --muted: #64748b;
  --line: #d8e2ee;
  --line-strong: #b9c7d8;
  --accent: #0877c9;
  --accent-strong: #075b9b;
  --teal: #0ea5a3;
  --ink: #142033;
  --shadow: 0 14px 34px rgba(15, 23, 42, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  background: var(--bg);
}

body {
  margin: 0;
  background:
    linear-gradient(180deg, rgba(8, 119, 201, 0.08), rgba(8, 119, 201, 0) 360px),
    var(--bg);
  color: var(--text);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
  line-height: 1.6;
}

a {
  color: var(--accent);
  text-underline-offset: 3px;
}

a:hover {
  color: var(--accent-strong);
}

main,
.site-header,
.site-footer {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 0;
}

.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.logo-mark {
  display: inline-grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border: 1px solid rgba(8, 119, 201, 0.28);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--accent), var(--teal));
  color: #ffffff;
  font-size: 0.8rem;
  letter-spacing: 0;
}

.site-nav,
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.site-nav a,
.footer-nav a {
  padding: 8px 10px;
  border-radius: 6px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 650;
  text-decoration: none;
}

.site-nav a:hover,
.footer-nav a:hover {
  background: rgba(8, 119, 201, 0.08);
  color: var(--accent-strong);
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(270px, 0.55fr);
  gap: 26px;
  align-items: stretch;
  margin: 12px 0 22px;
  padding: 28px 32px;
  border: 1px solid rgba(8, 119, 201, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(238, 247, 255, 0.92)),
    var(--surface);
  box-shadow: var(--shadow);
}

.hero-copy {
  min-width: 0;
}

.hero h1 {
  max-width: 760px;
  margin: 0 0 12px;
  color: var(--ink);
  font-size: clamp(2rem, 5vw, 3.6rem);
  line-height: 1.04;
}

.hero p {
  max-width: 660px;
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 1.02rem;
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--accent-strong);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  width: min(700px, 100%);
  margin-top: 20px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
}

.hero-search input,
.hero-search button {
  min-width: 0;
  border: 0;
  border-radius: 6px;
  font: inherit;
}

.hero-search input {
  padding: 12px 14px;
  color: var(--text);
  outline: 0;
}

.hero-search input:focus {
  box-shadow: inset 0 0 0 2px rgba(8, 119, 201, 0.25);
}

.hero-search button {
  padding: 12px 18px;
  background: var(--accent);
  color: #ffffff;
  cursor: pointer;
  font-weight: 800;
}

.hero-search button:hover {
  background: var(--accent-strong);
}

.vehicle-card {
  display: grid;
  align-content: space-between;
  gap: 16px;
  min-width: 0;
  padding: 18px;
  border: 1px solid rgba(8, 119, 201, 0.2);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0)),
    #102033;
  color: #ffffff;
}

.vehicle-card-head {
  display: flex;
  align-items: center;
  gap: 12px;
}

.vehicle-card-head .brand-mark {
  background: #ffffff;
  color: var(--accent-strong);
}

.vehicle-card-head div {
  display: grid;
  gap: 2px;
}

.vehicle-card-head span,
.metric-list dt {
  color: #a9c5dd;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
}

.vehicle-card-head strong {
  font-size: 1.35rem;
}

.vehicle-silhouette {
  display: grid;
  place-items: center;
  min-height: 70px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.04);
}

.vehicle-silhouette .spec-icon {
  width: 78px;
  height: 78px;
  background: transparent;
  color: #d9ecff;
}

.vehicle-silhouette svg {
  width: 70px;
  height: 70px;
}

.metric-list {
  display: grid;
  gap: 10px;
  margin: 0;
}

.metric-list div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 10px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.metric-list dt,
.metric-list dd {
  margin: 0;
}

.metric-list dd {
  font-weight: 800;
}

.metric-list dt {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.metric-list .spec-icon {
  width: 26px;
  height: 26px;
  background: rgba(255, 255, 255, 0.08);
  color: #d9ecff;
}

.section-block {
  min-width: 0;
  margin: 24px 0;
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(240px, 0.55fr);
  gap: 20px;
  margin-bottom: 18px;
}

.section-heading p:last-child {
  align-self: end;
  margin: 0;
}

.compact-heading {
  grid-template-columns: minmax(0, 0.9fr) minmax(220px, 0.5fr);
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.2;
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1 {
  margin: 0 0 12px;
  font-size: clamp(2rem, 4vw, 3.1rem);
}

h2 {
  margin: 0 0 12px;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

h3 {
  margin: 4px 0 8px;
  font-size: 1.05rem;
}

p {
  color: var(--muted);
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 10px 0 18px;
  color: var(--muted);
  font-size: 0.92rem;
}

.breadcrumbs a {
  color: var(--muted);
  text-decoration: none;
}

.grid,
.query-grid,
.benefit-grid,
.guide-list,
.popular-brand-grid,
.model-list,
.coverage-grid,
.page-stat-grid,
.spec-card-grid,
.related-model-grid,
.faq-list {
  display: grid;
  gap: 16px;
}

.grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.query-grid {
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.benefit-grid {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.page-stat-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 720px;
  margin: 18px 0 0;
}

.page-stat-grid div {
  min-width: 0;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.page-stat-grid dt,
.page-stat-grid dd {
  margin: 0;
}

.page-stat-grid dt {
  color: var(--muted);
  font-size: 0.76rem;
  font-weight: 850;
  text-transform: uppercase;
}

.page-stat-grid dd {
  margin-top: 3px;
  color: var(--ink);
  font-weight: 900;
}

.popular-brand-grid {
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
}

.card,
.query-card,
.popular-brand,
.model-row,
.spec-card,
.related-model-card,
.benefit-grid article,
.guide-list article {
  min-width: 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
}

.card {
  display: grid;
  align-content: start;
  min-height: 218px;
}

.brand-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand-mark {
  display: inline-grid;
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(8, 119, 201, 0.25);
  border-radius: 8px;
  background: #eef7ff;
  color: var(--accent-strong);
  font-size: 0.9rem;
  font-weight: 900;
  letter-spacing: 0;
}

.card h2 {
  margin: 6px 0 8px;
  font-size: 1.25rem;
}

.card h2 a {
  color: var(--text);
  text-decoration: none;
}

.card h2 a:hover {
  color: var(--accent-strong);
}

.card-kicker,
.guide-list span {
  color: var(--teal);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.card-link {
  align-self: end;
  margin-top: 18px;
  color: var(--accent-strong);
  font-weight: 800;
}

.mini-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin: 14px 0 0;
}

.mini-stats div {
  padding: 9px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #ffffff;
}

.mini-stats dt,
.mini-stats dd {
  margin: 0;
}

.mini-stats dt {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
}

.mini-stats dd {
  color: var(--ink);
  font-weight: 900;
}

.query-card {
  display: grid;
  gap: 6px;
  color: var(--text);
  text-decoration: none;
}

.query-card span {
  font-weight: 850;
}

.query-card small {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.45;
}

.spec-icon {
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 8px;
  background: #eaf5ff;
  color: var(--accent-strong);
}

.spec-icon svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.query-card:hover {
  border-color: rgba(8, 119, 201, 0.45);
  background: #ffffff;
  color: var(--accent-strong);
}

.coverage-band {
  display: grid;
  grid-template-columns: minmax(220px, 0.7fr) minmax(0, 1.3fr);
  gap: 24px;
  align-items: center;
  margin: 22px 0;
  padding: 24px 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.coverage-band h2,
.coverage-band p {
  margin-bottom: 0;
}

.coverage-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.coverage-grid div {
  min-width: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-warm);
}

.coverage-grid dt,
.coverage-grid dd {
  margin: 0;
}

.coverage-grid dt {
  color: var(--ink);
  font-size: 1.75rem;
  font-weight: 900;
  line-height: 1;
}

.coverage-grid dd {
  margin-top: 6px;
  color: var(--muted);
  font-size: 0.86rem;
}

.popular-brand,
.model-row,
.spec-card,
.related-model-card {
  color: var(--text);
  text-decoration: none;
}

.popular-brand {
  display: grid;
  gap: 8px;
  align-content: start;
  min-height: 130px;
}

.popular-brand span:not(.brand-mark) {
  color: var(--ink);
  font-weight: 850;
}

.popular-brand small,
.model-row small {
  display: block;
  color: var(--muted);
  font-size: 0.86rem;
}

.model-list {
  gap: 10px;
}

.model-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px;
  background: #ffffff;
}

.model-row-main {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 12px;
}

.model-row-main strong {
  color: var(--ink);
}

.model-row-meta {
  color: var(--accent-strong);
  font-weight: 850;
  white-space: nowrap;
}

.popular-brand:hover,
.model-row:hover,
.spec-card:hover,
.related-model-card:hover {
  border-color: rgba(8, 119, 201, 0.45);
}

.seo-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 290px;
  gap: 22px;
  align-items: start;
}

.seo-layout > * {
  min-width: 0;
}

.template-sidebar {
  position: sticky;
  top: 18px;
  display: grid;
  gap: 16px;
}

.template-sidebar section {
  display: grid;
  gap: 8px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.template-sidebar h2 {
  margin: 0 0 4px;
  font-size: 1rem;
}

.template-sidebar a {
  color: var(--muted);
  font-weight: 750;
  text-decoration: none;
}

.template-sidebar a:hover {
  color: var(--accent-strong);
}

.schema-ready {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 0 0 24px;
  padding: 12px 14px;
  border: 1px dashed var(--line-strong);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.64);
}

.schema-ready strong {
  color: var(--ink);
}

.schema-ready span {
  color: var(--muted);
  font-size: 0.92rem;
}

.answer-block {
  min-width: 0;
  margin: 24px 0;
  padding: 30px;
  border: 1px solid rgba(8, 119, 201, 0.28);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.answer-block h2 {
  margin-bottom: 10px;
}

.answer-value {
  display: inline-flex;
  margin: 6px 0 10px;
  padding: 12px 14px;
  border-radius: 8px;
  background: #eaf5ff;
  color: var(--accent-strong);
  font-size: 1.35rem;
  font-weight: 900;
}

.spec-card-grid {
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
}

.spec-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
}

.spec-card span,
.related-model-card span {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.spec-card strong,
.related-model-card strong {
  color: var(--ink);
}

.spec-card small,
.related-model-card small {
  color: var(--muted);
  line-height: 1.4;
}

.spec-card.is-active {
  border-color: rgba(8, 119, 201, 0.55);
  background: #eef7ff;
}

.related-model-grid {
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.related-model-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
}

.related-model-card.is-current {
  border-color: rgba(14, 165, 163, 0.42);
}

.faq-list {
  gap: 10px;
}

.faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.faq-list summary {
  cursor: pointer;
  padding: 14px 16px;
  color: var(--ink);
  font-weight: 850;
}

.faq-list p {
  margin: 0;
  padding: 0 16px 16px;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(220px, 0.75fr) minmax(0, 1.25fr);
  gap: 26px;
}

.guide-list article {
  background: #ffffff;
}

.benefit-grid article strong {
  color: var(--ink);
}

.benefit-grid article p {
  margin-bottom: 0;
}

.link-list {
  display: grid;
  gap: 8px;
  padding-left: 20px;
}

.year-grid,
.spec-link-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 12px;
  padding: 0;
  list-style: none;
}

.year-grid li,
.spec-link-grid li {
  min-width: 0;
}

.year-grid a,
.spec-link-grid a {
  display: block;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface-soft);
  color: var(--text);
  font-weight: 800;
  text-decoration: none;
}

.year-grid a:hover,
.spec-link-grid a:hover {
  border-color: rgba(8, 119, 201, 0.45);
  color: var(--accent-strong);
}

.entity-hero {
  display: flex;
  min-width: 0;
  align-items: center;
  gap: 18px;
  margin: 18px 0 24px;
  padding: 26px 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #ffffff;
}

.entity-hero > .spec-icon {
  flex: 0 0 auto;
  width: 64px;
  height: 64px;
}

.entity-hero > .spec-icon svg {
  width: 34px;
  height: 34px;
}

.entity-hero .brand-mark {
  width: 64px;
  height: 64px;
  font-size: 1.2rem;
}

.table-wrap {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  margin: 20px 0;
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--surface);
}

.spec-table {
  width: 100%;
  min-width: 520px;
  border-collapse: collapse;
  background: var(--surface);
}

.spec-table th,
.spec-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.spec-table tr:last-child th,
.spec-table tr:last-child td {
  border-bottom: 0;
}

.spec-table th {
  width: 32%;
  background: #f0f6fc;
  color: #26384d;
  font-weight: 800;
}

.spec-table th {
  display: flex;
  align-items: center;
  gap: 10px;
}

.spec-table td {
  color: #243247;
}

.site-footer {
  display: grid;
  grid-template-columns: minmax(240px, 0.9fr) minmax(0, 1.6fr);
  gap: 34px;
  align-items: start;
  margin-top: 36px;
  padding: 34px 0 44px;
  border-top: 1px solid var(--line-strong);
  color: var(--muted);
}

.footer-logo {
  margin-bottom: 10px;
}

.site-footer p {
  max-width: 560px;
  margin: 0;
}

.footer-columns {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.footer-nav {
  display: grid;
  align-content: start;
  gap: 6px;
}

.footer-nav strong {
  color: var(--ink);
  font-size: 0.86rem;
}

.footer-nav a {
  padding: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 860px) {
  .hero,
  .split-section,
  .site-footer,
  .coverage-band,
  .section-heading,
  .compact-heading,
  .seo-layout {
    grid-template-columns: 1fr;
  }

  .site-header {
    align-items: flex-start;
    flex-direction: column;
    gap: 14px;
  }

  .template-sidebar {
    position: static;
  }
}

@media (max-width: 640px) {
  main,
  .site-header,
  .site-footer {
    width: min(100% - 24px, 1160px);
  }

  .hero,
  .section-block {
    padding: 22px;
  }

  .hero {
    gap: 16px;
    margin-top: 8px;
  }

  .hero h1 {
    font-size: clamp(1.85rem, 9vw, 2.55rem);
  }

  .hero p {
    font-size: 0.98rem;
  }

  .vehicle-card {
    display: none;
  }

  .metric-list {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .metric-list div {
    padding: 7px 0;
  }

  .coverage-band {
    padding: 22px;
  }

  .hero-search {
    grid-template-columns: 1fr;
  }

  .hero-search button {
    width: 100%;
  }

  .section-heading {
    display: block;
  }

  .coverage-grid,
  .page-stat-grid,
  .footer-columns {
    grid-template-columns: 1fr;
  }

  .schema-ready {
    align-items: flex-start;
    flex-direction: column;
  }

  .answer-block {
    padding: 22px;
  }

  .answer-value {
    display: flex;
    width: 100%;
  }

  .model-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .entity-hero {
    align-items: flex-start;
    flex-direction: column;
    padding: 22px;
  }

  .site-nav,
  .footer-nav {
    width: 100%;
  }

  .site-nav a,
  .footer-nav a {
    padding-left: 0;
  }
}
