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

.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
  width: 100%;
  max-width: 380px;
}

.card {
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  gap: 4px;
  padding: 16px;
  border-radius: 16px;
  background: #ffffff;
  box-shadow: 0 6px 12px rgba(23, 20, 26, 0.32);
  opacity: 0;
  transform: translateY(14px);
}

.card__badge {
  margin: 0;
  align-self: flex-start;
  padding: 4px 8px;
  border-radius: 4px;
  background: rgba(10, 79, 232, 0.12);
  color: #0a4fe8;
  font-weight: 700;
  font-size: 10px;
  line-height: 1.4;
}

.card__title {
  margin: 0;
  color: #17141a;
  font-weight: 600;
  font-size: 13px;
  line-height: 1.3;
}

.card__desc {
  margin: 0;
  color: rgba(23, 20, 26, 0.72);
  font-weight: 400;
  font-size: 11px;
  line-height: 1.5;
}

.is-demo .card {
  animation: card-in 600ms ease-out both;
  animation-delay: calc(var(--i) * 120ms);
}

@keyframes card-in {
  0% {
    opacity: 0;
    transform: translateY(14px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}
@media (max-width: 340px) {
  .grid {
    gap: 8px;
    max-width: 280px;
  }
  .card {
    padding: 8px 12px;
    gap: 0;
  }
  .card__title {
    font-size: 12px;
  }
  .card__desc {
    font-size: 10px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .is-demo .card {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
