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

.split {
  width: min(300px, 86vw);
  height: 150px;
  display: flex;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
}

.split__panel {
  width: 50%;
  height: 100%;
  box-sizing: border-box;
  padding: 12px 8px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
}

.split__panel--image {
  background: linear-gradient(155deg, #2f6df6, #475990);
  color: #ffffff;
  gap: 8px;
}

.split__brand {
  font-weight: 700;
  font-size: 14px;
  font-family: inherit;
}

.split__tagline {
  margin: 0;
  font-size: 11px;
  opacity: 0.85;
  font-family: inherit;
}

.split__panel--form {
  background: #ffffff;
  gap: 4px;
}

.split__line {
  display: block;
  border-radius: 4px;
  background: #e6e2d8;
}

.split__line--label {
  width: 40%;
  height: 6px;
}

.split__line--input {
  width: 100%;
  height: 14px;
  border-radius: 8px;
}

.split__btn {
  margin-top: 4px;
  padding: 4px 8px;
  border: none;
  border-radius: 8px;
  background: #2f6df6;
  color: #ffffff;
  font-weight: 700;
  font-size: 12px;
  font-family: inherit;
  cursor: pointer;
  transition: transform 140ms ease-out;
}

.split__btn:hover, .split__btn:focus-visible {
  transform: translateY(-1px);
}

.split.is-demo .split__panel--image {
  animation: enter-left 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.split.is-demo .split__panel--form {
  animation: enter-right 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

@keyframes enter-left {
  0%, 100% {
    transform: translateX(-16%);
  }
  35%, 90% {
    transform: translateX(0);
  }
}
@keyframes enter-right {
  0%, 100% {
    transform: translateX(16%);
  }
  35%, 90% {
    transform: translateX(0);
  }
}
@media (prefers-reduced-motion: reduce) {
  .split.is-demo .split__panel--image,
  .split.is-demo .split__panel--form {
    animation: none;
    transform: none;
  }
}
