@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/barlow-latin-ext-400.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url(/assets/fonts/barlow-latin-400.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/assets/fonts/barlow-latin-ext-500.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url(/assets/fonts/barlow-latin-500.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/barlow-latin-ext-600.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/barlow-latin-600.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/barlow-latin-ext-700.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/barlow-latin-700.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/barlow-condensed-latin-ext-600.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-display: swap;
  font-weight: 600;
  src: url(/assets/fonts/barlow-condensed-latin-600.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/barlow-condensed-latin-ext-700.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-display: swap;
  font-weight: 700;
  src: url(/assets/fonts/barlow-condensed-latin-700.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url(/assets/fonts/barlow-condensed-latin-ext-800.woff2) format('woff2');
  unicode-range: U+0100-02BA,U+02BD-02C5,U+02C7-02CC,U+02CE-02D7,U+02DD-02FF,U+0304,U+0308,U+0329,U+1D00-1DBF,U+1E00-1E9F,U+1EF2-1EFF,U+2020,U+20A0-20AB,U+20AD-20C0,U+2113,U+2C60-2C7F,U+A720-A7FF;
}
@font-face {
  font-family: 'Barlow Condensed';
  font-style: normal;
  font-display: swap;
  font-weight: 800;
  src: url(/assets/fonts/barlow-condensed-latin-800.woff2) format('woff2');
  unicode-range: U+0000-00FF,U+0131,U+0152-0153,U+02BB-02BC,U+02C6,U+02DA,U+02DC,U+0304,U+0308,U+0329,U+2000-206F,U+20AC,U+2122,U+2191,U+2193,U+2212,U+2215,U+FEFF,U+FFFD;
}
/* Fleet Department landing. Type: Barlow (highway-signage grotesk) and Barlow Condensed for display.
   @font-face rules are prepended by build.mjs. */

:root {
  --green: #1f7a4c;
  --green-deep: #0e3b26;
  --green-ink: #0a2b1c;
  --tag: #ffce3a;
  --tag-deep: #f2b705;
  --signal: #e5483b;
  --concrete: #e2e6e1;
  --paper: #f4f6f2;
  --ink: #0f1a14;
  --ink-2: #3c4a43;
  --line: rgb(15 26 20 / 0.14);
  --display: "Barlow Condensed", "Arial Narrow", Arial, sans-serif;
  --text: Barlow, "Helvetica Neue", Arial, sans-serif;
  --pad: clamp(20px, 4.5vw, 64px);
  --nav-h: 72px;
  color-scheme: light;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-padding-top: var(--nav-h);
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  margin: 0;
  font: 400 1.125rem/1.55 var(--text);
  color: var(--ink);
  background: var(--paper);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

h1,
h2,
h3 {
  font-family: var(--display);
  margin: 0;
  letter-spacing: -0.005em;
  text-wrap: balance;
}

h2 {
  font-weight: 700;
  font-size: clamp(2.5rem, 5.2vw, 4.5rem);
  line-height: 0.95;
}

h3 {
  font-weight: 700;
  font-size: 1.875rem;
  line-height: 1;
}

p {
  margin: 0;
  text-wrap: pretty;
}

a {
  color: inherit;
}

img,
svg {
  display: block;
}

.wrap {
  width: min(1240px, 100% - 2 * var(--pad));
  margin-inline: auto;
}

.skip {
  position: absolute;
  left: 12px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--tag);
  color: var(--ink);
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
}

.skip:focus {
  top: 12px;
}

:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--tag);
  border-radius: 6px;
}

/* ------------------------------------------------------------------ buttons */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 20px;
  border-radius: 10px;
  border: 2px solid transparent;
  font: 600 1rem/1 var(--text);
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.15s, border-color 0.15s, color 0.15s, transform 0.15s;
}

.btn:active {
  transform: translateY(1px);
}

.btn--lg {
  min-height: 54px;
  padding: 14px 26px;
  font-size: 1.0625rem;
}

.btn--tag {
  background: var(--tag);
  color: var(--ink);
  box-shadow: inset 0 -3px 0 rgb(0 0 0 / 0.12);
}

.btn--tag:hover {
  background: #ffd95c;
}

.btn--line {
  border-color: rgb(255 255 255 / 0.55);
  color: #fff;
}

.btn--line:hover {
  border-color: #fff;
  background: rgb(255 255 255 / 0.08);
}

.btn--ink {
  background: var(--ink);
  color: #fff;
}

.btn--ink:hover {
  background: #23332b;
}

/* ------------------------------------------------------------------ nav */

.nav {
  position: fixed;
  inset: 0 0 auto;
  z-index: 50;
  height: var(--nav-h);
  color: #fff;
  transition: background-color 0.25s, color 0.25s, box-shadow 0.25s;
}

.nav--solid {
  background: rgb(244 246 242 / 0.92);
  color: var(--ink);
  box-shadow: 0 1px 0 var(--line);
  -webkit-backdrop-filter: saturate(1.4) blur(12px);
  backdrop-filter: saturate(1.4) blur(12px);
}

.nav__inner {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 32px;
  padding-inline: var(--pad);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font: 800 1.75rem/1 var(--display);
  text-decoration: none;
  letter-spacing: 0.005em;
}

.brand__mark {
  width: 32px;
  height: 32px;
}

.mark-tile {
  fill: var(--green);
}

.mark-fg {
  fill: #fff;
}

.nav__links {
  display: flex;
  gap: 26px;
  font-weight: 500;
  font-size: 1rem;
}

.nav__links a,
.nav__signin {
  text-decoration: none;
  opacity: 0.88;
}

.nav__links a:hover,
.nav__signin:hover {
  opacity: 1;
  text-decoration: underline;
  text-underline-offset: 5px;
  text-decoration-thickness: 2px;
}

.nav__actions {
  margin-left: auto;
  display: flex;
  align-items: center;
  gap: 20px;
  font-weight: 600;
}

/* ------------------------------------------------------------------ 3D stage */

.stage {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  height: 100lvh;
  z-index: 1;
  pointer-events: none;
  display: none;
  opacity: 0;
  transition: opacity 0.9s ease;
}

.has-3d .stage {
  display: block;
}

.is-3d-ready .stage {
  opacity: 1;
}

.stage.is-off,
.stage-scrim.is-off,
.callouts.is-off {
  visibility: hidden;
}

/* wide screens: fades the 3D scene out behind the chapter cards (stage.js sets --scrim-x and the opacity) */
.stage-scrim {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: none;
  opacity: 0;
  background: linear-gradient(90deg, var(--concrete) 0, var(--concrete) var(--scrim-x, 0px), rgb(226 230 225 / 0) calc(var(--scrim-x, 0px) + 160px));
}

.has-3d .stage-scrim {
  display: block;
}

.callouts {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  display: none;
  color: var(--ink);
  font: 600 0.875rem/1.2 var(--text);
}

.has-3d .callouts {
  display: block;
}

.callouts[data-theme="dark"] {
  color: #fff;
}

.co-lines {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
}

.co-lines line {
  stroke: currentColor;
  stroke-width: 1.5;
}

.co {
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0;
  will-change: transform, opacity;
}

.co-dot {
  position: absolute;
  left: -5px;
  top: -5px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: currentColor;
  box-shadow: 0 0 0 4px rgb(255 255 255 / 0.35);
}

.callouts[data-theme="light"] .co-dot {
  box-shadow: 0 0 0 4px rgb(15 26 20 / 0.12);
}

.co-label {
  position: absolute;
  left: 0;
  top: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  white-space: nowrap;
  padding: 8px 12px;
  border-radius: 8px;
  background: #fff;
  color: var(--ink);
  box-shadow: 0 10px 24px -12px rgb(0 0 0 / 0.45);
}

.callouts[data-theme="light"] .co-label {
  background: var(--ink);
  color: #fff;
}

.co-pip {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--green);
}

.co[data-tone="due"] .co-pip {
  background: var(--tag-deep);
  box-shadow: 0 0 0 3px rgb(242 183 5 / 0.25);
}

.co--balloon .co-label {
  width: 34px;
  height: 34px;
  padding: 0;
  justify-content: center;
  border-radius: 50%;
  background: var(--tag);
  color: var(--ink);
  font: 700 1.0625rem/1 var(--display);
  border: 2px solid var(--ink);
}

.callouts[data-theme="light"] .co--balloon .co-label {
  background: var(--tag);
  color: var(--ink);
}

.co--balloon .co-dot,
.co--stamp .co-dot {
  width: 7px;
  height: 7px;
  left: -3.5px;
  top: -3.5px;
  box-shadow: none;
}

.co--stamp .co-dot {
  display: none;
}

.co--stamp .co-label {
  padding: 10px 18px;
  font: 800 1.5rem/1 var(--display);
  background: var(--tag);
  color: var(--ink);
  border: 3px solid var(--ink);
  rotate: -4deg;
}

.co--honk .co-label {
  font-size: 1.25rem;
  rotate: 3deg;
}

/* a hero label or marker that takes you to its card */
.co--link.is-live .co-dot,
.co--link.is-live .co-label {
  pointer-events: auto;
  cursor: pointer;
}

.co--link .co-dot::after {
  content: "";
  position: absolute;
  inset: -10px;
  border-radius: 50%;
}

.co--link .co-label {
  transition: background-color 0.15s ease, color 0.15s ease;
}

.co--link.is-live .co-label:hover,
.co--link.is-live:has(.co-dot:hover) .co-label {
  background: var(--tag);
  color: var(--ink);
}

/* a marker is a dot on the part; its name shows on hover */
.co--marker .co-dot {
  width: 16px;
  height: 16px;
  left: -8px;
  top: -8px;
  background: var(--tag);
  border: 2px solid var(--ink);
  box-shadow: 0 0 0 3px rgb(255 255 255 / 0.55);
}

.co--marker .co-label {
  opacity: 0;
  transition: opacity 0.15s ease;
}

.co--marker:has(.co-dot:hover) .co-label,
.co--marker .co-label:hover {
  opacity: 1;
}

@media (prefers-reduced-motion: no-preference) {
  .co--marker .co-dot::before {
    content: "";
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    border: 2px solid var(--tag);
    animation: ping 2.4s cubic-bezier(0, 0, 0.2, 1) infinite;
  }
}

@keyframes ping {
  70%,
  100% {
    transform: scale(2.3);
    opacity: 0;
  }
}

/* hero labels arrive one after another once the rig has pulled in */
.co-inner {
  display: block;
}

@media (max-width: 640px) {

  .co-label {
    font-size: 0.8125rem;
    padding: 6px 10px;
  }
}

/* ------------------------------------------------------------------ hero */

.hero {
  position: relative;
  min-height: 100vh;
  min-height: 100svh;
  padding: calc(var(--nav-h) + clamp(16px, 4vh, 48px)) var(--pad) clamp(28px, 5vh, 56px);
  display: grid;
  grid-template-rows: auto 1fr auto;
  background:
    radial-gradient(120% 90% at 75% 70%, #23905a 0%, rgb(35 144 90 / 0) 60%),
    linear-gradient(180deg, #1c7348 0%, var(--green) 55%, #1b6d44 100%);
  color: #fff;
  overflow: hidden;
}

/* the truck can be dragged round; sideways finger moves turn it, vertical ones still scroll */
.has-3d .hero {
  touch-action: pan-y pinch-zoom;
}

.hero.is-grabbable {
  cursor: grab;
}

.hero.is-turning {
  cursor: grabbing;
  user-select: none;
}

.hero__title {
  position: relative;
  z-index: 0;
  font-weight: 800;
  font-size: clamp(4rem, 12.4vw, 13.5rem);
  line-height: 0.84;
  letter-spacing: -0.012em;
  max-width: 12ch;
  color: #fff;
}

.hero__line {
  display: block;
}

@media (prefers-reduced-motion: no-preference) {
  .hero__line {
    animation: rise 1s cubic-bezier(0.2, 0.7, 0.1, 1) both;
  }

  .hero__line + .hero__line {
    animation-delay: 0.12s;
  }
}

@keyframes rise {
  from {
    transform: translateY(0.35em);
    opacity: 0;
  }
}

/* the middle row of the hero stays open for the 3D truck */
.hero__foot {
  grid-row: 3;
  position: relative;
  z-index: 2;
  display: grid;
  gap: 22px;
  max-width: 34rem;
}

/* a soft pool of green behind the text, so the road passing underneath never fights it */
.hero__foot::before {
  content: "";
  position: absolute;
  inset: -50px -90px -70px -70px;
  z-index: -1;
  pointer-events: none;
  background: radial-gradient(closest-side, rgb(27 112 70 / 0.9) 55%, rgb(27 112 70 / 0));
}

.hero__lede {
  font-size: clamp(1.0625rem, 1.35vw, 1.25rem);
  line-height: 1.5;
  color: rgb(255 255 255 / 0.92);
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__hint {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 18px;
  translate: -50% 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgb(255 255 255 / 0.72);
}

.hero__hint::after {
  content: "";
  width: 2px;
  height: 34px;
  border-radius: 2px;
  background: linear-gradient(rgb(255 255 255 / 0.8), rgb(255 255 255 / 0));
}

@media (prefers-reduced-motion: no-preference) {
  .hero__hint::after {
    animation: drip 2.2s ease-in-out infinite;
    transform-origin: top;
  }
}

@keyframes drip {
  0% {
    transform: scaleY(0);
  }
  45% {
    transform: scaleY(1);
  }
  100% {
    transform: scaleY(1);
    opacity: 0;
  }
}

@media (max-width: 1100px) {
  .hero__hint {
    display: none;
  }
}

/* ------------------------------------------------------------------ anatomy (scroll story) */

.anatomy {
  background: var(--concrete);
  border-top: 14px solid transparent;
  border-image: repeating-linear-gradient(-45deg, var(--tag) 0 22px, var(--ink) 22px 44px) 14;
}

.chapter {
  min-height: 115vh;
  display: flex;
  align-items: center;
  padding: var(--nav-h) var(--pad) 8vh;
}

.chapter--intro {
  min-height: 100vh;
  align-items: flex-start;
  padding-top: calc(var(--nav-h) + 6vh);
}

.chapter--ready {
  background: linear-gradient(180deg, var(--concrete) 0%, var(--green) 32%);
}

.intro {
  position: relative;
  z-index: 2;
  max-width: 30rem;
}

.intro h2 {
  margin-bottom: 20px;
}

.intro p {
  color: var(--ink-2);
  font-size: 1.1875rem;
}

.tag {
  --hole: 11px;
  position: relative;
  z-index: 2;
  width: min(100%, 430px);
  padding: 30px 30px 28px 66px;
  background: var(--tag);
  color: var(--ink);
  clip-path: polygon(26px 0, 100% 0, 100% 100%, 26px 100%, 0 calc(100% - 26px), 0 26px);
  -webkit-mask: radial-gradient(circle var(--hole) at 33px 50%, #0000 98%, #000 100%);
  mask: radial-gradient(circle var(--hole) at 33px 50%, #0000 98%, #000 100%);
  filter: drop-shadow(0 18px 26px rgb(15 26 20 / 0.18));
}

/* reinforcement ring around the punched hole */
.tag::before {
  content: "";
  position: absolute;
  left: 33px;
  top: 50%;
  width: 36px;
  height: 36px;
  translate: -50% -50%;
  border-radius: 50%;
  border: 6px solid rgb(15 26 20 / 0.1);
}

.tag h3 {
  font-size: 2.125rem;
  margin-bottom: 10px;
}

.tag p {
  font-size: 1.0625rem;
  line-height: 1.5;
  color: #2a352f;
}

.widget {
  margin-top: 20px;
  padding: 14px 16px;
  border-radius: 10px;
  background: rgb(255 255 255 / 0.62);
  font-size: 0.9375rem;
  display: grid;
  gap: 10px;
}

.widget small {
  color: #4c5a52;
  font-size: 0.8125rem;
  line-height: 1.35;
}

.widget__row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}

.widget__row b {
  font-weight: 700;
  text-align: right;
}

.meter {
  height: 8px;
  border-radius: 8px;
  background: rgb(15 26 20 / 0.1);
  overflow: hidden;
}

.meter__fill {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--green) 70%, var(--tag-deep));
}

.meter__fill--97 {
  width: 97%;
}

.meter__fill {
  transition: width 0.45s cubic-bezier(0.2, 0.7, 0.1, 1);
}

/* the due figure stays whole; on a narrow card it moves under its label instead of breaking */
[data-widget="oil"] .widget__row {
  flex-wrap: wrap;
}

[data-widget="oil"] .widget__row b {
  white-space: nowrap;
}

.seg {
  display: flex;
  gap: 3px;
  padding: 3px;
  border-radius: 9px;
  background: rgb(15 26 20 / 0.08);
}

.seg__btn {
  flex: 1 1 auto;
  min-height: 32px;
  padding: 5px 8px;
  border: 0;
  border-radius: 7px;
  background: none;
  color: #33413a;
  font: 600 0.8125rem/1.15 var(--text);
  cursor: pointer;
}

.seg__btn:hover {
  color: var(--ink);
  background: rgb(255 255 255 / 0.5);
}

.seg__btn[aria-pressed="true"] {
  background: #fff;
  color: var(--ink);
  box-shadow: 0 1px 3px rgb(15 26 20 / 0.2);
}

.seg__btn:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 1px;
}

.chip {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 99px;
  font-size: 0.8125rem;
  font-weight: 600;
  white-space: nowrap;
}

.chip--ok {
  background: var(--green);
  color: #fff;
}

.chip--due {
  background: var(--ink);
  color: var(--tag);
}

.lines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.lines li {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding-top: 6px;
  border-top: 1px solid rgb(15 26 20 / 0.1);
}

.lines li:last-child {
  font-weight: 700;
}

.widget--axles {
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 18px;
}

.axles {
  display: grid;
  gap: 12px;
  justify-items: center;
  padding: 4px 10px;
  border-left: 2px dashed rgb(15 26 20 / 0.2);
  border-right: 2px dashed rgb(15 26 20 / 0.2);
}

.axle {
  display: flex;
  gap: 26px;
}

.axle--dual {
  gap: 3px;
}

.axle--dual i:nth-child(2) {
  margin-right: 20px;
}

.axle i {
  width: 11px;
  height: 22px;
  border-radius: 3px;
  background: var(--ink);
}

.axle i.is-on {
  background: var(--tag-deep);
  outline: 3px solid var(--ink);
}

.axle .tire {
  position: relative;
  width: 13px;
  height: 26px;
  padding: 0;
  border: 0;
  border-radius: 3px;
  background: var(--ink);
  cursor: pointer;
}

/* a taller target that stops short of the next tire */
.axle .tire::after {
  content: "";
  position: absolute;
  inset: -8px -1px;
}

.axle--dual .tire:nth-child(2) {
  margin-right: 20px;
}

.axle .tire:hover {
  background: #3a4d43;
}

.axle .tire.is-low {
  background: var(--signal);
}

.axle .tire[aria-pressed="true"] {
  background: var(--tag-deep);
  outline: 3px solid var(--ink);
}

.axle .tire.is-low[aria-pressed="true"] {
  background: var(--signal);
}

.axle .tire:focus-visible {
  outline: 3px solid var(--green);
  outline-offset: 2px;
}

.readings {
  margin: 0;
  display: grid;
  gap: 6px;
}

.readings div {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.readings dt {
  color: #4c5a52;
}

.readings dd {
  margin: 0;
  font-weight: 700;
  white-space: nowrap;
}

.readings [data-tire="name"] {
  white-space: normal;
  text-align: right;
}

.readings__flag {
  grid-column: 1 / -1;
  margin: 0;
  padding: 8px 10px;
  border-radius: 8px;
  background: rgb(229 72 59 / 0.12);
  color: #8a2018;
  font-size: 0.8125rem;
  line-height: 1.4;
}

@media (max-width: 480px) {
  .widget--axles {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .readings {
    width: 100%;
  }
}

.spark {
  width: 100%;
  height: auto;
}

.spark__line {
  fill: none;
  stroke: var(--green);
  stroke-width: 3;
  stroke-linejoin: round;
  stroke-linecap: round;
}

.spark__flag {
  fill: var(--signal);
  stroke: #fff;
  stroke-width: 2;
}

.spark__flag,
.spark__cursor {
  pointer-events: none;
}

.spark__cursor {
  fill: var(--green);
  stroke: #fff;
  stroke-width: 2;
}

.spark__hit {
  fill: transparent;
  cursor: pointer;
}

.spark__hit:focus {
  outline: none;
}

.spark__hit:focus-visible {
  fill: rgb(15 26 20 / 0.08);
}

[data-fuel="readout"] {
  min-height: 2.7em;
}

[data-fuel="readout"].is-flag {
  color: #8a2018;
}

.parts {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  counter-reset: part;
  display: grid;
  gap: 2px;
  font-size: 0.9375rem;
}

.parts li {
  counter-increment: part;
  display: grid;
  grid-template-columns: 26px 1fr auto;
  align-items: center;
  gap: 10px;
  padding: 5px 0;
  border-top: 1px solid rgb(15 26 20 / 0.1);
}

.parts li::before {
  content: counter(part);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2px solid var(--ink);
  display: grid;
  place-items: center;
  font: 700 0.8125rem/1 var(--display);
}

.parts li > span:last-child {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.parts li.has-action {
  grid-template-columns: 26px 1fr auto auto;
}

.part-btn {
  padding: 4px 11px;
  border: 1.5px solid var(--ink);
  border-radius: 99px;
  background: transparent;
  color: var(--ink);
  font: 600 0.8125rem/1.2 var(--text);
  white-space: nowrap;
  cursor: pointer;
}

.part-btn:hover {
  background: rgb(15 26 20 / 0.08);
}

.part-btn--go,
.part-btn--go:hover {
  background: var(--ink);
  color: var(--tag);
}

.part-btn:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: 2px;
}

.chip--out {
  background: var(--signal);
  color: #fff;
}

.po {
  grid-column: 2 / -1;
  display: grid;
  gap: 2px;
  margin: 2px 0 4px;
  padding: 10px 12px;
  border-radius: 8px;
  background: rgb(255 255 255 / 0.75);
  font-size: 0.8125rem;
  line-height: 1.35;
}

.po:focus {
  outline: none;
}

.po b {
  font-size: 0.875rem;
}

@media (prefers-reduced-motion: no-preference) {
  .po {
    animation: rise 0.4s cubic-bezier(0.2, 0.7, 0.1, 1) both;
  }
}

/* layout: card left of the rig on wide screens, below it on narrow ones */
@media (max-width: 819px), (max-aspect-ratio: 9/10) {
  .chapter {
    align-items: flex-end;
    min-height: 120vh;
    padding-bottom: 5vh;
  }

  .chapter--intro {
    align-items: flex-end;
    min-height: 100vh;
  }

  .has-3d .intro {
    padding: 22px;
    border-radius: 14px;
    background: rgb(226 230 225 / 0.9);
  }

  .tag {
    width: 100%;
    max-width: 520px;
    padding: 24px 22px 22px 58px;
  }

  .tag h3 {
    font-size: 1.75rem;
  }

  .tag p {
    font-size: 1rem;
  }
}

/* no WebGL: the chapters read as a plain list of cards */
html:not(.has-3d) .chapter {
  min-height: 0;
  padding-block: 32px;
}

/* ------------------------------------------------------------------ dots beside the part cards */

/* a column in the gutter left of the cards; on small screens, a row under the top bar */
.partnav {
  position: fixed;
  z-index: 5;
  left: max(4px, calc(var(--pad) / 2 - 14px));
  top: 50%;
  translate: 0 -50%;
  display: flex;
  flex-direction: column;
  gap: 2px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0s linear 0.3s;
}

.partnav.is-shown {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.3s ease;
}

.partnav a {
  position: relative;
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  color: var(--ink);
  text-decoration: none;
}

.partnav a::before {
  content: "";
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: rgb(15 26 20 / 0.28);
  transition: transform 0.2s ease, background-color 0.2s ease;
}

.partnav a:hover::before {
  background: rgb(15 26 20 / 0.6);
}

.partnav a[aria-current]::before {
  background: var(--ink);
  transform: scale(1.3);
  box-shadow: 0 0 0 3px var(--tag);
}

.partnav a:focus-visible {
  outline: 2px solid var(--ink);
  outline-offset: -2px;
}

.partnav span {
  position: absolute;
  left: 34px;
  top: 50%;
  translate: 0 -50%;
  padding: 5px 9px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font: 600 0.8125rem/1.2 var(--text);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.partnav a:hover span,
.partnav a:focus-visible span {
  opacity: 1;
}

@media (max-width: 900px) {
  .partnav {
    left: 50%;
    top: calc(var(--nav-h) + 8px);
    translate: -50% 0;
    flex-direction: row;
    padding: 0 4px;
    border-radius: 99px;
    background: rgb(226 230 225 / 0.88);
  }

  /* names stay for screen readers only */
  .partnav span {
    left: 0;
    top: 0;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    translate: none;
  }
}

/* ------------------------------------------------------------------ service program */

.service {
  position: relative;
  z-index: 3;
  height: 320vh;
  background: var(--paper);
}

.service__sticky {
  position: sticky;
  top: 0;
  height: 100vh;
  height: 100svh;
  padding: calc(var(--nav-h) + 4vh) var(--pad) 5vh;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  grid-template-rows: auto auto 1fr;
  gap: 3vh 5vw;
  overflow: hidden;
}

.service__head {
  grid-column: 1;
  max-width: 34rem;
}

.service__head h2 {
  margin-bottom: 16px;
}

.service__head p {
  color: var(--ink-2);
}

.odo {
  grid-column: 1;
  display: flex;
  align-items: center;
  gap: 14px;
}

.odo__drums {
  display: flex;
  padding: 8px;
  gap: 4px;
  border-radius: 14px;
  background: #101814;
  box-shadow: inset 0 2px 10px rgb(0 0 0 / 0.6);
}

.odo__digit {
  --d: 0;
  position: relative;
  width: 0.62em;
  height: 1em;
  overflow: hidden;
  border-radius: 6px;
  background: linear-gradient(#1c2621, #2a3630 50%, #1c2621);
  font: 700 clamp(3rem, 6.4vw, 5.5rem)/1 var(--display);
  color: #f4f6f2;
  font-variant-numeric: tabular-nums;
}

.odo__digit:last-child {
  background: linear-gradient(#f4f6f2, #fff 50%, #e8ebe6);
  color: var(--ink);
}

.odo__digit > span {
  position: absolute;
  inset: 0 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  word-spacing: 100vw;
  text-align: center;
  transform: translateY(calc(var(--d) * -1em));
}

.odo__unit {
  font: 700 1.75rem/1 var(--display);
  color: var(--ink-2);
}

.odo__value {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}

.road {
  grid-column: 1;
  align-self: end;
  position: relative;
  height: 120px;
}

.road__surface {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 18px;
  height: 46px;
  border-radius: 6px;
  background:
    linear-gradient(90deg, var(--tag) 0 50%, transparent 0) 0 50% / 36px 4px repeat-x,
    #28322e;
}

.road__stop {
  position: absolute;
  bottom: 64px;
  width: 4px;
  height: 30px;
  translate: -50% 0;
  background: #b7beb9;
  border-radius: 2px;
  transition: background-color 0.3s;
}

.road__stop::after {
  content: "";
  position: absolute;
  left: 50%;
  top: -10px;
  width: 16px;
  height: 16px;
  translate: -50% 0;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #b7beb9;
  transition: background-color 0.3s, border-color 0.3s;
}

.road__stop.is-passed {
  background: var(--green);
}

.road__stop.is-passed::after {
  background: var(--green);
  border-color: var(--green);
}

.road__stop[data-mi="20000"] { left: 16.667%; }
.road__stop[data-mi="40000"] { left: 33.333%; }
.road__stop[data-mi="60000"] { left: 50%; }
.road__stop[data-mi="80000"] { left: 66.667%; }
.road__stop[data-mi="100000"] { left: 83.333%; }
.road__stop[data-mi="120000"] { left: calc(100% - 4px); }

.road__truck {
  --p: 0;
  position: absolute;
  left: calc(var(--p) * 100%);
  bottom: 30px;
  width: 92px;
  translate: -50% 0;
}

.rt-trailer {
  fill: #fff;
  stroke: #28322e;
  stroke-width: 1.5;
}

.rt-cab {
  fill: var(--green);
}

.rt-wheel {
  fill: #101814;
}

.log {
  grid-column: 2;
  grid-row: 1 / span 3;
  align-self: center;
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 10px;
}

.log__item {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2px 16px;
  align-items: baseline;
  padding: 16px 18px 16px 54px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 1px 0 var(--line), 0 8px 20px -16px rgb(15 26 20 / 0.5);
  transition: background-color 0.35s, color 0.35s;
}

.log__item::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 50%;
  width: 22px;
  height: 22px;
  translate: 0 -50%;
  border-radius: 50%;
  border: 2px dashed #a8b0ab;
  transition: background-color 0.35s, border-color 0.35s;
}

.log__item b {
  font-weight: 600;
}

.log__due,
.log__done {
  font-size: 0.9375rem;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}

.log__done {
  display: none;
}

.log__item.is-done {
  background: var(--green-deep);
  color: #fff;
}

.log__item.is-done::before {
  border: 0;
  background: var(--tag) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230f1a14' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 16px no-repeat;
}

.log__item.is-done .log__due {
  display: none;
}

.log__item.is-done .log__done {
  display: block;
  color: rgb(255 255 255 / 0.75);
}

@media (max-width: 900px) {
  .service {
    height: 300vh;
  }

  .service__sticky {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto 1fr;
    gap: 2.2vh;
    padding-top: calc(var(--nav-h) + 2vh);
  }

  .service__head p {
    font-size: 1rem;
  }

  .log {
    grid-column: 1;
    grid-row: auto;
    align-self: start;
    gap: 6px;
  }

  .log__item {
    padding: 10px 12px 10px 44px;
    font-size: 0.9375rem;
  }

  .log__item::before {
    left: 12px;
    width: 18px;
    height: 18px;
  }

  .road {
    height: 92px;
    grid-row: auto;
  }

}

/* ------------------------------------------------------------------ team */

.team {
  position: relative;
  z-index: 3;
  padding: clamp(80px, 12vh, 140px) 0;
  background: var(--green-deep);
  color: #fff;
}

.team h2 {
  max-width: 17ch;
  margin-bottom: clamp(36px, 6vh, 64px);
}

.seats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(24px, 3vw, 48px);
  align-items: start;
}

.seat h3 {
  font-size: 2rem;
  margin-bottom: 8px;
  color: var(--tag);
}

.seat p {
  color: rgb(255 255 255 / 0.82);
  margin-bottom: 26px;
  max-width: 26rem;
}

.mock {
  background: #fff;
  color: var(--ink);
  border-radius: 14px;
  padding: 18px;
  font-size: 0.875rem;
  box-shadow: 0 30px 50px -30px rgb(0 0 0 / 0.6);
}

.mock--dash {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.kpi {
  display: grid;
  gap: 2px;
  padding: 10px;
  border-radius: 10px;
  background: var(--paper);
}

.kpi small {
  color: var(--ink-2);
  font-size: 0.75rem;
}

.kpi b {
  font: 700 1.75rem/1 var(--display);
}

.kpi--warn b {
  color: var(--signal);
}

.bars {
  grid-column: 1 / -1;
  display: flex;
  align-items: flex-end;
  gap: 8px;
  height: 84px;
  padding-top: 8px;
}

.bars i {
  flex: 1;
  border-radius: 4px 4px 0 0;
  background: var(--green);
}

.bars i:nth-child(1) { height: 52%; }
.bars i:nth-child(2) { height: 61%; }
.bars i:nth-child(3) { height: 48%; }
.bars i:nth-child(4) { height: 70%; }
.bars i:nth-child(5) { height: 58%; }
.bars i:nth-child(6) { height: 92%; background: var(--tag-deep); }
.bars i:nth-child(7) { height: 63%; }
.bars i:nth-child(8) { height: 55%; }

.mock__caption {
  grid-column: 1 / -1;
  color: var(--ink-2);
  font-size: 0.75rem;
}

.mock__head,
.mock__foot {
  display: flex;
  justify-content: space-between;
  gap: 10px;
}

.mock__head span,
.mock__foot {
  color: var(--ink-2);
}

.mock--wo ul {
  list-style: none;
  margin: 14px 0;
  padding: 0;
  display: grid;
  gap: 8px;
}

.mock--wo li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 10px;
  background: var(--paper);
}

.mock--wo li::before {
  content: "";
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #a8b0ab;
}

.mock--wo li.is-done::before {
  background: var(--green);
  border-color: var(--green);
}

.mock--wo li.is-doing::before {
  border-color: var(--tag-deep);
  background: var(--tag);
}

.phone {
  width: min(250px, 100%);
  margin-inline: auto;
  padding: 12px;
  border-radius: 34px;
  background: #0b120e;
  box-shadow: 0 30px 50px -30px rgb(0 0 0 / 0.7), inset 0 0 0 2px #2c3631;
}

.phone__screen {
  display: grid;
  gap: 6px;
  padding: 22px 16px 16px;
  border-radius: 24px;
  background: #fff;
  color: var(--ink);
  font-size: 0.875rem;
}

.phone__screen small {
  color: var(--ink-2);
  font-size: 0.75rem;
  margin-bottom: 6px;
}

.phone ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 6px;
}

.phone li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 10px;
  background: var(--paper);
}

.phone li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 5px;
  border: 2px solid #a8b0ab;
  transition: background-color 0.25s, border-color 0.25s;
}

.phone.is-checked li::before {
  border-color: var(--green);
  background: var(--green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 14px no-repeat;
}

.phone.is-checked li:nth-child(2)::before { transition-delay: 0.35s; }
.phone.is-checked li:nth-child(3)::before { transition-delay: 0.7s; }
.phone.is-checked li:nth-child(4)::before { transition-delay: 1.05s; }
.phone.is-checked li:nth-child(5)::before { transition-delay: 1.4s; }

.phone__button {
  margin-top: 8px;
  padding: 12px;
  border-radius: 12px;
  text-align: center;
  font-weight: 600;
  background: var(--ink);
  color: #fff;
}

@media (max-width: 960px) {
  .seats {
    grid-template-columns: 1fr;
    gap: 56px;
  }

  .mock {
    max-width: 460px;
  }
}

/* ------------------------------------------------------------------ fleets */

.fleets {
  position: relative;
  z-index: 3;
  padding: clamp(80px, 12vh, 140px) 0 clamp(60px, 9vh, 110px);
  background: var(--paper);
  overflow: hidden;
}

.fleets h2 {
  max-width: 18ch;
  margin-bottom: 16px;
}

.fleets .wrap > p {
  color: var(--ink-2);
  max-width: 34rem;
}

.lanes {
  margin-top: clamp(40px, 7vh, 72px);
  display: grid;
  gap: 18px;
}

.lane {
  position: relative;
  padding-bottom: 14px;
}

.lane::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 6px;
  background: linear-gradient(90deg, #9aa29d 0 50%, transparent 0) 0 0 / 44px 6px repeat-x;
  opacity: 0.6;
}

.lane__track {
  --x: 0;
  display: flex;
  gap: clamp(28px, 4vw, 60px);
  width: max-content;
  padding-inline: 4vw;
  transform: translateX(calc(var(--x) * 38vw));
}

.lane--back .lane__track {
  transform: translateX(calc(var(--x) * 38vw - 12vw));
}

.veh {
  margin: 0;
  display: grid;
  gap: 8px;
  justify-items: center;
}

.veh svg {
  width: clamp(150px, 15vw, 210px);
  height: auto;
}

.veh figcaption {
  font-weight: 600;
  font-size: 0.9375rem;
  color: var(--ink-2);
}

.v-body {
  fill: var(--green);
}

.v-accent {
  fill: var(--green-deep);
}

.v-tag {
  fill: var(--tag-deep);
}

.v-glass {
  fill: #cfe6da;
}

.v-wheel {
  fill: #101814;
  stroke: var(--paper);
  stroke-width: 3;
}

/* ------------------------------------------------------------------ pricing */

.pricing {
  position: relative;
  z-index: 3;
  padding: clamp(80px, 12vh, 140px) 0;
  background: var(--concrete);
}

.pricing h2 {
  max-width: 16ch;
  margin-bottom: clamp(32px, 5vh, 56px);
}

.plans {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 3px solid var(--ink);
}

.plan {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 28px clamp(18px, 2.4vw, 36px) 34px;
  border-right: 1px solid var(--line);
}

.plan:last-child {
  border-right: 0;
}

.plan h3 {
  font-size: 2.5rem;
}

.plan__sub {
  color: var(--ink-2);
}

.plan ul {
  list-style: none;
  margin: 14px 0 26px;
  padding: 0;
  display: grid;
  gap: 10px;
  flex: 1;
}

.plan li {
  padding-left: 26px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%231f7a4c' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") 0 0.2em / 18px no-repeat;
}

.plan .btn {
  align-self: flex-start;
}

.plan--featured {
  background: var(--green-deep);
  color: #fff;
  border-right: 0;
}

.plan--featured .plan__sub {
  color: rgb(255 255 255 / 0.75);
}

.plan--featured li {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23ffce3a' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

@media (max-width: 860px) {
  .plans {
    grid-template-columns: 1fr;
  }

  .plan {
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

/* ------------------------------------------------------------------ demo */

.demo {
  position: relative;
  z-index: 3;
  padding: clamp(90px, 14vh, 160px) 0;
  background: var(--green);
  color: #fff;
  overflow: hidden;
}

.demo__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: clamp(40px, 6vw, 96px);
  align-items: center;
}

.demo h2 {
  font-size: clamp(3rem, 7vw, 6.5rem);
  font-weight: 800;
  line-height: 0.88;
  margin-bottom: 22px;
  max-width: 12ch;
}

.demo p {
  max-width: 30rem;
  color: rgb(255 255 255 / 0.9);
}

.demo__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.sticker {
  justify-self: center;
  width: min(360px, 100%);
  padding: 22px 24px 26px;
  border-radius: 18px;
  background: #fff;
  color: var(--ink);
  rotate: -5deg;
  box-shadow: 0 34px 60px -30px rgb(0 0 0 / 0.55);
  position: relative;
}

/* curled corner */
.sticker::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  width: 54px;
  height: 54px;
  border-radius: 0 0 18px 0;
  background: linear-gradient(135deg, #d9dfda 0 50%, var(--green) 50%);
  box-shadow: -4px -4px 10px -6px rgb(0 0 0 / 0.4);
}

.sticker__head {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 10px;
  border-bottom: 3px solid var(--ink);
}

.sticker__mark {
  width: 40px;
  height: 40px;
}

.sticker__head b {
  font: 800 2.125rem/1 var(--display);
}

.sticker__field {
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: baseline;
  gap: 10px;
  padding: 10px 0 6px;
  border-bottom: 1.5px dashed #a8b0ab;
}

.sticker__field span {
  font-weight: 600;
  color: var(--ink-2);
}

.sticker__field em {
  font: italic 600 1.375rem/1.2 var(--display);
  color: var(--green-deep);
}

@media (max-width: 860px) {
  .demo__grid {
    grid-template-columns: 1fr;
  }

  .sticker {
    rotate: -3deg;
  }
}

/* ------------------------------------------------------------------ footer */

.foot {
  position: relative;
  z-index: 3;
  padding: 36px 0;
  background: var(--green-ink);
  color: rgb(255 255 255 / 0.8);
}

.foot__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px 36px;
}

.foot .brand {
  color: #fff;
  font-size: 1.5rem;
}

.foot nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.foot nav a {
  text-decoration: none;
}

.foot nav a:hover {
  text-decoration: underline;
}

.foot small {
  margin-left: auto;
}

/* ------------------------------------------------------------------ small screens */

/* "Fleet Department" is wider than the old name, so the four links give way a little earlier. */
@media (max-width: 1100px) {
  .nav__links {
    display: none;
  }
}

@media (max-width: 560px) {
  :root {
    --nav-h: 62px;
  }

  .nav__signin {
    display: none;
  }

  .brand {
    font-size: 1.5rem;
  }

  /* On a 360 px phone "Fleet Department" on one line leaves no room for the demo button (about 196 px
     for the name, 137 px for the button, 320 px of header). So in the header it sets on two lines,
     "Fleet" over "Department", as tall as the mark; the footer has room and keeps one line. */
  .nav__inner {
    gap: 12px;
  }

  .nav .brand {
    gap: 8px;
    font-size: 1.1rem;
    line-height: 0.9;
  }

  .nav .brand span {
    width: min-content;
  }

  .hero__title {
    font-size: clamp(3.4rem, 17vw, 5rem);
  }

  .hero__actions .btn {
    flex: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
