:root {
  --bg: #f4f1ea;
  --surface: #ffffff;
  --surface-soft: #ebe7df;
  --ink: #111318;
  --muted: #68717d;
  --line: #d8d5ce;
  --line-dark: #2b3038;
  --shell: #0c0f13;
  --shell-soft: #151a20;
  --brand: #d72d2f;
  --brand-dark: #aa2025;
  --danger: #b42318;
  --danger-soft: #fff0ee;
  --warning: #8a5b08;
  --warning-soft: #fff4d9;
  --success: #1f6f43;
  --success-soft: #eaf6ef;

  --content: 1120px;
  --reading: 760px;
  --radius-sm: 10px;
  --radius-md: 15px;
  --radius-lg: 24px;
  --shadow: 0 18px 48px rgba(15, 18, 24, .10);

  --space-1: .5rem;
  --space-2: 1rem;
  --space-3: 1.5rem;
  --space-4: 2.5rem;
  --space-5: 4rem;
}

* { box-sizing: border-box; }

html {
  background: var(--bg);
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--ink);
  font-family: Tahoma, Arial, "Segoe UI", sans-serif;
  line-height: 1.65;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; height: auto; }

a { color: inherit; }

button,
input,
select,
textarea { font: inherit; }

button { cursor: pointer; }

:focus-visible {
  outline: 3px solid rgba(215, 45, 47, .35);
  outline-offset: 3px;
}

.skip-link {
  position: fixed;
  inset-inline-start: 1rem;
  top: -100px;
  z-index: 1000;
  background: var(--surface);
  color: var(--ink);
  padding: .75rem 1rem;
  border-radius: var(--radius-sm);
}

.skip-link:focus { top: 1rem; }

.container {
  width: min(calc(100% - 2rem), var(--content));
  margin-inline: auto;
}

.reading {
  width: min(calc(100% - 2rem), var(--reading));
  margin-inline: auto;
}

.site-header {
  background: var(--shell);
  color: white;
  border-bottom: 1px solid var(--line-dark);
}

.header-inner {
  min-height: 72px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 1.25rem;
  align-items: center;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  text-decoration: none;
  min-width: max-content;
}

.brand-mark {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--line-dark);
  border-radius: 13px;
  background: var(--shell-soft);
}

.brand-mark svg { width: 30px; height: 30px; }

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.15;
}

.brand-copy strong { font-size: 1.05rem; }
.brand-copy small { color: #aeb6c2; margin-top: .28rem; font-size: .74rem; }

.site-nav {
  display: flex;
  justify-content: center;
  gap: .25rem;
}

.site-nav a {
  text-decoration: none;
  color: #b8c0cb;
  padding: .65rem .85rem;
  border-radius: 10px;
  font-size: .92rem;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: white;
  background: var(--shell-soft);
}

.header-context {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: #dce1e8;
  text-decoration: none;
  font-size: .86rem;
  min-width: max-content;
}

.header-context::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand);
}

main { min-height: 68vh; }

.page-block { padding-block: var(--space-5); }

.eyebrow {
  color: var(--brand);
  font-weight: 800;
  font-size: .84rem;
}

h1, h2, h3 {
  line-height: 1.25;
  text-wrap: balance;
}

h1 {
  font-size: clamp(2.2rem, 6vw, 4.4rem);
  margin: .65rem 0 1rem;
}

h2 {
  font-size: clamp(1.6rem, 3.8vw, 2.4rem);
  margin: 0 0 .85rem;
}

h3 { margin: 0 0 .5rem; }

.lead {
  color: var(--muted);
  font-size: clamp(1rem, 2vw, 1.18rem);
  max-width: 62ch;
  margin: 0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  color: var(--muted);
  font-size: .82rem;
  margin-bottom: 1.2rem;
}

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

.breadcrumbs a:hover { color: var(--brand); }

.site-footer {
  margin-top: var(--space-5);
  border-top: 1px solid var(--line);
  background: #ece9e2;
}

.footer-inner {
  padding-block: 2rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 1.5rem;
  align-items: start;
}

.footer-copy strong { display: block; margin-bottom: .35rem; }
.footer-copy p { color: var(--muted); margin: 0; max-width: 70ch; font-size: .86rem; }

.footer-links {
  display: flex;
  gap: .8rem;
  flex-wrap: wrap;
}

.footer-links a {
  font-size: .82rem;
  color: var(--muted);
  text-decoration: none;
}

.footer-links a:hover { color: var(--brand); }

@media (max-width: 760px) {
  .header-inner {
    grid-template-columns: 1fr auto;
    min-height: 64px;
  }

  .site-nav { display: none; }
  .brand-copy small { display: none; }
  .header-context { font-size: .76rem; }

  .page-block { padding-block: 2.3rem; }

  .footer-inner { grid-template-columns: 1fr; }
}

.hero {
  padding-block: 3.25rem 2.25rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(420px, 1.08fr);
  gap: 1rem;
  align-items: stretch;
}

.hero-copy {
  background: var(--shell);
  color: white;
  border-radius: var(--radius-lg);
  padding: clamp(2rem, 5vw, 4rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero-copy h1 { max-width: 11ch; }
.hero-copy .lead { color: #c1c8d1; }

.hero-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
  margin-top: 1.7rem;
}

.primary-link,
.secondary-link {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: 0 1rem;
  border-radius: 12px;
  text-decoration: none;
  font-weight: 800;
}

.primary-link {
  background: var(--brand);
  color: white;
}

.primary-link:hover { background: var(--brand-dark); }

.secondary-link {
  color: white;
  border: 1px solid #3b424d;
  background: transparent;
}


.secondary-link-light {
  color: var(--ink);
  border-color: var(--line);
}

.section-spaced { margin-top: 2.2rem; }

.category-card {
  position: relative;
  min-height: 470px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--shell-soft);
  color: white;
}

.category-card picture,
.category-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.category-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 10, 13, .98) 0%, rgba(8, 10, 13, .68) 43%, rgba(8, 10, 13, .08) 76%);
}

.category-content {
  position: relative;
  z-index: 1;
  width: min(70%, 430px);
  min-height: 470px;
  padding: 2.2rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
}

.category-content h2 { margin: .5rem 0 .5rem; }
.category-content p { color: #c6ccd5; margin: 0 0 1.2rem; }

.trust-strip {
  margin-top: 1rem;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.trust-item {
  padding: 1.1rem 1.2rem;
  border-inline-start: 1px solid var(--line);
}

.trust-item:first-child { border-inline-start: 0; }
.trust-item strong { display: block; font-size: .95rem; }
.trust-item span { color: var(--muted); font-size: .82rem; }

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.2rem;
}

.section-head p { margin: 0; color: var(--muted); max-width: 54ch; }

.vehicle-list {
  display: grid;
  gap: 1rem;
}

.vehicle-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: grid;
  grid-template-columns: 280px 1fr auto;
  align-items: center;
  min-height: 190px;
}

.vehicle-card img {
  width: 100%;
  height: 190px;
  object-fit: cover;
}

.vehicle-card-body { padding: 1.4rem; }
.vehicle-card-body p { color: var(--muted); margin: .35rem 0 0; }

.vehicle-card-action {
  margin-inline-end: 1.4rem;
}

.vehicle-card.unavailable { opacity: .72; }

.vehicle-hero {
  position: relative;
  min-height: 460px;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--shell);
  color: white;
}

.vehicle-hero picture,
.vehicle-hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.vehicle-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(8, 10, 13, .98) 0%, rgba(8, 10, 13, .72) 45%, rgba(8, 10, 13, .04) 78%);
}

.vehicle-hero-content {
  position: relative;
  z-index: 1;
  width: min(64%, 580px);
  min-height: 460px;
  padding: clamp(2rem, 5vw, 3.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.vehicle-hero-content h1 { font-size: clamp(2.4rem, 6vw, 4rem); }
.vehicle-hero-content .lead { color: #c4cad2; }

.intent-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .8rem;
  margin-top: 1rem;
}

.intent-card,
.choice-link {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  text-decoration: none;
  color: var(--ink);
  transition: transform .16s ease, border-color .16s ease, box-shadow .16s ease;
}

.intent-card {
  padding: 1.35rem;
  min-height: 145px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.intent-card:hover,
.choice-link:hover {
  transform: translateY(-2px);
  border-color: #b4b0a8;
  box-shadow: 0 10px 26px rgba(17, 19, 24, .08);
}

.intent-card span,
.choice-link .arrow { color: var(--brand); font-weight: 900; }
.intent-card p { color: var(--muted); margin: .45rem 0 0; font-size: .9rem; }

.guide-preview {
  margin-top: 1rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .8rem;
}

.guide-link {
  display: block;
  text-decoration: none;
  background: #ece8e0;
  border: 1px solid #d6d1c7;
  border-radius: 13px;
  padding: 1rem 1.1rem;
}

.guide-link strong { display: block; }
.guide-link span { color: var(--muted); font-size: .84rem; }

.question-shell,
.verdict-shell,
.article-shell {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
}

.question-shell {
  padding: clamp(1.4rem, 4vw, 2.6rem);
}

.context-line {
  display: inline-flex;
  gap: .35rem;
  flex-wrap: wrap;
  color: var(--muted);
  font-size: .84rem;
  margin-bottom: 1.4rem;
}

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

.context-line a:hover { color: var(--brand); }

.question-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin: 0 0 .7rem;
}

.choice-list {
  display: grid;
  gap: .7rem;
  margin-top: 1.5rem;
}

.choice-link {
  min-height: 64px;
  padding: .95rem 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.choice-copy {
  display: flex;
  flex-direction: column;
  gap: .15rem;
}

.choice-copy small { color: var(--muted); }

.verdict-shell {
  padding: clamp(1.5rem, 4vw, 3rem);
}

.verdict-status {
  display: inline-flex;
  padding: .45rem .75rem;
  border-radius: 999px;
  font-size: .82rem;
  font-weight: 900;
  background: #eceff3;
  color: #343b45;
}

.verdict-status.caution {
  background: var(--warning-soft);
  color: var(--warning);
}

.verdict-status.danger {
  background: var(--danger-soft);
  color: var(--danger);
}

.verdict-title {
  font-size: clamp(2.15rem, 5vw, 3.7rem);
  max-width: 16ch;
  margin: .9rem 0 .75rem;
}

.verdict-lead {
  color: #3f4650;
  font-size: 1.05rem;
  max-width: 64ch;
}

.verdict-section {
  border-top: 1px solid var(--line);
  padding-top: 1.25rem;
  margin-top: 1.25rem;
}

.verdict-section ol,
.verdict-section ul {
  margin: .6rem 0 0;
  padding-inline-start: 1.35rem;
}

.verdict-section li + li { margin-top: .45rem; }

.say-box {
  background: var(--shell);
  color: white;
  border-radius: var(--radius-md);
  padding: 1.25rem;
  margin-top: 1.25rem;
}

.say-box p {
  margin: .4rem 0 0;
  color: #e1e5eb;
  font-size: 1rem;
}

.copy-button {
  margin-top: .9rem;
  min-height: 42px;
  border: 0;
  border-radius: 10px;
  padding: 0 .9rem;
  background: white;
  color: var(--ink);
  font-weight: 800;
}

.copy-button[hidden] { display: none; }

.source-box,
.commerce-box {
  background: #ece9e2;
  border: 1px solid #d8d2c8;
  border-radius: var(--radius-md);
  padding: 1rem;
  margin-top: 1rem;
}

.source-box summary,
.commerce-box summary {
  cursor: pointer;
  font-weight: 800;
}

.source-list {
  display: grid;
  gap: .75rem;
  margin-top: .9rem;
}

.source-item {
  border-top: 1px solid #d4cec4;
  padding-top: .75rem;
}

.source-item:first-child {
  border-top: 0;
  padding-top: 0;
}

.source-item a { color: var(--brand-dark); }
.source-meta { color: var(--muted); font-size: .78rem; }

.article-shell {
  padding: clamp(1.4rem, 4vw, 2.6rem);
}

.article-shell h1 {
  font-size: clamp(2rem, 5vw, 3.3rem);
  max-width: 18ch;
}

.article-section {
  border-top: 1px solid var(--line);
  padding-top: 1.2rem;
  margin-top: 1.2rem;
}

.article-section p { color: #404751; }

.policy-list {
  display: grid;
  gap: .75rem;
  margin-top: 1.2rem;
}

.policy {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.notice {
  background: var(--warning-soft);
  color: #674503;
  border: 1px solid #ead69e;
  border-radius: var(--radius-md);
  padding: .9rem 1rem;
}

.empty-commerce {
  color: var(--muted);
  font-size: .87rem;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .category-card { min-height: 390px; }
  .category-content { min-height: 390px; }

  .vehicle-card {
    grid-template-columns: 180px 1fr;
  }

  .vehicle-card-action {
    grid-column: 1 / -1;
    margin: 0;
    padding: 0 1rem 1rem;
  }

  .intent-grid { grid-template-columns: 1fr; }
}

@media (max-width: 640px) {
  .hero { padding-block: 1rem 1.5rem; }

  .hero-copy {
    padding: 1.5rem;
  }

  .category-card {
    min-height: 420px;
  }

  .category-card::after,
  .vehicle-hero::after {
    background: linear-gradient(180deg, rgba(8, 10, 13, .24) 0%, rgba(8, 10, 13, .96) 76%);
  }

  .category-content,
  .vehicle-hero-content {
    width: 100%;
    min-height: 420px;
    justify-content: flex-end;
    padding: 1.4rem;
  }

  .trust-strip { grid-template-columns: 1fr; }
  .trust-item { border-inline-start: 0; border-top: 1px solid var(--line); }
  .trust-item:first-child { border-top: 0; }

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

  .vehicle-card img { height: 210px; }

  .guide-preview { grid-template-columns: 1fr; }

  .question-title { font-size: 2rem; }
  .choice-link { min-height: 58px; }
}
