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

.pf {
  width: min(440px, 96vw);
}

.pf__top {
  text-align: center;
  margin-bottom: 16px;
}

.pf__heading {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: clamp(11px, 3.2vw, 12px);
  line-height: 1.4;
  font-family: inherit;
  color: #fff7e6;
}

.pf__form {
  display: flex;
  gap: 8px;
  justify-content: center;
  flex-wrap: wrap;
}

.pf__input {
  flex: 1 1 160px;
  max-width: 200px;
  padding: 8px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 247, 230, 0.24);
  background: rgba(255, 247, 230, 0.06);
  color: #fff7e6;
  font-weight: 500;
  font-size: 11px;
  line-height: 1;
  font-family: inherit;
}

.pf__input::placeholder {
  color: rgba(255, 247, 230, 0.4);
}

.pf__input.is-shake {
  animation: pf-shake 220ms ease-out;
}

@keyframes pf-shake {
  0%, 100% {
    transform: translateX(0);
  }
  25% {
    transform: translateX(-5px);
  }
  75% {
    transform: translateX(5px);
  }
}
.pf__submit {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 16px;
  border-radius: 12px;
  border: 0;
  background: #0a4fe8;
  color: #fff7e6;
  font-weight: 700;
  font-size: 11px;
  line-height: 1;
  font-family: inherit;
  cursor: pointer;
  transition: transform 300ms cubic-bezier(0.2, 1.4, 0.4, 1);
  animation: pf-glow 2s ease-in-out infinite;
}

@keyframes pf-glow {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(47, 109, 246, 0.35);
  }
  50% {
    box-shadow: 0 0 0 6px rgba(47, 109, 246, 0);
  }
}
.pf__check {
  width: 12px;
  height: 12px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 20;
  stroke-dashoffset: 20;
  opacity: 0;
  transition: stroke-dashoffset 300ms cubic-bezier(0.2, 1.4, 0.4, 1), opacity 300ms cubic-bezier(0.2, 1.4, 0.4, 1);
}

.pf__form.is-done .pf__submit {
  transform: scale(1.04);
}

.pf__form.is-done .pf__check {
  stroke-dashoffset: 0;
  opacity: 1;
}

.pf__form.is-done .pf__submit-label {
  display: none;
}

.pf__status {
  min-height: 14px;
  margin: 8px 0 0;
  font-weight: 600;
  font-size: 10px;
  line-height: 1.4;
  font-family: inherit;
  color: #fff7e6;
}

.pf__cols {
  display: flex;
  justify-content: center;
  gap: 24px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 247, 230, 0.12);
}

.pf__col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.pf__col-title {
  margin: 0 0 4px;
  font-weight: 700;
  font-size: 9px;
  line-height: 1;
  font-family: inherit;
  letter-spacing: 0.08em;
  color: rgba(255, 247, 230, 0.72);
}

.pf__col a {
  font-weight: 500;
  font-size: 10px;
  line-height: 1.6;
  font-family: inherit;
  color: rgba(255, 247, 230, 0.72);
  text-decoration: none;
}

@media (max-width: 340px), (max-height: 220px) {
  .pf__top {
    margin-bottom: 8px;
  }
  .pf__cols {
    gap: 12px;
    padding-top: 8px;
  }
  .pf__col a {
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .pf__submit {
    animation: none !important;
  }
  .pf__input, .pf__check {
    transition: none;
    animation: none !important;
  }
}
