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

.cf {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.cf__content {
  position: absolute;
  inset: 0;
  z-index: 1;
  display: grid;
  place-content: center;
  justify-items: center;
  gap: 8px;
  text-align: center;
  animation-name: cfContentOnce;
  animation-duration: 2s;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  animation-iteration-count: 1;
  animation-fill-mode: backwards;
}

.cf__kicker {
  margin: 0;
  color: #5b8cf8;
  font-weight: 700;
  font-size: clamp(11px, 2.6vw, 13px);
  line-height: 1.4;
  letter-spacing: 0.14em;
}

.cf__title {
  margin: 0;
  color: #fff7e6;
  font-weight: 800;
  font-size: clamp(24px, 7vw, 36px);
  line-height: 1.2;
}

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

.cf__cta {
  margin: 0;
  border: 0;
  border-radius: 999px;
  padding: 8px 16px;
  background: #fff7e6;
  color: #17141a;
  font-family: inherit;
  font-weight: 700;
  font-size: clamp(12px, 3vw, 14px);
  line-height: 1.4;
  cursor: pointer;
}

.cf__cta:focus-visible {
  outline: 2px solid #fff7e6;
  outline-offset: 2px;
}

.cf__band {
  position: absolute;
  inset: 0;
  z-index: 2;
  transform-origin: left center;
  transform: translateX(0) scaleX(0);
  will-change: transform;
  animation-timing-function: linear;
  animation-iteration-count: 1;
  animation-fill-mode: backwards;
}

.cf__band--1 {
  background: #2f6df6;
  animation-name: cfBand1;
  animation-duration: 2s;
}

.cf__band--2 {
  background: #ffd23f;
  animation-name: cfBand2;
  animation-duration: 2s;
}

.cf__band--3 {
  background: #ff4d1f;
  animation-name: cfBand3;
  animation-duration: 2s;
}

.cf__skip {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 4;
  margin: 0;
  border: 0;
  border-radius: 999px;
  padding: 4px 12px;
  background: #fff7e6;
  color: #17141a;
  font-family: inherit;
  font-weight: 700;
  font-size: 11px;
  line-height: 1.4;
  cursor: pointer;
  box-shadow: 0 6px 12px rgba(23, 20, 26, 0.32);
}

.cf__skip:focus-visible {
  outline: 2px solid #17141a;
  outline-offset: 2px;
}

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

@keyframes cfBand1 {
  0% {
    transform: translateX(0) scaleX(0);
  }
  13% {
    transform: translateX(0) scaleX(1);
  }
  26%, 100% {
    transform: translateX(100%) scaleX(0);
  }
}
@keyframes cfBand2 {
  0%, 13% {
    transform: translateX(0) scaleX(0);
  }
  26% {
    transform: translateX(0) scaleX(1);
  }
  39%, 100% {
    transform: translateX(100%) scaleX(0);
  }
}
@keyframes cfBand3 {
  0%, 26% {
    transform: translateX(0) scaleX(0);
  }
  39% {
    transform: translateX(0) scaleX(1);
  }
  52%, 100% {
    transform: translateX(100%) scaleX(0);
  }
}
@keyframes cfContentOnce {
  0%, 38% {
    opacity: 0;
    transform: translateY(16px);
  }
  54%, 100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.cf.is-demo .cf__band--1 {
  animation-name: cfBand1;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

.cf.is-demo .cf__band--2 {
  animation-name: cfBand2;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

.cf.is-demo .cf__band--3 {
  animation-name: cfBand3;
  animation-duration: 2s;
  animation-iteration-count: infinite;
}

.cf.is-demo .cf__content {
  animation-name: cfContentLoop;
  animation-duration: 2s;
  animation-timing-function: cubic-bezier(0.2, 0.8, 0.2, 1);
  animation-iteration-count: infinite;
  animation-fill-mode: backwards;
}

@keyframes cfContentLoop {
  0%, 14% {
    opacity: 1;
    transform: translateY(0);
  }
  16%, 38% {
    opacity: 0;
    transform: translateY(16px);
  }
  54%, 100% {
    opacity: 1;
    transform: translateY(0);
  }
}
.cf.is-done .cf__band--1, .cf.is-done .cf__band--2, .cf.is-done .cf__band--3,
.cf.is-done .cf__content {
  animation-name: none;
}

@media (max-width: 340px) {
  .cf__content {
    gap: 4px;
  }
  .cf__skip {
    top: 8px;
    right: 8px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .cf__band--1, .cf__band--2, .cf__band--3, .cf__content {
    animation-name: none !important;
  }
}
