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

.fl {
  box-sizing: border-box;
  width: min(260px, 82vw);
  background: #fff;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
}
.fl__control {
  position: relative;
}
.fl__input {
  box-sizing: border-box;
  width: 100%;
  border: 2px solid rgba(23, 20, 26, 0.12);
  border-radius: 12px;
  padding: 20px 16px 8px;
  font-weight: 500;
  font-size: clamp(14px, 4.2vw, 16px);
  font-family: inherit;
  color: #17141a;
  background: #fff;
  transition: border-color 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.fl__input:focus {
  outline: none;
  border-color: #b9a0ff;
}
.fl__label {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%) scale(1);
  transform-origin: left center;
  font-size: 16px;
  font-weight: 500;
  font-family: inherit;
  color: rgba(23, 20, 26, 0.48);
  pointer-events: none;
  transition: transform 220ms cubic-bezier(0.2, 0.8, 0.2, 1), color 220ms cubic-bezier(0.2, 0.8, 0.2, 1);
}
.fl__input:focus + .fl__label, .fl__input:not(:placeholder-shown) + .fl__label {
  transform: translateY(-14px) scale(0.78);
  color: #b9a0ff;
}

@media (prefers-reduced-motion: reduce) {
  .fl__input,
  .fl__label {
    transition: none;
  }
}
