/* Click Express: dry van carrier. Colours from the logo and Facebook cover:
   near-black, truck red, white, on a warm light background. */

:root {
  --bg: #f7f6f3;
  --bg-raised: #ffffff;
  --bg-sunk: #efede8;
  --line: #e4e2dc;
  --line-strong: #d1cec6;
  --text: #111214;
  --text-muted: #52545a;
  --text-faint: #6c6e74;
  --accent: #d71f28;          /* truck red: buttons, mark, highlights (white text on top) */
  --accent-hover: #bd1820;
  --accent-text: #b8161e;     /* red used as text on the light background */
  --accent-bright: #ff4a52;   /* red used as text on the dark background */
  --accent-ink: #ffffff;
  --accent-soft: rgba(215, 31, 40, 0.10);
  --ink: #111214;             /* dark band background */
  --ok: #15803d;
  --danger: #b91c1c;

  --radius: 14px;
  --radius-sm: 8px;
  --max: 1160px;
  --gutter: clamp(16px, 4vw, 40px);
  --font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Inter, Roboto, "Helvetica Neue", Arial, sans-serif;
  --font-display: "SF Pro Display", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Inter, Roboto, sans-serif;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 400 17px/1.6 var(--font);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
:focus-visible { outline: 2px solid var(--accent-text); outline-offset: 3px; border-radius: 4px; }

.wrap { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.skip { position: absolute; left: -9999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 100; }
.skip:focus { left: 8px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(247, 246, 243, 0.85);
  backdrop-filter: saturate(140%) blur(12px);
  -webkit-backdrop-filter: saturate(140%) blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color .2s;
}
.site-header.scrolled { border-bottom-color: var(--line); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 68px; gap: 24px; }

.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-weight: 750; letter-spacing: -0.02em; font-size: 20px; }
.brand img { height: 44px; width: auto; }

.nav { display: flex; align-items: center; gap: 28px; }
.nav a { text-decoration: none; color: var(--text-muted); font-size: 15px; transition: color .15s; white-space: nowrap; }
.nav a:hover { color: var(--text); }
@media (max-width: 1040px) { .nav a[href^="tel:"] { display: none; } }
@media (max-width: 760px) { .nav a:not(.btn) { display: none; } }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  height: 48px; padding: 0 22px; border-radius: 999px;
  font: 650 15px/1 var(--font); text-decoration: none; cursor: pointer;
  border: 1px solid transparent; transition: transform .15s, background .15s, border-color .15s, color .15s, box-shadow .15s;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--accent); color: var(--accent-ink); box-shadow: 0 6px 18px -8px rgba(215, 31, 40, .6); }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { border-color: var(--line-strong); color: var(--text); background: transparent; }
.btn-ghost:hover { border-color: var(--text-faint); background: var(--bg-raised); }
.nav .btn { height: 38px; padding: 0 16px; font-size: 14px; color: var(--accent-ink); }
.nav .btn:hover { color: var(--accent-ink); }
.btn[disabled] { opacity: .65; cursor: progress; }

/* ---------- Hero (dark, like the Facebook cover) ---------- */
.hero { position: relative; isolation: isolate; overflow: hidden; background: var(--ink); color: #f4f3f0; padding: clamp(64px, 10vw, 120px) 0 clamp(72px, 11vw, 136px); }
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: -2;
  background:
    radial-gradient(45% 60% at 85% 35%, rgba(215, 31, 40, 0.22), transparent 70%),
    radial-gradient(35% 45% at 5% 0%, rgba(255, 255, 255, 0.05), transparent 70%);
}
.hero-road { position: absolute; inset: auto 0 0 0; height: 46%; z-index: -1; pointer-events: none; opacity: .55; }
.hero-road svg { width: 100%; height: 100%; }
.dash { animation: dash 1.2s linear infinite; }
@keyframes dash { to { stroke-dashoffset: -64; } }
.hero .wrap { display: grid; grid-template-columns: 1.15fr .85fr; gap: clamp(32px, 5vw, 72px); align-items: center; }
@media (max-width: 900px) { .hero .wrap { grid-template-columns: 1fr; } .hero-art { max-width: 380px; } }

.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 650; letter-spacing: .14em; text-transform: uppercase; color: var(--accent-text);
}
.eyebrow::before { content: ""; width: 22px; height: 2px; background: currentColor; border-radius: 2px; }
.hero .eyebrow, .band .eyebrow { color: var(--accent-bright); }

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(42px, 7vw, 86px); line-height: 1.0; letter-spacing: -0.04em; font-weight: 800;
  margin: 22px 0 24px; max-width: 12ch;
}
.hero h1 em { font-style: normal; color: var(--accent-bright); }
.hero .lede { font-size: clamp(18px, 2vw, 21px); color: #b9bac0; max-width: 34em; margin: 0 0 36px; }
.hero .actions { display: flex; flex-wrap: wrap; gap: 12px; }
.hero .btn-ghost { color: #f4f3f0; border-color: #3a3c42; }
.hero .btn-ghost:hover { border-color: #6c6e74; background: rgba(255,255,255,.04); }
.btn svg { width: 18px; height: 18px; }

/* Hero: the logo animation on a white card (the video has a white background). */
.logo-card { background: #fff; border-radius: 22px; padding: clamp(12px, 2vw, 20px); box-shadow: 0 40px 80px -40px rgba(0, 0, 0, .8), 0 0 0 1px rgba(255, 255, 255, .06); }
.logo-card video { display: block; width: 100%; height: auto; }
@media (prefers-reduced-motion: reduce) { .dash { animation: none; } }

/* Stats strip */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line); border-bottom: 1px solid var(--line); }
.stats div { background: var(--bg); padding: 28px var(--gutter); text-align: center; }
.stats strong { display: block; font: 800 clamp(26px, 3.4vw, 38px)/1.1 var(--font-display); letter-spacing: -0.03em; }
.stats span { color: var(--text-muted); font-size: 15px; }
@media (max-width: 640px) { .stats { grid-template-columns: 1fr; } .stats div { padding: 20px var(--gutter); } }

/* ---------- Sections ---------- */
section { scroll-margin-top: 80px; }
.section { padding: clamp(72px, 10vw, 128px) 0; }
.section + .section { border-top: 1px solid var(--line); }
.section-head { max-width: 720px; margin-bottom: clamp(40px, 6vw, 64px); }
.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(30px, 4.2vw, 48px); line-height: 1.1; letter-spacing: -0.03em; font-weight: 750; margin: 16px 0 16px;
}
.section-head p { color: var(--text-muted); font-size: 19px; margin: 0; }
.stats + .section { border-top: 0; }

/* Features */
.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 860px) { .features { grid-template-columns: 1fr; } }
.feature { background: var(--bg-raised); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: 28px; }
.feature .icon { width: 44px; height: 44px; border-radius: 12px; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; margin-bottom: 20px; }
.feature .icon svg { width: 22px; height: 22px; }
.feature h3 { margin: 0 0 8px; font-size: 20px; letter-spacing: -0.01em; }
.feature p { margin: 0; color: var(--text-muted); }

/* Steps (dark band) */
.band { background: var(--ink); color: #f4f1ea; }
.section.band + .section { border-top: 0; }
.band .section-head p { color: #b4b6c2; }
.steps { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; counter-reset: step; }
@media (max-width: 860px) { .steps { grid-template-columns: 1fr; } }
.steps li { counter-increment: step; border-top: 2px solid #2b2d3b; padding-top: 22px; }
.steps li::before { content: "0" counter(step); display: block; font: 700 14px/1 var(--font); letter-spacing: .1em; color: var(--accent-bright); margin-bottom: 14px; }
.steps h3 { margin: 0 0 8px; font-size: 20px; }
.steps p { margin: 0; color: #b4b6c2; }

/* Contact */
.contact { display: grid; grid-template-columns: 1fr 1.25fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .contact { grid-template-columns: 1fr; } }
.contact .section-head { margin-bottom: 0; }
.contact-list { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 14px; }
.contact-list li { display: flex; gap: 14px; align-items: center; }
.contact-list .icon { flex: none; width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; }
.contact-list .icon svg { width: 20px; height: 20px; }
.contact-list a { text-decoration: none; font-weight: 600; }
.contact-list a:hover { color: var(--accent-text); }
.contact-list small { display: block; color: var(--text-faint); font-size: 13px; }
.form { background: var(--bg-raised); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: clamp(22px, 3.5vw, 36px); display: grid; gap: 18px; box-shadow: 0 24px 48px -32px rgba(20, 21, 31, .25); }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
@media (max-width: 560px) { .form .row { grid-template-columns: 1fr; } }
.field { display: grid; gap: 7px; }
.field label { font-size: 14px; font-weight: 600; }
.field label .opt { color: var(--text-faint); font-weight: 400; }
.field input, .field textarea, .field select {
  width: 100%; font: 400 16px/1.4 var(--font); color: var(--text);
  background: var(--bg); border: 1px solid var(--line-strong); border-radius: var(--radius-sm);
  padding: 12px 14px; transition: border-color .15s, box-shadow .15s;
}
.field textarea { min-height: 120px; resize: vertical; }
.field select {
  appearance: none; -webkit-appearance: none; padding-right: 40px; cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2352545a' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 12px center; background-size: 18px;
}
.check { display: flex; gap: 12px; align-items: flex-start; font-size: 14px; color: var(--text-muted); line-height: 1.5; cursor: pointer; }
.check input { flex: none; width: 20px; height: 20px; margin: 1px 0 0; accent-color: var(--accent); cursor: pointer; }
.form-section { font: 700 13px/1 var(--font); letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); padding-top: 8px; border-top: 1px solid var(--line); margin-top: 6px; padding-top: 22px; }
.field input:focus, .field textarea:focus, .field select:focus { outline: none; border-color: var(--accent-text); box-shadow: 0 0 0 3px var(--accent-soft); }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
.form-foot { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between; }
.form-foot .btn { min-width: 160px; }
.form-status { font-size: 15px; margin: 0; min-height: 1.4em; }
.form-status.error { color: var(--danger); }
.form-done { text-align: center; padding: 32px 8px; }
.form-done svg { width: 48px; height: 48px; margin: 0 auto 16px; color: var(--ok); }
.form-done h3 { margin: 0 0 8px; font-size: 22px; }
.form-done p { margin: 0; color: var(--text-muted); }
.cf-turnstile { min-height: 65px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); padding: 40px 0 48px; color: var(--text-faint); font-size: 14px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 20px; justify-content: space-between; align-items: center; }
.site-footer nav { display: flex; gap: 24px; flex-wrap: wrap; }
.site-footer a { text-decoration: none; color: var(--text-muted); }
.site-footer a:hover { color: var(--text); }

/* Simple pages (thanks, 404) */
.simple { min-height: calc(100vh - 68px - 120px); display: grid; place-items: center; text-align: center; padding: 80px 0; }
.simple h1 { font-family: var(--font-display); font-size: clamp(36px, 6vw, 60px); letter-spacing: -0.035em; margin: 18px 0 14px; }
.simple p { color: var(--text-muted); font-size: 19px; margin: 0 auto 32px; max-width: 32em; }

/* Reveal on scroll */
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }
.no-js .reveal { opacity: 1; transform: none; }
.hero :focus-visible, .band :focus-visible { outline-color: #fff; }

/* ---------- Drivers page ---------- */
.hero-sub { padding: clamp(56px, 8vw, 96px) 0 clamp(64px, 9vw, 112px); }
.hero-sub .wrap { grid-template-columns: 1fr; }
.hero-sub h1 { max-width: 16ch; }

.benefits { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
@media (max-width: 1000px) { .benefits { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .benefits { grid-template-columns: 1fr; } }
.benefit { background: var(--bg-raised); border: 1px solid var(--line); border-radius: calc(var(--radius) + 4px); padding: 24px; display: flex; flex-direction: column; }
.benefit .icon { width: 40px; height: 40px; border-radius: 10px; background: var(--accent-soft); color: var(--accent-text); display: grid; place-items: center; margin-bottom: 18px; }
.benefit .icon svg { width: 20px; height: 20px; }
.benefit h3 { margin: 0 0 6px; font-size: 18px; letter-spacing: -0.01em; }
.benefit .value { margin: 0 0 10px; font: 800 19px/1.2 var(--font-display); letter-spacing: -0.02em; color: var(--accent-text); }
.benefit p { margin: 0; color: var(--text-muted); font-size: 15px; }
.benefits-group { margin: 0 0 16px; font-size: 14px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--text-faint); }
.benefits + .benefits-group { margin-top: 40px; }
.benefits-wide .benefit { grid-column: span 2; }
@media (max-width: 1000px) { .benefits-wide .benefit { grid-column: span 1; } }

.reqs { display: grid; grid-template-columns: 1fr 1.4fr; gap: clamp(32px, 6vw, 80px); align-items: start; }
@media (max-width: 860px) { .reqs { grid-template-columns: 1fr; } }
.reqs .section-head { margin-bottom: 0; }
.req-list { list-style: none; margin: 0; padding: 0; }
.req-list li { display: flex; gap: 14px; align-items: center; padding: 18px 0; border-top: 1px solid #2b2d3b; font-size: 18px; }
.req-list li:last-child { border-bottom: 1px solid #2b2d3b; }
.req-list svg { flex: none; width: 22px; height: 22px; color: var(--accent-bright); }

.apply { max-width: 820px; margin: 0 auto; }
.apply .section-head { text-align: center; margin-left: auto; margin-right: auto; }
.apply .section-head .eyebrow { justify-content: center; }
