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

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

.wf-line {
  width: min(300px, 88vw);
  margin: 0;
  padding: 16px 20px;
  border-radius: 16px;
  box-sizing: border-box;
  background: rgba(255, 255, 255, 0.14);
  color: #17141a;
  font: 500 15px/1.6 -apple-system, "Segoe UI", sans-serif;
}

.wf-line span {
  display: inline-block;
}

@keyframes wf-word {
  0%, 100% {
    opacity: 0;
    transform: translateY(6px);
  }
  15%, 78% {
    opacity: 1;
    transform: translateY(0);
  }
  92% {
    opacity: 0;
    transform: translateY(6px);
  }
}
.wf-line.is-demo span {
  animation: wf-word 2s ease-out infinite;
}

.wf-line.is-demo span:nth-child(1) {
  animation-delay: 0ms;
}

.wf-line.is-demo span:nth-child(2) {
  animation-delay: 90ms;
}

.wf-line.is-demo span:nth-child(3) {
  animation-delay: 180ms;
}

.wf-line.is-demo span:nth-child(4) {
  animation-delay: 270ms;
}

.wf-line.is-demo span:nth-child(5) {
  animation-delay: 360ms;
}

.wf-line.is-demo span:nth-child(6) {
  animation-delay: 450ms;
}

.wf-line.is-demo span:nth-child(7) {
  animation-delay: 540ms;
}

.wf-line.is-demo span:nth-child(8) {
  animation-delay: 630ms;
}

@media (prefers-reduced-motion: reduce) {
  .wf-line.is-demo span {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
