/* Stack the slides in one grid cell so even the longest slide reserves its space. */
.spotlight-stage { display: grid; }
.spotlight-stage > .featured { grid-area: 1 / 1; min-width: 0; }
.spotlight-stage > [aria-hidden="true"] { visibility: hidden; opacity: 0; pointer-events: none; }
.spotlight-stage > [aria-hidden="false"] { opacity: 1; transition: opacity .35s ease; }
.spotlight-controls, .spotlight-controls [role="group"] {
  display: flex; flex-wrap: wrap; gap: 6px; align-items: center;
}
.spotlight-controls { margin-bottom: 14px; gap: 10px 16px; }
.spotlight-progress {
  height: 2px; background: var(--accent-cyan); transform: scaleX(0); transform-origin: left;
}
.spotlight-controls button {
  font: inherit; font-size: .84rem; line-height: 1.25; font-weight: 600;
  color: var(--text-muted); border: 1px solid transparent;
  border-radius: 100px; background: transparent; padding: 8px 12px; cursor: pointer;
}
.spotlight-controls .spotlight-playback { border-color: rgba(255,255,255,.22); min-width: 8em; }
.spotlight-controls button:hover, .spotlight-controls button:focus-visible { color: var(--text-main); }
.spotlight-controls button:focus-visible { outline: 2px solid var(--accent-cyan); outline-offset: 2px; }
.spotlight-controls button[aria-pressed="true"] {
  color: var(--accent-cyan); background: rgba(56,189,248,.09); border-color: rgba(56,189,248,.35);
}
.spotlight-workflow {
  width: min(100%, 320px); padding: 22px; border: 1px solid rgba(56,189,248,.2);
  border-radius: 18px; background: linear-gradient(135deg, rgba(56,189,248,.08), transparent);
}
.spotlight-eyebrow { font: .74rem var(--mono); color: var(--accent-cyan); letter-spacing: .09em; text-transform: uppercase; }
.spotlight-workflow ol { padding: 0; margin: 16px 0 0; list-style: none; counter-reset: step; }
.spotlight-workflow li { display: flex; align-items: baseline; gap: 14px; padding: 10px 0; counter-increment: step; }
.spotlight-workflow li + li { border-top: 1px solid rgba(255,255,255,.09); }
.spotlight-workflow li::before { content: counter(step, decimal-leading-zero); font: .78rem var(--mono); color: var(--accent-cyan); }
@media (max-width: 1020px) {
  .spotlight-stage .spotlight-example { display: flex; justify-content: flex-start; }
  .spotlight-stage .featured { align-content: center; gap: 20px; }
  .spotlight-workflow { width: 100%; max-width: 480px; }
}
@media (prefers-reduced-motion: reduce) {
  .spotlight-stage > [aria-hidden="false"] { transition: none; }
  .spotlight-stage .pipe-svg * { animation: none; }
  .spotlight-stage .pipe-svg > circle:last-child { display: none; }
}
