/* 채널82 — 절제된 미니멀 다크 테마 */
:root {
  --bg: #0a0a0b;
  --surface: #131316;
  --surface-2: #1b1b20;
  --border: #26262c;
  --text: #f4f4f5;
  --muted: #a1a1aa;
  --faint: #6d6d76;
  --accent: #e11d48;
  --accent-hover: #be123c;
  --accent-soft: rgba(225, 29, 72, 0.12);
  --radius: 12px;
  --radius-sm: 8px;
  --maxw: 1200px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- 헤더 ---------- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(10, 10, 11, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; gap: 32px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; letter-spacing: -0.02em; }
.logo-mark { width: 32px; height: 23px; display: inline-grid; place-items: center; flex: 0 0 auto; background: var(--accent); border-radius: 6px; }
.logo-mark::before { content: ""; width: 0; height: 0; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 8px solid #fff; margin-left: 2px; }
.main-nav { display: flex; gap: 24px; margin-right: auto; }
.main-nav a { color: var(--muted); font-size: 15px; font-weight: 500; }
.main-nav a:hover { color: var(--text); }
.main-nav a.active { color: var(--text); font-weight: 700; }
.header-actions { display: flex; align-items: center; gap: 16px; }
.login-link { color: var(--muted); font-size: 14px; }
.login-link:hover { color: var(--text); }

/* ---------- 버튼 ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 24px; border-radius: var(--radius-sm);
  font-size: 15px; font-weight: 700; border: 1px solid transparent;
  cursor: pointer; transition: background 0.15s, border-color 0.15s, color 0.15s;
  font-family: inherit;
}
.btn-primary { background: var(--accent); color: #fff; }
.btn-primary:hover { background: var(--accent-hover); }
.btn-ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--faint); }
.btn-sm { padding: 9px 16px; font-size: 14px; }
.btn-block { width: 100%; }

/* ---------- 히어로 ---------- */
.hero { padding: 88px 0 64px; text-align: center; }
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--muted);
  border: 1px solid var(--border); border-radius: 999px; padding: 7px 16px;
  background: var(--surface);
}
.badge .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--accent); }
.hero h1 { font-size: 44px; font-weight: 800; letter-spacing: -0.03em; margin: 24px 0 12px; }
.hero-sub { color: var(--muted); font-size: 17px; margin: 0 0 32px; }
.hero-actions { display: flex; gap: 12px; justify-content: center; }

/* ---------- 스탯 ---------- */
.stats { border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); background: var(--surface); }
.stats-inner { display: grid; grid-template-columns: repeat(3, 1fr); padding-top: 28px; padding-bottom: 28px; gap: 16px; text-align: center; }
.stat-label { display: block; color: var(--muted); font-size: 13px; margin-bottom: 6px; }
.stat-value { font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.stat-value.accent { color: var(--accent); }

/* ---------- 목록 ---------- */
#listings { padding: 56px 24px 96px; }
.section-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.section-head h2 { font-size: 24px; font-weight: 800; letter-spacing: -0.02em; margin: 0; }
.toolbar { display: flex; gap: 10px; }
.toolbar input[type="search"], .toolbar select, .form-control {
  background: var(--surface); border: 1px solid var(--border); color: var(--text);
  border-radius: var(--radius-sm); padding: 10px 14px; font-size: 14px; font-family: inherit;
}
.toolbar input[type="search"] { width: 240px; }
.toolbar input:focus, .toolbar select:focus, .form-control:focus { outline: none; border-color: var(--accent); }

.pills { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 24px; }
.pill {
  background: var(--surface); border: 1px solid var(--border); color: var(--muted);
  border-radius: 999px; padding: 8px 16px; font-size: 13px; font-weight: 600;
  cursor: pointer; font-family: inherit; transition: all 0.15s;
}
.pill:hover { color: var(--text); border-color: var(--faint); }
.pill.active { background: var(--accent-soft); border-color: var(--accent); color: var(--accent); }

.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; display: flex; flex-direction: column; gap: 14px;
  transition: border-color 0.15s, transform 0.15s;
}
.card:hover { border-color: var(--faint); transform: translateY(-2px); }
.card-top { display: flex; justify-content: space-between; align-items: center; }
.chip { font-size: 12px; font-weight: 700; color: var(--muted); border: 1px solid var(--border); border-radius: 999px; padding: 4px 12px; }
.status { font-size: 12px; font-weight: 700; color: #4ade80; }
.card h3 { margin: 0; font-size: 17px; font-weight: 700; letter-spacing: -0.01em; }
.card-stats { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
.card-stats .k { font-size: 12px; color: var(--faint); display: block; }
.card-stats .v { font-size: 16px; font-weight: 700; }
.card-stats .v.accent { color: var(--accent); }
.card-price { display: flex; align-items: baseline; justify-content: space-between; border-top: 1px solid var(--border); padding-top: 14px; }
.card-price .k { font-size: 13px; color: var(--muted); }
.card-price .v { font-size: 20px; font-weight: 800; color: var(--accent); letter-spacing: -0.02em; }
.card-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.mini-badge { font-size: 11px; font-weight: 600; color: var(--muted); background: var(--surface-2); border: 1px solid var(--border); border-radius: 6px; padding: 4px 8px; }
.card-actions { display: flex; gap: 8px; margin-top: 4px; }
.card-actions .btn { flex: 1; }
.compare-toggle { flex: 0 0 auto !important; padding: 9px 12px; }
.compare-toggle.on { border-color: var(--accent); color: var(--accent); }

.empty { text-align: center; color: var(--muted); padding: 60px 0; }

/* ---------- 비교 바 ---------- */
.compare-bar {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%);
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px;
  padding: 10px 10px 10px 20px; display: flex; align-items: center; gap: 16px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.5); z-index: 60; font-size: 14px; font-weight: 600;
}

/* ---------- 모달 ---------- */
.modal { position: fixed; inset: 0; z-index: 100; display: flex; align-items: center; justify-content: center; padding: 24px; }
.modal[hidden] { display: none; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.7); }
.modal-card {
  position: relative; background: var(--surface); border: 1px solid var(--border);
  border-radius: 16px; padding: 32px; width: 100%; max-width: 560px; max-height: 90vh; overflow-y: auto;
}
.modal-wide { max-width: 860px; }
.modal-x {
  position: absolute; top: 16px; right: 16px; background: none; border: none; color: var(--muted);
  font-size: 24px; cursor: pointer; line-height: 1; padding: 4px 8px;
}
.modal-x:hover { color: var(--text); }
.modal-card h3 { margin: 0 0 8px; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.modal-sub { color: var(--muted); font-size: 14px; margin-bottom: 20px; }
.detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
.detail-item { background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 14px 16px; }
.detail-item .k { font-size: 12px; color: var(--faint); display: block; margin-bottom: 4px; }
.detail-item .v { font-size: 17px; font-weight: 700; }
.detail-item .v.accent { color: var(--accent); }
.detail-desc { color: var(--muted); font-size: 14px; background: var(--surface-2); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 16px; margin-bottom: 20px; }
.modal-actions { display: flex; gap: 10px; }
.modal-actions .btn { flex: 1; }

/* 비교 테이블 */
.compare-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 16px; }
.compare-table th, .compare-table td { border: 1px solid var(--border); padding: 12px; text-align: center; }
.compare-table th { background: var(--surface-2); font-size: 12px; color: var(--muted); font-weight: 600; }
.compare-table td.hl { color: var(--accent); font-weight: 800; }

/* ---------- 폼 ---------- */
.form-wrap { max-width: 640px; margin: 0 auto; padding: 56px 24px 96px; }
.form-wrap h2 { font-size: 28px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 8px; }
.form-wrap .lede { color: var(--muted); margin: 0 0 32px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 14px; font-weight: 600; margin-bottom: 8px; }
.field .form-control { width: 100%; }
.field textarea.form-control { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-note { font-size: 13px; color: var(--faint); margin-top: 16px; }
.success-box { text-align: center; padding: 48px 24px; }
.success-box .big { font-size: 44px; margin-bottom: 16px; }
.success-box h3 { font-size: 22px; margin: 0 0 8px; }
.success-box p { color: var(--muted); }

/* ---------- 가이드 ---------- */
.steps { display: grid; gap: 16px; margin: 32px 0; }
.step { display: flex; gap: 16px; background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 20px 24px; }
.step-num { flex: 0 0 36px; height: 36px; border-radius: 50%; background: var(--accent-soft); color: var(--accent); font-weight: 800; display: flex; align-items: center; justify-content: center; }
.step h4 { margin: 4px 0 6px; font-size: 16px; }
.step p { margin: 0; color: var(--muted); font-size: 14px; }
.faq { margin-top: 16px; }
.faq details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 10px; }
.faq summary { padding: 16px 20px; cursor: pointer; font-weight: 600; font-size: 15px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq details[open] summary { border-bottom: 1px solid var(--border); }
.faq .a { padding: 16px 20px; color: var(--muted); font-size: 14px; }
.fee-table { width: 100%; border-collapse: collapse; font-size: 14px; margin-top: 16px; }
.fee-table th, .fee-table td { border: 1px solid var(--border); padding: 12px 16px; text-align: left; }
.fee-table th { background: var(--surface-2); color: var(--muted); font-weight: 600; }

/* ---------- 푸터 ---------- */
.site-footer { border-top: 1px solid var(--border); padding: 32px 0; }
.footer-inner { display: flex; flex-direction: column; gap: 8px; }
.footer-brand { font-weight: 800; margin: 0; }
.footer-nav { display: flex; gap: 20px; }
.footer-nav a { color: var(--muted); font-size: 13px; }
.footer-nav a:hover { color: var(--text); }
.footer-note { color: var(--faint); font-size: 12px; margin: 0; }

/* ---------- 반응형 ---------- */
@media (max-width: 760px) {
  .hero h1 { font-size: 30px; }
  .main-nav { display: none; }
  .header-inner { gap: 16px; }
  .toolbar { width: 100%; }
  .toolbar input[type="search"] { flex: 1; width: auto; }
  .section-head { flex-direction: column; align-items: stretch; }
  .detail-grid, .form-row { grid-template-columns: 1fr; }
  .stats-inner { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
  .stat-value { font-size: 20px; }
}

/* ---------- 로그인 ---------- */
[hidden] { display: none !important; }
.modal-narrow { max-width: 400px; }
.btn-social {
  width: 100%; display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px; border-radius: var(--radius-sm); font-weight: 700; font-size: 15px;
  border: 1px solid var(--border); cursor: pointer; margin-bottom: 10px; font-family: inherit;
  transition: filter 0.15s;
}
.btn-social:hover { filter: brightness(1.08); }
.btn-google { background: #fff; color: #1f1f1f; }
.btn-kakao { background: #fee500; color: #3c1e1e; border-color: transparent; }
.user-chip { display: flex; align-items: center; gap: 10px; font-size: 14px; }
.user-name { font-weight: 700; }
.linklike {
  background: none; border: none; color: var(--muted); cursor: pointer;
  font-size: 13px; font-family: inherit; padding: 0;
}
.linklike:hover { color: var(--text); }

/* ---------- 거래 상태 뱃지 ---------- */
.status.st-transferring { color: #fbbf24; }
.status.st-review { color: #94a3b8; }
.status.st-done { color: #64748b; }

/* ---------- 툴바 ---------- */
.toolbar { flex-wrap: wrap; }

/* ---------- 수익 잠금 ---------- */
.lock { color: var(--muted); font-size: 14px; }
.linklike.strong { color: var(--accent); font-weight: 700; }

/* ---------- 관리자 ---------- */
.admin-tag {
  font-size: 12px; font-weight: 700; color: var(--muted);
  border: 1px solid var(--border); border-radius: 999px; padding: 3px 10px;
}
.admin-wrap { padding: 40px 24px 90px; }
.proto-banner {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px 20px; margin: 20px 0;
}
.proto-banner strong { font-size: 14px; }
.proto-banner p { margin: 6px 0 0; font-size: 13px; color: var(--muted); }
.gate-box {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 48px 24px; text-align: center; margin-top: 24px;
}
.gate-box h3 { margin: 0 0 8px; }
.gate-box p { color: var(--muted); margin: 0; }
.admin-stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 12px; margin: 24px 0; }
.admin-stat {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 16px;
}
.admin-stat .stat-label { display: block; font-size: 12px; color: var(--muted); margin-bottom: 6px; }
.admin-stat .stat-value { font-size: 24px; font-weight: 800; }
.admin-table-wrap { overflow-x: auto; border: 1px solid var(--border); border-radius: var(--radius); }
.admin-table { width: 100%; border-collapse: collapse; font-size: 14px; min-width: 820px; background: var(--surface); }
.admin-table th, .admin-table td { padding: 12px 12px; border-bottom: 1px solid var(--border); text-align: left; }
.admin-table thead th { color: var(--muted); font-weight: 600; font-size: 12px; white-space: nowrap; }
.admin-table tbody tr:last-child td { border-bottom: none; }
.admin-table .form-control-sm { padding: 8px 10px; font-size: 13px; width: auto; }
.danger { color: #f87171; background: none; border: none; cursor: pointer; font-size: 13px; padding: 4px 0; }
.danger:hover { text-decoration: underline; }
.admin-foot { display: flex; align-items: center; justify-content: space-between; margin-top: 20px; gap: 16px; flex-wrap: wrap; }
.toast {
  position: fixed; bottom: 28px; left: 50%; transform: translateX(-50%);
  background: #1f2937; color: #f4f4f5; font-size: 14px; font-weight: 600;
  padding: 12px 20px; border-radius: 999px; border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0,0,0,.45); z-index: 200;
}
@media (max-width: 720px) {
  .admin-stats { grid-template-columns: repeat(2, 1fr); }
}
.lede { color: var(--muted); }

/* ---------- 홍보 스트립 (index) ---------- */
.promo-strip { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding-top: 8px; padding-bottom: 8px; }
.promo-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; display: block; transition: border-color .2s, transform .2s;
}
.promo-card:hover { border-color: var(--accent); transform: translateY(-2px); }
.promo-badge {
  display: inline-block; font-size: 12px; font-weight: 700; color: var(--accent);
  background: var(--accent-soft); border-radius: 999px; padding: 4px 12px; margin-bottom: 12px;
}
.promo-card h3 { margin: 0 0 8px; font-size: 18px; }
.promo-card p { margin: 0 0 12px; color: var(--muted); font-size: 14px; }
.promo-link { font-size: 14px; font-weight: 700; color: var(--text); }

/* ---------- 강의/전자책 ---------- */
.course-wrap { padding-top: 40px; padding-bottom: 90px; max-width: 860px; }
.course-block { margin-bottom: 90px; }
.course-block:last-child { margin-bottom: 0; }
.course-meta { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 24px 0; }
.course-meta-item {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-sm); padding: 14px 16px;
}
.course-meta-item .k { display: block; font-size: 12px; color: var(--muted); margin-bottom: 4px; }
.course-meta-item .v { font-weight: 700; font-size: 15px; }
.course-meta-item .v.accent { color: var(--accent); }
.badge-soon .dot { background: #fbbf24; }
.curriculum { margin: 16px 0 8px; }
.curriculum details { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); margin-bottom: 10px; }
.curriculum summary { padding: 16px 20px; cursor: pointer; font-weight: 700; font-size: 15px; list-style: none; display: flex; align-items: center; gap: 12px; }
.curriculum summary::-webkit-details-marker { display: none; }
.curriculum details[open] summary { border-bottom: 1px solid var(--border); }
.curriculum .a { padding: 8px 20px 16px; color: var(--muted); font-size: 14px; }
.curriculum .a ul { margin: 8px 0; padding-left: 20px; }
.curriculum .a li { margin-bottom: 6px; }
.ch-num {
  flex: 0 0 34px; height: 34px; border-radius: 50%; background: var(--accent-soft); color: var(--accent);
  font-weight: 800; font-size: 13px; display: inline-flex; align-items: center; justify-content: center;
}
.course-flow {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; margin: 24px 0; text-align: center;
}
.course-flow strong { font-size: 16px; }
.course-flow p { color: var(--muted); font-size: 14px; margin: 8px 0; }
.flow-steps { display: flex; align-items: center; justify-content: center; gap: 10px; margin: 16px 0; flex-wrap: wrap; }
.flow-steps span {
  background: var(--surface-2); border: 1px solid var(--border); border-radius: 999px;
  padding: 8px 18px; font-weight: 700; font-size: 14px;
}
.apply-box {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px; margin-top: 32px;
}
.apply-box h3 { margin: 0 0 4px; }
.apply-form { margin-top: 16px; }
.course-poster { width: 100%; height: auto; border-radius: var(--radius); border: 1px solid var(--border); margin: 24px 0; display: block; }
.points4 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin: 20px 0; }
.point { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 18px; }
.point strong { display: block; margin-bottom: 6px; font-size: 15px; }
.point p { margin: 0; color: var(--muted); font-size: 13px; }
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; margin: 20px 0; }
.pain-box, .gain-box { border-radius: var(--radius-sm); padding: 20px; border: 1px solid var(--border); }
.pain-box { background: rgba(225, 29, 72, 0.06); }
.gain-box { background: rgba(74, 222, 128, 0.05); }
.pain-box h4, .gain-box h4 { margin: 0 0 12px; font-size: 15px; }
.pain-box ul, .gain-box ul, .check-list { margin: 0; padding-left: 20px; color: var(--muted); font-size: 14px; }
.pain-box li, .gain-box li, .check-list li { margin-bottom: 8px; }
.check-list { margin: 12px 0; }
.check-list li { color: var(--text); }

/* ---------- 전자책 표지 ---------- */
.ebook-cover { display: flex; justify-content: center; margin: 32px 0; }
.ebook-cover img { display: block; width: min(100%, 480px); height: auto; border-radius: 12px; }
.ebook-cover-inner {
  width: 280px; aspect-ratio: 3/4; border-radius: 8px; padding: 32px 28px;
  background: linear-gradient(135deg, #1b1b20 0%, #0a0a0b 100%);
  border: 1px solid var(--border); border-left: 10px solid var(--accent);
  display: flex; flex-direction: column; justify-content: space-between;
  box-shadow: 0 20px 60px rgba(0,0,0,.5);
}
.ebook-kicker { font-size: 12px; color: var(--muted); letter-spacing: .1em; }
.ebook-cover-inner strong { font-size: 30px; line-height: 1.35; letter-spacing: -0.02em; }
.ebook-sub { font-size: 13px; color: var(--accent); font-weight: 700; }

@media (max-width: 720px) {
  .promo-strip { grid-template-columns: 1fr; }
  .course-meta { grid-template-columns: 1fr; }
  .points4, .two-col { grid-template-columns: 1fr; }
}

/* ---------- 강의 목록 ---------- */
.course-list { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 28px; }
@media (max-width: 720px) { .course-list { grid-template-columns: 1fr; } }

/* ---------- 채널 구매 (단일 상품) ---------- */
.section-kicker {
  color: var(--accent); font-size: 13px; font-weight: 800;
  letter-spacing: .18em; margin: 0 0 10px;
}
.why-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin: 24px 0; }
.why-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px 24px; text-align: center;
}
.why-icon {
  width: 58px; height: 58px; border-radius: 16px; background: var(--accent-soft);
  color: var(--accent); font-size: 24px; font-weight: 800;
  display: inline-flex; align-items: center; justify-content: center; margin-bottom: 18px;
}
.why-card h3 { margin: 0 0 10px; font-size: 17px; }
.why-card p { margin: 0; color: var(--muted); font-size: 14px; line-height: 1.65; }
.product-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 32px;
  display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; margin: 24px 0;
}
.product-card h3 { margin: 0 0 12px; font-size: 22px; }
.product-price { font-size: 14px; color: var(--muted); margin-bottom: 4px; }
.product-price strong { display: block; font-size: 26px; color: var(--text); margin-top: 4px; }
.product-cta { display: flex; flex-direction: column; justify-content: center; gap: 12px; border-left: 1px solid var(--border); padding-left: 32px; }
@media (max-width: 720px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .product-card { grid-template-columns: 1fr; }
  .product-cta { border-left: none; padding-left: 0; border-top: 1px solid var(--border); padding-top: 24px; }
}
@media (max-width: 480px) {
  .why-grid { grid-template-columns: 1fr; }
}

/* 홈·채널 판매 안내: 채널82의 편집형 브랜드 디자인 */
.site-refresh { --muted: #b6b6bf; --faint: #a1a1aa; --border: #303034; }
.site-refresh .container { max-width: 1200px; }
.site-refresh .header-inner { height: 80px; }
.site-refresh .logo { letter-spacing: -.06em; font-size: 24px; }
.site-refresh .logo-mark { width: 34px; height: 24px; }
.site-refresh .main-nav { gap: 28px; }
.site-refresh .btn { border-radius: 3px; min-height: 48px; }
.site-refresh .btn-sm { min-height: 40px; }
.site-refresh h1 { font-size: clamp(36px, 4.6vw, 66px); line-height: 1.16; letter-spacing: -.055em; font-weight: 750; }
.site-refresh h2 { font-size: clamp(26px, 3vw, 38px); line-height: 1.3; letter-spacing: -.04em; margin: 0 0 20px; font-weight: 700; }
.site-refresh h3 { line-height: 1.4; }
.site-refresh .hero { text-align: left; padding: 76px 0 0; }
.hero-layout { display: grid; grid-template-columns: 1.45fr 1fr; column-gap: 64px; align-items: center; }
.hero-copy { padding: 20px 0 40px; min-width: 0; }
.site-refresh .hero h1 { margin: 28px 0 24px; }
.site-refresh .hero h1 span { color: #bbbbc4; }
.site-refresh .badge { padding: 0; background: none; border: 0; border-radius: 0; font-size: 12px; letter-spacing: .08em; color: var(--text); }
.site-refresh .hero-sub { max-width: 540px; line-height: 1.8; font-size: 16px; margin-bottom: 32px; }
.site-refresh .hero-actions { justify-content: flex-start; flex-wrap: wrap; gap: 12px; }
.site-refresh .form-note { line-height: 1.8; font-size: 13px; }
.brand-art { position: relative; isolation: isolate; aspect-ratio: 1 / 1.13; background: #121215; border: 1px solid #34343a; padding: 26px; overflow: hidden; }
.art-top, .art-bottom { position: relative; z-index: 2; display: flex; justify-content: space-between; align-items: center; font-size: 10px; letter-spacing: .1em; }
.art-top { border-bottom: 1px solid #3c3c42; padding-bottom: 18px; }
.art-bottom { position: absolute; bottom: 26px; left: 26px; right: 26px; border-top: 1px solid #3c3c42; padding-top: 18px; color: #b6b6bf; }
.art-bottom span:last-child { font-size: 23px; color: #f4f4f5; }
.art-disc { width: 80%; aspect-ratio: 1; position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) rotate(-12deg); border: 1px solid #7c2538; border-radius: 50%; display: grid; place-items: center; }
.art-disc::before { content: ''; position: absolute; inset: 20px; border: 1px solid #3c3c42; border-radius: 50%; }
.art-disc span { font-size: clamp(120px, 15vw, 200px); font-weight: 800; line-height: 1; letter-spacing: -.11em; margin-left: -.08em; color: #e11d48; }
.art-disc i { position: absolute; width: 22px; height: 22px; background: #e11d48; right: 10%; top: 9%; }
.hero-caption { grid-column: 1 / -1; display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); margin-top: 44px; padding: 20px 0 24px; color: var(--muted); font-size: 11px; letter-spacing: .12em; }
#salesTitle { scroll-margin-top: 120px; }
.hero-caption a { letter-spacing: 0; font-size: 13px; color: var(--text); }
.editorial-section { padding-top: 72px; padding-bottom: 72px; border-bottom: 1px solid var(--border); }
.site-refresh main:not(.purchase-page) > .editorial-section { display: grid; grid-template-columns: 300px 1fr; column-gap: 64px; }
.section-heading { grid-column: 1; grid-row: 1 / 4; max-width: 760px; }
.site-refresh main:not(.purchase-page) > .editorial-section > :not(.section-heading) { grid-column: 2; }
.site-refresh .section-kicker { color: #fb7185; font-size: 10px; letter-spacing: .16em; margin-bottom: 22px; }
.section-heading .lede { font-size: 14px; line-height: 1.8; }
.info-rows { margin: 0 0 20px; }
.info-rows > div { display: grid; grid-template-columns: 110px 1fr; gap: 24px; padding: 22px 0; border-bottom: 1px solid var(--border); }
.info-rows > div:first-child { padding-top: 4px; }
.info-rows dt { font-size: 14px; font-weight: 700; }
.info-rows dd { margin: 0; color: var(--muted); max-width: 760px; font-size: 15px; line-height: 1.8; }
.text-link { justify-self: start; display: inline-block; font-weight: 600; font-size: 14px; padding: 12px 0; text-decoration: underline; text-underline-offset: 6px; }
.evidence-note { color: var(--muted); font-size: 15px; line-height: 1.9; max-width: 800px; border-left: 2px solid var(--accent); padding: 4px 0 4px 24px; margin-top: 0; }
.resource-list { display: grid; grid-template-columns: 1fr; gap: 0; counter-reset: resources; }
.resource-list > a { counter-increment: resources; display: grid; grid-template-columns: 36px 1fr auto; column-gap: 18px; align-items: center; border-bottom: 1px solid var(--border); padding: 24px 0; }
.resource-list > a::before { content: '0' counter(resources); grid-column: 1; grid-row: 1 / 3; align-self: start; color: var(--faint); font-size: 11px; }
.resource-list .promo-badge { grid-column: 2; background: none; padding: 0; border-radius: 0; font-size: 11px; color: #b6b6bf; margin-bottom: 8px; }
.resource-list h3 { grid-column: 2; font-size: 19px; margin: 0; letter-spacing: -.03em; }
.resource-list .promo-link { grid-column: 3; grid-row: 1 / 3; font-size: 12px; }
.site-refresh a:focus-visible, .site-refresh button:focus-visible { outline: 2px solid #fb7185; outline-offset: 4px; }
.site-refresh .text-link:hover, .resource-list > a:hover .promo-link { color: #fb7185; }
.purchase-page { max-width: 1080px; padding-top: 64px; padding-bottom: 80px; }
.purchase-page > h1 { margin: 24px 0; }
.purchase-page > .lede { max-width: 720px; font-size: 18px; margin-bottom: 28px; }
.purchase-page > .editorial-section:first-of-type { margin-top: 64px; border-top: 1px solid var(--border); }
.purchase-page .info-rows { margin-top: 32px; }
.purchase-page .why-grid { grid-template-columns: 1fr 1fr; gap: 0 56px; }
.purchase-page .why-card { padding: 28px 0; background: none; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; text-align: left; }
.purchase-page .why-icon { width: 32px; height: 32px; margin-bottom: 16px; border-radius: 2px; font-size: 18px; }
.purchase-page .steps { gap: 0; margin-bottom: 0; }
.purchase-page .step { background: none; border: 0; border-bottom: 1px solid var(--border); border-radius: 0; padding: 26px 0; }
.purchase-page .step-num { border-radius: 2px; background: none; border: 1px solid #642337; color: #fb7185; }
.purchase-page .step h3 { margin: 0 0 8px; font-size: 18px; }
.purchase-page .apply-box { padding: 36px; border-radius: 4px; }
.purchase-page .apply-box:last-child { border-top: 2px solid var(--accent); }
.purchase-page [id], .purchase-page section { scroll-margin-top: 120px; }
.site-refresh .site-footer { border-top: 0; padding: 48px 0; }
.site-refresh .footer-brand { font-size: 22px; letter-spacing: -.05em; margin-bottom: 12px; }
.site-refresh .footer-nav { flex-wrap: wrap; gap: 12px 20px; }
.site-refresh .footer-nav span { color: var(--muted); font-size: 13px; }
.site-refresh .footer-note { max-width: 850px; line-height: 1.8; margin-top: 12px; }
@media (max-width: 1000px) {
  .hero-layout { column-gap: 32px; }
  .site-refresh main:not(.purchase-page) > .editorial-section { grid-template-columns: 240px 1fr; gap: 32px; }
  .site-refresh .hero h1 { font-size: 46px; }
}
@media (max-width: 760px) {
  .site-refresh .header-inner { height: auto; min-height: 64px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 12px; gap: 12px; }
  .site-refresh .header-actions { margin-left: auto; gap: 10px; }
  .site-refresh .main-nav { display: flex; order: 3; width: 100%; gap: 20px; flex-wrap: wrap; }
  .site-refresh .main-nav a { font-size: 13px; padding: 4px 0; }
  .site-refresh .hero { padding: 40px 0 0; }
  .hero-layout { grid-template-columns: 1fr; gap: 0; }
  .hero-copy { padding: 0 0 32px; }
  .site-refresh .hero h1 { font-size: clamp(32px, 8.8vw, 48px); margin-top: 24px; }
  .site-refresh .hero-sub { font-size: 15px; }
  .brand-art { aspect-ratio: 1.1; padding: 20px; }
  .art-disc { width: 160px; }
  .art-disc span { font-size: 110px; }
  .art-bottom { bottom: 18px; left: 20px; right: 20px; }
  .art-top { padding-bottom: 12px; }
  .hero-caption { margin-top: 24px; gap: 16px; letter-spacing: .04em; font-size: 9px; }
  .site-refresh main:not(.purchase-page) > .editorial-section { display: block; }
  .editorial-section { padding-top: 40px; padding-bottom: 40px; }
  .section-heading { margin-bottom: 28px; }
  .info-rows > div { grid-template-columns: 1fr; gap: 8px; padding: 20px 0; }
  .purchase-page .why-grid { grid-template-columns: 1fr; }
  .resource-list > a { grid-template-columns: 24px 1fr; gap: 4px 12px; }
  .resource-list .promo-link { grid-column: 2; grid-row: 3; margin-top: 12px; }
  .purchase-page { padding-top: 40px; }
  .purchase-page .apply-box { padding: 28px 20px; }
  .purchase-page [id], .purchase-page section, #salesTitle { scroll-margin-top: 150px; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

/* 공통 주문/결제: 기존 폼과 버튼 재사용 */
.payment-panel { margin-top: 32px; }
.payment-panel .text-link { display: block; }
.payment-product-grid { display: grid; grid-template-columns: repeat(3,minmax(0,1fr)); gap: 20px; }
.payment-product-form { min-width: 0; padding: 24px; }
.payment-product-form .field { margin-bottom: 16px; }
.payment-check { display: flex; gap: 10px; align-items: center; margin: 20px 0; }
.payment-orders { display: grid; gap: 12px; }
.payment-order { display: flex; justify-content: space-between; gap: 16px; align-items: center; padding: 20px; border: 1px solid var(--border); border-radius: 4px; }
.payment-order p,.payment-order small { color: var(--muted); overflow-wrap: anywhere; }
.payment-order-actions { display: flex; gap: 8px; flex-wrap: wrap; }
button:disabled { opacity: .55; cursor: not-allowed; }
.payment-orders a:focus-visible,.payment-order button:focus-visible,.payment-panel a:focus-visible { outline: 2px solid var(--accent); outline-offset: 4px; }
@media (max-width: 760px) { .payment-product-grid { grid-template-columns: 1fr; } .payment-order { align-items: flex-start; flex-direction: column; } }

/* Common footer and readable policy drafts; existing site layout is preserved. */
.footer-nav { flex-wrap: wrap; }
.footer-nav a { white-space: nowrap; }
.footer-note { line-height: 1.8; color: var(--muted); }
.footer-nav .footer-privacy { font-weight: 700; color: var(--text); }
.footer-business { color: var(--muted); font-size: 12px; line-height: 1.9; }
.footer-business p { margin: 5px 0; }
.footer-business span { color: #b6b6bf; margin-right: 6px; }
.footer-business i { font-style: normal; color: #53535e; margin: 0 10px; }
.footer-copyright { color: var(--muted); font-size: 11px; margin: 18px 0 0; }
.policy-page { max-width: 960px; padding-top: 64px; padding-bottom: 72px; }
.policy-page h1 { font-size: clamp(28px, 4vw, 42px); letter-spacing: -.04em; margin-bottom: 16px; }
.policy-kicker { font-size: 11px; letter-spacing: .13em; color: #fb7185; }
.policy-notice { border: 1px solid var(--border); border-left: 3px solid #fb7185; padding: 22px 24px; margin: 30px 0; background: #121215; }
.policy-notice strong { color: #f4f4f5; font-size: 14px; }
.policy-notice p { margin: 10px 0 0; color: var(--muted); line-height: 1.85; font-size: 14px; }
.policy-toc { display: flex; flex-wrap: wrap; gap: 8px 20px; padding: 16px 0 28px; border-bottom: 1px solid var(--border); }
.policy-toc a { font-size: 13px; text-decoration: underline; text-underline-offset: 5px; padding: 10px 0; }
.policy-section { padding-top: 40px; scroll-margin-top: 100px; }
.policy-section h2 { font-size: 21px; margin-bottom: 18px; letter-spacing: -.025em; }
.policy-section p, .policy-section li { font-size: 15px; line-height: 1.9; color: var(--muted); }
.policy-section li { margin: 8px 0; }
.policy-section a { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.policy-table-wrap { overflow-x: auto; }
.policy-table-wrap table { width: 100%; border-collapse: collapse; font-size: 13px; text-align: left; }
.policy-table-wrap caption { text-align: left; padding: 0 0 14px; color: var(--muted); font-size: 12px; }
.policy-table-wrap th, .policy-table-wrap td { border: 1px solid var(--border); padding: 16px; vertical-align: top; line-height: 1.8; }
.policy-table-wrap td { color: var(--muted); }
.policy-table-wrap thead { background: #151519; }
.policy-details { margin: 0; }
.policy-details > div { display: grid; grid-template-columns: 230px 1fr; gap: 24px; padding: 17px 0; border-bottom: 1px solid var(--border); font-size: 14px; }
.policy-details dd { margin: 0; color: var(--muted); }
.policy-page a:focus-visible, .site-footer a:focus-visible { outline: 2px solid #fb7185; outline-offset: 5px; }
@media (max-width: 650px) {
 .footer-business { font-size: 12px; overflow-wrap: anywhere; }
 .footer-business i { display: none; }
 .footer-business span { display: block; margin-top: 9px; }
 .footer-nav { gap: 8px 18px; }
 .footer-nav a { padding: 8px 0; }
 .policy-page { padding-top: 40px; padding-bottom: 48px; }
 .policy-notice { padding: 18px; }
 .policy-section { padding-top: 32px; }
 .policy-section p, .policy-section li { font-size: 14px; }
 .policy-details > div { grid-template-columns: 1fr; gap: 8px; }
 .policy-table-wrap th, .policy-table-wrap td { padding: 10px; font-size: 12px; overflow-wrap: anywhere; }
 .policy-table-wrap th:first-child { width: 23%; }
}

.intake-consent input[type="checkbox"] { width: auto; accent-color: var(--accent); margin-right: 8px; }

/* Design polish: shared navigation, product hierarchy and preparation states. */
:where(a, button, input, select, textarea, summary):focus-visible { outline: 2px solid #fb7185; outline-offset: 4px; }
.login-link { min-height: 44px; display: inline-flex; align-items: center; }
.course-wrap { max-width: 1080px; padding-top: 56px; }
.page-title { font-size: clamp(28px, 3.4vw, 44px); line-height: 1.25; letter-spacing: -.04em; margin: 20px 0; text-wrap: balance; word-break: keep-all; }
.course-block > h3 { font-size: 24px; margin-top: 40px; }
.course-list { gap: 24px; }
.course-list .promo-card { padding: 24px; }
.course-thumb { width: 100%; height: 260px; object-fit: contain; display: block; background: var(--bg); border-radius: 8px; margin-bottom: 24px; }
.course-list .promo-card h3 { font-size: 23px; line-height: 1.4; word-break: keep-all; }
.resource-list { grid-column: 1 / -1; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.resource-list > a { display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; border: 1px solid var(--border); background: var(--surface); border-radius: 8px; }
.resource-list > a::before { display: none; }
.resource-list .promo-link { margin-top: auto; padding-top: 16px; }
.resource-list .promo-badge { margin: 0; }
.resource-thumb { display: block; width: 100%; height: 240px; object-fit: contain; background: var(--bg); border-radius: 4px; }
.resource-list > a:hover, .course-list .promo-card:hover { border-color: #834254; }
.ebook-product { display: grid; grid-template-columns: 1fr 1.15fr; grid-template-areas: "cover copy"; align-items: center; gap: 48px; margin-bottom: 56px; }
.ebook-product-copy { grid-area: copy; }
.ebook-product .ebook-cover { grid-area: cover; margin: 0; }
.ebook-product .course-meta { grid-template-columns: 1fr; gap: 0; margin: 24px 0 0; }
.ebook-product .course-meta-item { display: flex; justify-content: space-between; gap: 16px; padding: 12px 0; border: 0; border-bottom: 1px solid var(--border); background: none; }
.preparation-note { margin: 24px 0 16px; border-left: 2px solid var(--accent); padding-left: 18px; }
.preparation-note strong { font-size: 17px; }
.preparation-note p { color: var(--muted); font-size: 14px; margin: 8px 0 0; }
.application-preview > summary { cursor: pointer; padding: 14px 0; font-weight: 600; min-height: 48px; }
.application-preview[open] { padding-bottom: 8px; }
.btn-primary:disabled { background: var(--surface-2); border-color: var(--border); color: var(--muted); cursor: not-allowed; }
.footer-nav { flex-wrap: wrap; gap: 8px 20px; }
.footer-nav a { display: inline-flex; align-items: center; min-height: 32px; }
@media (max-width: 760px) {
 .header-inner, .site-refresh .header-inner { height: auto; min-height: 64px; flex-wrap: wrap; gap: 8px; padding-top: 12px; padding-bottom: 8px; }
 .header-actions, .site-refresh .header-actions { margin-left: auto; gap: 10px; }
 .main-nav, .site-refresh .main-nav { display: flex; order: 3; width: 100%; gap: 4px 20px; flex-wrap: wrap; }
 .main-nav a, .site-refresh .main-nav a { font-size: 13px; min-height: 36px; display: inline-flex; align-items: center; padding: 4px 0; }
 .site-refresh .brand-art { aspect-ratio: auto; height: 210px; }
 .site-refresh .art-disc { width: 110px; }
 .site-refresh .art-disc span { font-size: 76px; }
 .resource-list { grid-template-columns: 1fr; gap: 20px; }
 .resource-thumb { height: 260px; }
 .course-wrap { padding-top: 32px; padding-bottom: 56px; }
 .course-thumb { height: 240px; }
 .ebook-product { grid-template-columns: 1fr; grid-template-areas: "copy" "cover"; gap: 24px; margin-bottom: 40px; }
 .ebook-product .course-meta { grid-template-columns: 1fr; }
 .site-footer, .site-refresh .site-footer { padding: 32px 0; }
 .footer-business span { display: inline; margin-top: 0; }
 .footer-business p { margin: 10px 0; }
 .footer-note { line-height: 1.8; }
}
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }

.course-wrap [id] { scroll-margin-top: 132px; }

/* Consulting card copy should read as body text, including paragraphs marked form-note. */
#course-paid :is(.point, .pain-box, .gain-box) :is(p, ul) { font-size: 16px; line-height: 1.8; color: #d4d4dc; word-break: keep-all; }
#course-paid :is(.point strong, .pain-box h4, .gain-box h4) { font-size: 18px; line-height: 1.5; color: #f4f4f5; }
#course-paid :is(.pain-box, .gain-box) li { margin-bottom: 10px; }

/* Existing dark/red storefront, with restrained gold highlights. */
#course-paid .shop-gold { color: #f3d580; }
#course-paid :is(.point strong, .pain-box h4, .gain-box h4) { color: #f3d580; }
#course-paid .consulting-hero { display: block; }
#course-paid .consulting-hero .page-title { font-size: clamp(36px, 3.6vw, 52px); margin: 24px 0; }
#course-paid .consulting-hero .course-meta { grid-template-columns: 1fr; gap: 0; }
#course-paid .consulting-hero .course-meta-item { padding: 12px 0; border: 0; border-bottom: 1px solid var(--border); background: none; display: flex; justify-content: space-between; gap: 20px; }
#course-paid .consulting-hero .course-meta-item .v { color: #f3d580; }
#course-paid .shop-poster { background: #121215; border: 1px solid var(--border); border-radius: 16px; padding: 0; overflow: hidden; }
#course-paid .shop-poster img { margin: 0; }
#course-paid .shop-poster p { margin: 14px 0 0; font-size: 11px; letter-spacing: .1em; text-align: center; color: #f3d580; }
#course-paid .shop-nav { margin-top: 36px; }
#course-paid .shop-section { padding: 56px 0; border-bottom: 1px solid var(--border); }
#course-paid .shop-section :is(h2, h3) { word-break: keep-all; }
#course-paid .shop-section > :is(h2, h3) { font-size: clamp(26px, 3vw, 34px); line-height: 1.4; margin: 0 0 20px; letter-spacing: -.035em; }
#course-paid .shop-section > h3:not(:first-child) { margin-top: 40px; }
#course-paid .shop-kicker { color: #f3d580; font-size: 11px; font-weight: 700; letter-spacing: .16em; margin: 0 0 16px; }
#course-paid .shop-benefits { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; margin-top: 36px; }
#course-paid .shop-number { font-size: 48px; line-height: 1; font-weight: 800; color: #f3d580; }
#course-paid .shop-benefits h3 { font-size: 22px; margin: 18px 0 12px; }
#course-paid .shop-benefits p { color: #d4d4dc; font-size: 16px; line-height: 1.8; margin: 0; }
#course-paid .shop-flow ol { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; list-style: none; padding: 0; margin: 32px 0; }
#course-paid .shop-flow li { padding: 24px 16px; border-top: 2px solid #f3d580; background: #141316; }
#course-paid .shop-flow li > * { display: block; }
#course-paid .shop-flow span { color: #f3d580; margin-bottom: 20px; font-size: 12px; }
#course-paid .shop-flow strong { font-size: 20px; }
#course-paid .shop-flow small { font-size: 14px; color: #d4d4dc; margin-top: 10px; word-break: keep-all; }
#course-paid .shop-package .points4 { gap: 16px; }
#course-paid .shop-schedule { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
#course-paid .shop-schedule .step { padding: 24px; background: var(--surface); border: 1px solid var(--border); border-radius: 8px; margin: 0; align-items: flex-start; }
#course-paid .shop-schedule h4 { color: #f3d580; font-size: 18px; }
#course-paid .shop-schedule p { font-size: 16px; color: #d4d4dc; line-height: 1.8; }
#course-paid .shop-price { background: #1b1710; padding: 40px; margin-top: 40px; border: 1px solid #6b5933; border-radius: 12px; }
#course-paid .shop-price-value { color: #f3d580; font-size: 76px; font-weight: 800; line-height: 1.2; margin: 24px 0; letter-spacing: -.05em; }
#course-paid .shop-price-value span { font-size: 28px; margin-left: 8px; }
#course-paid .shop-details { border-bottom: 1px solid var(--border); }
#course-paid .shop-details summary { padding: 24px 0; font-size: 18px; font-weight: 700; cursor: pointer; list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 24px; }
#course-paid .shop-details summary::-webkit-details-marker { display: none; }
#course-paid .shop-details summary span { color: #f3d580; font-size: 26px; flex-shrink: 0; }
#course-paid .shop-details[open] summary span { transform: rotate(45deg); }
#course-paid .shop-detail-body { padding: 8px 0 32px; }
#course-paid .shop-detail-body > h3 { font-size: 24px; margin: 32px 0 20px; }
@media (max-width: 760px) {
 #course-paid .consulting-hero { grid-template-columns: 1fr; gap: 32px; }
 #course-paid .consulting-hero .course-meta-item { flex-wrap: wrap; gap: 4px 16px; }
 #course-paid .shop-poster { transform: none; }
 #course-paid .shop-section { padding: 40px 0; }
 #course-paid .shop-benefits { grid-template-columns: 1fr; gap: 28px; }
 #course-paid .shop-benefits > div { padding-left: 72px; position: relative; }
 #course-paid .shop-number { position: absolute; left: 0; top: 0; font-size: 40px; }
 #course-paid .shop-benefits h3 { margin-top: 0; }
 #course-paid .shop-flow ol { grid-template-columns: 1fr 1fr; }
 #course-paid .shop-flow strong { font-size: 18px; }
 #course-paid .shop-schedule { grid-template-columns: 1fr; }
 #course-paid .shop-price { padding: 28px 20px; }
 #course-paid .shop-price-value { font-size: 60px; }
 #course-paid .shop-details summary { font-size: 17px; word-break: keep-all; }
}

#course-paid .shop-poster p { padding: 0 16px 16px; }
#course-paid .shop-back { margin: 32px 0; }
#course-paid .shop-experience figure { width: 100%; max-width: 340px; justify-self: center; }
#course-paid .shop-experience .course-poster { width: 100%; display: block; margin: 24px 0 12px; }

/* Keep consulting captions and supporting copy readable on the dark surface. */
#course-paid .form-note { font-size: 16px; line-height: 1.85; color: #c9c9d3; word-break: keep-all; overflow-wrap: anywhere; }
#course-paid .shop-experience > .lede { font-size: 18px; line-height: 1.85; color: #e2e2e8; max-width: 76ch; }
#course-paid .shop-experience > .form-note { max-width: 86ch; margin-top: 20px; }
#course-paid .shop-experience figcaption { font-size: 15px; line-height: 1.7; color: #e2ce98; }

/* Readable supporting text across this consulting page, including expanded details. */
.consulting-page { --muted: #c9c9d3; --faint: #c9c9d3; }
.consulting-page main :is(p, ul, label, input, button, .badge, .promo-link, .policy-toc a, .course-meta-item .k, .course-meta-item .v) { font-size: 16px; line-height: 1.8; }
.consulting-page #course-paid :is(.lede, .shop-experience > .lede) { font-size: 18px; line-height: 1.85; color: #e2e2e8; }
.consulting-page #course-paid :is(.shop-kicker, .shop-poster p, .shop-flow span, .shop-flow small, figcaption) { font-size: 16px; line-height: 1.7; }
.consulting-page #course-paid .shop-flow small { color: #d4d4dc; }
.consulting-page :is(.preparation-note p, .payment-panel .form-note) { font-size: 16px; line-height: 1.85; color: #c9c9d3; }
.consulting-page :is(.main-nav a, .login-link, .header-actions .btn-sm) { font-size: 15px; }
.consulting-page :is(.footer-nav a, .footer-business, .footer-note, .footer-copyright) { font-size: 15px; line-height: 1.85; color: #c9c9d3; }
.consulting-page .footer-business span { color: #e2e2e8; }
.consulting-page main :is(p, ul, label) { word-break: keep-all; overflow-wrap: anywhere; }

/* Consistent white outlines for consulting content cards. */
.consulting-page #course-paid :is(.point, .step, .pain-box, .gain-box, .shop-price),
#course-paid .shop-detail-body .course-meta-item,
.consulting-page .apply-box { border: 1px solid #fff; }
#course-paid .shop-flow li { border: 1px solid #fff; }

/* Admin workspace: readable, operational, separate from the storefront. */
.admin-page { --muted:#c9c9d3; --faint:#b8b8c4; }
.admin-console { max-width:1240px; }
.admin-heading { display:flex; justify-content:space-between; align-items:center; gap:24px; margin-bottom:32px; }
.admin-heading h1 { font-size:32px; margin:8px 0; }
.admin-eyebrow { color:#f3d580; font-size:14px; letter-spacing:.08em; }
.admin-page .form-note,.admin-page .lede,.admin-page label,.admin-page .admin-table { font-size:16px; line-height:1.8; }
.admin-menu { display:flex; gap:8px; flex-wrap:wrap; margin:0 0 28px; }
.admin-menu button { font:inherit; font-weight:700; padding:12px 20px; border:1px solid var(--border); color:var(--text); background:var(--surface); border-radius:8px; cursor:pointer; }
.admin-menu button[aria-pressed=true] { background:#28121a; border-color:#e11d48; }
.admin-menu button:focus-visible { outline:2px solid #f3d580; outline-offset:3px; }
.admin-overview { display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:16px; margin:24px 0 40px; }
.admin-overview>div { border:1px solid #666672; border-radius:10px; padding:22px; background:var(--surface); }
.admin-overview span,.admin-overview small { display:block; color:var(--muted); font-size:15px; line-height:1.6; }
.admin-overview strong { display:block; font-size:32px; margin:12px 0; }
.admin-tools { display:flex; align-items:end; gap:16px; flex-wrap:wrap; margin:24px 0; }
.admin-tools label { min-width:0; width:320px; max-width:100%; }
.admin-tools input { margin-top:8px; }
.admin-page .admin-table { min-width:640px; }
.admin-page .admin-table th { font-size:15px; color:#d4d4dc; }
.admin-page .chip,.admin-page .pill { font-size:15px; }
.admin-pagination { display:flex; gap:20px; align-items:center; margin:20px 0; }
.admin-grid { display:grid; grid-template-columns:1fr 1fr; gap:24px; }
.visit-chart { display:grid; gap:8px; max-height:420px; overflow:auto; padding:16px; background:var(--surface); border:1px solid var(--border); border-radius:8px; margin:20px 0 32px; }
.visit-day { display:grid; grid-template-columns:64px 1fr 40px; gap:16px; align-items:center; font-size:15px; }
.visit-day progress { width:100%; height:16px; accent-color:#f3d580; }
.admin-page [data-admin-section] { scroll-margin-top:120px; }
@media(max-width:760px){.admin-heading{align-items:start; flex-wrap:wrap}.admin-overview{grid-template-columns:1fr 1fr; gap:12px}.admin-overview>div{padding:16px}.admin-grid{grid-template-columns:1fr}.admin-menu button{flex:1 1 130px}.admin-page .payment-product-grid{grid-template-columns:1fr}.admin-page .form-control{font-size:16px}}

.admin-grid > section { min-width: 0; }
.admin-grid .admin-table { min-width: 0; }

/* Admin consultation detail */
.crm-dialog { width:min(800px,calc(100% - 32px)); max-height:calc(100dvh - 40px); padding:28px; overflow:auto; background:#111114; color:#f4f4f5; border:1px solid #ddd; border-radius:12px; }
.crm-dialog::backdrop { background:rgba(0,0,0,.78); }
.crm-heading {display:flex; justify-content:space-between; align-items:center; gap:16px;}
.crm-dialog p,.crm-dialog label,.crm-dialog dd,.crm-dialog .form-note {font-size:16px; line-height:1.8; color:#dddde5;}
.crm-dialog h3 {margin-top:28px; color:#f3d580;}
.crm-fields {display:grid; gap:12px; margin:24px 0;}
.crm-fields>div {display:grid; grid-template-columns:120px minmax(0,1fr); gap:16px;}
.crm-fields dt {color:#f3d580;} .crm-fields dd {margin:0; white-space:pre-wrap; overflow-wrap:anywhere;}
.crm-dialog .form-control {width:100%; margin:8px 0 12px; font-size:16px;}
.crm-timeline article {border:1px solid #777; border-radius:8px; padding:16px; margin:12px 0;}
.crm-timeline p {white-space:pre-wrap; overflow-wrap:anywhere;}
@media(max-width:600px){.crm-dialog{padding:18px}.crm-heading{align-items:start}.crm-fields>div{grid-template-columns:1fr;gap:4px}.crm-dialog h2{font-size:22px}}

.chat-launcher{position:fixed;right:24px;bottom:24px;z-index:150;background:#e11d48;color:white;border:1px solid #fff8;border-radius:28px;padding:16px 22px;font-family:inherit;font-size:16px;font-weight:700;line-height:1.4;box-shadow:0 6px 24px #0008;cursor:pointer}
.chat-panel{position:fixed;inset:auto 24px 86px auto;margin:0;width:min(420px,calc(100vw - 32px));max-height:calc(100dvh - 112px);padding:20px;overflow:auto;background:#131317;color:#f4f4f5;border:1px solid #ddd;border-radius:16px;z-index:151;box-shadow:0 12px 40px #0009}
.chat-panel:not([open]){display:none}.chat-heading{display:flex;gap:12px;align-items:center;justify-content:space-between}.chat-heading h2{font-size:22px;margin:0}.chat-note{font-size:14px;color:#d4d4dc;line-height:1.7;margin:12px 0}.chat-log{max-height:300px;overflow:auto;display:grid;gap:12px;margin:16px 0}.chat-message{border:1px solid #777;padding:14px;border-radius:10px;overflow-wrap:anywhere}.chat-message.user{background:#28121a}.chat-message strong{font-size:14px;color:#f3d580}.chat-message p{font-size:16px;line-height:1.75;white-space:pre-wrap;margin:8px 0}.chat-message a{display:block;color:#f3d580;font-size:15px;margin-top:8px}.chat-quick{display:flex;flex-wrap:wrap;gap:8px}.chat-quick button{font:inherit;font-size:14px;padding:8px 12px;border:1px solid #888;background:#222228;color:#eee;border-radius:20px;cursor:pointer}.chat-panel label{display:block;font-size:16px}.chat-panel textarea{width:100%;font:inherit;font-size:16px;color:#fff;background:#0b0b0d;border:1px solid #888;border-radius:8px;padding:10px;margin:8px 0;resize:vertical}.chat-panel form .btn{width:100%}.chat-consult{display:block;text-align:center;color:#f3d580;font-size:16px;margin-top:14px}.chat-launcher:focus-visible,.chat-panel :focus-visible{outline:2px solid #f3d580;outline-offset:3px}
@media(max-width:600px){.chat-launcher{right:16px;bottom:16px;padding:12px 18px}.chat-panel{right:16px;bottom:74px;padding:16px;max-height:calc(100dvh - 92px)}}

/* Keep input and consultation visible while the conversation scrolls. */
.chat-panel[open]{display:flex;flex-direction:column;gap:0}
.chat-heading,.chat-panel>.chat-note,.chat-quick,.chat-panel form,.chat-consult{flex-shrink:0}
.chat-quick{flex-wrap:nowrap;overflow-x:auto;padding-bottom:6px}.chat-quick button{flex-shrink:0}
.chat-log{flex:1 1 auto;min-height:60px;max-height:240px}
@media(max-height:650px){.chat-panel[open]{display:block}.chat-log{max-height:140px}}

/* Narrow, tall help panel with a reserved desktop column. */
.chat-panel{width:min(320px,calc(100vw - 32px));top:16px;bottom:86px;height:calc(100dvh - 102px);max-height:none;padding:16px}
.chat-panel[open]{display:flex;flex-direction:column;overflow:auto}
.chat-panel .chat-log{display:flex;flex-direction:column;flex:1 1 0;min-height:80px;max-height:none;margin:12px 0;overflow-y:auto;overscroll-behavior:contain}
.chat-panel .chat-message{flex:0 0 auto}
.chat-panel .chat-heading h2{font-size:20px}
.chat-panel .chat-heading .btn{padding:9px 12px;min-height:40px}
.chat-panel .chat-note{margin:8px 0;font-size:13px;line-height:1.7}
.chat-panel .chat-note:empty{display:none}
.chat-panel textarea{min-height:64px;max-height:120px;resize:vertical}
.chat-panel .chat-consult{font-size:14px;margin-top:10px}
@media(min-width:1100px){
 body.chat-docked{padding-right:324px}
 .chat-panel{right:12px;width:300px;top:12px;bottom:82px;height:calc(100dvh - 94px)}
 body.chat-docked .header-inner{height:auto;min-height:64px;flex-wrap:wrap;gap:12px;padding-top:12px;padding-bottom:10px}
 body.chat-docked .main-nav{order:3;width:100%;flex-wrap:wrap;gap:8px 20px}
 body.chat-docked .header-actions{margin-left:auto}
 body.chat-docked .main-nav a{min-height:32px;display:inline-flex;align-items:center}
}
@media(max-width:600px){.chat-panel{right:12px;top:12px;bottom:74px;height:calc(100dvh - 86px);width:min(320px,calc(100vw - 24px));padding:14px}}
@media(max-height:600px){.chat-panel .chat-log{flex:1 0 90px}.chat-panel[open]{overflow-y:auto}}

/* Keep the help window compact instead of filling the screen. */
.chat-panel{top:auto;bottom:86px;height:min(900px,calc(100dvh - 102px))}
@media(min-width:1100px){.chat-panel{top:auto;bottom:82px;height:min(900px,calc(100dvh - 94px))}}
@media(max-width:600px){.chat-panel{top:auto;bottom:74px;height:min(900px,calc(100dvh - 86px))}}

/* Hide the chatbot and its launcher on mobile screens. */
@media (max-width:760px) {
  body .chat-launcher,
  body .chat-panel,
  body .chat-panel[open] { display:none !important; }
}
.membership-form { display:grid; gap:16px; }
.membership-form > label { display:grid; gap:8px; font-size:16px; font-weight:700; color:#111; }
.membership-form > label > span { font-weight:400; }
.membership-form .form-control { box-sizing:border-box; width:100%; min-width:0; min-height:46px; font-size:16px; background:#fff; color:#111; border:1px solid #aaa; }
.membership-form .membership-consent { display:flex; align-items:flex-start; gap:10px; font-size:14px; line-height:1.7; }
.membership-consent input { margin-top:6px; flex:0 0 auto; }
.membership-form .form-note { margin:0; color:#555; font-size:14px; line-height:1.6; }
#membershipMessage { margin:0; font-size:14px; line-height:1.6; color:#b00020; overflow-wrap:anywhere; }
#loginModal .modal-card { background:#fff; color:#111; }
@media(max-width:480px) { #loginModal { padding:12px; } #loginModal .modal-card { padding:24px 20px; max-height:calc(100dvh - 24px); } }
