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

.sr-input {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.check {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-weight: 600;
  font-size: clamp(14px, 4vw, 17px);
  line-height: 1.3;
  font-family: inherit;
  color: #fff7e6;
}

.box {
  flex: none;
  width: 28px;
  height: 28px;
  border-radius: 8px;
  border: 2px solid rgba(255, 247, 230, 0.55);
  background: transparent;
  display: grid;
  place-items: center;
  transition: background 600ms cubic-bezier(0.2, 0.8, 0.2, 1), border-color 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sr-input:checked ~ .box {
  background: #2f6df6;
  border-color: #2f6df6;
}

.sr-input:focus-visible ~ .box {
  box-shadow: 0 0 0 3px rgba(255, 247, 230, 0.5);
}

.box__svg {
  width: 18px;
  height: 18px;
  overflow: visible;
}

.box__path {
  fill: none;
  stroke: #fff7e6;
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  transition: stroke-dashoffset 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.sr-input:checked ~ .box .box__path {
  stroke-dashoffset: 0;
}

@media (prefers-reduced-motion: reduce) {
  .box, .box__path {
    transition-duration: 1ms !important;
  }
}
