/* 메일메일 마케팅 사이트 — 공유 스타일.
   브랜드 인디고 = AppIcon/AccentColor #3B63E1. 빌드 스텝 없는 순수 CSS. */

:root {
  --indigo: #3B63E1;
  --indigo-700: #2742B4;
  --indigo-300: #9FB2F5;
  --indigo-100: #D8E0FF;
  --ink: #0E1525;
  --ink-soft: #46506A;
  --ink-faint: #8A93AB;
  --bg: #FFFFFF;
  --bg-soft: #F6F8FC;
  --line: #E7EBF3;
  --radius: 20px;
  --shadow-sm: 0 1px 2px rgba(14, 21, 37, 0.06), 0 4px 16px rgba(14, 21, 37, 0.05);
  --shadow-md: 0 8px 30px rgba(20, 32, 80, 0.10);
  --maxw: 1080px;
  --grad: linear-gradient(135deg, #5C7BFF 0%, #3B63E1 55%, #2742B4 100%);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html, body { overflow-x: hidden; max-width: 100%; }
img, svg { max-width: 100%; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", "Pretendard",
    "Segoe UI", system-ui, "Malgun Gothic", sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  letter-spacing: -0.01em;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--indigo); text-decoration: none; }
a:hover { text-decoration: underline; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: saturate(180%) blur(18px);
  -webkit-backdrop-filter: saturate(180%) blur(18px);
  border-bottom: 1px solid var(--line);
}
.nav .wrap { display: flex; align-items: center; gap: 20px; height: 60px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 18px; color: var(--ink); }
.brand:hover { text-decoration: none; }
.brand img { width: 30px; height: 30px; border-radius: 8px; }
.nav-links { margin-left: auto; display: flex; align-items: center; gap: 26px; }
.nav-links a { color: var(--ink-soft); font-size: 15px; font-weight: 500; }
.nav-links a:hover { color: var(--indigo); text-decoration: none; }

/* ---------- buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--indigo); color: #fff; font-weight: 600; font-size: 15px;
  padding: 11px 20px; border-radius: 999px; border: none; cursor: pointer;
  transition: transform .12s ease, background .12s ease, box-shadow .12s ease;
  white-space: nowrap;
}
.btn:hover { background: var(--indigo-700); text-decoration: none; transform: translateY(-1px); box-shadow: var(--shadow-sm); }
.btn.ghost { background: transparent; color: var(--indigo); border: 1.5px solid var(--indigo-100); }
.btn.ghost:hover { background: var(--bg-soft); }
.btn.lg { font-size: 17px; padding: 15px 30px; }
.btn[aria-disabled="true"] { background: var(--ink-faint); cursor: default; pointer-events: none; }

/* ---------- hero ---------- */
.hero { text-align: center; padding: 88px 0 64px; }
.eyebrow {
  display: inline-block; font-size: 13px; font-weight: 700; letter-spacing: 0.02em;
  color: var(--indigo); background: var(--indigo-100); padding: 6px 14px; border-radius: 999px;
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(34px, 6vw, 60px); line-height: 1.12; font-weight: 800;
  letter-spacing: -0.03em; margin-bottom: 20px;
}
.hero .lead { font-size: clamp(17px, 2.4vw, 21px); color: var(--ink-soft); max-width: 600px; margin: 0 auto 32px; }
.hero .cta-row { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.hero .meta { margin-top: 18px; font-size: 13.5px; color: var(--ink-faint); }
.hero-art { margin: 56px auto 0; max-width: 360px; }
.hero-art img { width: 100%; filter: drop-shadow(0 30px 60px rgba(20, 32, 80, 0.22)); border-radius: 28px; }

/* ---------- sections ---------- */
section { padding: 72px 0; }
.section-head { text-align: center; max-width: 640px; margin: 0 auto 48px; }
.section-head h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 14px; }
.section-head p { font-size: 17px; color: var(--ink-soft); }

.alt { background: var(--bg-soft); }

/* narrative */
.narrative { max-width: 680px; margin: 0 auto; text-align: center; }
.narrative p { font-size: clamp(19px, 2.6vw, 24px); line-height: 1.55; color: var(--ink); font-weight: 500; }
.narrative .accent { color: var(--indigo); }

/* feature grid */
.grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.card {
  background: var(--bg); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 28px; box-shadow: var(--shadow-sm);
}
.alt .card { background: #fff; }
.card .ico {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--indigo-100); color: var(--indigo); margin-bottom: 16px; font-size: 22px;
}
.card h3 { font-size: 19px; font-weight: 700; margin-bottom: 8px; }
.card p { color: var(--ink-soft); font-size: 15.5px; }
.card ul { list-style: none; margin-top: 10px; }
.card li { color: var(--ink-soft); font-size: 15px; padding-left: 20px; position: relative; margin-top: 7px; }
.card li::before { content: "✓"; position: absolute; left: 0; color: var(--indigo); font-weight: 700; }

/* privacy band */
.band { background: var(--grad); color: #fff; border-radius: 28px; padding: 56px 40px; text-align: center; box-shadow: var(--shadow-md); }
.band h2 { font-size: clamp(24px, 4vw, 34px); font-weight: 800; margin-bottom: 16px; letter-spacing: -0.02em; }
.band p { font-size: 17px; opacity: 0.94; max-width: 620px; margin: 0 auto; }
.band .pills { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 26px; }
.band .pill { background: rgba(255,255,255,0.16); border: 1px solid rgba(255,255,255,0.28); padding: 9px 16px; border-radius: 999px; font-size: 14.5px; font-weight: 600; }

/* pricing */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.price {
  background: #fff; border: 1px solid var(--line); border-radius: var(--radius);
  padding: 30px 26px; display: flex; flex-direction: column; box-shadow: var(--shadow-sm);
}
.price.feat { border: 2px solid var(--indigo); box-shadow: var(--shadow-md); position: relative; }
.price .tag {
  position: absolute; top: -13px; left: 50%; transform: translateX(-50%);
  background: var(--indigo); color: #fff; font-size: 12.5px; font-weight: 700;
  padding: 5px 14px; border-radius: 999px; white-space: nowrap;
}
.price h3 { font-size: 18px; font-weight: 700; color: var(--ink-soft); margin-bottom: 10px; }
.price .amt { font-size: 34px; font-weight: 800; letter-spacing: -0.02em; }
.price .amt small { font-size: 16px; font-weight: 600; color: var(--ink-faint); }
.price .sub { font-size: 14px; color: var(--ink-faint); margin-top: 4px; min-height: 20px; }
.price ul { list-style: none; margin: 20px 0 0; flex: 1; }
.price li { font-size: 15px; color: var(--ink-soft); padding: 8px 0 8px 24px; position: relative; border-top: 1px solid var(--line); }
.price li:first-child { border-top: none; }
.price li::before { content: "✓"; position: absolute; left: 0; color: var(--indigo); font-weight: 700; }
.price .note { font-size: 13px; color: var(--ink-faint); margin-top: 18px; text-align: center; }

.lifetime-row { margin-top: 22px; text-align: center; font-size: 15px; color: var(--ink-soft); }
.lifetime-row strong { color: var(--ink); }

.store-note { text-align: center; margin-top: 30px; font-size: 14px; color: var(--ink-faint); }

/* faq */
.faq { max-width: 760px; margin: 0 auto; }
.faq details { border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq summary { font-size: 17px; font-weight: 600; cursor: pointer; list-style: none; display: flex; justify-content: space-between; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--indigo); font-weight: 700; }
.faq details[open] summary::after { content: "−"; }
.faq p { color: var(--ink-soft); font-size: 15.5px; margin-top: 12px; }

/* ---------- footer ---------- */
footer { background: var(--bg-soft); border-top: 1px solid var(--line); padding: 48px 0 40px; margin-top: 40px; }
.foot-top { display: flex; flex-wrap: wrap; gap: 30px; justify-content: space-between; }
.foot-brand { max-width: 280px; }
.foot-brand .brand { margin-bottom: 12px; }
.foot-brand p { color: var(--ink-faint); font-size: 14px; }
.foot-cols { display: flex; gap: 56px; flex-wrap: wrap; }
.foot-col h4 { font-size: 13px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--ink-faint); margin-bottom: 12px; }
.foot-col a { display: block; color: var(--ink-soft); font-size: 14.5px; margin-bottom: 9px; }
.foot-col a:hover { color: var(--indigo); text-decoration: none; }
.foot-legal { margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); font-size: 13px; color: var(--ink-faint); }
.foot-legal .biz { margin-bottom: 8px; }

/* ---------- legal/content pages ---------- */
.doc { max-width: 760px; margin: 0 auto; padding: 56px 0 24px; }
.doc h1 { font-size: clamp(28px, 5vw, 40px); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 10px; }
.doc .doc-meta { color: var(--ink-faint); font-size: 14px; margin-bottom: 8px; }
.doc .notice { background: var(--bg-soft); border: 1px solid var(--line); border-left: 4px solid var(--indigo); border-radius: 12px; padding: 16px 20px; margin: 24px 0; font-size: 14.5px; color: var(--ink-soft); }
.doc h2 { font-size: 22px; font-weight: 700; margin: 38px 0 12px; letter-spacing: -0.01em; }
.doc h3 { font-size: 18px; font-weight: 700; margin: 26px 0 8px; }
.doc p, .doc li { color: var(--ink-soft); font-size: 16px; }
.doc p { margin: 12px 0; }
.doc ul, .doc ol { margin: 12px 0 12px 22px; }
.doc li { margin: 6px 0; }
.doc strong { color: var(--ink); }
.doc table { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: 14.5px; }
.doc th, .doc td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.doc th { background: var(--bg-soft); font-weight: 700; color: var(--ink); }
.doc .tbd { background: #FFF4E5; color: #9A5B00; padding: 1px 6px; border-radius: 5px; font-size: 0.92em; font-weight: 600; }

/* ---------- responsive ---------- */
@media (max-width: 860px) {
  .grid, .prices { grid-template-columns: 1fr; }
  .nav-links { gap: 16px; }
  .nav-links a:not(.btn) { display: none; }
  section { padding: 56px 0; }
  .hero { padding: 60px 0 48px; }
  .prices { max-width: 440px; margin: 0 auto; }
}

@media (max-width: 520px) {
  .wrap { padding: 0 20px; }
  .hero { padding: 44px 0 40px; }
  .hero h1 { letter-spacing: -0.02em; }
  /* CTA 버튼은 좁은 폭에서 풀폭 세로 스택(겹침/잘림 방지) */
  .cta-row { flex-direction: column; align-items: stretch; }
  .cta-row .btn { width: 100%; }
  .hero-art { max-width: 280px; margin-top: 44px; }
  .band { padding: 40px 22px; border-radius: 22px; }
  .band .pills { gap: 8px; }
  .band .pill { font-size: 13.5px; padding: 8px 13px; }
  .price .tag { font-size: 11.5px; padding: 5px 11px; }
  .price { padding: 28px 22px; }
  .foot-top { gap: 24px; }
  .foot-cols { gap: 28px; }
  .narrative p { font-size: 19px; }
  /* 긴 법률 표는 가로 스크롤(오버플로우 방지) */
  .doc table { display: block; overflow-x: auto; white-space: nowrap; }
  .doc { padding-top: 40px; }
}
