/* =====================================================================
   AVON HOME — 소식받기 랜딩 페이지 (subscribe.html) 전용 레이아웃
   색상 · 글꼴 · 버튼 · 입력창은 style.css 의 기존 디자인 시스템을 그대로 사용합니다.
   ===================================================================== */

.sp { min-height: 100vh; min-height: 100dvh; display: flex; flex-direction: column; }

.sp-header {
  height: var(--header-h);
  display: flex; align-items: center;
  padding: 0 var(--gutter);
  max-width: var(--maxw); width: 100%; margin: 0 auto;
}

.sp-main {
  flex: 1;
  width: 100%; max-width: 440px; margin: 0 auto;
  padding: 48px var(--gutter) 64px;
}

.sp-title { font-size: 28px; font-weight: 700; letter-spacing: -0.03em; line-height: 1.3; }
.sp-desc { font-size: 16px; line-height: 1.7; color: var(--ink-2); margin: 12px 0 36px; }

.sp-field { margin-bottom: 16px; }
.sp-field input { height: 56px; font-size: 17px; letter-spacing: .02em; }

.sp-agree { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.sp-agree .check { margin-bottom: 0; font-size: 14px; }
.sp-view { flex: none; font-size: 13px; color: var(--ink-3); text-decoration: underline; text-underline-offset: 3px; padding: 1px 0; }
.sp-view:hover { color: var(--ink); }

.sp-policy {
  margin-top: 12px; padding: 16px;
  background: var(--bg-tint); border-radius: var(--radius);
  font-size: 13px; line-height: 1.6; color: var(--ink-2);
}
.sp-policy dl { margin: 0 0 10px; display: grid; grid-template-columns: 64px 1fr; gap: 6px 12px; }
.sp-policy dt { font-weight: 600; color: var(--ink); }
.sp-policy dd { margin: 0; }
.sp-policy p { color: var(--ink-3); }

.sp-agree + .sp-agree, .sp-policy + .sp-agree { margin-top: 12px; } /* 두 번째 동의 줄 간격 */
.sp-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; } /* 봇 방지 숨은 칸 */

.sp .form-error { margin: 12px 0 8px; }
/* 컬러 테스트: 「소식받기」 버튼만 DUSTY PINK (원래대로 하려면 이 줄 삭제) */
.sp-form .btn[type="submit"] { background: #E6C9C7; border-color: #E6C9C7; color: #1D1C1A; }
.sp-note { text-align: center; font-size: 13px; color: var(--ink-3); margin-top: 12px; }

.sp-done .sp-desc { margin-bottom: 32px; }

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

@media (min-width: 768px) {
  .sp-main { padding-top: 96px; }
  .sp-title { font-size: 36px; }
  .sp-desc { font-size: 17px; }
}
