/* moving light follows the original background's circuit paths. */
.circuit-activity {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100dvh;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
}
.circuit-current {
  fill: none;
  stroke: #f1feff;
  stroke-width: 2px;
  stroke-linecap: round;
  stroke-dasharray: var(--trail-length) calc(250px - var(--trail-length));
  filter: drop-shadow(0 0 2px #6aefff) drop-shadow(0 0 4px #00bfff);
  opacity: 1;
  animation: circuit-travel var(--travel-time) linear var(--travel-delay) infinite;
}
.circuit-tail { stroke: #00bfff; stroke-width: 1.2px; opacity: .18; filter: none; }
.circuit-trail { stroke: #8aefff; stroke-width: 1.5px; opacity: .48; filter: none; }
@keyframes circuit-travel {
  from { stroke-dashoffset: calc(1000px + var(--trail-length)); }
  to { stroke-dashoffset: var(--trail-length); }
}
.laptop-intro > .circuit-activity {
  position: absolute;
  z-index: 0;
}
.circuit-activity-paused .circuit-current,
.laptop-intro-active body > .circuit-activity .circuit-current {
  animation-play-state: paused;
}
@media (prefers-reduced-motion: reduce) {
  .circuit-current { animation: none; opacity: 0; }
}

/* Actual moving startup points share one path sequence across device sizes. */
.circuit-particle { pointer-events: none; }
.circuit-particle path { fill: none; stroke: #67dbff; stroke-width: 1.5px; stroke-linecap: round; }
.circuit-point {
  fill: #fff;
  stroke: #d5fcff;
  stroke-width: .7px;
  filter: drop-shadow(0 0 2px #6aefff) drop-shadow(0 0 4px #00bfff);
}
@media (prefers-reduced-motion: reduce) {
  .circuit-startup-points { visibility: hidden; }
}
