/* QuantCargo marketing site styles. Ported from the design source (QuantCargo.html).
   Tokens, layout, and components for the single-page landing site. */
:root {
  /* Surfaces */
  --asphalt:    #0e0e10;
  --concrete:   #1a1a1d;
  --rebar:      #2b2b30;
  --steel:      #6b6b70;
  --lane-white: #f5f0e6;
  --paper:      #ebe5d4;
  /* Accents */
  --amber:      #ff7a00;
  --reflector:  #f6c91f;
  --brake:      #d12d20;
  --moss:       #4a6741;
  --interstate: oklch(0.64 0.092 242);
  /* Atmosphere */
  --grain:      rgba(245, 240, 230, 0.04);
  --road-dash:  rgba(246, 201, 31, 0.55);

  --f-display: "Big Shoulders Display", "Antique Olive Compact", "Impact", sans-serif;
  --f-serif:   "Instrument Serif", "Plantin", Georgia, serif;
  --f-mono:    "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

/* ============ RESET / BASE ============ */
*, *::before, *::after { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
html { background: var(--asphalt); }
body {
  background: var(--asphalt);
  color: var(--lane-white);
  font-family: var(--f-mono);
  font-size: 17px;
  line-height: 1.55;
  font-variant-numeric: tabular-nums slashed-zero;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}
body[data-grain="on"]::before {
  content: "";
  position: fixed; inset: 0;
  pointer-events: none;
  z-index: 9999;
  background-image:
    url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='240'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/><feColorMatrix values='0 0 0 0 0.96 0 0 0 0 0.94 0 0 0 0 0.9 0 0 0 0.5 0'/></filter><rect width='240' height='240' filter='url(%23n)' opacity='0.55'/></svg>");
  background-size: 240px 240px;
  mix-blend-mode: overlay;
  opacity: 0.5;
}

a { color: inherit; text-decoration: none; }
button { font: inherit; }

::selection { background: var(--amber); color: var(--asphalt); }

:focus-visible {
  outline: 2px solid var(--amber);
  outline-offset: 2px;
}

/* ============ DISPATCH TICKER ============ */
.ticker {
  position: sticky; top: 0; z-index: 80;
  background: var(--reflector);
  color: var(--asphalt);
  height: 36px;
  border-bottom: 1px solid var(--brake);
  overflow: hidden;
  font-family: var(--f-mono);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  display: flex; align-items: center;
}
.ticker-live {
  flex: 0 0 auto;
  display: flex; align-items: center; gap: 6px;
  height: 100%;
  padding: 0 14px;
  background: var(--brake);
  color: var(--lane-white);
  font-weight: 700;
  letter-spacing: 0.22em;
  font-size: 11px;
  text-transform: uppercase;
  border-right: 1px solid rgba(0,0,0,0.3);
  z-index: 2;
  box-shadow: 8px 0 8px -6px rgba(0,0,0,0.25);
}
.ticker-live::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--lane-white);
  animation: blink 1.2s ease-in-out infinite;
}
@keyframes blink { 50% { opacity: 0.3; } }
.ticker-mask {
  flex: 1 1 auto;
  height: 100%;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
}
.ticker-track {
  display: flex; align-items: center;
  gap: 0;
  white-space: nowrap;
  animation: ticker-scroll var(--ticker-speed, 90s) linear infinite;
  padding-left: 0;
  will-change: transform;
}
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-item { padding: 0 2.5rem; display: inline-flex; align-items: center; gap: 0.7em; }
.ticker-item .glyph { color: var(--amber); font-weight: 700; }
.ticker-item.high { color: var(--brake); font-weight: 600; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ============ TOP NAV ============ */
.nav {
  position: sticky; top: 36px; z-index: 70;
  background: rgba(14,14,16,0.85);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--rebar);
}
.nav-inner {
  max-width: 100%;
  padding: 14px 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 26px;
  letter-spacing: 0.02em;
  color: var(--lane-white);
}
.brand-mark {
  width: 30px; height: 30px;
  background: var(--amber);
  display: flex; align-items: center; justify-content: center;
  color: var(--asphalt);
  font-family: var(--f-display); font-weight: 800; font-size: 22px;
  line-height: 1;
}
.nav-links {
  display: flex; gap: 28px;
  font-family: var(--f-mono);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--lane-white);
}
.nav-links a:hover { color: var(--reflector); }
.nav-cta {
  display: inline-flex;
  align-items: center;
  font-family: var(--f-mono);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  padding: 10px 18px;
  background: var(--amber);
  color: var(--asphalt);
  font-weight: 600;
  border: 0;
  cursor: pointer;
}

/* ============ BUTTONS ============ */
.btn {
  display: inline-flex; align-items: center; gap: 0.6em;
  font-family: var(--f-mono);
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  padding: 1.1rem 2rem;
  cursor: pointer;
  border: 0;
  transition: transform 120ms ease, background 120ms ease, box-shadow 120ms ease, border-color 120ms ease;
  white-space: nowrap;
}
.btn-primary {
  background: var(--amber);
  color: var(--asphalt);
}
.btn-primary:hover {
  background: #ff8c1f;
  transform: translateY(-2px);
  box-shadow: 0 6px 0 -2px rgba(255,122,0,0.4);
}
.btn-secondary {
  background: transparent;
  color: var(--lane-white);
  border: 1px solid var(--lane-white);
}
.btn-secondary:hover {
  border-width: 2px;
  padding: calc(1.1rem - 1px) calc(2rem - 1px);
  background: rgba(245,240,230,0.08);
}

/* ============ LANE MARKER ============ */
.lane-marker {
  height: 6px;
  background: repeating-linear-gradient(90deg,
    var(--road-dash) 0 24px, transparent 24px 48px);
  background-size: 48px 6px;
  margin: 8rem 0;
}
@media (prefers-reduced-motion: no-preference) {
  .lane-marker { animation: roll 1.8s linear infinite; }
}
@keyframes roll { to { background-position-x: -48px; } }

/* ============ HERO ============ */
.hero {
  min-height: calc(100vh - 36px - 60px);
  padding: 4rem 32px 6rem;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 32px;
  position: relative;
  align-items: center;
  overflow: hidden;
}
.hero-copy { max-width: 720px; padding-left: 24px; min-width: 0; }
.hero h1 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(48px, 8.8vw, 156px);
  line-height: 1;
  letter-spacing: -0.015em;
  margin: 0;
  text-transform: uppercase;
  color: var(--lane-white);
}
.hero h1 .line {
  display: block;
  white-space: nowrap;
  overflow: visible;
  line-height: 0.95;
  margin: 0 0 0.04em;
}
.hero.animate-in h1 .line {
  opacity: 0;
  transform: translateY(24px);
  animation: rise 0.6s ease-out forwards;
}
.hero.animate-in h1 .line:nth-child(1) { animation-delay: 0.10s; }
.hero.animate-in h1 .line:nth-child(2) { animation-delay: 0.18s; }
.hero.animate-in h1 .line:nth-child(3) { animation-delay: 0.26s; }
@keyframes rise { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: translateY(0); } }

.hero .subhead {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.2;
  color: var(--reflector);
  margin: 1.4rem 0 1.6rem;
}
.hero.animate-in .subhead {
  opacity: 0;
  animation: fadein 0.6s ease-out 0.40s forwards;
}
.hero .body {
  font-family: var(--f-mono);
  font-size: 18px;
  line-height: 1.55;
  color: rgba(245,240,230,0.80);
  max-width: 38ch;
}
.hero.animate-in .body {
  opacity: 0;
  animation: fadein 0.6s ease-out 0.55s forwards;
}
.hero .ctas {
  display: flex; gap: 16px; flex-wrap: wrap;
  margin-top: 2rem;
}
.hero.animate-in .ctas .btn:nth-child(1) { opacity: 0; transform: translateY(12px); animation: rise 0.6s ease-out 0.70s forwards; }
.hero.animate-in .ctas .btn:nth-child(2) { opacity: 0; transform: translateY(12px); animation: rise 0.6s ease-out 0.78s forwards; }
@keyframes fadein { to { opacity: 1; } }

.hero-art {
  position: relative;
  width: calc(100% + 96px);
  margin-right: -96px;
  color: var(--lane-white);
  align-self: center;
  min-width: 0;
}
.hero-truck {
  width: 100%;
  height: auto;
  display: block;
  /* the source has a black background — darken it slightly so it blends with --asphalt */
  mix-blend-mode: screen;
  filter: contrast(1.05) saturate(1.05);
  position: relative;
  z-index: 1;
}
.hero.animate-in .hero-truck {
  opacity: 0;
  transform: translateX(40px) scale(1.02);
  animation: rollIn 1.4s cubic-bezier(0.16, 1, 0.3, 1) 0.35s forwards;
}
@keyframes rollIn {
  to { opacity: 1; transform: translateX(0) scale(1); }
}
.hero-bol {
  position: absolute;
  left: 8px;
  bottom: -18px;
  z-index: 2;
  display: grid;
  grid-template-columns: auto auto;
  gap: 2px 12px;
  padding: 10px 14px;
  background: var(--concrete);
  border: 1px solid var(--rebar);
  font: 10px/1.4 var(--f-mono);
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--lane-white);
  box-shadow: 0 14px 30px -18px rgba(0,0,0,0.9);
}
.hero-bol .k { color: var(--steel); }
.hero-bol .v { font-weight: 500; }
.hero-road {
  position: absolute;
  left: -32px; right: -96px;
  bottom: -2px;
  height: 6px;
  background: repeating-linear-gradient(90deg, var(--road-dash) 0 24px, transparent 24px 48px);
  background-size: 48px 6px;
  z-index: 0;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-road { animation: roll 1.8s linear infinite; }
}
.hero-marker {
  position: absolute;
  top: 0; right: 0;
  font: 11px/1 var(--f-mono);
  letter-spacing: 0.18em;
  color: var(--steel);
  text-transform: uppercase;
  text-align: right;
}
.hero-marker b {
  display: block;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 36px;
  color: var(--reflector);
  letter-spacing: 0;
  line-height: 1;
  margin-top: 4px;
}
.hero-art .draw path,
.hero-art .draw line,
.hero-art .draw rect,
.hero-art .draw circle,
.hero-art .draw ellipse {
  stroke-dasharray: 1600;
  stroke-dashoffset: 0;
}
.hero.animate-in .hero-art .draw path,
.hero.animate-in .hero-art .draw line,
.hero.animate-in .hero-art .draw rect,
.hero.animate-in .hero-art .draw circle,
.hero.animate-in .hero-art .draw ellipse {
  stroke-dashoffset: 1600;
  animation: draw 1.2s ease-out 0.30s forwards;
}
@keyframes draw { to { stroke-dashoffset: 0; } }

.hero-meta {
  position: absolute;
  bottom: 24px; right: 32px;
  color: var(--steel);
  font: 11px/1 var(--f-mono);
  letter-spacing: 0.18em;
  text-transform: uppercase;
}
.hero-meta span + span::before { content: " · "; margin: 0 0.4em; }

/* ============ SECTION HEADERS ============ */
.sec {
  padding: 0 32px;
  position: relative;
}
.sec-num {
  font-family: var(--f-mono);
  color: var(--steel);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.sec-num::before {
  content: "";
  display: inline-block;
  width: 28px; height: 1px;
  background: var(--steel);
  flex: 0 0 auto;
}
.sec-h {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(56px, 9vw, 140px);
  line-height: 0.88;
  letter-spacing: -0.01em;
  text-transform: uppercase;
  margin: 0.4rem 0 0;
  color: var(--lane-white);
}

/* ============ PROBLEM SECTION ============ */
.problem {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 48px;
  align-items: start;
}
.problem-heading h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(72px, 9vw, 160px);
  line-height: 0.86;
  margin: 0;
  text-transform: uppercase;
  color: var(--lane-white);
}
.problem-paper {
  background: var(--paper);
  color: #1d1a14;
  padding: 48px 44px;
  border: 1px solid var(--rebar);
  font-family: var(--f-mono);
  font-size: 16.5px;
  line-height: 1.65;
  position: relative;
  box-shadow: 0 18px 30px -22px rgba(0,0,0,0.7);
}
.problem-paper p { margin: 0 0 1.2em; }
.problem-paper .pullquote {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.22;
  color: #2d2818;
  margin: 1.6em 0;
  padding-left: 2.6em;
  display: block;
  position: relative;
}
.problem-paper .pullquote::before {
  content: "\201C";
  position: absolute;
  left: 0.6em;
  top: -0.1em;
  font-size: 2.2em;
  color: var(--brake);
  line-height: 1;
  font-style: normal;
}
.problem.in-view .pullquote .word {
  /* default reveal handled in .js-anim section */
}
.problem-stamp {
  position: absolute;
  top: 16px; right: 18px;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 14px;
  color: var(--brake);
  border: 2px solid var(--brake);
  padding: 4px 10px;
  letter-spacing: 0.1em;
  transform: rotate(-6deg);
}
.problem-coda {
  text-align: center;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(36px, 6vw, 80px);
  line-height: 1;
  letter-spacing: -0.01em;
  margin: 4rem 0 0;
  text-transform: uppercase;
  color: var(--lane-white);
  padding: 0 32px;
}
.problem-coda .underline {
  display: inline-block;
  border-bottom: 6px solid var(--amber);
  padding-bottom: 4px;
  position: relative;
}

/* ============ AUTOPILOT (features) ============ */
.autopilot {
  position: relative;
  padding: 0 32px;
}
.autopilot-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  margin-bottom: 56px;
}
.autopilot-top h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(48px, 7.5vw, 120px);
  line-height: 0.9;
  letter-spacing: -0.01em;
  margin: 8px 0 0;
  text-transform: uppercase;
  color: var(--lane-white);
  max-width: 14ch;
}
.autopilot-tag {
  text-align: right;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(20px, 2.4vw, 40px);
  line-height: 1.05;
  text-transform: uppercase;
  color: var(--lane-white);
  transform: rotate(-2deg);
  white-space: nowrap;
}
.autopilot-tag .accent {
  color: var(--reflector);
  display: block;
  font-size: 0.7em;
  letter-spacing: 0.04em;
}

/* ============ BRAIN CONSOLE ============ */
.brain-console {
  border: 1px solid var(--rebar);
  background: var(--concrete);
  margin: 0 0 72px;
  position: relative;
  overflow: hidden;
}
.brain-console .bc-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 14px 20px;
  border-bottom: 1px solid var(--rebar);
  background: var(--asphalt);
}
.brain-console .bc-title {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--lane-white);
}
.brain-console .bc-title .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--moss);
}
@media (prefers-reduced-motion: no-preference) {
  .brain-console .bc-title .dot { animation: blink 1.4s ease-in-out infinite; }
}
.brain-console .bc-knows {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  color: var(--steel);
  text-transform: uppercase;
}
.brain-console .bc-knows b { color: var(--reflector); font-weight: 500; }
.brain-console .bc-body {
  display: grid;
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
}
.brain-console .bc-asks {
  border-right: 1px solid var(--rebar);
  padding: 24px 22px;
  display: flex; flex-direction: column; gap: 10px;
}
.brain-console .bc-asks .lbl {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel);
  margin: 0 0 4px;
}
.brain-console .ask {
  text-align: left;
  font-family: var(--f-mono);
  font-size: 14px;
  line-height: 1.4;
  color: rgba(245,240,230,0.82);
  background: transparent;
  border: 1px solid var(--rebar);
  padding: 12px 14px;
  cursor: pointer;
  display: flex; gap: 10px; align-items: flex-start;
  transition: border-color 140ms, color 140ms, background 140ms;
}
.brain-console .ask::before {
  content: "\25B8";
  color: var(--amber);
  flex: 0 0 auto;
}
.brain-console .ask:hover { border-color: var(--steel); color: var(--lane-white); }
.brain-console .ask.active {
  border-color: var(--amber);
  background: rgba(255,122,0,0.07);
  color: var(--lane-white);
}
.brain-console .bc-answer {
  padding: 24px 24px 26px;
  min-height: 300px;
  display: flex; flex-direction: column; gap: 16px;
}
.brain-console .bc-line { display: flex; gap: 12px; font-family: var(--f-mono); }
.brain-console .bc-line .who {
  flex: 0 0 auto;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding-top: 4px;
  width: 46px;
}
.brain-console .bc-line.you .who { color: var(--amber); }
.brain-console .bc-line.brn .who { color: var(--reflector); }
.brain-console .bc-line .msg { font-size: 15px; line-height: 1.5; color: var(--lane-white); }
.brain-console .bc-line.you .msg { color: rgba(245,240,230,0.92); }
.brain-console .result {
  border: 1px solid var(--rebar);
  border-left: 3px solid var(--reflector);
  background: var(--asphalt);
  padding: 14px 18px;
  font-family: var(--f-mono);
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(245,240,230,0.86);
  margin-left: 58px;
}
.brain-console .rrow {
  display: flex; justify-content: space-between; gap: 16px;
  padding: 3px 0;
}
.brain-console .rrow.full { display: block; color: var(--lane-white); }
.brain-console .rrow .v { color: var(--reflector); white-space: nowrap; font-variant-numeric: tabular-nums slashed-zero; }
.brain-console .rrow .v.neg { color: var(--brake); }
.brain-console .rrow .v.pos { color: var(--moss); }
.brain-console .result .foot {
  display: block;
  margin-top: 8px; padding-top: 8px;
  border-top: 1px dashed var(--rebar);
  color: var(--lane-white);
}
.brain-console .result .foot .hi { color: var(--reflector); }
.brain-console .result .foot .pos { color: var(--moss); }
.brain-console .result .cta {
  display: inline-block;
  margin-top: 12px;
  font-size: 11px; letter-spacing: 0.16em; text-transform: uppercase;
  color: var(--asphalt); background: var(--amber);
  padding: 8px 13px; cursor: pointer;
}
.brain-console.swap .bc-answer { animation: bc-fade 0.36s ease-out; }
@keyframes bc-fade { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
@media (max-width: 760px) {
  .brain-console .bc-body { grid-template-columns: 1fr; }
  .brain-console .bc-asks { border-right: 0; border-bottom: 1px solid var(--rebar); }
  .brain-console .bc-head { flex-wrap: wrap; gap: 6px; }
  .brain-console .result { margin-left: 0; }
}

.features {
  display: flex; flex-direction: column;
}
.feature {
  display: grid;
  grid-template-columns: 90px minmax(0, 1fr) minmax(220px, 320px);
  gap: 36px;
  padding: 36px 0 40px;
  border-top: 1px dashed var(--road-dash);
  position: relative;
  align-items: start;
}
.feature::before {
  content: "";
  position: absolute;
  left: -32px; top: 0; bottom: 0;
  width: 0;
  background: var(--amber);
  transition: width 180ms ease;
}
.feature:hover::before { width: 6px; }
.feature:last-child { border-bottom: 1px dashed var(--road-dash); }
.feature .num {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 56px;
  color: var(--reflector);
  line-height: 1;
  letter-spacing: 0.02em;
}
.feature .text h3 {
  font-family: var(--f-display);
  font-weight: 700;
  font-size: clamp(28px, 3vw, 40px);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 12px;
  line-height: 1;
  color: var(--lane-white);
}
.feature .text p {
  font-family: var(--f-mono);
  font-size: 17px;
  line-height: 1.6;
  color: rgba(245,240,230,0.85);
  margin: 0;
  max-width: 58ch;
}
.feature .art {
  color: var(--lane-white);
  align-self: center;
}
.feature .art svg { width: 100%; height: auto; }
.feature .art svg path,
.feature .art svg line,
.feature .art svg rect,
.feature .art svg circle,
.feature .art svg ellipse {
  stroke-dasharray: 800;
  stroke-dashoffset: 0;
}
.js-anim .feature .art svg path,
.js-anim .feature .art svg line,
.js-anim .feature .art svg rect,
.js-anim .feature .art svg circle,
.js-anim .feature .art svg ellipse {
  stroke-dashoffset: 800;
}
.js-anim .feature.in-view .art svg path,
.js-anim .feature.in-view .art svg line,
.js-anim .feature.in-view .art svg rect,
.js-anim .feature.in-view .art svg circle,
.js-anim .feature.in-view .art svg ellipse {
  animation: draw 1.0s ease-out forwards;
}

/* ============ TWO PRODUCTS ============ */
.sec-lede {
  font-family: var(--f-mono);
  font-size: 17px;
  line-height: 1.6;
  color: rgba(245,240,230,0.78);
  max-width: 62ch;
  margin: 22px 0 0;
}
.products {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 52px;
}
.product {
  position: relative;
  background: var(--concrete);
  border: 1px solid var(--rebar);
  padding: 42px 38px 34px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: border-color 200ms ease, transform 200ms ease;
}
.product::before {
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 4px;
  background: var(--accent);
}
.product[data-key="fleet"]  { --accent: var(--amber); }
.product[data-key="agency"] { --accent: var(--reflector); }
.product:hover { border-color: var(--accent); transform: translateY(-3px); }
.product .tag {
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  margin: 0 0 20px;
  display: flex; align-items: center; gap: 10px;
}
.product .tag .badge { display: inline-flex; }
.product .tag .badge svg { width: 32px; height: 19px; display: block; }
.product h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(40px, 4.6vw, 72px);
  line-height: 0.9;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
  color: var(--lane-white);
}
.product .lede {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: clamp(20px, 2vw, 26px);
  line-height: 1.22;
  color: var(--accent);
  margin: 0 0 16px;
}
.product .desc {
  font-family: var(--f-mono);
  font-size: 16px;
  line-height: 1.62;
  color: rgba(245,240,230,0.82);
  margin: 0 0 26px;
  max-width: 48ch;
}
.product .roles {
  display: flex; flex-wrap: wrap; gap: 8px;
  margin: 0 0 30px;
}
.product .roles span {
  font-family: var(--f-mono);
  font-size: 11.5px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(245,240,230,0.72);
  border: 1px solid var(--rebar);
  padding: 6px 10px;
}
.product .roles span:hover { border-color: var(--accent); color: var(--lane-white); }
.product .go {
  margin-top: auto;
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex; align-items: center; gap: 10px;
  align-self: flex-start;
  border-bottom: 1px solid transparent;
  padding-bottom: 3px;
  transition: gap 160ms ease, border-color 160ms ease;
}
.product:hover .go { gap: 16px; border-color: var(--accent); }

/* ============ PERSONAS ============ */
.personas {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}
.persona {
  background: var(--concrete);
  border-top: 3px solid var(--steel);
  padding: 32px 24px 34px;
  display: flex; flex-direction: column;
  min-height: 500px;
  position: relative;
  transition: background 240ms ease;
}
.persona[data-key="owner"] { border-top-color: var(--amber); }
.persona[data-key="disp"]  { border-top-color: var(--reflector); }
.persona[data-key="driv"]  { border-top-color: var(--moss); }
.persona[data-key="acct"]  { border-top-color: var(--interstate); }
@media (prefers-reduced-motion: no-preference) {
  .persona { animation: persona-pulse 4s ease-in-out infinite alternate; }
  .persona[data-key="disp"] { animation-delay: 1.2s; }
  .persona[data-key="driv"] { animation-delay: 2.4s; }
  .persona[data-key="acct"] { animation-delay: 3.6s; }
}
@keyframes persona-pulse {
  from { box-shadow: inset 0 3px 0 0 var(--accent, transparent); opacity: 1; }
  to   { box-shadow: inset 0 3px 0 0 var(--accent, transparent); opacity: 0.96; }
}
.persona .portrait {
  height: 200px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 24px;
}
.persona[data-key="owner"] .portrait { color: var(--amber); }
.persona[data-key="disp"]  .portrait { color: var(--reflector); }
.persona[data-key="driv"]  .portrait { color: var(--moss); }
.persona[data-key="acct"]  .portrait { color: var(--interstate); }
.persona .portrait svg { width: auto; height: 200px; transition: stroke-width 240ms ease; }
.persona:hover .portrait svg * { stroke-width: 2 !important; }
.persona .eyebrow {
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--steel);
  text-transform: uppercase;
  margin: 0 0 6px;
}
.persona .stat-chip {
  display: inline-flex;
  align-items: baseline;
  gap: 8px;
  margin: 0 0 16px;
  padding: 6px 10px 6px 0;
  border-left: 3px solid;
  padding-left: 12px;
  font-family: var(--f-mono);
}
.persona[data-key="owner"] .stat-chip { border-left-color: var(--amber); }
.persona[data-key="disp"]  .stat-chip { border-left-color: var(--reflector); }
.persona[data-key="driv"]  .stat-chip { border-left-color: var(--moss); }
.persona[data-key="acct"]  .stat-chip { border-left-color: var(--interstate); }
.persona .stat-chip .n {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 28px;
  line-height: 1;
  color: var(--lane-white);
  letter-spacing: -0.01em;
}
.persona .stat-chip .l {
  font-size: 10px;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--steel);
}
.persona h3 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(38px, 3.2vw, 58px);
  line-height: 0.92;
  letter-spacing: -0.01em;
  margin: 0 0 14px;
  text-transform: uppercase;
  color: var(--lane-white);
}
.persona .quote {
  font-family: var(--f-serif);
  font-style: italic;
  font-size: 22px;
  line-height: 1.25;
  color: var(--lane-white);
  margin: 0 0 18px;
}
.persona .desc {
  font-family: var(--f-mono);
  font-size: 15.5px;
  line-height: 1.55;
  color: rgba(245,240,230,0.78);
  margin: 0;
}
.persona .meta {
  margin-top: auto;
  padding-top: 22px;
  border-top: 1px dashed var(--rebar);
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.08em;
  color: rgba(245,240,230,0.7);
  text-transform: uppercase;
}

/* ============ PRICING ============ */
.pricing {
  text-align: center;
  padding: 32px;
}
.pricing .eyebrow {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.3em;
  color: var(--steel);
  text-transform: uppercase;
  margin-bottom: 32px;
}
.ascii-card {
  font-family: var(--f-mono);
  font-size: clamp(14px, 1.5vw, 22px);
  line-height: 1.15;
  color: var(--amber);
  white-space: pre;
  display: inline-block;
  text-align: left;
  margin: 0 auto;
  font-weight: 600;
}
.pricing-notes {
  font-family: var(--f-mono);
  font-size: 15px;
  line-height: 1.9;
  color: rgba(245,240,230,0.8);
  margin: 36px auto 36px;
  max-width: 56ch;
  text-align: center;
}
.pricing-notes .k { color: var(--reflector); margin-right: 0.6em; }

/* ============ FLEET MAP ============ */
.map-wrap {
  background: var(--asphalt);
  padding: 0;
  position: relative;
  border: 1px solid var(--rebar);
  margin-top: 40px;
}
.map-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 20px;
  border-bottom: 1px dashed var(--rebar);
  font-family: var(--f-mono);
  font-size: 11px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--steel);
  background: linear-gradient(180deg, rgba(26,26,29,0.6), transparent);
}
.map-header .live {
  display: inline-flex; align-items: center; gap: 8px;
  color: var(--moss);
  font-weight: 600;
}
.map-header .live::before {
  content: "";
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--moss);
  animation: blink 1.2s ease-in-out infinite;
}
.map-header .corners {
  font-variant-numeric: tabular-nums slashed-zero;
  letter-spacing: 0.18em;
}
.map-inner {
  padding: 24px 24px 32px;
  position: relative;
}
.map-canvas {
  width: 100%;
  height: auto;
  max-height: 80vh;
  display: block;
}
.map-canvas .state { fill: none; stroke: var(--rebar); stroke-width: 1; }
.map-canvas .route {
  fill: none; stroke: var(--amber); stroke-width: 1.6;
  stroke-dasharray: 4 3;
  opacity: 0.9;
}
.js-anim .map-canvas .route.draw {
  stroke-dasharray: 1200;
  stroke-dashoffset: 1200;
}
.js-anim .map-canvas.in-view .route.draw {
  animation: route-draw 0.8s ease-out forwards;
  stroke-dasharray: 4 3;
}
@keyframes route-draw {
  from { stroke-dashoffset: 1200; }
  to   { stroke-dashoffset: 0; }
}
.map-canvas .endpoint { fill: var(--lane-white); }
.map-canvas .mid {
  fill: var(--reflector);
  transform-origin: center;
}
@media (prefers-reduced-motion: no-preference) {
  .map-canvas .mid { animation: pulse 2s ease-in-out infinite; }
}
@keyframes pulse {
  0%, 100% { opacity: 0.5; r: 3; }
  50%      { opacity: 1; r: 5; }
}
.map-label {
  font-family: var(--f-mono);
  font-size: 11px;
  fill: var(--lane-white);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  pointer-events: none;
}
.route-info {
  position: absolute;
  pointer-events: none;
  background: var(--asphalt);
  border: 1px solid var(--amber);
  color: var(--lane-white);
  font: 12px/1.4 var(--f-mono);
  padding: 8px 12px;
  letter-spacing: 0.06em;
  white-space: nowrap;
  transform: translate(-50%, -130%);
  opacity: 0;
  transition: opacity 120ms ease;
  z-index: 5;
}
.route-info.on { opacity: 1; }
.route-info .amt { color: var(--reflector); }

.counters {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 48px;
  margin-top: 80px;
  text-align: center;
  padding: 0 32px;
}
.counter .n {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(72px, 10vw, 160px);
  line-height: 1;
  color: var(--lane-white);
  font-variant-numeric: tabular-nums slashed-zero;
  letter-spacing: -0.01em;
}
.counter .n .pre { color: var(--reflector); }
.counter .l {
  font-family: var(--f-mono);
  font-size: 13px;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(245,240,230,0.7);
  margin-top: 18px;
  line-height: 1.5;
}

/* ============ TRUST ============ */
.trust {
  padding: 80px 32px;
  text-align: center;
}
.trust-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0;
  font-family: var(--f-mono);
  font-size: 13px;
  color: rgba(245,240,230,0.7);
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-top: 1px solid var(--rebar);
  border-bottom: 1px solid var(--rebar);
  padding: 20px 0;
  margin: 0;
}
.trust-row span {
  padding: 8px 28px;
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.trust-row span::after {
  content: "";
  position: absolute;
  right: 0; top: 25%;
  width: 1px; height: 50%;
  background: var(--rebar);
}
.trust-row span:last-child::after { display: none; }
.trust-row span::before {
  content: "";
  display: inline-block;
  width: 8px; height: 8px;
  border: 1.5px solid var(--moss);
  transform: rotate(45deg);
}
.trust-logos {
  display: grid; grid-template-columns: repeat(6, 1fr);
  gap: 32px;
  margin-top: 40px;
  align-items: center;
}
.fleet-logo {
  height: 32px;
  border: 1px dashed rgba(245,240,230,0.18);
  display: flex; align-items: center; justify-content: center;
  font: 11px/1 var(--f-mono);
  letter-spacing: 0.2em;
  color: rgba(245,240,230,0.3);
  text-transform: uppercase;
  padding: 0 6px;
}

/* ============ FOOTER ============ */
.foot {
  padding: 80px 32px 40px;
  border-top: 1px dashed var(--rebar);
  margin-top: 80px;
}
.shields {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}
.shield {
  text-align: left;
}
.shield .badge {
  width: 80px; height: 80px;
  color: var(--lane-white);
  margin-bottom: 18px;
  transition: transform 220ms ease;
}
.shield:hover .badge { transform: rotateY(8deg) scale(1.04); }
.shield h4 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: 24px;
  letter-spacing: 0.04em;
  margin: 0 0 12px;
  text-transform: uppercase;
}
.shield ul {
  list-style: none; padding: 0; margin: 0;
  font-family: var(--f-mono);
  font-size: 14px;
  line-height: 2.1;
  color: rgba(245,240,230,0.75);
}
.shield ul li::before { content: "· "; color: var(--steel); }
.shield ul li:hover { color: var(--reflector); }
.foot-bottom {
  margin-top: 64px;
  padding-top: 48px;
  border-top: 1px dashed var(--rebar);
  text-align: center;
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(32px, 5vw, 64px);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--lane-white);
}
.foot-tail {
  margin-top: 20px;
  text-align: center;
  font-family: var(--f-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--steel);
  text-transform: uppercase;
}
.foot-tail span + span::before { content: " · "; }

/* ============ CTA BANNER ============ */
.cta-banner {
  background: var(--amber);
  color: var(--asphalt);
  padding: 80px 32px 92px;
  position: relative;
  overflow: hidden;
  margin-top: 80px;
}
.cta-banner::before {
  content: "";
  position: absolute; inset: auto 0 0 0;
  height: 8px;
  background: repeating-linear-gradient(90deg,
    var(--asphalt) 0 24px, transparent 24px 48px);
  background-size: 48px 8px;
}
.cta-banner::after {
  content: "";
  position: absolute; inset: 0 0 auto 0;
  height: 8px;
  background: repeating-linear-gradient(90deg,
    var(--asphalt) 0 24px, transparent 24px 48px);
  background-size: 48px 8px;
}
.cta-inner {
  max-width: 1280px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1.6fr 1fr;
  gap: 48px;
  align-items: center;
}
.cta-inner h2 {
  font-family: var(--f-display);
  font-weight: 800;
  font-size: clamp(48px, 7vw, 112px);
  line-height: 0.92;
  letter-spacing: -0.015em;
  margin: 0;
  text-transform: uppercase;
  color: var(--asphalt);
}
.cta-inner h2 em {
  font-style: normal;
  font-family: var(--f-serif);
  text-transform: none;
  font-weight: 400;
  font-style: italic;
  color: var(--asphalt);
}
.cta-inner p {
  font-family: var(--f-mono);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--asphalt);
  margin: 0 0 24px;
  max-width: 36ch;
}
.cta-inner .stack { display: flex; flex-direction: column; gap: 10px; }
.cta-inner .btn-block {
  background: var(--asphalt);
  color: var(--lane-white);
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.2rem 1.6rem;
  border: 2px solid var(--asphalt);
  transition: background 120ms, color 120ms;
}
.cta-inner .btn-block:hover {
  background: transparent;
  color: var(--asphalt);
}
.cta-inner .btn-block.ghost {
  background: transparent;
  color: var(--asphalt);
  border: 2px solid var(--asphalt);
}
.cta-inner .btn-block.ghost:hover {
  background: var(--asphalt);
  color: var(--lane-white);
}
@media (max-width: 900px) {
  .cta-inner { grid-template-columns: 1fr; }
}

/* ============ REVEAL ============ */
.reveal { /* visible by default; only fade-in when explicitly animated */ }
.js-anim .reveal:not(.in-view) {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.js-anim .reveal.in-view { opacity: 1; transform: translateY(0); }
.js-anim .problem-paper .pullquote .word { opacity: 0; }
.js-anim .problem.in-view .pullquote .word { animation: fadein 0.5s ease-out forwards; }

/* ============ RESPONSIVE ============ */
@media (max-width: 1080px) {
  .personas { grid-template-columns: repeat(2, 1fr); }
  .persona { min-height: 0; }
}
@media (max-width: 900px) {
  .hero { grid-template-columns: 1fr; padding: 3rem 24px 4rem; }
  .hero-art { margin-right: 0; width: 100%; }
  .hero-truck { mix-blend-mode: normal; }
  .hero-bol { position: static; margin-top: 12px; }
  .hero-copy { padding-left: 0; }
  .hero-marker { position: static; margin-bottom: 16px; }
  .problem { grid-template-columns: 1fr; }
  .feature { grid-template-columns: 60px 1fr; }
  .feature .art { grid-column: 1 / -1; max-width: 320px; }
  .products { grid-template-columns: 1fr; }
  .shields { grid-template-columns: repeat(2, 1fr); }
  .counters { grid-template-columns: 1fr; gap: 32px; }
  .autopilot-top { flex-direction: column; align-items: flex-start; }
  .autopilot-tag { text-align: left; transform: none; }
  .nav-inner { padding: 12px 20px; }
  .sec, .pricing, .map-wrap, .foot, .trust, .cta-banner { padding-left: 20px; padding-right: 20px; }
}
@media (max-width: 640px) {
  .nav-links { display: none; }
  .personas { grid-template-columns: 1fr; }
  .lane-marker { margin: 5rem 0; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }
  .ticker-track { animation: none; }
  .hero h1 .line, .hero .subhead, .hero .body, .hero .ctas .btn { opacity: 1; transform: none; }
}
