html, body {
  margin: 0;
  overflow: hidden;
}

.stage {
  box-sizing: border-box;
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: #17141a;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  padding: clamp(8px, 4vw, 24px);
}

.segs {
  display: flex;
  align-items: flex-end;
  gap: 6px;
}

.seg {
  width: 16px;
  height: 46px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.14);
  opacity: 0.35;
  transform: scaleY(0.7);
  transform-origin: bottom;
}

.segs.is-demo .seg {
  animation: light 2s cubic-bezier(0.2, 1.4, 0.4, 1) infinite;
}

.segs.is-demo .seg:nth-child(1) {
  animation-delay: 0ms;
}

.segs.is-demo .seg:nth-child(2) {
  animation-delay: 160ms;
}

.segs.is-demo .seg:nth-child(3) {
  animation-delay: 320ms;
}

.segs.is-demo .seg:nth-child(4) {
  animation-delay: 480ms;
}

.segs.is-demo .seg:nth-child(5) {
  animation-delay: 640ms;
}

@keyframes light {
  0%, 60%, 100% {
    opacity: 0.35;
    transform: scaleY(0.7);
    background: rgba(255, 255, 255, 0.14);
  }
  20%, 45% {
    opacity: 1;
    transform: scaleY(1);
    background: #fff7e6;
  }
}
.cap {
  margin: 14px 0 0;
  color: rgba(255, 255, 255, 0.7);
  font: 600 clamp(12px, 3.2vw, 14px)/1 -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
}

@media (prefers-reduced-motion: reduce) {
  .segs.is-demo .seg {
    animation: none;
    opacity: 1;
    transform: scaleY(1);
    background: #fff7e6;
  }
}
