.home-page .hero-route-motion {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.home-page .hero-route-track {
  stroke: #b0d6f5;
  stroke-width: 1;
  stroke-opacity: .22;
}

.home-page .hero-route-packet {
  stroke: #def1fe;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 28 972;
  stroke-dashoffset: 1000;
  opacity: .9;
}

.home-page .hero-route-lane-1 .hero-route-packet { stroke: #93c7f4; }
.home-page .hero-route-lane-3 .hero-route-packet { stroke: #b3daf9; }
.home-page .hero-route-node { fill: #cce7fc; opacity: .28; }

@media (prefers-reduced-motion: no-preference) {
  .home-page .hero-route-packet {
    animation: hero-route-flow 7s linear infinite;
    animation-play-state: paused;
  }

  .home-page .hero-route-lane-2 .hero-route-packet { animation-delay: -2.333333s; }
  .home-page .hero-route-lane-3 .hero-route-packet { animation-delay: -4.666667s; }

  .home-page .hero-route-node {
    animation: hero-route-arrival 7s linear infinite;
    animation-play-state: paused;
  }

  .home-page .hero-route-node-gate { animation-delay: -3.5s; }
  .home-page .hero-route-node-end { animation-delay: -6.6s; }

  html.home-motion-hero .home-page :is(.hero-route-packet, .hero-route-node) {
    animation-play-state: running;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-page .hero-route-packet { display: none; }
}

@keyframes hero-route-flow {
  from { stroke-dashoffset: 1000; }
  to { stroke-dashoffset: 0; }
}

@keyframes hero-route-arrival {
  0%, 18%, 100% { opacity: .28; }
  5%, 10% { opacity: .95; }
}
