/* ============ Global (reset · layout · typography) ============ */
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  font-family:
    Pretendard,
    -apple-system,
    BlinkMacSystemFont,
    'Apple SD Gothic Neo',
    'Malgun Gothic',
    'Noto Sans KR',
    sans-serif;
  background: var(--night);
  color: var(--ink);
  word-break: keep-all;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  line-height: 1.6;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
/* [V2] hidden 속성은 display 를 지정한 요소에서도 항상 숨김 (대화 미리보기·신청 완료 화면) */
[hidden] {
  display: none !important;
}
/* 화면에는 숨기고 스크린리더에는 읽히게 */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
h1,
h2,
h3,
h4 {
  margin: 0;
  letter-spacing: -0.03em;
  line-height: 1.12;
  font-weight: 900;
  text-wrap: balance;
}
p {
  margin: 0;
}
.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 24px;
}
.eyebrow {
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 9px;
}
.eyebrow::before {
  content: '';
  width: 22px;
  height: 2px;
  background: var(--accent);
  border-radius: 2px;
  display: inline-block;
}
.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.section {
  position: relative;
  /* [S2] 섹션 상하 여백 110 → 64px (섹션 사이 220 → 128px) */
  padding: 64px 0;
  /* [M1] #features·#prereg의 .glow(right/left:-140~-160px)가 화면 밖으로 140px 나가면
    모바일에서는 body{overflow-x:hidden}이 있어도 layout viewport가 360→500px로 늘어남
    → fixed header가 500px로 그려져 햄버거 버튼이 화면 밖으로 밀림.
    clip은 가로만 자르고 세로 번짐(glow)은 그대로 둠 (hidden과 달리 스크롤 컨테이너를 만들지 않음) */
  overflow-x: clip;
}
.section-head {
  max-width: 720px;
  margin: 0 auto 44px; /* [S2] 60 → 44px */
  text-align: center;
}
.section-head h2 {
  --fs: clamp(30px, 4.6vw, 52px);
  font-size: var(--fs);
  margin: 18px 0 16px;
}
.section-head p {
  color: var(--muted);
  font-size: clamp(15px, 1.7vw, 18px);
  text-wrap: pretty;
}
/* [F6] 피드백 문단 줄바꿈(<br class="pc-br">)은 모바일(≤560px)에서 숨김
         → 좁은 화면에서 한 단어만 따로 남는 줄바꿈 방지 (제목 h1·h3의 <br>은 유지)
   [V2-1] creator.css 삭제와 함께 공통 규칙이므로 이곳으로 옮김 */
@media (max-width: 560px) {
  .pc-br {
    display: none;
  }
}
/* [H5][H6] 문구 속 WISHES. — 좌측 상단 로고와 같은 색(흰 WISHES + 분홍 점)·굵기·자간 (히어로·WHY WISHES. 설명) */
.brand-word {
  color: #fff;
  font-weight: 900;
  letter-spacing: -0.03em;
}
.brand-word .dot {
  color: var(--accent);
}
