:root {
  --ink: #1b1914;
  --ink-soft: #3f382f;
  --paper: #f3efe4;
  --paper-2: #e6dfd0;
  --card: #faf7f1;
  --moss: #1b3028;
  --moss-2: #2a4638;
  --line: #d5ccbb;
  --rust: #7c2f12;
  --bracken: #6a4718;
  --focus: #7c2f12;
  --warn-bg: #f3e2c2;
  --max: 72rem;
  --font: "Source Sans 3", "Segoe UI", sans-serif;
  --display: "Barlow Condensed", "Arial Narrow", sans-serif;
  color-scheme: light;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/source-sans-3-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Source Sans 3";
  src: url("/fonts/source-sans-3-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/barlow-condensed-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Barlow Condensed";
  src: url("/fonts/barlow-condensed-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1.0625rem;
  line-height: 1.55;
  color: var(--ink);
  background: var(--paper);
}
img, svg { max-width: 100%; }
a { color: var(--moss-2); }
a:hover { color: var(--rust); }
:focus-visible {
  outline: 3px solid var(--focus);
  outline-offset: 3px;
}

.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  background: #fff;
  color: var(--ink);
  padding: 0.6rem 0.9rem;
  z-index: 30;
}
.skip-link:focus { top: 0.6rem; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.7rem 1.1rem;
  background: var(--moss);
  color: var(--paper);
}
.wordmark {
  color: var(--paper);
  text-decoration: none;
  line-height: 0.9;
}
.wordmark strong {
  display: block;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.7rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.wordmark span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.78rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.85;
}
.nav-desktop { display: none; }
.nav-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem 0.9rem;
  align-items: center;
  margin: 0;
  padding: 0.8rem 0 0;
  list-style: none;
}
.nav-list a {
  color: var(--paper);
  text-decoration: none;
  font-weight: 600;
  padding: 0.35rem 0;
}
.nav-list a[aria-current="page"] { text-decoration: underline; text-underline-offset: 0.25rem; }
.nav-cta {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0.35rem 0.85rem;
  background: var(--rust);
  color: #fffaf6 !important;
  text-decoration: none;
}
.nav-mobile summary {
  list-style: none;
  cursor: pointer;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.75rem;
  border: 1px solid rgba(243, 239, 228, 0.45);
  font-weight: 600;
}
.nav-mobile summary::-webkit-details-marker { display: none; }
.nav-mobile[open] { position: absolute; top: 100%; left: 0; right: 0; background: var(--moss); padding: 0 1.1rem 1rem; }

@media (min-width: 960px) {
  .nav-mobile { display: none; }
  .nav-desktop { display: block; }
  .nav-desktop .nav-list { padding: 0; }
}

.wrap { width: min(var(--max), calc(100% - 2rem)); margin-inline: auto; }
main { padding-bottom: 3rem; }

.hero {
  background:
    radial-gradient(circle at 80% 20%, rgba(243, 239, 228, 0.08), transparent 32%),
    linear-gradient(165deg, #16281f 0%, #24382d 48%, #1a2420 100%);
  color: var(--paper);
  padding: 2.5rem 0 2.8rem;
}
.hero-grid { display: grid; gap: 1.5rem; align-items: end; }
.eyebrow {
  margin: 0 0 0.6rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  font-size: 0.82rem;
  font-weight: 600;
}
.hero h1 {
  margin: 0;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(3.4rem, 12vw, 7.2rem);
  line-height: 0.84;
  letter-spacing: -0.015em;
  text-transform: uppercase;
}
.hero-follow {
  margin: 0.4rem 0 0;
  font-family: var(--display);
  font-weight: 600;
  font-size: clamp(2rem, 6vw, 3.4rem);
  line-height: 0.9;
  text-transform: uppercase;
  color: #e2c48a;
}
.hero-lead { font-size: 1.2rem; max-width: 38rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 0.7rem; margin-top: 1.2rem; }
.hero .button-secondary { color: var(--paper); border-color: rgba(243, 239, 228, 0.7); }
.hero-note { margin: 1rem 0 0; max-width: 38rem; color: #e4ddd0; }
.hero-art { border: 1px solid rgba(243, 239, 228, 0.25); }

@media (min-width: 900px) {
  .hero { padding: 3.5rem 0 3.2rem; }
  .hero-grid { grid-template-columns: 1.3fr 0.9fr; gap: 2rem; }
}

.button, button, .nav-cta {
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0.55rem 1rem;
  background: var(--rust);
  color: #fffaf6;
  text-decoration: none;
  border: 2px solid var(--rust);
}
.button:hover { background: #641f0c; color: #fffaf6; }
.button-secondary {
  background: transparent;
  color: var(--ink);
  border-color: var(--ink);
}
.button-secondary:hover { background: var(--ink); color: var(--paper); }
button.button { width: auto; }

.section { padding: 2.4rem 0; }
.section.tight { padding-top: 0; }
.section-head { max-width: 42rem; margin-bottom: 1.2rem; }
h1, h2, h3 {
  font-family: var(--display);
  font-weight: 700;
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
}
h1 { font-size: clamp(2.6rem, 7vw, 4.4rem); margin: 0 0 0.6rem; }
h2 { font-size: clamp(2rem, 4vw, 2.8rem); margin: 0 0 0.5rem; }
h3 { font-size: 1.6rem; margin: 0 0 0.4rem; text-transform: none; font-family: var(--font); letter-spacing: 0; }
.page-intro { padding-top: 2rem; }
.lede { font-size: 1.2rem; max-width: 42rem; }

.band {
  background: var(--moss);
  color: var(--paper);
}
.band a { color: #e2c48a; }
.band-inner { padding: 1.6rem 0; }

.card-grid, .info-grid {
  display: grid;
  gap: 1rem;
}
@media (min-width: 760px) {
  .card-grid { grid-template-columns: repeat(2, 1fr); }
  .info-grid { grid-template-columns: 1.2fr 0.8fr; align-items: start; }
}
@media (min-width: 1100px) {
  .card-grid.five { grid-template-columns: repeat(6, 1fr); }
  .card-grid.five .vehicle-card:nth-child(-n+3) { grid-column: span 2; }
  .card-grid.five .vehicle-card:nth-child(n+4) { grid-column: span 3; }
}

.vehicle-card, .panel, .example {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 1rem 1rem 1.1rem;
}
.vehicle-card h2, .vehicle-card h3 { margin-top: 0.8rem; }
.rate {
  margin: 0.2rem 0;
  font-family: var(--display);
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.rate span { font-family: var(--font); font-size: 1rem; font-weight: 600; letter-spacing: 0; }
.meta { color: var(--ink-soft); }

.steps { display: grid; gap: 0.8rem; margin: 0; padding: 0; list-style: none; counter-reset: step; }
.steps li {
  background: var(--card);
  border-left: 6px solid var(--moss);
  padding: 0.9rem 1rem;
}
.steps li::before {
  counter-increment: step;
  content: counter(step);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.8rem;
  display: block;
  line-height: 1;
}
@media (min-width: 800px) {
  .steps { grid-template-columns: repeat(3, 1fr); }
}

.photo-row { display: grid; gap: 0.7rem; margin: 0 0 0.8rem; }
@media (min-width: 720px) {
  .photo-row.two { grid-template-columns: 1fr 1fr; }
}
.photo-slot { margin: 0; background: #fff; border: 1px solid var(--line); }
.photo-slot img { display: block; width: 100%; height: auto; max-height: 32rem; object-fit: cover; object-position: center; background: #f4f1ea; }
.photo-slot figcaption { margin: 0; padding: 0.55rem 0.75rem 0.7rem; color: var(--ink-soft); font-size: 0.95rem; }
.vehicle-block { padding-top: 0.5rem; }
.vehicle-block + .vehicle-block { border-top: 1px solid var(--line); margin-top: 1.5rem; padding-top: 1.8rem; }
.spec-table { width: 100%; border-collapse: collapse; margin: 0.6rem 0 0.4rem; }
.spec-table th, .spec-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.55rem 0.4rem;
  border-bottom: 1px solid var(--line);
}
.spec-table th { width: 34%; font-weight: 600; }
.spec-caption { font-size: 0.95rem; color: var(--ink-soft); }
.source-link { font-size: 0.92rem; }

.pricing-copy, .worked, .notice {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 1rem 1.05rem;
}
.worked { border-left: 6px solid var(--bracken); }
.notice-warn, .draft-banner {
  background: var(--warn-bg);
  border: 2px solid var(--bracken);
  padding: 0.9rem 1rem;
}
.placeholder-callout {
  background: var(--warn-bg);
  border: 2px dashed var(--bracken);
  padding: 0.9rem 1rem;
}
.placeholder-callout code, code { font-size: 0.95em; overflow-wrap: anywhere; }

.quote { display: grid; gap: 0.2rem; }
.form-grid { display: grid; gap: 0 1rem; }
@media (min-width: 740px) {
  .form-grid.two { grid-template-columns: 1fr 1fr; }
}
.field { margin: 0 0 0.9rem; }
.field label, .check { font-weight: 600; }
.hint, .field-error { display: block; margin-top: 0.25rem; }
.hint { color: var(--ink-soft); font-weight: 400; }
.field-error { color: var(--rust); font-weight: 600; }
input, select, textarea {
  width: 100%;
  font: inherit;
  color: var(--ink);
  background: #fff;
  border: 1px solid #6f675c;
  border-radius: 0;
  padding: 0.55rem 0.65rem;
  min-height: 44px;
}
textarea { min-height: 9rem; resize: vertical; }
.check { display: flex; gap: 0.6rem; align-items: flex-start; font-weight: 600; }
.check input { width: 1.2rem; height: 1.2rem; min-height: 0; margin-top: 0.2rem; }
.hp {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}
.quote-result {
  min-height: 1.5rem;
  margin: 0.4rem 0 1rem;
}
.quote-result p { margin: 0.35rem 0; }
.quote-flag { background: var(--warn-bg); padding: 0.55rem 0.7rem; }

.faq details {
  background: var(--card);
  border: 1px solid var(--line);
  padding: 0.7rem 0.9rem;
  margin-bottom: 0.6rem;
}
.faq summary { cursor: pointer; font-weight: 600; min-height: 44px; display: flex; align-items: center; }
.faq details p { margin-top: 0.4rem; }

.region-list, .plain-list { padding-left: 1.1rem; }
.region-list li, .plain-list li { margin: 0.35rem 0; }
.map-wrap { background: var(--card); border: 1px solid var(--line); padding: 0.6rem; }
.map-caption { color: var(--ink-soft); font-size: 0.95rem; }

.prose h2 { margin-top: 1.8rem; }
.prose p, .prose li { max-width: 44rem; }

.site-footer {
  background: var(--moss);
  color: var(--paper);
  padding: 1.6rem 0 2rem;
}
.site-footer a { color: #e2c48a; }
.footer-grid { display: grid; gap: 1rem; }
@media (min-width: 800px) {
  .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }
}
.footer-links { list-style: none; margin: 0; padding: 0; }
.footer-links a { display: inline-flex; min-height: 44px; align-items: center; }

.table-wrap { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; background: var(--card); }
.data-table th, .data-table td {
  text-align: left;
  vertical-align: top;
  padding: 0.55rem;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}
.data-table pre {
  white-space: pre-wrap;
  font-family: var(--font);
  margin: 0;
}

.error-summary {
  background: #f8e4dc;
  border: 2px solid var(--rust);
  padding: 0.8rem 1rem;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

@media print {
  .site-header, .site-footer, .hero-actions, .nav-cta, .button { display: none !important; }
  body { background: white; }
  .hero { background: white; color: black; }
}
