.fleet-hero {
  position: relative;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(6, 27, 73, 0.98), rgba(13, 44, 103, 0.92)),
    var(--navy);
}

.fleet-hero::before {
  position: absolute;
  inset: auto -14% -24% 36%;
  height: 58%;
  content: "";
  background: rgba(79, 127, 36, 0.2);
  transform: skewY(-8deg);
}

.fleet-hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.94fr) minmax(420px, 0.82fr);
  gap: 48px;
  align-items: center;
  min-height: 720px;
  padding: 78px 0 96px;
}

.fleet-hero-copy h1 {
  max-width: 780px;
  margin: 0;
  color: var(--white);
  font-size: 3.325rem;
  font-weight: 900;
  line-height: 1.03;
}

.fleet-hero-copy p {
  max-width: 650px;
  margin: 22px 0 0;
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.08rem;
}

.fleet-hero-visual {
  position: relative;
  min-height: 440px;
  display: grid;
  place-items: center;
  padding: 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 22px 56px rgba(0, 0, 0, 0.26);
  backdrop-filter: blur(12px);
}

.fleet-hero-visual img {
  width: 100%;
  max-height: 330px;
  object-fit: contain;
  filter: drop-shadow(0 24px 24px rgba(0, 0, 0, 0.3));
}

.fleet-playback-button {
  position: absolute;
  top: 20px;
  right: 20px;
  bottom: auto;
  left: auto;
  z-index: 5;
  margin: 0;
  transform: none;
}

.fleet-playback-button .transit-playback-button__icon {
  border: 0;
  background: transparent url("/images/layout/angeltrax-playback-button-gold.png") center / 350% auto no-repeat;
}

.fleet-playback-button .transit-playback-button__icon::before,
.fleet-playback-button .transit-playback-button__icon::after {
  content: none;
}

.fleet-pill {
  position: absolute;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  color: var(--navy);
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
  border-radius: 6px;
  background: var(--white);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.fleet-pill::before {
  width: 10px;
  height: 10px;
  margin-right: 8px;
  content: "";
  border-radius: 50%;
  background: var(--green);
}

.fleet-pill.ai {
  left: 7%;
  top: 16%;
}

.fleet-pill.coaching {
  right: 5%;
  top: 44%;
}

.fleet-pill.tracking {
  left: 5%;
  bottom: 18%;
}

.fleet-pill.evidence {
  right: 8%;
  bottom: 13%;
}

.fleet-proof-band {
  color: var(--white);
  background: var(--navy);
  border-top: 4px solid var(--orange);
}

.fleet-proof-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.fleet-proof-item {
  position: relative;
  min-height: 92px;
  margin: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.fleet-proof-item:first-child {
  border-left: 0;
}

.fleet-proof-trigger {
  position: relative;
  width: 100%;
  min-height: 92px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 3px;
  padding: 18px 42px 18px 20px;
  color: inherit;
  text-align: left;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, box-shadow 180ms ease;
}

.fleet-proof-trigger::after {
  position: absolute;
  right: 18px;
  top: 50%;
  width: 10px;
  height: 10px;
  content: "";
  border-top: 2px solid var(--orange);
  border-right: 2px solid var(--orange);
  transform: translateY(-50%) rotate(45deg);
  transition: transform 180ms ease;
}

.fleet-proof-trigger:hover,
.fleet-proof-trigger:focus-visible {
  color: var(--white);
  background: rgba(255, 207, 0, 0.1);
  box-shadow: inset 0 -3px 0 var(--orange);
  outline: none;
}

.fleet-proof-trigger:hover::after,
.fleet-proof-trigger:focus-visible::after {
  transform: translate(3px, -50%) rotate(45deg);
}

.fleet-proof-trigger strong {
  color: var(--white);
  font-size: 0.92rem;
  line-height: 1.1;
  text-transform: uppercase;
}

.fleet-proof-trigger > span:not(.fleet-proof-hint) {
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.86rem;
}

.fleet-proof-hint {
  margin-top: 5px;
  color: var(--orange);
  font-size: 0.68rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.fleet-proof-preview {
  position: fixed;
  inset: 0;
  z-index: 1500;
  box-sizing: border-box;
  display: grid;
  place-items: center;
  padding: clamp(18px, 5vw, 72px);
  overflow: hidden;
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.64);
  backdrop-filter: blur(5px);
  transition: opacity 180ms ease, visibility 180ms ease;
}

.fleet-proof-preview img {
  width: auto;
  height: auto;
  max-width: min(980px, calc(100vw - 36px));
  max-height: calc(100vh - 36px);
  object-fit: contain;
  border: 1px solid rgba(255, 207, 0, 0.76);
  border-radius: 14px;
  background: #050505;
  box-shadow: 0 28px 76px rgba(0, 0, 0, 0.72), 0 0 30px rgba(255, 207, 0, 0.12);
  transform: translateY(12px) scale(0.985);
  transition: transform 180ms ease;
}

.fleet-proof-item:hover .fleet-proof-preview,
.fleet-proof-item:focus-within .fleet-proof-preview {
  visibility: visible;
  opacity: 1;
}

.fleet-proof-item:hover .fleet-proof-preview img,
.fleet-proof-item:focus-within .fleet-proof-preview img {
  transform: translateY(0) scale(1);
}

.fleet-outcomes-section,
.fleet-risk-section,
.fleet-proof-section {
  background: var(--soft);
}

.fleet-outcome-grid,
.risk-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.fleet-outcome-grid article,
.risk-grid article,
.customer-card {
  min-height: 312px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 26px rgba(8, 28, 72, 0.06);
}

.fleet-outcome-grid h3,
.risk-grid h3,
.customer-card h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.16;
}

.fleet-outcome-grid p,
.risk-grid p,
.customer-card p {
  color: var(--muted);
}

.fleet-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--white);
  background: var(--navy);
  border-radius: 50%;
  font-weight: 900;
}

.fleet-icon.amber {
  background: var(--orange);
}

.fleet-icon.green {
  background: var(--green);
}

.fleet-icon.blue {
  background: var(--blue);
}

.vx4ai-section,
.fleet-platform-section,
.fleet-software-section {
  background: var(--white);
}

.vx4ai-layout,
.coaching-layout,
.fleet-platform-layout,
.fleet-wireless-layout,
.fleet-software-layout,
.customer-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.96fr) minmax(0, 1fr);
  gap: 50px;
  align-items: center;
}

.vx4ai-stage,
.fleet-platform-media,
.software-media {
  min-height: 480px;
  position: relative;
  display: grid;
  align-items: center;
  padding: 28px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(244, 247, 251, 0.94), rgba(255, 255, 255, 0.82)),
    var(--soft);
  box-shadow: var(--shadow);
}

body.theme-black main .vx4ai-section .vx4ai-stage {
  background: #050505;
}

.vx4ai-product-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

.vx4ai-product-link:hover,
.vx4ai-product-link:focus-visible {
  transform: translateY(-4px);
  border-color: var(--orange);
  box-shadow:
    0 0 0 2px rgba(255, 204, 0, 0.16),
    0 28px 64px rgba(0, 0, 0, 0.34);
  outline: none;
}

.vx4ai-product-link__label {
  position: absolute;
  right: 20px;
  bottom: 20px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 10px 14px;
  color: #050505;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  border-radius: 6px;
  background: var(--orange);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  transition: background-color 180ms ease, transform 180ms ease;
}

.vx4ai-product-link:hover .vx4ai-product-link__label,
.vx4ai-product-link:focus-visible .vx4ai-product-link__label {
  background: #fff0a8;
  transform: translateX(-3px);
}

.vx4ai-front {
  width: 76%;
  justify-self: end;
  filter: drop-shadow(0 18px 22px rgba(6, 27, 73, 0.18));
}

.vx4ai-side {
  width: 66%;
  position: absolute;
  left: 24px;
  bottom: 30px;
  filter: drop-shadow(0 14px 20px rgba(6, 27, 73, 0.16));
}

.fleet-spec-list,
.software-list {
  display: grid;
  gap: 12px;
  margin-top: 26px;
}

.fleet-spec-list div,
.fleet-spec-list a,
.software-list div,
.software-list a {
  min-height: 94px;
  display: grid;
  align-content: center;
  padding: 16px;
  color: inherit;
  text-decoration: none;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 26px rgba(8, 28, 72, 0.06);
}

.fleet-spec-list strong,
.fleet-spec-list span,
.software-list strong,
.software-list span {
  display: block;
}

.fleet-spec-list strong,
.software-list strong {
  color: var(--navy);
  line-height: 1.16;
}

.fleet-spec-list span,
.software-list span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.88rem;
}

.dark-link {
  display: inline-block;
  margin-top: 22px;
  color: var(--navy);
}

.coaching-section,
.fleet-wireless-section {
  color: var(--white);
  background:
    linear-gradient(135deg, var(--navy) 0%, var(--navy-2) 68%, #173f83 100%);
}

.coaching-section h2,
.coaching-section p,
.fleet-wireless-section h2,
.fleet-wireless-section p {
  color: var(--white);
}

.coaching-section p,
.fleet-wireless-section p {
  color: rgba(255, 255, 255, 0.8);
}

.driver-dashboard,
.wireless-board {
  min-height: 420px;
  padding: 24px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow);
}

.driver-dashboard {
  background: #050505;
}

.driver-dashboard-link {
  color: inherit;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    background 180ms ease,
    box-shadow 180ms ease;
}

.driver-dashboard-link:hover,
.driver-dashboard-link:focus-visible {
  border-color: var(--orange);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.52),
    0 0 0 1px rgba(255, 210, 4, 0.34);
  outline: none;
  transform: translateY(-4px);
}

.driver-dashboard-link:focus-visible {
  outline: 2px solid var(--orange);
  outline-offset: 3px;
}

.event-row {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 14px;
  align-items: center;
  margin-top: 16px;
  color: var(--ink);
  font-weight: 800;
}

.risk-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.risk-grid article {
  min-height: 330px;
}

.risk-grid img {
  width: 58px;
  height: 58px;
  margin-bottom: 20px;
  object-fit: contain;
}

.recorders-img {
  width: 82%;
  justify-self: end;
  filter: drop-shadow(0 18px 22px rgba(6, 27, 73, 0.16));
}

.cameras-img {
  width: 76%;
  position: absolute;
  left: 22px;
  bottom: 24px;
  filter: drop-shadow(0 14px 20px rgba(6, 27, 73, 0.14));
}

.wireless-node.main {
  min-height: 84px;
  display: grid;
  place-items: center;
  color: var(--white);
  font-size: 1.35rem;
  font-weight: 900;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--navy), var(--blue));
}

.wireless-line {
  width: 3px;
  height: 42px;
  margin: 0 auto;
  background: var(--orange);
}

.wireless-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.wireless-grid div {
  min-height: 112px;
  display: grid;
  align-content: center;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft);
}

.wireless-grid strong {
  color: var(--navy);
  line-height: 1.16;
}

.wireless-grid span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.88rem;
}

.software-media img {
  width: 100%;
  object-fit: contain;
  filter: drop-shadow(0 18px 22px rgba(6, 27, 73, 0.16));
}

.customer-layout {
  grid-template-columns: minmax(0, 0.92fr) minmax(0, 0.74fr);
}

.customer-card {
  min-height: 260px;
}

.customer-card::before {
  display: block;
  margin-bottom: 18px;
  color: var(--orange);
  content: "Customer proof";
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.customer-card strong {
  display: block;
  color: var(--navy);
  line-height: 1.16;
}

.customer-card span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 0.88rem;
}

.fleet-cta {
  background: var(--white);
}

@media (max-width: 1080px) {
  .fleet-hero-inner,
  .vx4ai-layout,
  .coaching-layout,
  .fleet-platform-layout,
  .fleet-wireless-layout,
  .fleet-software-layout,
  .customer-layout {
    grid-template-columns: 1fr;
  }

  .fleet-hero-copy h1 {
  font-size: 2.8rem;
  }

  .fleet-proof-grid,
  .fleet-outcome-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fleet-proof-item:nth-child(3) {
    border-left: 0;
  }
}

@media (max-width: 720px) {
  .fleet-hero-inner {
    min-height: auto;
    padding: 56px 0 66px;
  }

  .fleet-hero-copy h1 {
  font-size: 2.1rem;
  }

  .fleet-hero-visual {
    min-height: 360px;
    padding: 18px;
  }

  .fleet-playback-button {
    top: 12px;
    right: 12px;
  }

  .fleet-pill {
    position: static;
    width: 100%;
    margin-top: 8px;
  }

  .fleet-proof-grid,
  .fleet-outcome-grid,
  .risk-grid,
  .wireless-grid {
    grid-template-columns: 1fr;
  }

  .fleet-proof-item {
    border-left: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.18);
  }

  .fleet-proof-item:first-child {
    border-top: 0;
  }

  .fleet-proof-preview {
    padding: 14px;
  }

  .fleet-proof-preview img {
    width: auto;
    max-width: calc(100vw - 28px);
    max-height: calc(100vh - 28px);
  }

  .vx4ai-stage,
  .fleet-platform-media,
  .software-media {
    min-height: 380px;
  }

  .event-row {
    grid-template-columns: 1fr;
    gap: 8px;
  }
}

/* Recommended tractor camera configuration */
.fleet-config-modal .fleet-config-modal__dialog,
.fleet-config-modal .fleet-config-modal__dialog:not(.is-single-view) {
  width: min(1500px, 96vw);
  height: min(92vh, 980px);
  height: min(92dvh, 980px);
  max-height: 92vh;
  overflow: hidden;
}

.fleet-config-modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  padding: 24px 26px 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.fleet-config-modal__header .eyebrow {
  margin: 0 0 7px;
}

.fleet-config-modal__header h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.65rem, 3vw, 2.45rem);
  line-height: 1.05;
}

.fleet-config-modal__header p:last-child {
  margin: 8px 0 0;
  color: rgba(255, 255, 255, 0.72);
}

.fleet-config-modal__close {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  padding: 10px;
}

.fleet-config-modal__close svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.fleet-config-modal__body {
  min-height: 0;
  overflow-y: auto;
  padding: 22px 26px 28px;
}

.fleet-config-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 28px;
  align-items: end;
}

.fleet-config-intro .eyebrow {
  margin: 0 0 6px;
}

.fleet-config-intro h3 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.35rem, 2.5vw, 2rem);
}

.fleet-config-intro p:last-child {
  max-width: 850px;
  margin: 9px 0 0;
  color: rgba(255, 255, 255, 0.7);
}

.fleet-config-counts {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  gap: 8px;
  margin: 0;
}

.fleet-config-counts div {
  min-width: 130px;
  padding: 12px 14px;
  border: 1px solid #303038;
  border-radius: 7px;
  background: #141416;
}

.fleet-config-counts dt {
  color: #aaaab2;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.fleet-config-counts dd {
  margin: 4px 0 0;
  color: #ffd204;
  font-size: 1.45rem;
  font-weight: 900;
}

.fleet-config-toolbar {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0 14px;
}

.fleet-config-toolbar label {
  color: #fff;
  font-weight: 850;
}

.fleet-config-toolbar select {
  width: min(530px, 100%);
  min-height: 46px;
  padding: 0 42px 0 15px;
  color: #fff;
  border: 1px solid rgba(255, 210, 4, 0.7);
  border-radius: 6px;
  background: #111114;
}

.fleet-config-toolbar p {
  margin: 0;
  color: #aaaab2;
  font-size: 0.84rem;
}

.fleet-config-stage {
  position: relative;
  overflow: hidden;
  user-select: none;
  border: 1px solid #35353b;
  border-radius: 10px;
  background: #0d0f13;
}

.fleet-config-stage svg {
  display: block;
  width: 100%;
  height: auto;
}

.fleet-config-coverage {
  opacity: 0;
  fill: rgba(22, 140, 255, 0.24);
  stroke: #168cff;
  stroke-width: 7;
  stroke-linejoin: round;
  pointer-events: none;
  transition: opacity 180ms ease, fill 180ms ease;
}

.fleet-config-coverage--exterior {
  fill: url(#fleet-exterior-fill-fade);
  stroke: none;
}

.fleet-config-coverage--exterior.is-selected {
  fill: url(#fleet-exterior-fill-fade);
  stroke: none;
  filter: drop-shadow(0 0 8px rgba(255, 210, 4, 0.6));
}

.fleet-config-exterior-edge {
  opacity: 0;
  fill: none;
  stroke: url(#fleet-exterior-line-fade);
  stroke-width: 7;
  stroke-linecap: round;
  vector-effect: non-scaling-stroke;
  pointer-events: none;
  transition: opacity 180ms ease, stroke-width 180ms ease;
}

.fleet-config-exterior-edge.is-visible {
  opacity: 1;
}

.fleet-config-exterior-edge.is-selected {
  stroke-width: 10;
  filter: drop-shadow(0 0 8px rgba(255, 210, 4, 0.75));
}

.fleet-config-coverage.is-visible {
  opacity: 1;
}

.fleet-config-coverage.is-selected {
  fill: rgba(22, 140, 255, 0.36);
  stroke-width: 10;
  filter: drop-shadow(0 0 9px rgba(22, 140, 255, 0.72));
}

.fleet-dual-camera-housing rect {
  fill: #08090b;
  stroke: #ffd204;
  stroke-width: 5;
}

.fleet-camera-marker {
  cursor: pointer;
  outline: none;
}

.fleet-camera-marker--draggable {
  cursor: grab;
  touch-action: none;
}

.fleet-camera-marker--draggable.is-dragging {
  cursor: grabbing;
}

.fleet-camera-marker--draggable.is-dragging circle {
  stroke: #fff;
  stroke-width: 9;
  filter: drop-shadow(0 0 12px rgba(255, 210, 4, 1));
}

.fleet-camera-marker circle {
  fill: #07090b;
  stroke: #168cff;
  stroke-width: 6;
  transition: stroke 160ms ease, filter 160ms ease, transform 160ms ease;
}

.fleet-camera-marker text {
  fill: #fff;
  font-size: 16px;
  font-weight: 900;
  text-anchor: middle;
  pointer-events: none;
}

.fleet-camera-marker--lens text {
  font-size: 9px;
}

.fleet-camera-marker:hover circle,
.fleet-camera-marker:focus circle,
.fleet-camera-marker.is-selected circle {
  stroke: #ffd204;
  filter: drop-shadow(0 0 8px rgba(255, 210, 4, 0.9));
}

.fleet-camera-hover-preview {
  position: absolute;
  z-index: 6;
  top: 16px;
  right: 16px;
  width: min(520px, 44%);
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  border: 2px solid #ffd204;
  border-radius: 9px;
  background: #08090b;
  box-shadow: 0 20px 52px rgba(0, 0, 0, 0.82);
  transform: translateY(-8px);
  transition: opacity 150ms ease, transform 150ms ease, visibility 150ms ease;
}

.fleet-camera-hover-preview.is-visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.fleet-camera-hover-preview img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.fleet-camera-hover-preview p {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  margin: 0;
  padding: 10px 12px;
  color: #fff;
  font-size: 0.78rem;
}

.fleet-camera-hover-preview span {
  color: #b9b9bf;
}

.fleet-config-detail {
  margin-top: 14px;
  padding: 13px 15px;
  color: #d1d1d5;
  border-left: 4px solid #168cff;
  background: #151517;
}

.fleet-config-detail strong {
  color: #fff;
}

.fleet-config-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
  margin-top: 18px;
}

.sync-video-config-action {
  display: flex;
  justify-content: center;
  margin-top: 14px;
}

@media (max-width: 900px) {
  .fleet-config-intro {
    grid-template-columns: 1fr;
  }

  .fleet-config-counts {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .fleet-config-counts div {
    min-width: 0;
  }

  .fleet-config-toolbar {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 620px) {
  .fleet-config-modal {
    padding: 2vh 2vw;
  }

  .fleet-config-modal .fleet-config-modal__dialog,
  .fleet-config-modal .fleet-config-modal__dialog:not(.is-single-view) {
    width: 96vw;
    height: 96vh;
    height: 96dvh;
    max-height: 96vh;
  }

  .fleet-config-modal__header,
  .fleet-config-modal__body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .fleet-config-counts {
    grid-template-columns: 1fr;
  }

  .fleet-config-actions {
    justify-content: stretch;
  }

  .fleet-config-actions .button {
    width: 100%;
  }

  .fleet-camera-hover-preview {
    top: 8px;
    right: 8px;
    width: 56%;
  }

  .fleet-camera-hover-preview p {
    display: block;
  }

  .fleet-camera-hover-preview span {
    display: block;
    margin-top: 2px;
  }
}

/* Fleet card system: aligned with the interactive School page cards. */
body.theme-black.fleet-page main .fleet-proof-band {
  padding: 18px 0;
  border-top-color: #ffd204;
  background: #080808;
}

body.theme-black.fleet-page main .fleet-proof-grid,
body.theme-black.fleet-page main .fleet-outcome-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

body.theme-black.fleet-page main .risk-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

body.theme-black.fleet-page main .fleet-feature-card {
  position: relative;
  min-width: 0;
  min-height: 286px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 22px;
  color: #f6f6f7 !important;
  text-align: left;
  border: 2px solid #343438 !important;
  border-radius: 14px;
  background: linear-gradient(145deg, #18181b, #101012) !important;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.24);
  cursor: pointer;
  isolation: isolate;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background-color 180ms ease;
}

body.theme-black.fleet-page main .fleet-feature-card--priority {
  min-height: 190px;
}

body.theme-black.fleet-page main .fleet-feature-card::after {
  position: absolute;
  inset: auto 20px 16px auto;
  width: 9px;
  height: 9px;
  content: "";
  border-top: 2px solid #ffd204;
  border-right: 2px solid #ffd204;
  transform: rotate(45deg);
  transition: transform 180ms ease;
}

body.theme-black.fleet-page main .fleet-feature-card:hover,
body.theme-black.fleet-page main .fleet-feature-card:focus-visible {
  border-color: #ffd204 !important;
  background: linear-gradient(145deg, #202024, #111113) !important;
  box-shadow:
    0 18px 38px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(255, 210, 4, 0.16),
    0 0 24px rgba(255, 210, 4, 0.12);
  outline: none;
  transform: translateY(-5px);
}

body.theme-black.fleet-page main .fleet-feature-card:hover::after,
body.theme-black.fleet-page main .fleet-feature-card:focus-visible::after {
  transform: translateX(4px) rotate(45deg);
}

body.theme-black.fleet-page main .fleet-feature-icon {
  width: 50px;
  height: 50px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 18px;
  color: #ffd204;
  border: 1px solid rgba(255, 210, 4, 0.48);
  border-radius: 50%;
  background: rgba(255, 210, 4, 0.08);
}

body.theme-black.fleet-page main .fleet-feature-icon svg {
  width: 27px;
  height: 27px;
  fill: currentColor;
}

body.theme-black.fleet-page main .fleet-feature-card strong,
body.theme-black.fleet-page main .fleet-feature-card h3 {
  margin: 0;
  color: #fff !important;
  font-family: inherit;
  font-size: 1.08rem;
  font-weight: 900;
  line-height: 1.18;
}

body.theme-black.fleet-page main .fleet-feature-card--priority strong {
  text-transform: uppercase;
}

body.theme-black.fleet-page main .fleet-feature-card > span:not(.fleet-feature-icon):not(.fleet-feature-cue),
body.theme-black.fleet-page main .fleet-feature-card p {
  margin: 9px 0 0;
  color: #c7c7cc !important;
  font-size: 0.92rem;
  line-height: 1.52;
}

body.theme-black.fleet-page main .fleet-feature-cue {
  margin-top: auto;
  padding-top: 20px;
  color: #ffd204 !important;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

body.theme-black.fleet-page main :is(
  .fleet-spec-list > div,
  .fleet-spec-list > a,
  .capability-grid > a,
  .wireless-grid > div,
  .software-list > div,
  .software-list > a,
  .customer-card
) {
  border: 2px solid #343438 !important;
  background: #151517 !important;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease;
}

body.theme-black.fleet-page main :is(
  .fleet-spec-list > div,
  .fleet-spec-list > a,
  .capability-grid > a,
  .wireless-grid > div,
  .software-list > div,
  .software-list > a,
  .customer-card
):hover,
body.theme-black.fleet-page main :is(
  .fleet-spec-list > a,
  .capability-grid > a,
  .software-list > a
):focus-visible {
  border-color: #ffd204 !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34), 0 0 22px rgba(255, 210, 4, 0.1);
  outline: none;
  transform: translateY(-4px);
}

body.theme-black.fleet-page main :is(
  .fleet-spec-list > a,
  .capability-grid > a,
  .software-list > a
):focus-visible {
  outline: 2px solid #ffd204;
  outline-offset: 3px;
}

body.theme-black.fleet-page main :is(.capability-grid > a):focus-visible {
  border-color: #ffd204 !important;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.34), 0 0 22px rgba(255, 210, 4, 0.1);
  outline: none;
  transform: translateY(-4px);
}

body.fleet-card-modal-open {
  overflow: hidden;
}

.fleet-card-modal[hidden] {
  display: none;
}

.fleet-card-modal {
  position: fixed;
  inset: 0;
  z-index: 2500;
  display: grid;
  place-items: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.fleet-card-modal.is-open {
  opacity: 1;
  visibility: visible;
}

.fleet-card-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.82);
  backdrop-filter: blur(7px);
}

.fleet-card-panel {
  position: relative;
  width: min(1180px, calc(100vw - 48px));
  max-height: min(820px, calc(100vh - 48px));
  display: grid;
  grid-template-columns: minmax(0, 1.28fr) minmax(320px, 0.72fr);
  overflow: hidden;
  color: #fff;
  border: 1px solid #ffd204;
  border-radius: 18px;
  background: #101012;
  box-shadow: 0 30px 90px rgba(0, 0, 0, 0.72);
  outline: none;
  transform: translateY(16px) scale(0.985);
  transition: transform 180ms ease;
}

.fleet-card-modal.is-open .fleet-card-panel {
  transform: translateY(0) scale(1);
}

.fleet-card-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: #050506;
}

.fleet-card-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.fleet-card-visual::after {
  position: absolute;
  inset: auto 0 0;
  height: 34%;
  content: "";
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.82));
  pointer-events: none;
}

.fleet-card-visual > span {
  position: absolute;
  left: 22px;
  bottom: 20px;
  z-index: 1;
  color: #ffd204;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fleet-card-content {
  min-width: 0;
  padding: 54px 58px 48px 34px;
  overflow: auto;
}

.fleet-card-count {
  margin: 0 0 10px;
  color: #8f8f96;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.fleet-card-content .eyebrow {
  margin: 0 0 10px;
  color: #ffd204;
}

.fleet-card-content h2 {
  margin: 0;
  color: #fff;
  font-size: clamp(1.7rem, 3vw, 2.55rem);
  line-height: 1.06;
}

.fleet-card-lead {
  margin: 18px 0 0;
  color: #d1d1d5;
  line-height: 1.58;
}

.fleet-card-content ul {
  display: grid;
  gap: 12px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
}

.fleet-card-content li {
  position: relative;
  padding-left: 22px;
  color: #f0f0f2;
  line-height: 1.4;
}

.fleet-card-content li::before {
  position: absolute;
  left: 0;
  top: 0.58em;
  width: 8px;
  height: 8px;
  content: "";
  border-radius: 50%;
  background: #ffd204;
  transform: translateY(-50%);
}

.fleet-card-note {
  margin: 26px 0 0;
  padding: 15px 16px;
  color: #d7d7dc;
  border-left: 4px solid #ffd204;
  background: #1b1b1e;
  line-height: 1.48;
}

.fleet-card-close {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 3;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  color: #fff;
  font-size: 1.6rem;
  line-height: 1;
  border: 1px solid #44444a;
  border-radius: 9px;
  background: #1c1c1f;
  cursor: pointer;
}

.fleet-card-close:hover,
.fleet-card-close:focus-visible {
  color: #050505;
  border-color: #ffd204;
  background: #ffd204;
  outline: none;
}

.fleet-card-next {
  position: absolute;
  right: 12px;
  top: 50%;
  z-index: 3;
  width: 42px;
  height: 66px;
  display: grid;
  place-items: center;
  color: #050505;
  border: 1px solid #ffd204;
  border-radius: 10px;
  background: #ffd204;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.38);
  cursor: pointer;
  transform: translateY(-50%);
}

.fleet-card-next span {
  font-size: 2.2rem;
  line-height: 1;
}

.fleet-card-next:hover,
.fleet-card-next:focus-visible {
  color: #ffd204;
  background: #111113;
  outline: none;
}

@media (max-width: 980px) {
  body.theme-black.fleet-page main .fleet-proof-grid,
  body.theme-black.fleet-page main .fleet-outcome-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .fleet-card-panel {
    grid-template-columns: 1fr;
    overflow: auto;
  }

  .fleet-card-visual {
    min-height: 330px;
    aspect-ratio: 16 / 9;
  }

  .fleet-card-content {
    overflow: visible;
    padding: 30px 56px 34px 26px;
  }
}

@media (max-width: 720px) {
  body.theme-black.fleet-page main .fleet-proof-grid,
  body.theme-black.fleet-page main .fleet-outcome-grid,
  body.theme-black.fleet-page main .risk-grid {
    grid-template-columns: 1fr;
  }

  body.theme-black.fleet-page main .fleet-feature-card,
  body.theme-black.fleet-page main .fleet-feature-card--priority {
    min-height: 220px;
  }

  .fleet-card-modal {
    padding: 10px;
  }

  .fleet-card-panel {
    width: calc(100vw - 20px);
    max-height: calc(100dvh - 20px);
    border-radius: 12px;
  }

  .fleet-card-visual {
    min-height: 220px;
  }

  .fleet-card-content {
    padding: 26px 50px 30px 20px;
  }

  .fleet-card-next {
    right: 8px;
    width: 38px;
    height: 58px;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.theme-black.fleet-page main .fleet-feature-card,
  .fleet-card-modal,
  .fleet-card-panel {
    transition: none;
  }
}
