/* ===== Tokens ===== */
:root {
  --ink: #1B1F1C;
  --green-900: #0F3D2E;
  --amber-500: #E2A53D;
  --amber-600: #C98A26;
  --paper: #ECE7DA;
  --paper-light: #F7F5EC;
  --line: #C9C2AD;
  --line-light: rgba(247, 245, 236, 0.25);
  --white: #FBFAF5;

  --font-display: 'Oswald', sans-serif;
  --font-body: 'Work Sans', sans-serif;

  --radius: 2px;
  --wrap: 1320px;

  /* Theme-reactive tokens: these flip under [data-theme="dark"] below.
     --green-900, --amber-* and --white stay fixed on purpose — they're used
     on surfaces that are permanently dark green (hero card, dark sections),
     so they must not flip with the theme. */
  --heading: var(--green-900);
  --surface: var(--white);
  --muted: #4A4F49;
  --footer-bg: #FFFFFF;
  /* darker amber so accent words stay legible on light paper */
  --accent-ink: #8A5A00;
}

:root[data-theme="dark"] {
  --paper: #12150F;
  --paper-light: #181C15;
  --ink: #E7E3D5;
  --line: #343C31;
  --heading: #F2EEE1;
  --surface: #1B2018;
  --muted: #A7A290;
  --footer-bg: #000000;
  --accent-ink: var(--amber-500);
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
[id] { scroll-margin-top: 92px; }
/* "#top" and "#apply" live at the very top of the page, above the sticky header */
.page-top { display: block; height: 0; }
#top, #apply { scroll-margin-top: 0; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.5;
}

h1, h2, h3 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.12;
  margin: 0 0 0.5em;
  color: var(--heading);
  text-transform: uppercase;
  letter-spacing: 0.01em;
}

h1 { font-size: clamp(2.6rem, 4.6vw, 3.9rem); max-width: 17ch; line-height: 1.04; }
h2 { font-size: clamp(1.9rem, 3.2vw, 2.6rem); max-width: 22ch; }
h3 { font-size: 1.15rem; }

p { margin: 0 0 1em; max-width: 62ch; }

a { color: inherit; }

.accent-text { color: var(--accent-ink); }
/* on the permanently dark surfaces the bright amber keeps working */
.hero .accent-text,
.section--dark .accent-text,
.mapsec .accent-text,
.cta-band .accent-text,
.site-footer .accent-text { color: var(--amber-500); }

.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 24px; }

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--muted);
  margin: 0 0 14px;
}
.kicker::after { content: ''; width: 30px; height: 2px; background: var(--amber-500); }
.kicker--light { color: #D4DAD4; }
.kicker__dot { width: 7px; height: 7px; border-radius: 50%; background: var(--amber-500); }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 26px;
  border-radius: var(--radius);
  border: 1px solid transparent;
  text-decoration: none;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
}
.btn--primary { background: var(--amber-500); color: var(--green-900); }
.btn--primary:hover { background: var(--amber-600); }
.btn--accent { background: var(--amber-500); color: var(--green-900); }
.btn--accent:hover { background: var(--amber-600); color: var(--green-900); }
.btn--small { padding: 9px 18px; font-size: 0.88rem; }
.btn--large { padding: 18px 34px; font-size: 1.05rem; gap: 12px; }

/* ===== Header ===== */
.logo-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.site-header {
  background: var(--paper-light);
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 50;
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  gap: 32px;
}
.logo { display: block; text-decoration: none; }
.logo__mark { display: block; height: 39px; width: auto; aspect-ratio: 345 / 86; filter: brightness(0); }
:root[data-theme="dark"] .logo__mark { filter: brightness(0) invert(1); }
/* the footer surface flips with the theme, so the mark follows it too */
.site-footer .logo__mark { filter: brightness(0); }
:root[data-theme="dark"] .site-footer .logo__mark { filter: brightness(0) invert(1); }
/* the blue strapline under the wordmark is unreadable at header size */
.site-header .logo__mark { height: 45px; }

.site-nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
.site-nav a { text-decoration: none; font-weight: 500; font-size: 0.95rem; }
.site-nav a:hover { color: var(--amber-600); }

.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: none;
  border: 1px solid var(--line);
  color: var(--ink);
  border-radius: var(--radius);
  cursor: pointer;
  margin-left: auto;
}
.theme-toggle:hover { border-color: var(--amber-600); color: var(--amber-600); }
.theme-toggle svg { display: block; }

/* ===== Marquee — straddles the seam between the light and dark sections ===== */
.marquee-wrap {
  position: relative;
  z-index: 3;
  height: 0;
  overflow-x: clip;
  overflow-y: visible;
}
.marquee {
  background: var(--amber-500);
  overflow: hidden;
  padding: 15px 0;
  /* much wider than the viewport so the rotated band's ends sit far off-screen:
     the yellow then covers the screen corners instead of showing a cut edge */
  width: calc(100% + 640px);
  margin-left: -320px;
  transform: translateY(-50%) rotate(-1.2deg);
  box-shadow: 0 14px 30px -16px rgba(0, 0, 0, 0.45);
}
.marquee__track {
  display: flex;
  gap: 48px;
  white-space: nowrap;
  width: max-content;
  animation: marquee-scroll 42s linear infinite;
}
.marquee__track span {
  display: flex;
  align-items: center;
  gap: 48px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.55rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  color: var(--green-900);
}
.marquee__track span::after { content: '✦'; font-size: 1.05rem; color: var(--green-900); opacity: 0.6; }
@keyframes marquee-scroll { to { transform: translateX(-50%); } }

/* ===== Hero ===== */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 64px 0 84px;
}
.hero__bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url('img/hero-forest.jpg');
  background-size: cover;
  background-position: center 58%;
  background-repeat: no-repeat;
}
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(105deg, rgba(6, 12, 9, 0.92) 0%, rgba(8, 24, 17, 0.84) 48%, rgba(6, 12, 9, 0.62) 100%),
    linear-gradient(180deg, rgba(6, 12, 9, 0.8) 0%, rgba(11, 38, 28, 0.6) 52%, rgba(5, 10, 8, 0.96) 100%);
}
.hero__grid { display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 56px; align-items: start; }
.hero__side { display: flex; flex-direction: column; gap: 20px; min-width: 0; padding-top: 4px; }
.hero h1 { color: #fff; margin-bottom: 22px; }
.hero .kicker { color: #E7E3D5; margin-bottom: 20px; }
.hero .kicker::after { content: none; }
.hero__lede { font-size: 1.08rem; line-height: 1.62; max-width: 50ch; color: #E7E3D5; margin-bottom: 0; }

.benefits {
  list-style: none;
  margin: 32px 0 30px;
  padding: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  max-width: 560px;
}
.benefits li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  background: rgba(10, 20, 15, 0.72);
  border: 1px solid rgba(231, 227, 213, 0.24);
  border-radius: var(--radius);
  padding: 14px 16px;
  backdrop-filter: blur(3px);
}
.benefits__check {
  flex: none;
  width: 22px;
  height: 22px;
  margin-top: 1px;
  border-radius: 50%;
  border: 1.5px solid var(--amber-500);
  background: rgba(226, 165, 61, 0.16);
  color: var(--amber-500);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.benefits b { display: block; font-family: var(--font-display); font-size: 1rem; letter-spacing: 0.04em; text-transform: uppercase; line-height: 1.15; color: #fff; }
.benefits span:not(.benefits__check) { font-size: 0.82rem; color: #DCE2DC; }

.how { list-style: none; display: flex; gap: 16px; margin: 0; padding: 0; max-width: 560px; }
.how li {
  flex: 1;
  border-top: 3px solid var(--amber-500);
  padding-top: 12px;
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #DCE2DC;
}
.how b { display: block; font-size: 1.5rem; line-height: 1.1; color: var(--amber-500); }

.lanes-card {
  background: linear-gradient(180deg, #0F3D2E 0%, #08251B 100%);
  color: var(--white);
  border: 1px solid rgba(231, 227, 213, 0.18);
  border-radius: var(--radius);
  padding: 24px 24px 20px;
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.75);
}
.lanes-card__title { font-family: var(--font-display); letter-spacing: 0.06em; text-transform: uppercase; font-size: 0.9rem; color: var(--amber-500); margin-bottom: 14px; }
.lanes-card__list { list-style: none; margin: 0 0 16px; padding: 0; border-top: 1px solid var(--line-light); }
.lanes-card__list li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-light);
  font-size: 0.9rem;
}
.lanes-card__route { font-weight: 500; flex: 1; }
.lanes-card__trailer { color: #D6DCD6; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.06em; }
.lanes-card__rate { font-family: var(--font-display); color: var(--amber-500); font-size: 0.95rem; white-space: nowrap; }
.lanes-card__note { font-size: 0.8rem; color: #D6DCD6; margin: 0; }

/* Carrier agreement card in the hero side column */
.agreement-card {
  background: linear-gradient(180deg, #17543E 0%, #0A2A1F 100%);
  border: 1px solid rgba(231, 227, 213, 0.18);
  border-radius: var(--radius);
  padding: 22px 24px 20px;
  box-shadow: 0 24px 48px -24px rgba(0, 0, 0, 0.75);
  color: var(--white);
}
.agreement-card__eyebrow {
  display: flex;
  align-items: center;
  gap: 9px;
  font-family: var(--font-display);
  font-size: 0.72rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--amber-500);
  margin: 0 0 8px;
}
.agreement-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 26px;
  height: 26px;
  flex: none;
  border: 1.5px solid var(--amber-500);
  border-radius: 50%;
  color: #fff;
}
.agreement-card__title {
  font-size: 1.35rem;
  color: #fff;
  margin: 0 0 10px;
  max-width: none;
}
.agreement-card__lede {
  font-size: 0.86rem;
  line-height: 1.55;
  color: #C7CFC9;
  margin: 0 0 16px;
  max-width: none;
}
.agreement-card__steps {
  list-style: none;
  margin: 0 0 16px;
  padding: 12px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px 16px;
  border-top: 1px solid var(--line-light);
}
.agreement-card__steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--white);
}
.agreement-card__steps span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  flex: none;
  border-radius: 50%;
  background: var(--amber-500);
  color: var(--green-900);
  font-family: var(--font-display);
  font-size: 0.72rem;
}
.agreement-card__btn { width: 100%; justify-content: center; }
.agreement-card__hint { font-size: 0.74rem; color: #C7CFC9; margin: 12px 0 0; }
.agreement-card__hint strong { color: var(--white); font-weight: 600; }

/* ===== Sections ===== */
.section { padding: 76px 0; }
.section--dark { background: var(--green-900); color: var(--white); }
.section--dark h2 { color: var(--white); }
.section--dark .kicker { color: #9FB5AA; }
.section__head { max-width: 700px; margin-bottom: 44px; }
.section__head--center { text-align: center; margin-left: auto; margin-right: auto; }
.section__head--center .kicker { color: var(--muted); }
.section__lede { font-size: 1.05rem; color: var(--muted); max-width: 56ch; }

.section__lede--light { color: #D4DAD4; }

/* ===== Why ===== */
.why-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.5fr;
  gap: 40px;
  align-items: start;
}
.why-rail {
  position: sticky;
  top: 96px;
  padding-left: 22px;
  border-left: 3px solid var(--amber-500);
}
.why-rail .kicker { color: var(--muted); }
.why-rail h2 { font-size: clamp(2rem, 3.4vw, 2.8rem); margin: 0 0 14px; }
.why-rail .section__lede { font-size: 1rem; margin: 0 0 22px; }
.why-rail__cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent-ink);
  text-decoration: none;
  border-bottom: 2px solid transparent;
  transition: border-color 0.15s ease;
}
.why-rail__cta:hover { border-bottom-color: var(--accent-ink); }
.why-rail__cta span { transition: transform 0.15s ease; }
.why-rail__cta:hover span { transform: translateX(4px); }
.features { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-content: start; }
.feature {
  position: relative;
  display: flex;
  gap: 14px;
  padding: 18px 20px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-left: 3px solid transparent;
  border-radius: var(--radius);
  transition: border-color 0.15s ease;
}
.feature:hover { border-left-color: var(--amber-500); }
.feature::after {
  content: attr(data-num);
  position: absolute;
  top: 10px;
  right: 12px;
  font-family: var(--font-display);
  font-size: 2.6rem;
  font-weight: 700;
  line-height: 1;
  color: var(--amber-500);
  opacity: 0.24;
  pointer-events: none;
}
.feature h3 { margin: 0 0 5px; font-size: 1.12rem; }
.feature p { margin: 0; font-size: 0.93rem; color: var(--muted); }

/* ===== Equipment cards ===== */
.ecards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.ecard {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 3 / 4;
  border: 1px solid var(--line-light);
  display: flex;
  align-items: flex-end;
}
.ecard__img {
  position: absolute;
  inset: 0;
  z-index: -2;
  background-size: cover;
  background-position: center;
  transition: transform 0.6s ease;
}
.ecard:hover .ecard__img { transform: scale(1.06); }
.ecard::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg, rgba(8, 12, 10, 0.96) 10%, rgba(8, 12, 10, 0.4) 58%, rgba(8, 12, 10, 0.08));
}
.ecard__img--van { background-image: url('img/ecard-van.jpg'); }
.ecard__img--flat { background-image: url('img/ecard-flat.jpg'); }
.ecard__img--fleet { background-image: url('img/ecard-fleet.jpg'); }
.ecard__body { padding: 26px; }
.ecard__tag {
  display: inline-block;
  background: var(--amber-500);
  color: var(--green-900);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.72rem;
  letter-spacing: 0.13em;
  text-transform: uppercase;
  padding: 4px 9px;
  border-radius: 2px;
  margin-bottom: 10px;
}
.ecard h3 { color: #fff; font-size: 1.5rem; margin: 0 0 7px; }
.ecard p { margin: 0; color: #C3C9C4; font-size: 0.92rem; }

.pills { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin: 34px 0 0; padding: 0; }
.pills li { border: 1px solid var(--line-light); border-radius: 99px; padding: 8px 16px; font-size: 0.86rem; color: #CFD4CF; }

/* ===== Road strip ===== */
.road {
  position: relative;
  height: 116px;
  background: linear-gradient(180deg, #0A0B0D, #141619 30%, #141619 70%, #0A0B0D);
  overflow: hidden;
  border-top: 1px solid #1F232A;
  border-bottom: 1px solid #1F232A;
}
.road__lines {
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 4px;
  transform: translateY(-50%);
  background: repeating-linear-gradient(90deg, #F2C14E 0 46px, transparent 46px 86px);
  opacity: 0.8;
  animation: road-move 1.2s linear infinite;
}
@keyframes road-move { to { background-position: -86px 0; } }
.road__truck { position: absolute; top: 18px; left: 0; width: 100%; animation: truck-drive 16s linear infinite; }
.truck { width: 240px; height: auto; filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.6)); }
@keyframes truck-drive {
  from { transform: translateX(-320px); }
  to { transform: translateX(calc(100% + 40px)); }
}
@media (prefers-reduced-motion: reduce) {
  .road__truck { animation: none; transform: translateX(28vw); }
}

/* ===== Map ===== */
.mapsec { background: var(--green-900); color: var(--white); }
.mapsec h2 { color: var(--white); }
.mapsec .section__lede { color: #D4DAD4; }
.mapsec .kicker { color: #9FB5AA; }
.map-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1fr);
  gap: 20px;
  align-items: stretch;
}

.map-card {
  margin: 0 auto;
  width: 100%;
  max-width: 520px;
  background: linear-gradient(180deg, #123A2C, #0C2A20);
  border: 1px solid var(--line-light);
  border-radius: var(--radius);
  padding: 12px;
}
.map-card .eu-map { width: 100%; }
.eu-map { position: relative; pointer-events: none; cursor: default; }
.eu-map svg { display: block; width: 100%; height: auto; pointer-events: none; cursor: default; }

.eu-map .eu-country { fill: #14453A; stroke: #2C6A55; stroke-width: 0.06; pointer-events: none; }
.eu-map .eu-bg { fill: #0C2A20; }
.eu-map .eu-lane { fill: none; stroke: var(--amber-500); stroke-width: 0.2; stroke-linecap: round; stroke-dasharray: 0.55 0.5; opacity: 0.75; animation: lane-flow 1.8s linear infinite; pointer-events: none; cursor: default; }
@keyframes lane-flow { to { stroke-dashoffset: -2.1; } }
.eu-map .eu-hub .dot { fill: var(--white); }
.eu-map .eu-hub .pulse {
  fill: none;
  stroke: #F2C14E;
  stroke-width: 0.05;
  stroke-opacity: 0.9;
  opacity: 0;
  transform-box: fill-box;
  transform-origin: center;
  pointer-events: none;
  animation: hub-pulse 2.6s ease-out infinite;
}
.eu-map .eu-hub text { font-family: var(--font-body); font-size: 0.5px; font-weight: 600; fill: #E4E9E4; paint-order: stroke; stroke: #0C2A20; stroke-width: 0.14px; }
.eu-map .eu-hub { pointer-events: none; cursor: default; }
@keyframes hub-pulse {
  0% { transform: scale(1); opacity: 0.7; stroke-width: 0.06; }
  100% { transform: scale(7.5); opacity: 0; stroke-width: 0.008; }
}
@media (prefers-reduced-motion: reduce) {
  .eu-map .eu-hub .pulse { animation: none; opacity: 0.28; transform: scale(1); }
  .eu-map .mtruck animateMotion { display: none; }
}
.map-legend { display: flex; flex-wrap: wrap; gap: 8px 14px; padding: 0; font-size: 0.74rem; color: #C7CFC9; align-items: center; }
.map-legend span { display: flex; align-items: center; gap: 6px; }
.lg { display: inline-block; }
.lg--hub { width: 8px; height: 8px; border-radius: 50%; background: transparent; border: 2px solid var(--amber-500); }
.lg--lane { width: 18px; border-top: 2px dashed var(--amber-500); }
.lg--truck { width: 12px; height: 7px; background: var(--amber-500); border-radius: 1px; }

.map-side { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.map-side .map-panel { flex: 1; display: flex; flex-direction: column; justify-content: space-between; gap: 18px; padding: 18px 20px; }
.map-strip__cta { white-space: nowrap; align-self: flex-start; }
.mstats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 14px 0 0;
  padding: 0;
}
.map-panel {
  background: #123A2C;
  border: 1px solid var(--line-light);
  border-left: 3px solid var(--amber-500);
  border-radius: var(--radius);
  padding: 12px 16px;
}
.map-panel__eyebrow { font-family: var(--font-display); font-size: 0.66rem; letter-spacing: 0.13em; text-transform: uppercase; color: var(--amber-500); margin: 0 0 3px; }
.map-panel__city { font-family: var(--font-display); font-size: 1.1rem; text-transform: uppercase; color: #fff; margin: 0 0 8px; max-width: none; }
.map-panel__stats { display: flex; gap: 22px; margin: 0 0 8px; }
.map-panel__stats dt { font-size: 0.62rem; text-transform: uppercase; letter-spacing: 0.08em; color: #9FB5AA; }
.map-panel__stats dd { margin: 1px 0 0; font-family: var(--font-display); font-size: 0.95rem; color: var(--white); }
.map-panel__list { font-size: 0.74rem; color: #C7CFC9; margin: 0; line-height: 1.35; }
.map-panel__subhead { font-family: var(--font-display); font-size: 0.62rem; letter-spacing: 0.1em; text-transform: uppercase; color: #9FB5AA; margin: 0 0 8px; }
.map-panel__hubs { list-style: none; display: flex; flex-wrap: wrap; gap: 6px; margin: 0 0 14px; padding: 0; }
.map-panel__hubs li {
  border: 1px solid rgba(226, 165, 61, 0.45);
  border-radius: 99px;
  padding: 4px 10px;
  font-size: 0.72rem;
  color: #E4E9E4;
  white-space: nowrap;
}
.map-panel__transit { list-style: none; margin: 0 0 14px; padding: 0; border-top: 1px solid var(--line-light); }
.map-panel__transit li {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid rgba(247, 245, 236, 0.12);
  font-size: 0.78rem;
  color: #DCE2DC;
}
.map-panel__transit b { font-family: var(--font-display); color: var(--amber-500); font-size: 0.86rem; }

.mstat { background: #123A2C; border: 1px solid var(--line-light); border-left: 4px solid var(--amber-500); border-radius: var(--radius); padding: 12px 16px; display: flex; align-items: center; gap: 12px; }
.mstat b { flex: 0 0 auto; font-family: var(--font-display); font-size: 1.4rem; line-height: 1; color: #fff; }
.mstat span { font-size: 0.78rem; color: #C7CFC9; }
.mstat--accent { background: var(--amber-500); border-color: var(--amber-500); }
.mstat--accent b, .mstat--accent span { color: var(--green-900); }
.mstat--green { border-left-color: #2C6A55; }

/* ===== FAQ ===== */
.accordion { margin-top: 8px; border-top: 1px solid var(--line); max-width: 900px; margin-left: auto; margin-right: auto; }
.accordion__item { border-bottom: 1px solid var(--line); }
.accordion__trigger {
  width: 100%;
  text-align: left;
  background: none;
  border: none;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 1.02rem;
  padding: 20px 0;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: var(--ink);
}
.accordion__trigger::after {
  content: '+';
  font-family: var(--font-display);
  font-size: 1.4rem;
  color: var(--amber-600);
  margin-left: 16px;
}
.accordion__trigger[aria-expanded="true"]::after { content: '–'; }
.accordion__panel { max-height: 0; overflow: hidden; transition: max-height 0.2s ease; }
.accordion__panel p { padding-bottom: 18px; margin: 0; color: var(--muted); }

/* ===== CTA band ===== */
.cta-band {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 110px 0;
  text-align: center;
  color: #fff;
}
.cta-band::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url('img/cta-fleet.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}
.cta-band::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(180deg, rgba(8, 14, 11, 0.88), rgba(13, 48, 36, 0.86));
}
.cta-band h2 { color: #fff; font-size: clamp(2.2rem, 4.4vw, 3.6rem); margin: 10px auto 16px; max-width: 24ch; }
.cta-band p { color: #D5D9D4; font-size: 1.05rem; max-width: 520px; margin: 0 auto 30px; }
.cta-band .kicker { color: #E4E9E4; }

/* ===== Footer ===== */
.site-footer { background: var(--footer-bg); color: var(--ink); padding: 56px 0 0; border-top: 1px solid var(--line); }
.site-footer__grid { display: grid; grid-template-columns: 2fr 1.1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.site-footer .logo__mark { height: 51px; }
.site-footer__about { font-size: 0.9rem; color: var(--muted); margin-top: 18px; max-width: 34ch; }
.site-footer__heading { font-family: var(--font-display); font-size: 0.85rem; letter-spacing: 0.06em; text-transform: uppercase; color: var(--amber-500); margin-bottom: 10px; }
.site-footer p { font-size: 0.9rem; color: var(--muted); margin-bottom: 6px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: var(--amber-500); }
.site-footer__links { list-style: none; margin: 0; padding: 0; }
.site-footer__links li { margin-bottom: 8px; }
.site-footer__links a { font-size: 0.9rem; color: var(--muted); }
.site-footer__bottom { border-top: 1px solid var(--line); padding: 18px 24px; display: flex; justify-content: space-between; gap: 16px; font-size: 0.82rem; color: var(--muted); }
.site-footer__bottom p { margin: 0; font-size: 0.82rem; color: var(--muted); }

/* ===== Stats / login page — always black, white type ===== */
.stats-page { background: #000; color: #fff; min-height: 100vh; display: flex; align-items: center; justify-content: center; font-family: var(--font-body); }
.stats-login__form {
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 36px 32px;
  border-radius: var(--radius);
  width: 320px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.stats-login__form h1 { color: #fff; font-size: 1.4rem; }
.stats-login__form label { display: flex; flex-direction: column; gap: 6px; font-size: 0.88rem; font-weight: 600; color: #fff; }
.stats-login__form input {
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius);
  background: #000;
  color: #fff;
  font-size: 0.98rem;
}
.stats-login__form input:focus { outline: none; border-color: var(--amber-500); }
.stats-login__error { color: #FF8A80; font-size: 0.85rem; margin: 0; }
.stats-login__form .btn { justify-content: center; }
.stats-dashboard {
  background: #000;
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 48px 56px;
  border-radius: var(--radius);
  text-align: center;
}
.stats-dashboard__label { font-weight: 600; margin-bottom: 0; color: #fff; }
.stats-dashboard__count { font-family: var(--font-display); font-size: 3.4rem; color: #fff; margin: 12px 0 24px; }
.stats-dashboard__logout { font-size: 0.85rem; color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.stats-dashboard__logout:hover { color: var(--amber-500); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero__grid { grid-template-columns: 1fr; gap: 36px; }
  .hero__side { padding-top: 0; }
  .map-grid { grid-template-columns: 1fr; }
  .map-side .map-panel { justify-content: flex-start; }
  .map-side .map-strip__cta { align-self: stretch; justify-content: center; }
  .why-grid { grid-template-columns: 1fr; gap: 28px; }
  .why-rail { position: static; }
  .ecards { grid-template-columns: 1fr 1fr; }
  .mstats { grid-template-columns: 1fr; }
  .mapsec .section__head { margin-bottom: 32px; }
  .site-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
}

@media (max-width: 680px) {
  .section { padding: 52px 0; }
  .ecards { grid-template-columns: 1fr; }
  .ecard { aspect-ratio: 4 / 3; }
  .features { grid-template-columns: 1fr; }
  .benefits { grid-template-columns: 1fr; }
  .how { flex-direction: column; gap: 14px; }
  /* keep the sticky bar compact: nav links live in the footer on phones */
  .site-nav { display: none; }
  .site-header__inner { flex-wrap: nowrap; gap: 12px; padding: 10px 16px; }
  .site-header .logo__mark { height: 34px; }
  .site-header .btn--small { padding: 8px 14px; font-size: 0.82rem; }
  .theme-toggle { width: 34px; height: 34px; }
  .marquee__track span { font-size: 1.2rem; gap: 32px; }
  .map-legend { font-size: 0.7rem; }
  .site-footer__grid { grid-template-columns: 1fr; gap: 24px; }
  .site-footer__bottom { flex-direction: column; gap: 4px; }
  .map-panel__stats { flex-wrap: wrap; gap: 14px 22px; }
}
