/* ============================================================
   올인원 10기 2차 라이브 덱 — 화이트 에디토리얼
   컬러 5개: #FFFFFF / #1A1A1C / #6B6B70 / #E2E2DE / #1F6F5C (+음영 #F4F5F3)
   ============================================================ */

:root {
  --bg: #FFFFFF;
  --ink: #1A1A1C;
  --sub: #6B6B70;
  --rule: #E2E2DE;
  --green: #1F6F5C;
  --shade: #F4F5F3;
  --dim: #C8C8C4;
}

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

html, body {
  width: 100%; height: 100%;
  background: #DADAD6; /* 스테이지 밖 배경 — 슬라이드 자체는 항상 흰색 */
  overflow: hidden;
  font-family: 'Pretendard Variable', Pretendard, -apple-system, sans-serif;
  color: var(--ink);
}

.serif { font-family: 'Noto Serif KR', serif; }

/* ---------- 스테이지 (1920×1080 고정 → 스케일) ---------- */
#stage {
  position: absolute;
  width: 1920px; height: 1080px;
  top: 50%; left: 50%;
  transform-origin: center center;
  background: var(--bg);
}

/* ---------- 슬라이드 공통 ---------- */
.slide {
  position: absolute;
  inset: 0;
  width: 1920px; height: 1080px;
  background: var(--bg);
  padding: 120px 180px;
  display: none;
  flex-direction: column;
}
.slide.active { display: flex; }

/* 러닝 헤드 */
.rh {
  position: absolute;
  top: 56px; left: 180px;
  font-size: 24px;
  color: var(--sub);
  letter-spacing: 0.02em;
  font-weight: 400;
}

/* 하단 괘선 + 페이지 번호 */
.foot {
  position: absolute;
  left: 180px; right: 180px; bottom: 56px;
  border-top: 1px solid var(--rule);
  padding-top: 14px;
  display: flex;
  justify-content: flex-end;
}
.foot .pno { font-size: 20px; color: var(--sub); font-variant-numeric: tabular-nums; }

/* ---------- 타이포 ---------- */
.h1 {
  font-family: 'Noto Serif KR', serif;
  font-weight: 700;
  font-size: 100px;
  line-height: 1.35;
  letter-spacing: -0.02em;
  color: var(--ink);
}
.h2 {
  font-family: 'Noto Serif KR', serif;
  font-weight: 600;
  font-size: 68px;
  line-height: 1.42;
  letter-spacing: -0.015em;
  color: var(--ink);
}
.lead { font-size: 54px; font-weight: 500; line-height: 1.55; }
.body { font-size: 42px; font-weight: 400; line-height: 1.65; }
.cap  { font-size: 31px; font-weight: 400; color: var(--sub); line-height: 1.6; }
.num  { font-variant-numeric: tabular-nums; font-weight: 700; }
.green { color: var(--green); }

/* 중앙 배치 */
.center-v { justify-content: center; }
.center-h { align-items: center; text-align: center; }

/* ---------- 섹션 표지 ---------- */
.sec-cover .sec-num {
  font-family: 'Pretendard Variable', Pretendard, sans-serif;
  font-size: 200px;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.sec-cover .sec-title {
  font-family: 'Noto Serif KR', serif;
  font-size: 88px;
  font-weight: 600;
  margin-top: 48px;
  letter-spacing: -0.02em;
}

/* ---------- 숫자 대형/특대 ---------- */
.num-xl { font-size: 260px; font-weight: 700; line-height: 1.05; font-variant-numeric: tabular-nums; letter-spacing: -0.02em; }
.num-xxl { font-size: 340px; font-weight: 700; line-height: 1.0; font-variant-numeric: tabular-nums; letter-spacing: -0.03em; }

/* ---------- 표 ---------- */
table.tb {
  width: 100%;
  border-collapse: collapse;
  font-variant-numeric: tabular-nums;
}
table.tb th {
  font-size: 31px;
  font-weight: 500;
  color: var(--sub);
  text-align: left;
  padding: 20px 28px;
  border-bottom: 1px solid var(--ink);
}
table.tb td {
  font-size: 42px;
  color: var(--ink);
  padding: 26px 28px;
  border-bottom: 1px solid var(--rule);
  line-height: 1.4;
}
table.tb th.r, table.tb td.r { text-align: right; }
table.tb td.n { font-weight: 700; text-align: right; }
table.tb tr.hl td { background: var(--shade); }
table.tb tr.dim td { color: var(--dim); }
table.tb tr.strong td { font-weight: 700; }

/* ---------- 인용 ---------- */
.quote {
  border-left: 3px solid var(--green);
  padding-left: 40px;
}
.quote .q-body { font-size: 50px; line-height: 1.5; letter-spacing: 0; font-weight: 400; }
.quote .q-src { font-size: 28px; color: var(--sub); margin-top: 28px; }

.quote-sm .q-body { font-size: 40px; }

/* ---------- 음영 박스 ---------- */
.shade-box {
  background: var(--shade);
  padding: 72px 80px;
}

/* ---------- 이미지 ---------- */
.img-frame {
  border: 1px solid var(--rule);
  display: block;
}

/* ---------- 페이드인 (허용된 예외) ---------- */
.fade-item { opacity: 0; transform: none; transition: opacity 0.45s ease; }
.fade-item.shown { opacity: 1; }

/* ---------- 딥그린 밑줄 ---------- */
.gu {
  border-bottom: 4px solid var(--green);
  padding-bottom: 2px;
}

/* ---------- 도움말 오버레이 ---------- */
#help {
  position: fixed; right: 20px; bottom: 16px;
  font-size: 13px; color: #8a8a8e;
  font-family: Pretendard, sans-serif;
  z-index: 99; user-select: none;
}

/* ---------- 슬라이드 카운터 ---------- */
#counter {
  position: fixed; left: 20px; bottom: 16px;
  font-size: 13px; color: #8a8a8e;
  font-variant-numeric: tabular-nums;
  z-index: 99; user-select: none;
}

/* ---------- 퍼널 지도 (1-8-b, 1-9) ---------- */
.funnel-map {
  width: 100%;
  font-family: Pretendard, sans-serif;
}
.fm-bars {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  width: 100%;
}
.fm-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
}
.fm-cnt {
  font-size: 30px;
  font-weight: 700;
  color: var(--ink);
  font-variant-numeric: tabular-nums;
  margin-bottom: 12px;
  line-height: 1;
}
.fm-bar {
  width: 100%;
  background: var(--green);
}
.fm-bar.fm-dot {
  background: transparent;
  border: 1px dashed var(--sub);
}
.fm-lbl {
  margin-top: 16px;
  font-size: 22px;
  color: var(--ink);
  line-height: 1;
  white-space: nowrap;
}
.fm-weeks {
  display: flex;
  gap: 28px;
  margin-top: 34px;
  width: 100%;
}
.fm-wk {
  position: relative;
  text-align: center;
  font-size: 18px;
  color: var(--sub);
  padding-top: 16px;
  border-top: 1px solid var(--rule);
}
.fm-wk::before, .fm-wk::after {
  content: "";
  position: absolute;
  top: 0;
  width: 1px;
  height: 8px;
  background: var(--rule);
}
.fm-wk::before { left: 0; }
.fm-wk::after { right: 0; }

/* 축소형 (1-9) */
.fm-small .fm-bars { gap: 20px; }
.fm-small .fm-cnt { font-size: 20px; margin-bottom: 8px; }
.fm-small .fm-lbl { font-size: 17px; margin-top: 10px; }

/* ===== 깔때기 퍼널 도표 (1-14) ===== */
.fn-wrap {
  position: relative;
  width: 1240px;
  margin: 0 auto;
}
.fn-rows {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
}
.fn-row {
  position: relative;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--rule);
  background: #fff;
  font-size: 26px;
  color: var(--ink);
  letter-spacing: 0.01em;
}
.fn-row .fn-cnt {
  position: absolute;
  left: 100%;
  margin-left: 32px;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-size: 28px;
  color: var(--ink);
}
.fn-row.fn-green {
  background: var(--green);
  border-color: var(--green);
  color: #fff;
}
.fn-loop {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* ===== 여정 10단계 (1-11 ~ 1-12) ===== */
.jour {
  display: flex;
  flex-direction: column;
  gap: 0;
  width: 100%;
}
.jour-row {
  display: flex;
  align-items: baseline;
  gap: 48px;
  padding: 26px 0;
  border-bottom: 1px solid var(--rule);
}
.jour-row:last-child { border-bottom: none; }
.jour-num {
  flex: 0 0 60px;
  font-weight: 700;
  font-size: 36px;
  font-variant-numeric: tabular-nums;
  color: var(--sub);
  text-align: right;
}
.jour-t {
  flex: 0 0 330px;
  font-weight: 600;
  font-size: 36px;
}
.jour-d {
  flex: 1;
  font-size: 33px;
  color: var(--ink);
  line-height: 1.5;
}
.jour-row.jour-green .jour-t, .jour-row.jour-green .jour-d { color: var(--green); font-weight: 700; }

/* SaaS 7종 표 — 8행 컴팩트 */
.saas-tbl table.tb td { padding: 18px 28px; font-size: 38px; }

/* 전자책 9권 표 — 9행 컴팩트 (글자가 행 괘선과 겹치지 않게 여백 확보) */
.ebook-tbl table.tb td { padding: 22px 24px 24px; font-size: 34px; line-height: 1.45; }

/* 성과 페이지 넘버링 */
.perf-num {
  display: inline-block;
  min-width: 72px;
  margin-right: 28px;
  font-family: 'Noto Serif KR', serif;
  font-size: 30px;
  font-weight: 600;
  color: #9A9A9E;
  letter-spacing: .08em;
  vertical-align: middle;
}

/* ===== S5 반론 2단 대조 ===== */
.obj-num { font-size:30px; color:#1F6F5C; letter-spacing:.12em; font-weight:600; margin-bottom:20px; }
.obj-title { font-family:'Noto Serif KR',serif; font-size:56px; font-weight:700; color:#1A1A1C; margin-bottom:56px; }
table.obj-tbl { width:100%; border-collapse:collapse; }
table.obj-tbl th { font-size:28px; font-weight:600; color:#9A9A9E; letter-spacing:.06em; padding:0 44px 26px 0; text-align:left; width:50%; }
table.obj-tbl th + th { padding-left:44px; }
table.obj-tbl td { font-size:35px; line-height:1.5; padding:28px 44px 28px 0; border-top:1px solid #ECECEA; vertical-align:top; }
table.obj-tbl td.obj-l { color:#6B6B70; font-weight:400; border-right:1px solid #E2E2DE; }
table.obj-tbl td.obj-r { color:#1A1A1C; padding-left:44px; border-right:none; }
table.obj-tbl td.obj-r strong { font-weight:700; }
table.obj-tbl thead th { border-bottom:none; }
table.obj-tbl th.obj-hl { border-right:1px solid #E2E2DE; }

/* ===== 결제 동선 (0-9 · 3-10 · 6-8) ===== */
.pay-row { display:flex; align-items:baseline; gap:48px; padding:40px 0; }
.pay-row + .pay-row { border-top:1px solid #ECECEA; }
.pay-main { font-family:'Noto Serif KR',serif; font-size:72px; font-weight:700; color:#1A1A1C; }
.pay-sub { font-size:36px; color:#6B6B70; }
.pay-row.pay-minor .pay-main { font-size:44px; font-weight:600; color:#6B6B70; font-family:'Pretendard',sans-serif; }
.pay-row.pay-minor .pay-sub { font-size:30px; color:#9A9A9E; }
