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

.fq {
  position: relative;
  box-sizing: border-box;
  width: min(400px, 94vw);
  background: #fff7e6;
  border-radius: 16px;
  padding: 24px 16px 16px;
  text-align: center;
  overflow: hidden;
}

.fq__mark {
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%);
  font: 800 56px/1 Georgia, serif;
  color: rgba(47, 109, 246, 0.32);
  animation: fq-wobble 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

@keyframes fq-wobble {
  0%, 100% {
    transform: translateX(-50%) rotate(0deg) scale(1);
  }
  50% {
    transform: translateX(-50%) rotate(-10deg) scale(1.35);
  }
}
.fq__stage {
  position: relative;
  min-height: 96px;
}

.fq__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  transition: opacity 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: none;
}

.fq__slide.is-active {
  opacity: 1;
  pointer-events: auto;
}

.fq__quote {
  margin: 0 0 8px;
  font-weight: 700;
  font-size: clamp(12px, 3.6vw, 14px);
  line-height: 1.5;
  font-family: inherit;
  color: #17141a;
}

.fq__who {
  font-weight: 600;
  font-size: 11px;
  line-height: 1.4;
  font-family: inherit;
  color: rgba(23, 20, 26, 0.72);
}

.fq__name {
  color: #17141a;
}

.fq__dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 12px;
}

.fq__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: rgba(23, 20, 26, 0.2);
  cursor: pointer;
  transition: background 600ms cubic-bezier(0.2, 0.8, 0.2, 1), transform 600ms cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fq__dot.is-active {
  background: #17141a;
  transform: scale(1.3);
}

@media (max-width: 340px), (max-height: 220px) {
  .fq {
    padding: 16px 12px 12px;
  }
  .fq__mark {
    font-size: 28px;
  }
  .fq__stage {
    min-height: 70px;
  }
  .fq__quote {
    font-size: 11px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .fq__mark {
    animation: none !important;
  }
  .fq__slide, .fq__dot {
    transition: none;
  }
}
