/* ==========================================================================
   SCOUTS-NOW.ONE — independent enthusiast guide
   Garnet palette · self-hosted fonts · no third-party requests
   ========================================================================== */

@font-face {
  font-family: "Big Shoulders Display";
  src: url("../assets/fonts/big-shoulders-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Archivo";
  src: url("../assets/fonts/archivo-latin.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  /* Primitive — garnet scale */
  --garnet-950: #22080d;
  --garnet-900: #350c15;
  --garnet-800: #4f111f;
  --garnet-700: #731a2c;
  --garnet-600: #922237;
  --garnet-500: #b02f47;
  --garnet-400: #cf5a6e;
  --garnet-300: #e48c9a;
  --garnet-200: #f1c2c9;
  --garnet-100: #f8e4e7;

  --gold-500: #d9a35f;
  --gold-300: #ecc995;

  --cream-50: #fcf8f4;
  --cream-100: #f6eee6;
  --cream-200: #ecdfd2;
  --ink-900: #1d1114;
  --ink-700: #46353a;
  --ink-500: #6c5a5f;

  /* Semantic */
  --color-bg: var(--cream-50);
  --color-surface: #ffffff;
  --color-surface-alt: var(--cream-100);
  --color-text: var(--ink-900);
  --color-text-muted: var(--ink-700);
  --color-border: var(--cream-200);
  --color-primary: var(--garnet-700);
  --color-primary-hover: var(--garnet-800);
  --color-on-primary: #ffffff;
  --color-accent: var(--gold-500);
  --color-dark: var(--garnet-950);
  --color-on-dark: #f7ebe7;
  --color-on-dark-muted: #d7bdc2;
  --color-focus: var(--gold-500);

  /* Type */
  --font-display: "Big Shoulders Display", "Arial Narrow", Impact, sans-serif;
  --font-body: "Archivo", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-mono: ui-monospace, "SF Mono", Menlo, Consolas, monospace;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 20px;

  --shadow-sm: 0 1px 2px rgb(34 8 13 / 0.06), 0 1px 3px rgb(34 8 13 / 0.08);
  --shadow-md: 0 8px 24px -8px rgb(34 8 13 / 0.18);
  --shadow-lg: 0 24px 60px -20px rgb(34 8 13 / 0.35);

  --container: 1200px;
  --header-h: 72px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* Reset ------------------------------------------------------------------ */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  color: var(--color-text);
  background: var(--color-bg);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
img, svg { display: block; max-width: 100%; }
a { color: var(--color-primary); text-underline-offset: 3px; }
a:hover { color: var(--color-primary-hover); }
button, input, textarea, select { font: inherit; color: inherit; }
h1, h2, h3, h4 {
  margin: 0 0 var(--space-4);
  font-family: var(--font-display);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: 0.005em;
  text-wrap: balance;
}
p { margin: 0 0 var(--space-4); text-wrap: pretty; }
ul, ol { margin: 0; padding: 0; }

:focus-visible {
  outline: 3px solid var(--color-focus);
  outline-offset: 3px;
  border-radius: 4px;
}

.visually-hidden {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}
.skip-link {
  position: absolute;
  left: var(--space-4);
  top: -100px;
  z-index: 200;
  padding: var(--space-3) var(--space-4);
  background: var(--color-accent);
  color: var(--ink-900);
  font-weight: 700;
  border-radius: var(--radius-sm);
  text-decoration: none;
}
.skip-link:focus { top: var(--space-4); }

.container {
  width: min(100% - 40px, var(--container));
  margin-inline: auto;
}

/* Buttons ---------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  min-height: 48px;
  padding: 0 var(--space-5);
  border: 2px solid transparent;
  border-radius: 999px;
  background: transparent;
  font-weight: 600;
  font-size: 0.98rem;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out),
    border-color 200ms var(--ease-out), transform 200ms var(--ease-out);
}
.btn svg { width: 18px; height: 18px; flex-shrink: 0; }
.btn:active { transform: scale(0.98); }
.btn-primary { background: var(--color-primary); color: var(--color-on-primary); }
.btn-primary:hover { background: var(--color-primary-hover); color: var(--color-on-primary); }
.btn-gold { background: var(--color-accent); color: var(--ink-900); }
.btn-gold:hover { background: var(--gold-300); color: var(--ink-900); }
.btn-ghost { border-color: rgb(247 235 231 / 0.4); color: var(--color-on-dark); }
.btn-ghost:hover { border-color: var(--color-on-dark); color: #fff; background: rgb(255 255 255 / 0.06); }
.btn-outline { border-color: var(--color-primary); color: var(--color-primary); background: transparent; }
.btn-outline:hover { background: var(--color-primary); color: var(--color-on-primary); }

/* Header ----------------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-h);
  background: rgb(34 8 13 / 0.92);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid rgb(255 255 255 / 0.06);
  color: var(--color-on-dark);
}
.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-5);
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  color: #fff;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.55rem;
  letter-spacing: 0.04em;
  line-height: 1;
}
.logo:hover { color: #fff; }
.logo svg { width: 34px; height: 34px; }
.logo .dot { color: var(--color-accent); }

.nav-list {
  display: flex;
  align-items: center;
  gap: var(--space-1);
  list-style: none;
}
.nav-list a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 var(--space-3);
  color: var(--color-on-dark-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.94rem;
  border-radius: var(--radius-sm);
  transition: color 180ms var(--ease-out), background-color 180ms var(--ease-out);
}
.nav-list a:hover,
.nav-list a[aria-current="true"] { color: #fff; background: rgb(255 255 255 / 0.06); }
.nav-list a.nav-cta {
  margin-left: var(--space-3);
  min-height: 42px;
  padding: 0 var(--space-5);
  border-radius: 999px;
  background: var(--color-accent);
  color: var(--ink-900);
  font-weight: 600;
}
.nav-list a.nav-cta:hover { background: var(--gold-300); color: var(--ink-900); }

.nav-toggle {
  display: none;
  width: 48px; height: 48px;
  align-items: center; justify-content: center;
  background: transparent;
  border: 1px solid rgb(255 255 255 / 0.18);
  border-radius: var(--radius-sm);
  color: #fff;
  cursor: pointer;
}
.nav-toggle svg { width: 24px; height: 24px; }

@media (max-width: 960px) {
  .nav-toggle { display: inline-flex; }
  .site-nav {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    background: var(--garnet-950);
    border-bottom: 1px solid rgb(255 255 255 / 0.08);
    padding: var(--space-4) 20px var(--space-6);
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 200ms var(--ease-out), transform 200ms var(--ease-out), visibility 0s 200ms;
    max-height: calc(100dvh - var(--header-h));
    overflow-y: auto;
  }
  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
    transition: opacity 220ms var(--ease-out), transform 220ms var(--ease-out);
  }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-list a { min-height: 52px; font-size: 1.05rem; padding: 0 var(--space-3); }
  .nav-list a.nav-cta { margin: var(--space-4) 0 0; width: 100%; justify-content: center; }
}

/* Hero ------------------------------------------------------------------- */
.hero {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(1200px 600px at 85% 10%, rgb(176 47 71 / 0.45), transparent 60%),
    radial-gradient(800px 500px at 0% 100%, rgb(115 26 44 / 0.6), transparent 60%),
    var(--garnet-950);
  color: var(--color-on-dark);
  padding: var(--space-9) 0 0;
}
.hero::before {
  /* topographic contour texture */
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='600' height='600' viewBox='0 0 600 600'%3E%3Cg fill='none' stroke='%23ffffff' stroke-opacity='0.05' stroke-width='1.2'%3E%3Cpath d='M-50 120 C 100 60 200 180 350 110 S 560 40 680 120'/%3E%3Cpath d='M-50 170 C 110 110 210 230 360 160 S 570 90 680 170'/%3E%3Cpath d='M-50 220 C 120 160 220 280 370 210 S 580 140 680 220'/%3E%3Cpath d='M-50 330 C 90 300 230 400 380 330 S 560 260 680 340'/%3E%3Cpath d='M-50 380 C 100 350 240 450 390 380 S 570 310 680 390'/%3E%3Cpath d='M-50 490 C 120 450 220 560 360 500 S 580 430 680 500'/%3E%3Cpath d='M-50 540 C 130 500 230 610 370 550 S 590 480 680 550'/%3E%3C/g%3E%3C/svg%3E");
  background-size: 600px 600px;
  pointer-events: none;
}
.hero .container { position: relative; }
.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  gap: var(--space-7);
  align-items: center;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  margin-bottom: var(--space-5);
  font-family: var(--font-mono);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
}
.eyebrow::before {
  content: "";
  width: 28px; height: 2px;
  background: currentColor;
}
.hero h1 {
  font-size: clamp(3.2rem, 8vw, 6.6rem);
  font-weight: 900;
  text-transform: uppercase;
  line-height: 0.92;
  color: #fff;
  margin-bottom: var(--space-5);
}
.hero h1 em { font-style: normal; color: var(--garnet-300); }
.hero-lead {
  max-width: 34rem;
  font-size: clamp(1.05rem, 1.6vw, 1.22rem);
  color: var(--color-on-dark-muted);
  margin-bottom: var(--space-6);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: var(--space-3); }

.hero-visual { position: relative; }
.hero-visual .truck {
  width: 100%;
  filter: drop-shadow(0 30px 40px rgb(0 0 0 / 0.45));
}
.hero-badge {
  position: absolute;
  top: 2%;
  right: 4%;
  width: 116px; height: 116px;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 50%;
  background: var(--color-accent);
  color: var(--ink-900);
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 1.05rem;
  line-height: 1;
  text-transform: uppercase;
  transform: rotate(10deg);
  box-shadow: var(--shadow-lg);
}
.hero-badge strong { display: block; font-size: 2rem; }

.hero-stats {
  position: relative;
  margin-top: var(--space-8);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgb(255 255 255 / 0.1);
}
.hero-stats > div {
  padding: var(--space-5) var(--space-4) var(--space-6);
  border-right: 1px solid rgb(255 255 255 / 0.1);
}
.hero-stats > div:last-child { border-right: 0; }
.hero-stats dd { margin: 0; }
.stat-value {
  display: block;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  display: block;
  margin-top: var(--space-2);
  font-size: 0.88rem;
  color: var(--color-on-dark-muted);
}

@media (max-width: 900px) {
  .hero { padding-top: var(--space-8); }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { order: -1; max-width: 560px; }
  .hero-badge { width: 92px; height: 92px; font-size: 0.85rem; }
  .hero-badge strong { font-size: 1.55rem; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats > div:nth-child(2) { border-right: 0; }
  .hero-stats > div:nth-child(-n+2) { border-bottom: 1px solid rgb(255 255 255 / 0.1); }
}

/* Notice strip ----------------------------------------------------------- */
.notice-strip {
  background: var(--garnet-700);
  color: #fff;
  font-size: 0.92rem;
}
.notice-strip .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-3);
  padding-block: var(--space-3);
  text-align: center;
}
.notice-strip svg { width: 18px; height: 18px; flex-shrink: 0; }
.notice-strip a { color: #fff; font-weight: 600; }

/* Sections --------------------------------------------------------------- */
.section { padding: var(--space-10) 0; }
.section-alt { background: var(--color-surface-alt); }
.section-dark { background: var(--garnet-900); color: var(--color-on-dark); }
.section-head { max-width: 46rem; margin-bottom: var(--space-8); }
.section-head.center { margin-inline: auto; text-align: center; }
.section-head .eyebrow { color: var(--color-primary); }
.section-head.center .eyebrow { justify-content: center; }
.section-dark .section-head .eyebrow { color: var(--color-accent); }
.section h2 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  text-transform: uppercase;
}
.section-dark h2 { color: #fff; }
.section-head p { font-size: 1.12rem; color: var(--color-text-muted); }
.section-dark .section-head p { color: var(--color-on-dark-muted); }

@media (max-width: 720px) {
  .section { padding: var(--space-9) 0; }
  .section-head { margin-bottom: var(--space-7); }
}

/* Heritage --------------------------------------------------------------- */
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: var(--space-8);
  align-items: start;
}
.story-body p { font-size: 1.08rem; color: var(--color-text-muted); }
.story-body p:first-of-type::first-letter {
  float: left;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 4.6rem;
  line-height: 0.8;
  padding: 6px 10px 0 0;
  color: var(--color-primary);
}
.pillars { display: grid; gap: var(--space-4); list-style: none; }
.pillar {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: var(--space-4);
  padding: var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.pillar h3 { font-size: 1.6rem; margin-bottom: var(--space-1); text-transform: uppercase; }
.pillar p { margin: 0; color: var(--color-text-muted); font-size: 0.98rem; }
.icon-chip {
  width: 52px; height: 52px;
  display: grid; place-items: center;
  border-radius: var(--radius-md);
  background: var(--garnet-100);
  color: var(--garnet-700);
}
.icon-chip svg { width: 26px; height: 26px; }

@media (max-width: 900px) {
  .story-grid { grid-template-columns: 1fr; gap: var(--space-7); }
}

/* Lineup / model explorer ------------------------------------------------ */
.tablist {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-2);
  margin-bottom: var(--space-6);
}
.tab {
  min-height: 46px;
  padding: 0 var(--space-5);
  border: 1px solid rgb(255 255 255 / 0.16);
  border-radius: 999px;
  background: transparent;
  color: var(--color-on-dark-muted);
  font-weight: 600;
  cursor: pointer;
  transition: background-color 200ms var(--ease-out), color 200ms var(--ease-out), border-color 200ms var(--ease-out);
}
.tab:hover { color: #fff; border-color: rgb(255 255 255 / 0.4); }
.tab[aria-selected="true"] {
  background: var(--color-accent);
  border-color: var(--color-accent);
  color: var(--ink-900);
}
.tabpanel {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  gap: var(--space-7);
  align-items: center;
  padding: var(--space-7);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgb(255 255 255 / 0.06), rgb(255 255 255 / 0.015));
  border: 1px solid rgb(255 255 255 / 0.08);
}
.tabpanel[hidden] { display: none; }
.tabpanel.is-entering { animation: panelIn 380ms var(--ease-out); }
@keyframes panelIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: none; }
}
.model-figure {
  position: relative;
  aspect-ratio: 400 / 190;
  display: grid;
  place-items: center;
}
.model-figure .truck { width: 100%; }
.model-years {
  font-family: var(--font-mono);
  font-size: 0.82rem;
  letter-spacing: 0.12em;
  color: var(--color-accent);
  text-transform: uppercase;
}
.tabpanel h3 {
  margin: var(--space-2) 0 var(--space-4);
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  text-transform: uppercase;
  color: #fff;
}
.tabpanel p { color: var(--color-on-dark-muted); }
.spec-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  margin-top: var(--space-5);
  list-style: none;
  border-radius: var(--radius-md);
  overflow: hidden;
  background: rgb(255 255 255 / 0.08);
}
.spec-list li { padding: var(--space-3) var(--space-4); background: var(--garnet-900); }
.spec-list span {
  display: block;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--garnet-300);
}
.spec-list strong { display: block; color: #fff; font-weight: 600; font-size: 0.98rem; }

@media (max-width: 900px) {
  .tabpanel { grid-template-columns: 1fr; padding: var(--space-5); gap: var(--space-5); }
  .tablist {
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
    margin-inline: -20px;
    padding-inline: 20px;
  }
  .tablist::-webkit-scrollbar { display: none; }
  .tab { flex-shrink: 0; }
}
@media (max-width: 480px) {
  .spec-list { grid-template-columns: 1fr; }
}

/* Icons & illustrations ------------------------------------------------- */
.icon {
  width: 24px; height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  flex-shrink: 0;
}
.truck { width: 100%; height: auto; overflow: visible; }

/* Timeline --------------------------------------------------------------- */
.timeline {
  position: relative;
  list-style: none;
  display: grid;
  gap: var(--space-5);
  max-width: 900px;
  margin-inline: auto;
}
.timeline::before {
  content: "";
  position: absolute;
  top: 8px; bottom: 8px;
  left: 120px;
  width: 2px;
  background: linear-gradient(var(--garnet-200), var(--garnet-600), var(--garnet-200));
}
.timeline li {
  position: relative;
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: var(--space-6);
}
.timeline time {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.2rem;
  line-height: 1;
  color: var(--color-primary);
  text-align: right;
  padding-right: var(--space-5);
  font-variant-numeric: tabular-nums;
}
.timeline li::before {
  content: "";
  position: absolute;
  left: 113px;
  top: 10px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--color-bg);
  border: 3px solid var(--garnet-600);
}
.timeline .card {
  padding: var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}
.timeline h3 { font-size: 1.55rem; text-transform: uppercase; margin-bottom: var(--space-2); }
.timeline p { margin: 0; color: var(--color-text-muted); }

@media (max-width: 640px) {
  .timeline::before { left: 7px; }
  .timeline li { grid-template-columns: 1fr; gap: var(--space-2); padding-left: var(--space-6); }
  .timeline li::before { left: 0; top: 6px; }
  .timeline time { text-align: left; padding: 0; font-size: 1.9rem; }
}

/* Comparison table ------------------------------------------------------- */
.table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: var(--color-surface);
  box-shadow: var(--shadow-sm);
}
.compare {
  width: 100%;
  min-width: 720px;
  border-collapse: collapse;
  font-size: 0.96rem;
}
.compare caption { text-align: left; padding: var(--space-4) var(--space-5); color: var(--color-text-muted); font-size: 0.9rem; caption-side: bottom; }
.compare th,
.compare td {
  padding: var(--space-4) var(--space-5);
  text-align: left;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}
.compare thead th {
  background: var(--garnet-700);
  color: #fff;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  white-space: nowrap;
}
.compare tbody th { font-weight: 700; color: var(--color-primary); white-space: nowrap; }
.compare tbody tr:hover { background: var(--garnet-100); }
.compare td.num { font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Buyer's guide ---------------------------------------------------------- */
.guide-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: var(--space-7);
  align-items: start;
}
.check-groups { display: grid; gap: var(--space-5); }
.check-group {
  padding: var(--space-5) var(--space-5) var(--space-3);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.check-group legend {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  padding: 0;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.6rem;
  text-transform: uppercase;
  float: left;
  width: 100%;
  margin-bottom: var(--space-3);
}
.check-group legend svg { width: 26px; height: 26px; color: var(--color-primary); }
.check-group legend + * { clear: both; }
.check-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: var(--space-3);
  align-items: start;
  padding: var(--space-3) 0;
  border-top: 1px solid var(--color-border);
  cursor: pointer;
}
.check-item input {
  appearance: none;
  -webkit-appearance: none;
  width: 24px; height: 24px;
  margin: 1px 0 0;
  border: 2px solid var(--ink-500);
  border-radius: 6px;
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: background-color 160ms var(--ease-out), border-color 160ms var(--ease-out);
}
.check-item input::after {
  content: "";
  width: 6px; height: 11px;
  border: solid #fff;
  border-width: 0 2.5px 2.5px 0;
  transform: rotate(45deg) scale(0);
  margin-top: -2px;
  transition: transform 160ms var(--ease-out);
}
.check-item input:checked { background: var(--color-primary); border-color: var(--color-primary); }
.check-item input:checked::after { transform: rotate(45deg) scale(1); }
.check-item strong { display: block; font-weight: 600; }
.check-item small { display: block; color: var(--color-text-muted); font-size: 0.92rem; line-height: 1.5; }
.check-item input:checked ~ span strong { text-decoration: line-through; text-decoration-color: var(--garnet-400); }

.guide-aside {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: var(--garnet-900);
  color: var(--color-on-dark);
  box-shadow: var(--shadow-lg);
}
.guide-aside h3 { font-size: 2rem; text-transform: uppercase; color: #fff; }
.progress-ring { width: 150px; height: 150px; margin: var(--space-2) auto var(--space-4); position: relative; }
.progress-ring svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.progress-ring circle { fill: none; stroke-width: 10; }
.progress-ring .track { stroke: rgb(255 255 255 / 0.1); }
.progress-ring .bar {
  stroke: var(--color-accent);
  stroke-linecap: round;
  stroke-dasharray: 402;
  stroke-dashoffset: 402;
  transition: stroke-dashoffset 500ms var(--ease-out);
}
.progress-ring output {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.6rem;
  color: #fff;
  font-variant-numeric: tabular-nums;
}
.guide-aside p { color: var(--color-on-dark-muted); font-size: 0.95rem; }
.guide-aside .btn { width: 100%; margin-top: var(--space-2); }
.guide-verdict {
  margin: 0 0 var(--space-4);
  padding: var(--space-3) var(--space-4);
  border-radius: var(--radius-sm);
  background: rgb(255 255 255 / 0.06);
  color: #fff !important;
  font-weight: 600;
  text-align: center;
}

@media (max-width: 960px) {
  .guide-grid { grid-template-columns: 1fr; }
  .guide-aside { position: static; order: -1; }
}

/* Ownership cards -------------------------------------------------------- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-5);
  list-style: none;
}
.card-feature {
  display: flex;
  flex-direction: column;
  padding: var(--space-6);
  border-radius: var(--radius-lg);
  background: rgb(255 255 255 / 0.04);
  border: 1px solid rgb(255 255 255 / 0.08);
  transition: transform 260ms var(--ease-out), border-color 260ms var(--ease-out), background-color 260ms var(--ease-out);
}
.card-feature:hover {
  transform: translateY(-4px);
  border-color: rgb(217 163 95 / 0.5);
  background: rgb(255 255 255 / 0.06);
}
.card-feature .icon-chip { background: rgb(217 163 95 / 0.14); color: var(--color-accent); margin-bottom: var(--space-5); }
.card-feature h3 { font-size: 1.7rem; text-transform: uppercase; color: #fff; margin-bottom: var(--space-3); }
.card-feature p { color: var(--color-on-dark-muted); margin: 0; }
.card-feature .tag {
  margin-top: auto;
  padding-top: var(--space-5);
  font-family: var(--font-mono);
  font-size: 0.74rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--garnet-300);
}

@media (max-width: 960px) { .cards { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .cards { grid-template-columns: 1fr; } }

/* FAQ -------------------------------------------------------------------- */
.faq { max-width: 860px; margin-inline: auto; display: grid; gap: var(--space-3); }
.faq details {
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  transition: border-color 200ms var(--ease-out), box-shadow 200ms var(--ease-out);
}
.faq details[open] { border-color: var(--garnet-200); box-shadow: var(--shadow-md); }
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--space-4);
  min-height: 64px;
  padding: var(--space-4) var(--space-5);
  font-weight: 600;
  font-size: 1.06rem;
  cursor: pointer;
  list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary .chev {
  width: 32px; height: 32px;
  flex-shrink: 0;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--garnet-100);
  color: var(--garnet-700);
  transition: transform 240ms var(--ease-out);
}
.faq summary .chev svg { width: 18px; height: 18px; }
.faq details[open] summary .chev { transform: rotate(180deg); }
.faq .answer { padding: 0 var(--space-5) var(--space-5); color: var(--color-text-muted); }
.faq .answer p:last-child { margin: 0; }

/* Contact ---------------------------------------------------------------- */
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: var(--space-8);
  align-items: start;
}
.contact-list { list-style: none; display: grid; gap: var(--space-4); margin-top: var(--space-6); }
.contact-list li { display: flex; gap: var(--space-4); align-items: center; }
.contact-list a { font-weight: 600; }
.form {
  display: grid;
  gap: var(--space-5);
  padding: var(--space-7);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-5); }
.field { display: grid; gap: var(--space-2); }
.field label { font-weight: 600; font-size: 0.95rem; }
.field .req { color: var(--garnet-600); }
.field input,
.field textarea,
.field select {
  width: 100%;
  min-height: 50px;
  padding: var(--space-3) var(--space-4);
  border: 1.5px solid #cdbcb0;
  border-radius: var(--radius-sm);
  background: var(--cream-50);
  font-size: 1rem;
  transition: border-color 160ms var(--ease-out), box-shadow 160ms var(--ease-out), background-color 160ms var(--ease-out);
}
.field textarea { min-height: 140px; resize: vertical; }
.field input:focus,
.field textarea:focus,
.field select:focus {
  outline: none;
  border-color: var(--garnet-600);
  background: #fff;
  box-shadow: 0 0 0 4px rgb(146 34 55 / 0.15);
}
.field[data-invalid] input,
.field[data-invalid] textarea { border-color: #b3261e; }
.field-error { min-height: 0; color: #b3261e; font-size: 0.88rem; font-weight: 500; }
.field-error:empty { display: none; }
.consent {
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: var(--space-3);
  font-size: 0.92rem;
  color: var(--color-text-muted);
  cursor: pointer;
}
.consent input { width: 20px; height: 20px; margin-top: 2px; accent-color: var(--garnet-700); cursor: pointer; }
.form-note { font-size: 0.86rem; color: var(--color-text-muted); margin: 0; }
.form-status {
  padding: var(--space-4);
  border-radius: var(--radius-sm);
  background: #eaf4ec;
  color: #1e5130;
  font-weight: 500;
}
.form-status[hidden] { display: none; }

@media (max-width: 900px) {
  .contact-grid { grid-template-columns: 1fr; gap: var(--space-7); }
  .form { padding: var(--space-5); }
}
@media (max-width: 560px) { .form-row { grid-template-columns: 1fr; } }

/* Footer ----------------------------------------------------------------- */
.site-footer {
  background: var(--garnet-950);
  color: var(--color-on-dark-muted);
  padding: var(--space-9) 0 var(--space-6);
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: var(--space-7);
  padding-bottom: var(--space-7);
  border-bottom: 1px solid rgb(255 255 255 / 0.08);
}
.footer-grid h2 {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-accent);
  margin-bottom: var(--space-4);
}
.footer-links { list-style: none; display: grid; gap: var(--space-1); }
.footer-links a,
.footer-links button {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-on-dark-muted);
  text-decoration: none;
  cursor: pointer;
  transition: color 160ms var(--ease-out);
}
.footer-links a:hover,
.footer-links button:hover { color: #fff; text-decoration: underline; }
.footer-about p { max-width: 30rem; margin-top: var(--space-4); }
.footer-disclaimer {
  margin-top: var(--space-6);
  font-size: 0.86rem;
  line-height: 1.6;
  color: #b9a0a5;
}
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: var(--space-3);
  padding-top: var(--space-5);
  font-size: 0.86rem;
}
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } .footer-about { grid-column: 1 / -1; } }
@media (max-width: 480px) { .footer-grid { grid-template-columns: 1fr; } }

/* Cookie banner ---------------------------------------------------------- */
.cookie-banner {
  position: fixed;
  left: 20px;
  right: 20px;
  bottom: 20px;
  z-index: 150;
  max-width: 560px;
  padding: var(--space-5);
  background: var(--color-surface);
  color: var(--color-text);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  transform: translateY(16px);
  opacity: 0;
  transition: opacity 260ms var(--ease-out), transform 260ms var(--ease-out);
}
.cookie-banner.is-visible { opacity: 1; transform: none; }
.cookie-banner[hidden] { display: none; }
.cookie-banner h2 { font-size: 1.6rem; text-transform: uppercase; margin-bottom: var(--space-2); }
.cookie-banner p { font-size: 0.93rem; color: var(--color-text-muted); }
.cookie-options { display: grid; gap: var(--space-3); margin: 0 0 var(--space-4); }
.cookie-options[hidden] { display: none; }
.cookie-opt {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--space-4);
  padding: var(--space-3) var(--space-4);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-sm);
  font-size: 0.93rem;
}
.cookie-opt small { display: block; color: var(--color-text-muted); }
.switch { position: relative; width: 48px; height: 28px; flex-shrink: 0; }
.switch input { position: absolute; inset: 0; opacity: 0; margin: 0; cursor: pointer; z-index: 1; }
.switch span {
  position: absolute; inset: 0;
  border-radius: 999px;
  background: #cdbcb0;
  transition: background-color 180ms var(--ease-out);
}
.switch span::after {
  content: "";
  position: absolute;
  top: 3px; left: 3px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 180ms var(--ease-out);
}
.switch input:checked + span { background: var(--garnet-700); }
.switch input:checked + span::after { transform: translateX(20px); }
.switch input:disabled + span { opacity: 0.6; }
.switch input:focus-visible + span { outline: 3px solid var(--color-focus); outline-offset: 2px; }
.cookie-actions { display: flex; flex-wrap: wrap; gap: var(--space-2); }
.cookie-actions .btn { min-height: 44px; padding: 0 var(--space-4); font-size: 0.92rem; flex: 1 1 auto; }

/* Legal pages ------------------------------------------------------------ */
.legal-hero {
  background: var(--garnet-950);
  color: var(--color-on-dark);
  padding: var(--space-9) 0 var(--space-8);
}
.legal-hero h1 { font-size: clamp(2.8rem, 7vw, 5rem); text-transform: uppercase; color: #fff; font-weight: 900; }
.legal-hero p { color: var(--color-on-dark-muted); margin: 0; }
.breadcrumb { display: flex; gap: var(--space-2); list-style: none; margin-bottom: var(--space-5); font-size: 0.9rem; }
.breadcrumb a { color: var(--color-accent); }
.breadcrumb li + li::before { content: "/"; margin-right: var(--space-2); color: var(--color-on-dark-muted); }
.breadcrumb [aria-current] { color: var(--color-on-dark-muted); }

.legal-layout {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: var(--space-8);
  padding: var(--space-8) 0 var(--space-10);
}
.legal-toc {
  position: sticky;
  top: calc(var(--header-h) + 24px);
  align-self: start;
  padding: var(--space-5);
  background: var(--color-surface);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
}
.legal-toc h2 {
  font-family: var(--font-mono);
  font-size: 0.74rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-primary);
  margin-bottom: var(--space-3);
}
.legal-toc ol { list-style: none; display: grid; gap: 2px; counter-reset: toc; }
.legal-toc a {
  display: block;
  padding: 6px var(--space-2);
  border-radius: var(--radius-sm);
  color: var(--color-text-muted);
  text-decoration: none;
  font-size: 0.92rem;
  line-height: 1.4;
}
.legal-toc a:hover { background: var(--garnet-100); color: var(--garnet-800); }
.legal-toc .other { margin-top: var(--space-5); padding-top: var(--space-4); border-top: 1px solid var(--color-border); }

.legal-content { max-width: 760px; }
.legal-content h2 {
  font-size: 2rem;
  text-transform: uppercase;
  margin: var(--space-8) 0 var(--space-4);
  padding-top: var(--space-2);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content h3 { font-family: var(--font-body); font-weight: 700; font-size: 1.12rem; line-height: 1.4; margin: var(--space-6) 0 var(--space-3); }
.legal-content p,
.legal-content li { color: var(--color-text-muted); font-size: 1.02rem; }
.legal-content ul,
.legal-content ol { padding-left: 1.4em; margin: 0 0 var(--space-4); display: grid; gap: var(--space-2); }
.legal-content strong { color: var(--color-text); }
.legal-summary {
  padding: var(--space-5);
  margin-bottom: var(--space-7);
  border-left: 4px solid var(--garnet-600);
  background: var(--garnet-100);
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
}
.legal-summary p:last-child { margin: 0; }
.legal-content .table-wrap { margin: var(--space-4) 0 var(--space-5); }
.legal-content table { width: 100%; border-collapse: collapse; font-size: 0.94rem; min-width: 560px; }
.legal-content th,
.legal-content td { padding: var(--space-3) var(--space-4); text-align: left; border-bottom: 1px solid var(--color-border); vertical-align: top; color: var(--color-text-muted); }
.legal-content thead th { background: var(--garnet-700); color: #fff; font-weight: 600; font-size: 0.85rem; }

@media (max-width: 900px) {
  .legal-layout { grid-template-columns: 1fr; gap: var(--space-6); padding-top: var(--space-6); }
  .legal-toc { position: static; }
}

button.linklike {
  display: inline;
  padding: 0;
  border: 0;
  background: none;
  color: var(--color-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  font: inherit;
}
button.linklike:hover { color: var(--color-primary-hover); }
.legal-content code {
  font-family: var(--font-mono);
  font-size: 0.88em;
  padding: 2px 6px;
  border-radius: 4px;
  background: var(--garnet-100);
  color: var(--garnet-800);
}

/* 404 -------------------------------------------------------------------- */
.not-found {
  min-height: calc(100dvh - var(--header-h));
  display: grid;
  place-items: center;
  text-align: center;
  background: var(--garnet-950);
  color: var(--color-on-dark);
  padding: var(--space-9) 20px;
}
.not-found h1 { font-size: clamp(5rem, 18vw, 11rem); color: #fff; font-weight: 900; margin: 0; }
.not-found p { color: var(--color-on-dark-muted); max-width: 30rem; margin: 0 auto var(--space-6); }
.not-found .truck { width: min(360px, 80vw); margin: 0 auto var(--space-5); }

/* Reveal on scroll ------------------------------------------------------- */
.js .reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 640ms var(--ease-out), transform 640ms var(--ease-out);
}
.js .reveal.is-visible { opacity: 1; transform: none; }

/* Hero truck drive-in */
.hero-visual .truck { animation: driveIn 1100ms var(--ease-out) 150ms both; }
@keyframes driveIn {
  from { opacity: 0; transform: translateX(14%); }
  to { opacity: 1; transform: none; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .js .reveal { opacity: 1; transform: none; }
}

@media print {
  .site-header, .cookie-banner, .site-footer, .legal-toc, .notice-strip { display: none !important; }
  .legal-hero { background: none; color: #000; padding: 0 0 24px; }
  .legal-hero h1 { color: #000; }
  .legal-layout { display: block; padding: 0; }
  body.print-checklist main > *:not(#guide) { display: none !important; }
  body.print-checklist .guide-aside { display: none; }
  body.print-checklist .guide-grid { display: block; }
  body.print-checklist .section { padding: 0; }
  body.print-checklist .check-group { break-inside: avoid; border-color: #999; }
  body.print-checklist .reveal { opacity: 1 !important; transform: none !important; }
}

.notice-strip p { margin: 0; }
