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

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

.sweep {
  position: relative;
  font-weight: 800;
  font-size: clamp(26px, 8.4vw, 42px);
  line-height: 1.2;
  font-family: inherit;
}

.sweep__base, .sweep__top {
  display: block;
  margin: 0;
  text-align: center;
}

.sweep__base {
  color: #17141a;
}

.sweep__top {
  position: absolute;
  inset: 0;
  color: #2f6df6;
  animation: sweep-wipe 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.sweep .letter {
  display: inline-block;
  animation: letter-blur-in 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
  animation-delay: calc(var(--i) * 30ms + var(--n) * 50ms);
}

@keyframes sweep-wipe {
  0%, 4% {
    clip-path: inset(0 100% 0 0);
  }
  40%, 62% {
    clip-path: inset(0 0 0 0);
  }
  96%, 100% {
    clip-path: inset(0 100% 0 0);
  }
}
@keyframes letter-blur-in {
  0%, 2% {
    filter: blur(9px);
  }
  14%, 100% {
    filter: blur(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .sweep__top {
    animation: none;
    clip-path: inset(0 0 0 0);
  }
  .sweep .letter {
    animation: none;
    filter: none;
  }
}
