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

.cl {
  position: fixed;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  text-align: center;
}

.cl__title {
  margin: 0;
  color: #fff7e6;
  font-weight: 800;
  font-size: clamp(22px, 5.5vw, 30px);
  line-height: 1.25;
}

.cl__sub {
  margin: 0;
  color: rgba(255, 247, 230, 0.72);
  font-weight: 500;
  font-size: clamp(12px, 3vw, 14px);
  line-height: 1.5;
}

.cl__cta {
  margin-top: 8px;
  padding: 8px 20px;
  border: 0;
  border-radius: 999px;
  background: #0a4fe8;
  color: #fff7e6;
  font-family: inherit;
  font-weight: 700;
  font-size: 13px;
  line-height: 1.4;
  cursor: pointer;
}

.cl__veil {
  position: absolute;
  left: 0;
  right: 0;
  height: 50.5%;
  background: #2f6df6;
  z-index: 2;
}

.cl__veil::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 4px;
  background: #fff7e6;
}

.cl__veil--top {
  top: 0;
  transform: translateY(-102%);
}

.cl__veil--top::after {
  bottom: 0;
}

.cl__veil--bot {
  bottom: 0;
  transform: translateY(102%);
}

.cl__veil--bot::after {
  top: 0;
}

.cl__brand {
  position: absolute;
  top: 16px;
  left: 0;
  right: 0;
  margin: 0;
  text-align: center;
  color: #fff7e6;
  font-weight: 700;
  font-size: 20px;
  line-height: 1.2;
  letter-spacing: 0.35em;
  text-indent: 0.35em;
}

.cl__skip {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  padding: 4px 12px;
  border: 1px solid rgba(255, 247, 230, 0.32);
  border-radius: 999px;
  background: rgba(255, 247, 230, 0.1);
  color: #fff7e6;
  font-family: inherit;
  font-weight: 600;
  font-size: 12px;
  line-height: 1.4;
  cursor: pointer;
}

.cl__live {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

.cl__veil--top {
  animation-name: clTopOnce;
  animation-duration: 600ms;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  animation-delay: 0.08s;
  animation-fill-mode: both;
}

.cl__veil--bot {
  animation-name: clBotOnce;
  animation-duration: 600ms;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  animation-delay: 0.16s;
  animation-fill-mode: both;
}

.cl__title {
  animation-name: clRiseOnce;
  animation-duration: 600ms;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  animation-delay: 0.34s;
  animation-fill-mode: both;
}

.cl__sub {
  animation-name: clRiseOnce;
  animation-duration: 600ms;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  animation-delay: 0.46s;
  animation-fill-mode: both;
}

.cl__cta {
  animation-name: clRiseOnce;
  animation-duration: 600ms;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  animation-delay: 0.58s;
  animation-fill-mode: both;
}

@keyframes clTopOnce {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(-102%);
  }
}
@keyframes clBotOnce {
  from {
    transform: translateY(0);
  }
  to {
    transform: translateY(102%);
  }
}
@keyframes clRiseOnce {
  from {
    transform: translateY(24px);
  }
  to {
    transform: none;
  }
}
.cl.is-demo .cl__veil--top {
  animation-name: clTopLoop;
  animation-duration: 2s;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  animation-iteration-count: infinite;
  animation-fill-mode: backwards;
  animation-delay: 0s;
}

.cl.is-demo .cl__veil--bot {
  animation-name: clBotLoop;
  animation-duration: 2s;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  animation-iteration-count: infinite;
  animation-fill-mode: backwards;
  animation-delay: 0s;
}

.cl.is-demo .cl__title {
  animation-name: clTitleLoop;
  animation-duration: 2s;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  animation-iteration-count: infinite;
  animation-fill-mode: backwards;
  animation-delay: 0s;
}

.cl.is-demo .cl__sub {
  animation-name: clSubLoop;
  animation-duration: 2s;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  animation-iteration-count: infinite;
  animation-fill-mode: backwards;
  animation-delay: 0s;
}

.cl.is-demo .cl__cta {
  animation-name: clCtaLoop;
  animation-duration: 2s;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  animation-iteration-count: infinite;
  animation-fill-mode: backwards;
  animation-delay: 0s;
}

@keyframes clTopLoop {
  0%, 4% {
    transform: translateY(0);
  }
  26%, 66% {
    transform: translateY(-102%);
    animation-timing-function: linear;
  }
  88%, 100% {
    transform: translateY(0);
  }
}
@keyframes clBotLoop {
  0%, 10% {
    transform: translateY(0);
  }
  32%, 72% {
    transform: translateY(102%);
    animation-timing-function: linear;
  }
  94%, 100% {
    transform: translateY(0);
  }
}
@keyframes clTitleLoop {
  0%, 14% {
    transform: translateY(24px);
  }
  36%, 100% {
    transform: none;
  }
}
@keyframes clSubLoop {
  0%, 20% {
    transform: translateY(16px);
  }
  44%, 100% {
    transform: none;
  }
}
@keyframes clCtaLoop {
  0%, 26% {
    transform: translateY(12px);
  }
  50%, 100% {
    transform: none;
  }
}
.cl.is-done .cl__veil--top, .cl.is-done .cl__veil--bot,
.cl.is-done .cl__title, .cl.is-done .cl__sub, .cl.is-done .cl__cta {
  animation: none;
}

.cl.is-done .cl__skip {
  display: none;
}

@media (max-width: 340px) {
  .cl {
    gap: 4px;
  }
  .cl__title {
    font-size: 20px;
  }
  .cl__brand {
    letter-spacing: 0.24em;
    text-indent: 0.24em;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cl .cl__veil--top, .cl .cl__veil--bot,
  .cl .cl__title, .cl .cl__sub, .cl .cl__cta {
    animation: none !important;
  }
}
