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

.track {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.16);
}

.bar {
  height: 100%;
  width: 100%;
  background: #2f6df6;
  transform: scaleX(0);
  transform-origin: left;
}
@supports (animation-timeline: scroll()) {
  .bar {
    animation: fill linear both;
    animation-timeline: scroll(root);
  }
}

@keyframes fill {
  to {
    transform: scaleX(1);
  }
}
.bar.is-demo {
  animation: fill-loop 2s linear infinite;
}

@keyframes fill-loop {
  0% {
    transform: scaleX(0);
  }
  92% {
    transform: scaleX(1);
  }
  100% {
    transform: scaleX(1);
  }
}
.page {
  padding: 40px 24px 0;
}

.page__block {
  height: 24px;
  margin: 0 0 16px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
}
.page__block.short {
  width: 55%;
}

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