/* Small looping demos inside the "for agents" cards. Each one sketches what
   a group of Kelpie tools does. Every element's resting style is its finished
   state, so with reduced motion the cards show a complete still frame. */

.demo {
  --t: 7s;
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 10;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background:
    radial-gradient(70% 90% at 0% 0%, var(--tint, rgba(66, 244, 188, 0.3)), transparent 70%),
    #060a22;
  font-size: 11.5px;
  line-height: 1.3;
}

.demo--see,
.demo--sync {
  --tint: rgba(20, 175, 250, 0.32);
}

.demo--diag,
.demo--rec {
  --tint: rgba(249, 67, 154, 0.3);
}

.demo--view {
  --tint: rgba(250, 200, 1, 0.24);
}

.demo i,
.demo u,
.demo em,
.demo b {
  font-style: normal;
  text-decoration: none;
}

.d-sheet {
  position: absolute;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 30px -14px rgba(0, 0, 0, 0.6);
  color: var(--k-text);
}

@media (prefers-reduced-motion: reduce) {
  .demo *,
  .demo *::before,
  .demo *::after {
    animation: none !important;
  }
}
