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

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

.ts-list {
  display: grid;
  grid-template-columns: 20px 1fr;
  column-gap: 12px;
  width: min(260px, 84vw);
}

.ts-step {
  display: contents;
}

.ts-icon {
  grid-column: 1;
  justify-self: center;
  width: 20px;
  height: 20px;
  border-radius: 999px;
  display: grid;
  place-items: center;
  background: rgba(23, 20, 26, 0.08);
  color: #17141a;
}
.ts-icon svg {
  width: 12px;
  height: 12px;
}
.ts-icon path {
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 16;
  stroke-dashoffset: 16;
}

.ts-icon--1 path {
  stroke-dashoffset: 0;
}

.ts-label {
  grid-column: 2;
  align-self: center;
  padding: 8px 0;
  color: #17141a;
  font: 500 12px/1.2 -apple-system, "Segoe UI", sans-serif;
}

.ts-line {
  grid-column: 1;
  justify-self: center;
  width: 2px;
  height: 24px;
  background: rgba(23, 20, 26, 0.18);
  transform-origin: top;
  transform: scaleY(0);
}

@keyframes ts-line-fill {
  0%, 5% {
    transform: scaleY(0);
  }
  25%, 100% {
    transform: scaleY(1);
  }
}
@keyframes ts-check-2 {
  0%, 25% {
    stroke-dashoffset: 16;
  }
  40%, 100% {
    stroke-dashoffset: 0;
  }
}
@keyframes ts-line-fill2 {
  0%, 40% {
    transform: scaleY(0);
  }
  60%, 100% {
    transform: scaleY(1);
  }
}
@keyframes ts-check-3 {
  0%, 60% {
    stroke-dashoffset: 16;
  }
  75%, 100% {
    stroke-dashoffset: 0;
  }
}
.ts-list.is-demo .ts-line--1 {
  animation: ts-line-fill 2s ease-out infinite;
}

.ts-list.is-demo .ts-icon--2 path {
  animation: ts-check-2 2s ease-out infinite;
}

.ts-list.is-demo .ts-line--2 {
  animation: ts-line-fill2 2s ease-out infinite;
}

.ts-list.is-demo .ts-icon--3 path {
  animation: ts-check-3 2s ease-out infinite;
}

@media (prefers-reduced-motion: reduce) {
  .ts-list.is-demo .ts-line--1,
  .ts-list.is-demo .ts-line--2 {
    animation: none !important;
    transform: scaleY(1) !important;
  }
  .ts-list.is-demo .ts-icon--2 path,
  .ts-list.is-demo .ts-icon--3 path {
    animation: none !important;
    stroke-dashoffset: 0 !important;
  }
}
