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

.hb {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: clamp(288px, 94vw, 432px);
  text-align: center;
}

.hb__badge {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin: 0;
  padding: 4px 12px;
  border-radius: 999px;
  background: #17141a;
  color: #ffffff;
  font-weight: 700;
  font-size: clamp(9px, 2vw, 11px);
  line-height: 1.3;
}

.hb__sheen {
  position: absolute;
  left: 0;
  top: 0;
  width: 40%;
  height: 100%;
  background: linear-gradient(100deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.62) 50%, rgba(255, 255, 255, 0) 100%);
  transform: translateX(-160%);
}

.hb__title {
  margin: 0;
  color: #17141a;
  font-weight: 800;
  font-size: clamp(16px, 4.4vw, 27px);
  line-height: 1.16;
  letter-spacing: -0.02em;
}

.hb__lead {
  margin: 0;
  color: #17141a;
  font-weight: 500;
  font-size: clamp(10px, 2.4vw, 13px);
  line-height: 1.35;
  opacity: 0.78;
}

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

.hb__btn {
  display: inline-flex;
  align-items: center;
  padding: 8px 12px;
  border: 2px solid #17141a;
  border-radius: 12px;
  font-weight: 700;
  font-size: clamp(10px, 2.2vw, 12px);
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
}

.hb__btn--solid {
  background: #17141a;
  color: #ffffff;
}

.hb__btn--line {
  color: #17141a;
}

.hb__btn:focus-visible {
  outline: 2px solid #9791c9;
  outline-offset: 4px;
}

.hb__trust {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.hb__mark {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.hb__tile {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 12px;
  background: #17141a;
  color: #ffffff;
}

.hb__ml {
  color: #17141a;
  font-weight: 700;
  font-size: clamp(8px, 1.8vw, 10px);
  line-height: 1.2;
}

.hb.is-demo .hb__sheen {
  animation-name: hbSheen;
  animation-duration: 2s;
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
}

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

.hb.is-demo .hb__mark--2 .hb__tile {
  animation-delay: 0.14s;
}

.hb.is-demo .hb__mark--3 .hb__tile {
  animation-delay: 0.28s;
}

.hb.is-demo .hb__mark--4 .hb__tile {
  animation-delay: 0.42s;
}

@keyframes hbSheen {
  0% {
    transform: translateX(-160%);
  }
  70%, 100% {
    transform: translateX(320%);
  }
}
@keyframes hbLift {
  0% {
    transform: translateY(0);
  }
  16%, 46% {
    transform: translateY(-7px);
  }
  88%, 100% {
    transform: translateY(0);
  }
}
@media (max-width: 340px), (max-height: 220px) {
  .hb {
    gap: 4px;
    width: 100%;
  }
  .hb__badge {
    padding: 0 8px;
  }
  .hb__badge svg {
    width: 11px;
    height: 11px;
  }
  .hb__btn {
    padding: 4px 8px;
  }
  .hb__trust {
    gap: 8px;
  }
  .hb__tile {
    width: 24px;
    height: 24px;
    border-radius: 8px;
  }
  .hb__tile svg {
    width: 13px;
    height: 13px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .hb__sheen, .hb__tile {
    animation: none !important;
  }
  .hb__sheen {
    opacity: 0 !important;
  }
}
