:root {
  color-scheme: light;
  --ink: #18201d;
  --muted: #68706c;
  --line: #d9dedb;
  --paper: #f5f6f2;
  --card: #fff;
  --accent: #e6542f;
  --green: #244e3e;
  font-family: Arial, Helvetica, sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; min-width: 0; color: var(--ink); background: var(--paper); overflow-wrap: normal; }
a { color: inherit; }
.site-header { position: sticky; top: 0; z-index: 10; min-height: 48px; padding: 0 4vw; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid var(--line); background: rgba(245, 246, 242, .96); backdrop-filter: blur(8px); }
.site-header nav { display: flex; gap: 24px; font-size: 13px; }
.logo { flex: 0 0 auto; font-weight: 900; letter-spacing: .08em; text-decoration: none; }
main { width: min(1180px, 92vw); margin: 0 auto; }
.home-hero { padding: 24px 0 16px; display: flex; align-items: baseline; gap: 24px; border-bottom: 1px solid var(--line); }
.home-hero h1 { flex: none; font-size: 22px; letter-spacing: -.02em; }
.home-hero p { margin: 0; color: var(--muted); font-size: 14px; }
.model-hero { padding: 40px 0 24px; }
.eyebrow { margin: 0 0 12px; color: var(--accent); font-size: 11px; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; }
h1 { max-width: 1000px; margin: 0; font-size: clamp(38px, 5vw, 56px); line-height: 1; letter-spacing: -.045em; }
h1 small { display: block; margin-top: 8px; color: var(--muted); font-size: 16px; font-weight: 400; letter-spacing: 0; line-height: 1.35; }
.lede { max-width: 760px; margin: 20px 0 0; color: var(--muted); font-size: 18px; line-height: 1.5; }
.model-index { padding: 16px 0 64px; }
.section-title { display: flex; align-items: baseline; gap: 12px; }
.section-title p { color: var(--accent); font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .12em; }
.section-title h2 { margin: 0 0 16px; font-size: 30px; letter-spacing: -.035em; }
.model-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.model-card { min-height: 176px; padding: 16px; display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 6px; background: var(--card); text-decoration: none; transition: transform .15s, border-color .15s; }
.model-card:hover { transform: translateY(-2px); border-color: var(--accent); }
.model-card > span:first-child { color: var(--accent); font-size: 11px; font-weight: 800; }
.model-card h2 { margin: 16px 0 5px; font-size: 20px; letter-spacing: -.025em; }
.model-card p { margin: 0 auto 16px 0; color: var(--muted); font-size: 12px; line-height: 1.35; }
.model-card strong { font-size: 13px; }
.model-card small { margin-top: 4px; color: var(--muted); font-size: 10px; line-height: 1.3; }
.model-card, .facts { hyphens: none; word-break: normal; overflow-wrap: normal; }
.mini-bars { height: 24px; margin-top: 8px; display: flex; align-items: end; gap: 3px; }
.mini-bars i { width: 12px; height: max(3px, calc(var(--bar) * 24px)); background: var(--accent); opacity: calc(.25 + var(--bar) * .75); }
.home-method { margin: 0 0 64px; padding: 12px 0; border-block: 1px solid var(--line); color: var(--muted); font-size: 13px; }
.facts { margin-top: 24px; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); border-radius: 6px; background: var(--card); overflow: hidden; }
.facts article { min-width: 0; padding: 16px; display: flex; flex-direction: column; border-right: 1px solid var(--line); }
.facts article:last-child { border: 0; }
.facts span, .facts small { color: var(--muted); font-size: 11px; }
.facts strong { margin-top: 8px; font-size: 20px; }
.worst-problems, .problem-bars, .mileage-timeline, .recalls, .case-matrix, .documented-cases { padding: 40px 0 0; }
.mileage-timeline { scroll-margin-top: 56px; }
.risk-intro { max-width: 760px; margin: -8px 0 16px; color: var(--muted); font-size: 12px; line-height: 1.5; }
.verdict { margin-top: 18px; padding: 16px 18px; border-left: 4px solid var(--green); border-radius: 4px; background: var(--card); }
.verdict--caution, .verdict--stop { border-left-color: var(--accent); }
.verdict > p { margin: 0 0 4px; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.verdict > div { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.verdict > div p { margin: 0; color: var(--muted); font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; }
.verdict-badge { padding: 5px 8px; color: #fff; border-radius: 3px; background: var(--green); font-size: 10px; font-weight: 900; letter-spacing: .06em; text-transform: uppercase; }
.verdict--caution .verdict-badge, .verdict--stop .verdict-badge { background: var(--accent); }
.verdict h2 { margin: 0; font-size: clamp(20px, 2.5vw, 30px); line-height: 1.15; letter-spacing: -.025em; }
.verdict ul { margin: 10px 0 6px; padding: 0; display: flex; flex-wrap: wrap; gap: 4px 18px; list-style: none; }
.verdict li { font-size: 12px; line-height: 1.35; }
.verdict small { color: var(--muted); font-size: 10px; }
.worst-list { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.worst-list article { padding: 16px; display: grid; grid-template-columns: auto 1fr; gap: 10px; border: 1px solid var(--line); border-radius: 5px; background: var(--card); }
.worst-list article > span { color: var(--accent); font-size: 18px; font-weight: 900; }
.worst-list small { color: var(--muted); font-size: 9px; text-transform: uppercase; }
.worst-list h3 { margin: 3px 0 12px; font-size: 18px; }
.worst-list dl { grid-column: 1 / -1; margin: 0; display: grid; grid-template-columns: 1fr 1.4fr; gap: 8px; }
.worst-list dt { color: var(--muted); font-size: 9px; text-transform: uppercase; }
.worst-list dd { margin: 4px 0 0; font-size: 12px; line-height: 1.35; }
.problem-bars > div:last-child { display: grid; gap: 7px; }
.problem-bar { display: grid; grid-template-columns: minmax(120px, 220px) minmax(80px, 1fr) 80px; gap: 10px; align-items: center; font-size: 12px; }
.problem-bar i { height: 7px; border-radius: 2px; background: linear-gradient(90deg, var(--accent) calc(var(--bar) * 100%), #e1e5e2 0); }
.problem-bar strong { font-size: 11px; text-align: right; }
.timeline { border-top: 1px solid var(--line); }
.timeline-stop { display: grid; grid-template-columns: 180px 1fr; gap: 20px; padding: 18px 0; border-bottom: 1px solid var(--line); scroll-margin-top: 56px; }
.timeline-stop h3 { margin: 0; font-size: 16px; }
.timeline-stop > div { display: grid; gap: 8px; }
.timeline-row { display: grid; grid-template-columns: 1.1fr .8fr 1.4fr; gap: 12px; align-items: baseline; }
.timeline-row p { margin: 0; font-size: 12px; line-height: 1.35; }
.timeline-row p:first-child { display: flex; flex-direction: column; }
.timeline-row span { color: var(--muted); font-size: 9px; text-transform: uppercase; }
.timeline-row p:last-child { color: var(--muted); }
.recall-list { display: grid; gap: 6px; }
.recall-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.recall-list article { padding: 16px; border: 1px solid #a8b9b1; border-radius: 5px; background: var(--card); }
.recall-list h3 { margin: 0 0 8px; font-size: 15px; line-height: 1.35; }
.recall-list p { color: var(--muted); font-size: 12px; line-height: 1.45; }
.recall-list a { font-size: 12px; font-weight: 800; }
.matrix-scroll { overflow-x: auto; border: 1px solid var(--line); border-radius: 6px; background: var(--card); }
.case-matrix table { width: 100%; min-width: 760px; border-collapse: separate; border-spacing: 0; font-variant-numeric: tabular-nums; }
.case-matrix th, .case-matrix td { padding: 10px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); text-align: center; }
.case-matrix tr:last-child th, .case-matrix tr:last-child td { border-bottom: 0; }
.case-matrix th:last-child, .case-matrix td:last-child { border-right: 0; }
.case-matrix thead th { color: var(--muted); background: #eef0ed; font-size: 10px; white-space: nowrap; }
.case-matrix tbody th { position: sticky; left: 0; z-index: 1; min-width: 190px; background: var(--card); text-align: left; font-size: 13px; }
.case-matrix tbody th span { display: block; margin-bottom: 3px; color: var(--muted); font-size: 9px; font-weight: 400; text-transform: uppercase; }
.heat { background: color-mix(in srgb, var(--accent) var(--heat), var(--card)); font-weight: 800; }
.heat--zero { color: #aeb4b0; background: var(--card); font-weight: 400; }
.case-matrix .matrix-empty { padding: 24px; color: var(--muted); text-align: left; }
.matrix-note, .case-intro { color: var(--muted); font-size: 12px; line-height: 1.5; }
.matrix-note { margin: 8px 0 0; }
.case-intro { margin: -8px 0 12px; }
.case-grid { display: grid; gap: 4px; }
.case-card { min-width: 0; border: 1px solid var(--line); border-radius: 4px; background: var(--card); }
.case-card summary { padding: 10px 12px; display: grid; grid-template-columns: 1.2fr .8fr 1.5fr .8fr auto; align-items: center; gap: 12px; cursor: pointer; font-size: 12px; list-style-position: inside; }
.case-card summary::marker { color: var(--accent); }
.case-card summary a { font-weight: 800; }
.case-card dl { margin: 0; padding: 12px 16px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; border-top: 1px solid var(--line); }
.case-card dt { color: var(--muted); font-size: 9px; font-weight: 800; text-transform: uppercase; }
.case-card dd { margin: 4px 0 0; font-size: 12px; }
.cluster-nav { margin: 0 calc(50% - 50vw); padding: 8px 4vw; display: flex; justify-content: center; gap: 6px; overflow-x: auto; border-block: 1px solid var(--line); background: var(--paper); }
.cluster-nav a { padding: 7px 9px; flex: 0 0 auto; border-radius: 4px; background: #e7ebe7; text-decoration: none; font-size: 11px; font-weight: 700; }
.content { padding: 40px 0; }
.cluster { border-bottom: 1px solid var(--line); scroll-margin-top: 56px; }
.cluster > summary { padding: 16px 0; display: grid; grid-template-columns: 40px 1fr; gap: 12px; cursor: pointer; list-style: none; }
.cluster > summary::-webkit-details-marker { display: none; }
.cluster > summary > span { color: var(--accent); font-size: 11px; font-weight: 900; }
.cluster > summary h2 { display: inline; margin: 0; font-size: 20px; letter-spacing: -.02em; }
.cluster > summary h2::after { content: ' +'; color: var(--accent); }
.cluster[open] > summary h2::after { content: ' −'; }
.cluster > summary p { display: inline; margin: 0 0 0 8px; color: var(--muted); font-size: 12px; }
.evidence { margin: 0 0 16px 52px; padding: 16px; border: 1px solid #a8b9b1; border-radius: 4px; background: var(--card); }
.evidence--empty { border-style: dashed; }
.evidence-state { display: inline-block; padding: 5px 7px; color: #7f3d2a; background: #fae5df; font: 800 10px/1 Arial, sans-serif; letter-spacing: .08em; }
.evidence-state--verified { color: #fff; background: var(--green); }
.evidence dl { margin: 16px 0; display: grid; grid-template-columns: repeat(4, 1fr); border: 1px solid var(--line); }
.evidence dl div { padding: 12px; border-right: 1px solid var(--line); }
.evidence dl div:last-child { border: 0; }
.evidence dt { color: var(--muted); font-size: 10px; font-weight: 800; text-transform: uppercase; }
.evidence dd { margin: 6px 0 0; font-size: 13px; line-height: 1.4; }
.evidence > p { margin: 12px 0 0; color: var(--muted); font-size: 13px; line-height: 1.5; }
.method { margin: 0 0 32px; padding: 24px; color: #fff; background: var(--green); }
.method h2 { margin: 0; font-size: 24px; }
.method p { margin-bottom: 0; color: #dfe9e4; font-size: 14px; line-height: 1.5; }
.model-pager { margin: 0 0 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.model-pager a { padding: 16px; border: 1px solid var(--line); background: var(--card); text-decoration: none; font-size: 13px; font-weight: 700; }
.model-pager a:last-child { text-align: right; }
footer { padding: 24px 4vw; display: flex; justify-content: space-between; gap: 16px; border-top: 1px solid var(--line); color: var(--muted); font-size: 11px; }
.methodology-page { padding-bottom: 64px; }
.methodology-page > section:not(.model-hero) { max-width: 800px; padding: 24px 0; border-top: 1px solid var(--line); }
.methodology-page h2 { margin: 0 0 10px; font-size: 28px; }
.methodology-page section > p { margin: 0; color: var(--muted); font-size: 16px; line-height: 1.6; }
.error-page { min-height: calc(100vh - 49px); display: grid; place-items: center; }
.error-page section { width: min(720px, 100%); padding: 40px; border: 1px solid var(--line); border-radius: 6px; background: var(--card); }
.error-page p:not(.eyebrow) { max-width: 540px; color: var(--muted); line-height: 1.5; }
.error-page nav { margin-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.error-page nav a { padding: 12px 16px; border: 1px solid var(--line); border-radius: 4px; font-size: 13px; font-weight: 800; text-decoration: none; }
.error-page nav a:first-child { color: #fff; border-color: var(--green); background: var(--green); }

@media (max-width: 760px) {
  .site-header { padding-inline: 16px; }
  main { width: min(100% - 24px, 1180px); }
  .home-hero { padding: 16px 0 10px; display: block; }
  .home-hero h1 { font-size: 20px; }
  .home-hero p { margin-top: 5px; font-size: 12px; }
  .model-hero { padding: 28px 0 16px; }
  h1 { font-size: 38px; }
  .model-grid { grid-template-columns: 1fr 1fr; }
  .model-card { min-height: 160px; padding: 12px; }
  .model-card h2 { font-size: 17px; }
  .facts { grid-template-columns: 1fr 1fr; }
  .facts article:nth-child(2) { border-right: 0; }
  .facts article:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .facts strong { font-size: 16px; }
  .cluster-nav { padding-inline: 12px; justify-content: flex-start; }
  .worst-problems, .problem-bars, .mileage-timeline, .recalls, .case-matrix, .documented-cases { padding-top: 32px; }
  .verdict { margin-top: 14px; padding: 13px 14px; }
  .verdict h2 { font-size: 20px; }
  .verdict ul { display: grid; gap: 3px; }
  .worst-list { grid-template-columns: 1fr; }
  .worst-list article { grid-template-columns: 28px 1fr; }
  .problem-bar { grid-template-columns: minmax(110px, 1fr) 1fr 68px; gap: 7px; }
  .timeline-stop { grid-template-columns: 1fr; gap: 10px; padding: 16px 0; }
  .timeline-row { grid-template-columns: 1fr auto; gap: 3px 10px; padding-bottom: 8px; border-bottom: 1px dotted var(--line); }
  .timeline-row p:last-child { grid-column: 1 / -1; }
  .recall-list { grid-template-columns: 1fr; }
  .case-card summary { grid-template-columns: 1fr auto; gap: 4px 8px; }
  .case-card summary span { display: none; }
  .case-card dl { grid-template-columns: 1fr 1fr; }
  .cluster > summary { grid-template-columns: 28px 1fr; }
  .cluster > summary p { display: block; margin: 3px 0 0; }
  .evidence { margin-left: 0; }
  .evidence dl { grid-template-columns: 1fr; }
  .evidence dl div { border-right: 0; border-bottom: 1px solid var(--line); }
  .model-pager { grid-template-columns: 1fr; }
  .model-pager a:last-child { text-align: left; }
  footer { flex-direction: column; }
  .error-page section { padding: 24px; }
}
