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

@property --num {
  syntax: "<integer>";
  initial-value: 0;
  inherits: false;
}
.card {
  text-align: center;
  padding: 24px 32px;
  border-radius: 16px;
  background: rgba(255, 247, 230, 0.08);
  border: 1px solid rgba(255, 247, 230, 0.18);
}
.card__num {
  --num: 0;
  counter-reset: num var(--num);
  display: block;
  font-weight: 800;
  font-size: clamp(40px, 13vw, 72px);
  line-height: 1;
  font-variant-numeric: tabular-nums;
  color: #fff7e6;
}
.card__num::before {
  content: counter(num);
}
.card__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}
.card__label {
  display: block;
  margin-top: 8px;
  font-weight: 600;
  font-size: clamp(12px, 3vw, 15px);
  line-height: 1;
  color: #17141a;
}

.card.is-demo .card__num {
  animation: count-up 2s ease-out infinite;
}

@keyframes count-up {
  0% {
    --num: 0;
  }
  65% {
    --num: 248;
  }
  100% {
    --num: 248;
  }
}
@media (prefers-reduced-motion: reduce) {
  .card.is-demo .card__num {
    animation: none;
    --num: 248;
  }
}
