html, body {
  margin: 0;
  overflow: hidden;
}

.stage {
  box-sizing: border-box;
  min-height: 100vh;
  display: grid;
  place-items: center;
  margin: 0;
  background: #ff4d1f;
  font-family: -apple-system, "Segoe UI", "Noto Sans KR", sans-serif;
  padding: clamp(8px, 4vw, 24px);
}

.sq-card {
  display: flex;
  align-items: center;
  justify-content: center;
}

.sq-card__panel {
  width: min(240px, 84vw);
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 20px 16px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  text-align: center;
}

.sq-card__icon {
  width: 28px;
  height: 28px;
  color: #c2361a;
}

.sq-card__question {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #17141a;
  font-family: inherit;
}

.sq-card__input {
  width: 100%;
  box-sizing: border-box;
  padding: 8px 12px;
  border: 2px solid #d8d2c4;
  border-radius: 8px;
  background: #ffffff;
  font-size: 13px;
  font-family: inherit;
  color: #17141a;
  outline: none;
}

.sq-card__input:focus-visible {
  border-color: #2f6df6;
  box-shadow: 0 0 0 3px rgba(47, 109, 246, 0.25);
}

.sq-card.is-demo .sq-card__panel {
  animation: sq-panel 2s ease-out infinite;
}

.sq-card.is-demo .sq-card__input {
  animation: sq-input 2s ease-out infinite;
}

@keyframes sq-panel {
  0%, 8% {
    background: rgb(94.2588235294%, 81.0823529412%, 78.4470588235%);
    box-shadow: 0 0 0 3px rgba(194, 54, 26, 0.3), 0 0 34px 18px rgba(194, 54, 26, 0.3), 0 14px 24px rgba(23, 20, 26, 0.32);
  }
  23%, 77% {
    background: #ffffff;
    box-shadow: 0 14px 24px rgba(23, 20, 26, 0.32);
  }
  92%, 100% {
    background: rgb(94.2588235294%, 81.0823529412%, 78.4470588235%);
    box-shadow: 0 0 0 3px rgba(194, 54, 26, 0.3), 0 0 34px 18px rgba(194, 54, 26, 0.3), 0 14px 24px rgba(23, 20, 26, 0.32);
  }
}
@keyframes sq-input {
  0%, 8% {
    border-color: #c2361a;
    box-shadow: 0 0 0 4px rgba(194, 54, 26, 0.22), 0 0 20px 10px rgba(194, 54, 26, 0.25);
  }
  23%, 77% {
    border-color: #d8d2c4;
    box-shadow: none;
  }
  92%, 100% {
    border-color: #c2361a;
    box-shadow: 0 0 0 4px rgba(194, 54, 26, 0.22), 0 0 20px 10px rgba(194, 54, 26, 0.25);
  }
}
@media (prefers-reduced-motion: reduce) {
  .sq-card.is-demo .sq-card__panel,
  .sq-card.is-demo .sq-card__input {
    animation: none;
  }
}
