:root {
  color-scheme: light;
  --ink: #17211e;
  --muted: #66726d;
  --paper: #f5f5f0;
  --surface: #fff;
  --line: #dce2dc;
  --green: #176b4a;
  --green-soft: #e2f2e9;
  --blue: #315f99;
  --blue-soft: #e7effa;
  --amber: #845b0b;
  --amber-soft: #f8f0d8;
  --red: #8f423c;
  --red-soft: #f8e8e4;
  --shadow: 0 14px 40px rgba(22, 39, 31, .07);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.55 Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}
a { color: var(--green); text-underline-offset: 3px; }
a:hover { color: #0b4b32; }
a:focus-visible, summary:focus-visible { outline: 3px solid #dfb94b; outline-offset: 3px; }
.skip-link {
  position: absolute;
  top: -4rem;
  left: 1rem;
  z-index: 10;
  padding: .7rem 1rem;
  background: var(--surface);
  color: var(--ink);
}
.skip-link:focus { top: 1rem; }
.masthead {
  padding: 22px max(24px, calc((100vw - 1240px) / 2));
  background: #15231e;
  color: #eef5ef;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.wordmark { font-size: .8rem; font-weight: 750; letter-spacing: .14em; text-transform: uppercase; }
.masthead-note { color: #b8c9bd; font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.hero {
  background: #15231e;
  color: #f7f8f3;
  padding: 54px max(24px, calc((100vw - 1240px) / 2)) 64px;
}
.eyebrow { color: #a5d7b7; font-size: .75rem; font-weight: 750; letter-spacing: .16em; text-transform: uppercase; }
h1 { max-width: 850px; margin: 14px 0 12px; font-size: clamp(2.5rem, 6vw, 5.1rem); font-weight: 560; letter-spacing: -.055em; line-height: .99; }
.hero-copy { max-width: 700px; margin: 0; color: #c5d0c8; font-size: 1.02rem; }
.snapshot { margin-top: 28px; color: #aebeb3; font-size: .78rem; }
.brand-nav {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  padding: 12px max(24px, calc((100vw - 1240px) / 2));
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, .96);
  backdrop-filter: blur(10px);
}
.brand-nav a {
  flex: 0 0 auto;
  padding: 7px 13px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--ink);
  font-size: .83rem;
  font-weight: 650;
  text-decoration: none;
}
.brand-nav a:hover { border-color: var(--green); background: var(--green-soft); }
.brand-nav .section-link { border-color: transparent; color: var(--muted); font-size: .76rem; }
.brand-nav .section-link:hover { color: var(--green); }
.page-tabs { border-bottom: 1px solid var(--line); background: #fff; }
.page-tabs .nav-tabs { max-width: 1288px; margin: 0 auto; padding: 0 24px; gap: 6px; border-bottom: 0; flex-wrap: nowrap; overflow-x: auto; overflow-y: hidden; }
.page-tabs .nav-item { flex: 0 0 auto; }
.page-tabs .nav-tabs .nav-link { padding: 12px 18px; border: 0; border-bottom: 3px solid transparent; border-radius: 0; color: var(--muted); font-weight: 720; }
.page-tabs .nav-tabs .nav-link:hover { color: var(--green); background: var(--green-soft); }
.page-tabs .nav-tabs .nav-link.active { border-color: transparent; border-bottom: 3px solid var(--green); background: transparent; color: var(--green); }
main { max-width: 1288px; margin: 0 auto; padding: 34px 24px 90px; }
.section-heading { margin: 0 0 16px; font-size: 1.55rem; letter-spacing: -.025em; }
.overview { margin-bottom: 44px; }
.overview-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.stat-card {
  min-height: 150px;
  padding: 19px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: var(--shadow);
}
.stat-label { color: var(--muted); font-size: .72rem; font-weight: 750; letter-spacing: .1em; text-transform: uppercase; }
.stat-value { margin: 12px 0 1px; font-size: 1.65rem; font-weight: 720; letter-spacing: -.04em; }
.stat-detail { color: var(--muted); font-size: .83rem; }
.legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 16px;
  margin: 16px 0 14px;
  padding: 13px 15px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--muted);
  font-size: .8rem;
}
.legend strong { color: var(--ink); }
.legend-item { display: inline-flex; align-items: center; gap: 7px; }
.swatch { width: 11px; height: 11px; border-radius: 3px; }
.swatch.green { background: #7fc99d; }
.swatch.blue { background: #8db4e8; }
.swatch.amber { background: #e5c765; }
.swatch.red { background: #dc9d91; }
.swatch.purple { background: #ad93d2; }
.scope-note, .method-note { color: var(--muted); font-size: .85rem; }
.scope-note { margin: 0; }
.model-section { margin-top: 50px; scroll-margin-top: 80px; }
.model-heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 15px;
}
.model-heading h2 { margin: 2px 0 0; font-size: clamp(1.7rem, 3vw, 2.35rem); letter-spacing: -.04em; }
.make-label { color: var(--green); font-size: .72rem; font-weight: 800; letter-spacing: .13em; text-transform: uppercase; }
.segment-label { max-width: 350px; color: var(--muted); font-size: .8rem; text-align: right; }
.table-wrap { overflow-x: auto; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
table { width: 100%; min-width: 920px; border-collapse: separate; border-spacing: 0; font-size: .84rem; }
caption { padding: 13px 16px; color: var(--muted); font-size: .78rem; text-align: left; }
th, td { padding: 13px 14px; border-top: 1px solid var(--line); text-align: left; vertical-align: top; }
thead th { position: sticky; top: 56px; z-index: 2; background: #eff3ee; color: #3b4b42; font-size: .72rem; font-weight: 760; letter-spacing: .045em; }
thead .family-row th { position: static; padding: 10px 14px; background: #e1eae2; color: #2b4134; font-size: .72rem; letter-spacing: .1em; text-transform: uppercase; }
thead .variant-row th { min-width: 145px; color: var(--ink); font-size: .82rem; letter-spacing: 0; text-transform: none; }
thead .variant-row th:first-child { min-width: 150px; }
tbody th[scope="row"] { width: 150px; color: #45544b; font-size: .78rem; font-weight: 700; }
tbody tr:nth-child(even) { background: #fbfcfa; }
td strong { font-weight: 720; }
.subvalue { display: block; margin-top: 3px; color: var(--muted); font-size: .76rem; }
.badge {
  display: inline-block;
  margin-top: 7px;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: .68rem;
  font-weight: 760;
  line-height: 1.3;
}
.best { background: var(--green-soft); color: #125537; }
.affordable { background: var(--blue-soft); color: #244d83; }
.fastest { background: #efe7fa; color: #503779; }
.range { background: var(--blue-soft); color: #244d83; }
.longest { background: var(--amber-soft); color: #73500c; }
.largest { background: var(--red-soft); color: #773a34; }
.unavailable { color: #737d77; font-style: italic; }
.source-line { margin: 10px 2px 0; color: var(--muted); font-size: .78rem; }
.source-line a { margin-right: 12px; }
.interbrand-comparisons { margin-top: 58px; scroll-margin-top: 80px; }
.matrix-intro { max-width: 900px; margin: -5px 0 22px; color: var(--muted); font-size: .88rem; }
.matrix-note { max-width: 900px; margin: 24px 0 0; color: var(--muted); font-size: .88rem; }
.comparison-accordion {
  --bs-accordion-bg: var(--surface);
  --bs-accordion-color: var(--ink);
  --bs-accordion-border-color: var(--line);
  --bs-accordion-btn-color: var(--ink);
  --bs-accordion-btn-bg: var(--surface);
  --bs-accordion-active-color: var(--green);
  --bs-accordion-active-bg: var(--green-soft);
  --bs-accordion-btn-focus-box-shadow: 0 0 0 .25rem rgba(23, 107, 74, .16);
  margin-top: 24px;
}
.comparison-accordion .accordion-item { overflow: hidden; margin-bottom: 10px; border-radius: 10px; }
.comparison-accordion .accordion-button { padding: 14px 18px; font-size: .94rem; font-weight: 740; }
.comparison-accordion .accordion-body { padding: 14px; }
.comparison-accordion .accordion-body .table-wrap { box-shadow: none; }
.comparison-accordion .classification-group { margin-top: 0; }
.classification-group { margin-top: 28px; }
.classification-group h3 { margin: 0 0 10px; font-size: 1.2rem; letter-spacing: -.02em; }
.matrix-table { min-width: 980px; }
.matrix-table th[scope="row"] { width: 185px; }
.matrix-table thead th:not(:first-child) { min-width: 165px; }
.highlight-row th, .highlight-row td { background: #f2f5f1; }
.highlight-row .badge { margin: 0 4px 4px 0; }
.ownership-section { margin-top: 52px; scroll-margin-top: 80px; }
.lifecycle-table { min-width: 1100px; }
.strategy-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.strategy-card { padding: 20px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); box-shadow: var(--shadow); }
.strategy-card h3 { margin: 0 0 10px; font-size: 1.15rem; }
.strategy-card p, .strategy-card li { color: var(--muted); font-size: .84rem; }
.strategy-card ul { margin: 8px 0 0; padding-left: 19px; }
.strategy-card li + li { margin-top: 7px; }
.status-confirmed { background: var(--green-soft); color: #125537; }
.status-expected { background: var(--amber-soft); color: #73500c; }
.status-unknown { background: #ecefed; color: #53615a; }
.cost-note { margin: 12px 0 0; color: var(--muted); font-size: .82rem; }
.notes {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(280px, .75fr);
  gap: 28px;
  margin-top: 58px;
  padding: 25px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
}
.notes h2 { margin: 0 0 10px; font-size: 1.25rem; }
.notes p, .notes li { color: var(--muted); font-size: .84rem; }
.notes ul { margin: 8px 0 0; padding-left: 20px; }
.notes li + li { margin-top: 7px; }
.source-list { columns: 2; column-gap: 30px; padding-left: 20px; }
.source-list li { break-inside: avoid; margin: 0 0 9px; }
footer { margin-top: 42px; padding-top: 17px; border-top: 1px solid var(--line); color: var(--muted); font-size: .77rem; }
@media (max-width: 850px) {
  .overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .strategy-grid { grid-template-columns: 1fr; }
  .notes { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  .masthead { padding-top: 16px; padding-bottom: 16px; }
  .masthead-note { font-size: .68rem; }
  .hero { padding-top: 42px; padding-bottom: 46px; }
  main { padding: 28px 16px 64px; }
  .overview-grid { gap: 8px; }
  .stat-card { min-height: 130px; padding: 14px; }
  .stat-value { font-size: 1.35rem; }
  .model-heading { align-items: flex-start; flex-direction: column; }
  .segment-label { text-align: left; }
  .notes { padding: 18px; }
  .source-list { columns: 1; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}
