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);
}

.sp-text {
  margin: 0;
  font: 800 clamp(22px, 7vw, 34px)/1.2 -apple-system, "Segoe UI", sans-serif;
  color: #fff7e6;
  text-align: center;
  opacity: 0;
  transform: scale(0.4);
}

@keyframes sp-pop {
  0% {
    opacity: 0;
    transform: scale(0.4);
    animation-timing-function: linear(0, 0.051, 0.176, 0.341, 0.518, 0.685, 0.831, 0.947, 1.032, 1.087, 1.117, 1.126, 1.121, 1.105, 1.085, 1.062, 1.041, 1.022, 1.008, 0.997, 1);
  }
  18% {
    opacity: 1;
    transform: scale(1.1);
  }
  30% {
    transform: scale(0.96);
  }
  40%, 78% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    opacity: 0;
    transform: scale(0.4);
  }
}
.sp-text.is-demo {
  animation: sp-pop 2s cubic-bezier(0.2, 1.4, 0.4, 1) infinite;
}

@media (prefers-reduced-motion: reduce) {
  .sp-text,
  .sp-text.is-demo {
    animation: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
