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

.steps {
  position: relative;
  display: flex;
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.step {
  position: relative;
}
.step:not(:first-child)::before {
  content: "";
  position: absolute;
  right: 100%;
  top: 50%;
  width: 24px;
  height: 2px;
  background: rgba(255, 255, 255, 0.22);
}

.step__circle {
  display: grid;
  place-items: center;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.22);
  background: transparent;
  color: #17141a;
  font-weight: 700;
  font-size: 13px;
  line-height: 1;
  font-family: inherit;
}

.steps.is-demo .step:nth-child(1) .step__circle {
  animation: fill-1 2s ease-out infinite;
}

.steps.is-demo .step:nth-child(2) .step__circle {
  animation: fill-2 2s ease-out infinite;
}

.steps.is-demo .step:nth-child(3) .step__circle {
  animation: fill-3 2s ease-out infinite;
}

.steps.is-demo .step:nth-child(4) .step__circle {
  animation: fill-4 2s ease-out infinite;
}

@keyframes fill-1 {
  0% {
    background: transparent;
    color: #17141a;
    border-color: rgba(255, 255, 255, 0.22);
    transform: scale(1);
  }
  8% {
    background: #fff7e6;
    color: #17141a;
    border-color: #fff7e6;
    transform: scale(1.25);
  }
  15%, 100% {
    background: #fff7e6;
    color: #17141a;
    border-color: #fff7e6;
    transform: scale(1);
  }
}
@keyframes fill-2 {
  0%, 25% {
    background: transparent;
    color: #17141a;
    border-color: rgba(255, 255, 255, 0.22);
    transform: scale(1);
  }
  33% {
    background: #fff7e6;
    color: #17141a;
    border-color: #fff7e6;
    transform: scale(1.25);
  }
  40%, 100% {
    background: #fff7e6;
    color: #17141a;
    border-color: #fff7e6;
    transform: scale(1);
  }
}
@keyframes fill-3 {
  0%, 50% {
    background: transparent;
    color: #17141a;
    border-color: rgba(255, 255, 255, 0.22);
    transform: scale(1);
  }
  58% {
    background: #fff7e6;
    color: #17141a;
    border-color: #fff7e6;
    transform: scale(1.25);
  }
  65%, 100% {
    background: #fff7e6;
    color: #17141a;
    border-color: #fff7e6;
    transform: scale(1);
  }
}
@keyframes fill-4 {
  0%, 75% {
    background: transparent;
    color: #17141a;
    border-color: rgba(255, 255, 255, 0.22);
    transform: scale(1);
  }
  83% {
    background: #fff7e6;
    color: #17141a;
    border-color: #fff7e6;
    transform: scale(1.25);
  }
  90%, 100% {
    background: #fff7e6;
    color: #17141a;
    border-color: #fff7e6;
    transform: scale(1);
  }
}
@media (prefers-reduced-motion: reduce) {
  .steps.is-demo .step__circle {
    animation: none !important;
    background: #fff7e6;
    border-color: #fff7e6;
  }
}
