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

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

.ctacrayon {
  position: relative;
  width: clamp(230px, 86vw, 340px);
  border-radius: 16px;
  padding: 32px 20px;
  text-align: center;
  overflow: hidden;
  background: repeating-linear-gradient(45deg, rgba(51, 38, 28, 0.08) 0 2px, transparent 2px 9px), #efe6fb;
  border: 3px solid #33261c;
}

.ctacrayon__title {
  margin: 0 0 4px;
  color: #33261c;
  font-weight: 700;
  font-size: clamp(15px, 3.6vw, 19px);
  line-height: 1.3;
}

.ctacrayon__desc {
  margin: 0 0 16px;
  color: rgba(51, 38, 28, 0.72);
  font-weight: 500;
  font-size: clamp(11px, 2.6vw, 13px);
}

.ctacrayon__btn-wrap {
  position: relative;
  display: inline-block;
}

.ctacrayon__btn-frame {
  position: absolute;
  inset: -6px;
  width: calc(100% + 12px);
  height: calc(100% + 12px);
  pointer-events: none;
  filter: url(#rough7);
}

.ctacrayon__btn-rect {
  fill: none;
  stroke: #dbb6b7;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 14 8;
  animation: btnFrameMarch 2s linear infinite;
}

.ctacrayon__btn {
  position: relative;
  border: 0;
  border-radius: 999px;
  background: #ffffff;
  color: #33261c;
  padding: 12px 24px;
  font-weight: 700;
  font-size: clamp(12px, 2.8vw, 14px);
  animation: btnPress 2s cubic-bezier(0.2, 0.8, 0.2, 1) infinite;
}

.ctacrayon__btn:focus-visible {
  outline: 3px solid #33261c;
  outline-offset: 2px;
}

@keyframes btnFrameMarch {
  to {
    stroke-dashoffset: -440;
  }
}
@keyframes btnPress {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(0.94);
  }
}
@media (max-width: 340px), (max-height: 220px) {
  .ctacrayon {
    padding: 16px 12px;
  }
  .ctacrayon__title {
    font-size: 13px;
  }
  .ctacrayon__desc {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ctacrayon__btn-rect, .ctacrayon__btn {
    animation: none !important;
    transform: none;
  }
}
