/* 퍼널 페이지 공통 스타일 (모바일 우선, 옵트인·VSL·판매 페이지 공용) */
:root {
  --bg: #fbfaf7;
  --surface: #ffffff;
  --ink: #1b1d22;
  --muted: #5d6370;
  --line: #e7e4dc;
  --brand: #14284b;
  --accent: #e8572a;
  --accent-ink: #ffffff;
  --soft: #f3efe6;
  --radius: 14px;
  --max: 1040px;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--bg); color: var(--ink);
  font-family: "Pretendard Variable", Pretendard, -apple-system, "Apple SD Gothic Neo", "Malgun Gothic", sans-serif;
  font-size: 17px; line-height: 1.7; word-break: keep-all; overflow-wrap: break-word;
}
img, iframe { max-width: 100%; }
a { color: inherit; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 16px; }
.narrow { max-width: 720px; }

/* 상단 */
.top { border-bottom: 1px solid var(--line); background: var(--surface); }
.top .wrap { display: flex; align-items: center; justify-content: space-between; height: 56px; }
.brand { font-weight: 800; letter-spacing: -0.02em; color: var(--brand); text-decoration: none; }
.brand small { font-weight: 500; color: var(--muted); margin-left: 6px; font-size: 13px; }

/* 공통 블록 */
section { padding: 64px 0; }
.eyebrow { display: inline-block; font-size: 13px; font-weight: 700; color: var(--accent); letter-spacing: 0.04em; margin-bottom: 10px; }
h1, h2, h3 { line-height: 1.35; letter-spacing: -0.03em; margin: 0 0 16px; }
h1 { font-size: clamp(28px, 6vw, 44px); }
h2 { font-size: clamp(24px, 4.6vw, 34px); }
h3 { font-size: 20px; }
p { margin: 0 0 14px; }
.lead { font-size: clamp(17px, 2.4vw, 20px); color: var(--muted); }
.center { text-align: center; }
.alt { background: var(--soft); }
.dark { background: var(--brand); color: #fff; }
.dark .lead, .dark .muted { color: #c9d1e2; }
.muted { color: var(--muted); }
.hl { color: var(--accent); }

/* 버튼 */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 56px; padding: 0 28px; border: 0; border-radius: 12px;
  background: var(--accent); color: var(--accent-ink); font: inherit; font-weight: 800; font-size: 18px;
  text-decoration: none; cursor: pointer; transition: transform .12s ease, filter .12s ease;
}
.btn:hover { filter: brightness(1.05); transform: translateY(-1px); }
.btn:disabled, .btn.is-disabled { opacity: .45; cursor: not-allowed; transform: none; }
.btn.block { width: 100%; }
.btn.ghost { background: transparent; color: var(--brand); border: 2px solid var(--brand); }

/* 옵트인 */
.optin-hero { padding: 48px 0 64px; }
.optin-grid { display: grid; gap: 32px; }
@media (min-width: 900px) { .optin-grid { grid-template-columns: 1.1fr 0.9fr; align-items: center; } }
.checks { list-style: none; padding: 0; margin: 20px 0 0; }
.checks li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checks li::before { content: "✓"; position: absolute; left: 0; top: 0; color: var(--accent); font-weight: 900; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; box-shadow: 0 8px 30px rgba(20, 40, 75, .06); }
.form label { display: block; font-size: 14px; font-weight: 700; margin: 0 0 6px; }
.form input[type=text], .form input[type=email], .form input[type=tel] {
  width: 100%; height: 52px; padding: 0 14px; border: 1px solid var(--line); border-radius: 10px;
  font: inherit; background: #fff; margin-bottom: 14px;
}
.form input:focus { outline: 2px solid var(--brand); outline-offset: 1px; }
.agree { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; color: var(--muted); margin: 4px 0 16px; }
.agree input { margin-top: 5px; }
.form-msg { min-height: 1.4em; color: #c0392b; font-size: 14px; margin: 10px 0 0; }
.has-lead .returning { display: block; }
.returning { display: none; margin-top: 12px; font-size: 14px; text-align: center; }

/* VSL */
.video { position: relative; aspect-ratio: 16 / 9; background: #0d1526; border-radius: var(--radius); overflow: hidden; }
.video iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-empty { position: absolute; inset: 0; display: grid; place-items: center; color: #8d99b3; font-size: 15px; }
.vsl-cta { margin-top: 28px; text-align: center; }
.vsl-cta p { color: var(--muted); font-size: 15px; margin-top: 10px; }

/* 판매 페이지 */
.steps { display: grid; gap: 14px; counter-reset: s; }
@media (min-width: 760px) { .steps { grid-template-columns: repeat(4, 1fr); } }
.step { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.step::before { counter-increment: s; content: "0" counter(s); display: block; font-weight: 900; color: var(--accent); margin-bottom: 6px; }
.step h3 { font-size: 18px; margin-bottom: 6px; }
.step p { font-size: 15px; color: var(--muted); margin: 0; }

.stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 28px; }
@media (min-width: 760px) { .stats { grid-template-columns: repeat(4, 1fr); } }
.stat { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 18px; text-align: center; }
.stat strong { display: block; font-size: 26px; letter-spacing: -0.02em; }
.stat span { font-size: 13px; color: #c9d1e2; }

.course { margin-bottom: 14px; }
.course details { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.course summary { list-style: none; cursor: pointer; padding: 20px; display: flex; justify-content: space-between; gap: 12px; align-items: center; }
.course summary::-webkit-details-marker { display: none; }
.course summary::after { content: "+"; font-size: 24px; color: var(--muted); }
.course details[open] summary::after { content: "−"; }
.course .meta { font-size: 14px; color: var(--muted); }
.course ol { margin: 0; padding: 0 20px 20px 40px; }
.course li { margin-bottom: 4px; }

.reviews { display: grid; gap: 14px; }
@media (min-width: 760px) { .reviews { grid-template-columns: repeat(2, 1fr); } }
.review { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.review p { margin-bottom: 10px; }
.review footer { font-size: 14px; color: var(--muted); }
.stars { color: #f2a516; letter-spacing: 2px; }

.pricing { display: grid; gap: 16px; align-items: stretch; }
@media (min-width: 900px) { .pricing { grid-template-columns: 1fr 1.12fr 1fr; align-items: center; } }
.plan { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px; display: flex; flex-direction: column; }
.plan h3 { margin-bottom: 4px; }
.plan-img { width: 100%; height: auto; aspect-ratio: 1800 / 1010; object-fit: cover; border-radius: 10px; margin-bottom: 16px; }
.course-img { width: calc(100% - 40px); height: auto; aspect-ratio: 1800 / 1010; border-radius: 10px; margin: 0 20px 16px; display: block; }
.plan .for { font-size: 14px; color: var(--muted); margin-bottom: 16px; }
.plan .price { font-size: 32px; font-weight: 900; letter-spacing: -0.03em; margin-bottom: 4px; }
.plan .price small { font-size: 16px; font-weight: 700; }
.plan ul { padding-left: 20px; margin: 14px 0 22px; font-size: 15px; flex: 1; }
.plan.best { border: 2px solid var(--accent); box-shadow: 0 14px 40px rgba(232, 87, 42, .16); padding: 32px 26px; position: relative; }
.badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 13px; font-weight: 800; padding: 4px 14px; border-radius: 99px; white-space: nowrap; }
.save { display: inline-block; background: #fff1eb; color: var(--accent); font-weight: 800; font-size: 14px; padding: 2px 10px; border-radius: 6px; }

.refund { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.refund table { width: 100%; border-collapse: collapse; font-size: 15px; }
.refund td { padding: 10px 4px; border-bottom: 1px solid var(--line); }
.refund td:last-child { text-align: right; font-weight: 700; }
.refund tr:last-child td { border-bottom: 0; }

.faq details { border-bottom: 1px solid var(--line); padding: 16px 0; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq details p { margin: 10px 0 0; color: var(--muted); }

.sticky-cta { position: sticky; bottom: 0; background: rgba(251, 250, 247, .96); border-top: 1px solid var(--line); padding: 10px 16px; display: flex; justify-content: center; z-index: 5; }
@media (min-width: 900px) { .sticky-cta { display: none; } }

/* 문서 페이지 */
.doc h2 { font-size: 20px; margin-top: 28px; }
.doc p, .doc li { font-size: 15px; color: var(--muted); }

/* 푸터 */
.foot { border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 13px; color: var(--muted); }
.foot a { color: var(--muted); }
.foot .biz span::after { content: " · "; }
.foot .biz span:last-child::after { content: ""; }
