:root {
  --ink: #17212b;
  --ink-soft: #4a5764;
  --paper: #f7f5f0;
  --card: #ffffff;
  --line: #ddd8cc;
  --accent: #c8501d;
  --accent-dark: #a23f14;
  --cold: #1c6a86;
  --tint: #efebe2;
  --ok: #1f6b3b;
  --err: #a12a1c;
  --radius: 10px;
  --max: 1120px;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 76px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 17px/1.55 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}
h1, h2, h3, h4 { line-height: 1.15; margin: 0 0 .5em; letter-spacing: -0.01em; }
h1 { font-size: clamp(2rem, 5vw, 3.3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3.2vw, 2.1rem); font-weight: 800; }
h3 { font-size: 1.35rem; }
h4 { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-soft); margin-top: 1.3em; }
p { margin: 0 0 1em; }
a { color: var(--accent-dark); }
[hidden] { display: none !important; }

.eyebrow { font-size: .8rem; font-weight: 700; text-transform: uppercase; letter-spacing: .1em; color: var(--accent-dark); margin-bottom: .6em; }
.hint { font-size: .88rem; color: var(--ink-soft); margin: .4em 0 0; }

.btn {
  display: inline-block; background: var(--accent); color: #fff; border: 2px solid var(--accent);
  padding: .75em 1.3em; border-radius: 8px; font: inherit; font-weight: 700; text-decoration: none; cursor: pointer;
}
.btn:hover, .btn:focus-visible { background: var(--accent-dark); border-color: var(--accent-dark); }
.btn:disabled { opacity: .6; cursor: progress; }
.btn-ghost { background: transparent; color: #fff; border-color: rgba(255,255,255,.6); }
.btn-ghost:hover, .btn-ghost:focus-visible { background: rgba(255,255,255,.12); border-color: #fff; }
.btn-small { padding: .45em .9em; font-size: .92rem; white-space: nowrap; }
.btn-wide { width: 100%; margin-top: .6em; }

.draft { background: #fff3c9; border-bottom: 2px solid #d9a400; padding: .6em 20px; font-size: .9rem; }
.draft summary { cursor: pointer; }
.draft ul { margin: .6em 0 .2em; padding-left: 1.2em; }
.draft li { margin-bottom: .35em; }

.site-header {
  position: sticky; top: 0; z-index: 10; background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 12px 20px;
}
.brand { color: #fff; font-weight: 800; text-decoration: none; font-size: 1.05rem; }
.site-header nav { display: flex; align-items: center; gap: 18px; }
.site-header nav a:not(.btn) { color: #d6dce2; text-decoration: none; font-size: .95rem; }
.site-header nav a:not(.btn):hover { color: #fff; }

.hero { background: linear-gradient(160deg, #17212b 0%, #233545 60%, #1c6a86 140%); color: #fff; padding: 64px 20px 56px; }
.hero-inner { max-width: var(--max); margin: 0 auto; }
.hero .eyebrow { color: #f2b28f; }
.hero h1 { max-width: 17ch; }
.lede { font-size: 1.15rem; max-width: 58ch; color: #dfe6ec; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin: 1.4em 0; }
.hero-points { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: #c9d3dc; font-size: .95rem; }
.hero-points li::before { content: "✓ "; color: #f2b28f; font-weight: 700; }

.section { padding: 56px 20px; }
.section > * { max-width: var(--max); margin-left: auto; margin-right: auto; }
.section-tint { background: var(--tint); }
.section-lede { color: var(--ink-soft); margin-bottom: 1.6em; }

.trucks { display: grid; gap: 28px; }
.truck {
  display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); background: var(--card);
  border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden;
}
.truck-photo { background: #e6e1d6; min-height: 320px; display: flex; flex-direction: column; }
.truck-photo img.lead { width: 100%; flex: 1 1 auto; min-height: 0; object-fit: cover; display: block; max-height: 640px; }
.thumbs { display: grid; grid-template-columns: repeat(4, 1fr); gap: 4px; padding: 4px; }
.thumbs img { width: 100%; height: 84px; object-fit: cover; display: block; border-radius: 4px; }
.photo-missing {
  height: 100%; min-height: 320px; display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; color: var(--ink-soft); font-weight: 700; text-align: center; padding: 20px;
  background: repeating-linear-gradient(135deg, #e9e4d9 0 14px, #e2dccf 14px 28px);
}
.photo-missing small { font-weight: 400; }
.truck-body { padding: 26px 28px 28px; }
.truck-tagline { color: var(--ink-soft); }
.fits { margin: 0; padding-left: 1.1em; }
.fits li { margin-bottom: .2em; }
.specs { width: 100%; border-collapse: collapse; font-size: .95rem; }
.specs th, .specs td { text-align: left; padding: .5em 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.specs th { width: 38%; font-weight: 600; color: var(--ink-soft); padding-right: 12px; }
.truck-price { margin-top: 1.4em; }
.truck-price p { font-size: .98rem; }
.truck-price span { color: var(--line); margin: 0 .25em; }
#frozen-van .eyebrow { color: var(--cold); }
#frozen-van .btn { background: var(--cold); border-color: var(--cold); }
#frozen-van .btn:hover { background: #14506a; border-color: #14506a; }

.how { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 36px; align-items: start; }
.legs { padding-left: 1.2em; }
.legs li { margin-bottom: .6em; }
.rates { width: 100%; border-collapse: collapse; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; font-size: .95rem; }
.rates th, .rates td { padding: .7em .9em; border-bottom: 1px solid var(--line); text-align: left; vertical-align: top; }
.rates thead th { background: var(--ink); color: #fff; }
.rates tbody th { font-weight: 600; width: 44%; }
.rates tr:last-child th, .rates tr:last-child td { border-bottom: 0; }

.quote-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.card { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
fieldset { border: 0; padding: 0; margin: 0 0 1.1em; }
legend, label { font-weight: 650; font-size: .93rem; display: block; margin-bottom: .35em; padding: 0; }
.row { margin-bottom: 1em; }
.row-split { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
input[type="text"], input[type="number"], input[type="email"], input[type="tel"], input[type="date"], select {
  width: 100%; padding: .65em .75em; font: inherit; color: var(--ink); background: #fff;
  border: 1.5px solid #bfb9ab; border-radius: 7px;
}
input:focus-visible, select:focus-visible, .btn:focus-visible, summary:focus-visible { outline: 3px solid #f2b28f; outline-offset: 2px; }
.truck-picks { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.truck-pick { display: flex; gap: 10px; align-items: flex-start; border: 1.5px solid #bfb9ab; border-radius: 8px; padding: .7em .8em; cursor: pointer; margin: 0; }
.truck-pick:has(input:checked) { border-color: var(--accent); background: #fdf1ea; }
.truck-pick small { display: block; font-weight: 400; color: var(--ink-soft); }
.truck-pick input { margin-top: .3em; }
.check { font-weight: 400; display: flex; gap: 8px; align-items: center; margin-bottom: .3em; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; opacity: 0; }

.status { margin: .9em 0 0; padding: .7em .9em; border-radius: 7px; font-size: .95rem; background: #eef2f5; }
.status-working { background: #eef2f5; color: var(--ink-soft); }
.status-error { background: #fbeae6; color: var(--err); }
.status-ok { background: #e6f3ea; color: var(--ok); }

.result .total { font-size: clamp(2.4rem, 6vw, 3.4rem); font-weight: 800; margin: 0; line-height: 1; }
.lines { width: 100%; border-collapse: collapse; margin: 1.2em 0; font-size: .92rem; }
.lines th, .lines td { text-align: left; padding: .5em .4em .5em 0; border-bottom: 1px solid var(--line); vertical-align: top; }
.lines th:last-child, .lines td:last-child { text-align: right; padding-right: 0; font-variant-numeric: tabular-nums; white-space: nowrap; }
.lines td:nth-child(2), .lines td:nth-child(3) { white-space: nowrap; color: var(--ink-soft); }
.lines thead th { font-size: .78rem; text-transform: uppercase; letter-spacing: .06em; color: var(--ink-soft); }
.min-row td { font-weight: 700; }
.route { list-style: none; padding: 0; margin: 0 0 1.4em; font-size: .92rem; color: var(--ink-soft); }
.route li { margin-bottom: .35em; overflow-wrap: anywhere; }
#lead-form { border-top: 1px solid var(--line); padding-top: 1.2em; }

.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 8px; padding: .9em 1.1em; margin-bottom: 10px; }
.faq summary { font-weight: 700; cursor: pointer; }
.faq p { margin: .7em 0 0; color: var(--ink-soft); }

.site-footer { background: var(--ink); color: #d6dce2; padding: 28px 20px; text-align: center; }
.site-footer a { color: #f2b28f; }
.site-footer .hint { color: #9fb0bf; }

@media (max-width: 860px) {
  .truck, .how, .quote-grid { grid-template-columns: 1fr; }
  .truck-photo { min-height: 0; }
  .truck-photo img.lead { max-height: 420px; }
  .photo-missing { min-height: 200px; }
  .site-header nav a:not(.btn) { display: none; }
  .section { padding: 40px 16px; }
  .hero { padding: 44px 16px 40px; }
}
@media (max-width: 520px) {
  .row-split, .truck-picks { grid-template-columns: 1fr; }
  .truck-body, .card { padding: 20px 16px; }
  .rates { font-size: .88rem; }
  .rates th, .rates td { padding: .6em .55em; }
}
