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

.mt {
  width: min(420px, 95vw);
}

.mt__desc {
  min-height: 32px;
  margin: 0 0 12px;
  font-weight: 600;
  font-size: clamp(11px, 3.2vw, 12px);
  line-height: 1.5;
  font-family: inherit;
  color: #17141a;
}

.mt__track {
  position: relative;
}

.mt__track::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 4px;
  height: 3px;
  border-radius: 4px;
  background: rgba(23, 20, 26, 0.12);
}

.mt__fill {
  position: absolute;
  left: 0;
  right: 0;
  top: 4px;
  height: 3px;
  border-radius: 4px;
  background: #2f6df6;
  transform: scaleX(0.25);
  transform-origin: left;
  transition: transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mt__list {
  position: relative;
  list-style: none;
  margin: 0;
  padding: 12px 0 0;
  display: flex;
  justify-content: space-between;
}

.mt__stop {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  border: 0;
  padding: 0;
  background: none;
  cursor: pointer;
}

.mt__dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(23, 20, 26, 0.3);
  transition: background 300ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 300ms cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 300ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.mt__stop[aria-current=step] .mt__dot {
  background: #2f6df6;
  transform: scale(1.3);
  box-shadow: 0 0 0 4px rgba(47, 109, 246, 0.18);
}

.mt__year {
  font-weight: 800;
  font-size: 10px;
  line-height: 1;
  font-family: inherit;
  color: #17141a;
}

.mt__label {
  font-weight: 600;
  font-size: 9px;
  line-height: 1.3;
  font-family: inherit;
  color: rgba(23, 20, 26, 0.72);
}

.mt.is-demo .mt__stop[aria-current=step] .mt__dot {
  animation: mt-pulse 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

@keyframes mt-pulse {
  0%, 100% {
    box-shadow: 0 0 0 4px rgba(47, 109, 246, 0.18);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(47, 109, 246, 0.08);
  }
}
@media (max-width: 340px), (max-height: 220px) {
  .mt__desc {
    min-height: 0;
    margin-bottom: 8px;
    font-size: 10px;
  }
  .mt__label {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .mt__fill, .mt__dot {
    transition: none;
  }
  .mt.is-demo .mt__stop[aria-current=step] .mt__dot {
    animation: none !important;
  }
}
