/* 경제자유인 — site styles */
:root {
  /* 블랙 · 아이보리 · 샴페인 골드 — 골드는 얇은 선과 작은 글씨에만 */
  --ink: #0b0b0c;
  --ink-2: #161618;
  --ink-3: #26262a;
  --bg: #f4f1ea;
  --surface: #fdfbf7;
  --alt: #ebe6dc;
  --line: #e0d9cb;
  --line-2: #cbc1ad;
  --text: #121212;
  --text-2: #3a3731;
  --text-3: #645e53;
  --accent: #d2b98a;
  --accent-ink: #0b0b0c;
  --accent-2: #9a7d47;
  --ok: #2f6b4f;
  --bad: #a3392a;
  --radius: 3px;
  --radius-sm: 2px;
  --shadow: 0 1px 2px rgba(0, 0, 0, .04), 0 12px 32px rgba(0, 0, 0, .05);
  --wrap: 1180px;
  --font: 'Pretendard Variable', Pretendard, -apple-system, BlinkMacSystemFont, 'Apple SD Gothic Neo', 'Malgun Gothic', sans-serif;
  --serif: 'Noto Serif KR', 'Nanum Myeongjo', 'AppleMyungjo', serif;
  --mono: 'JetBrains Mono', Consolas, 'D2Coding', monospace;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 80px; }
body { margin: 0; font-family: var(--font); color: var(--text); background: var(--bg); font-size: 17px; line-height: 1.7; word-break: keep-all; overflow-wrap: anywhere; -webkit-font-smoothing: antialiased; }
img { max-width: 100%; display: block; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
code, .mono { font-family: var(--mono); font-size: .92em; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 20px; }
.narrow { max-width: 760px; }
.center { text-align: center; }
.muted { color: var(--text-3); }
.strong { font-weight: 600; }
.small { font-size: 14.5px; }
.big { font-size: 26px; font-weight: 800; }
.mt { margin-top: 14px; } .mt-l { margin-top: 32px; } .mt-s { margin-top: 8px; }
.small-link { display: inline-block; margin-top: 10px; font-size: 13.5px; color: inherit; opacity: .7; text-decoration: underline; text-underline-offset: 3px; }
.pt-0 { padding-top: 0 !important; }
.nowrap { white-space: nowrap; }
.inline { display: inline-block; margin-right: 6px; }
[hidden] { display: none !important; }

.h1 { font-family: var(--serif); font-size: clamp(28px, 4vw, 42px); line-height: 1.3; letter-spacing: -.01em; margin: 0 0 12px; font-weight: 600; }
.h2 { font-family: var(--serif); font-size: clamp(24px, 3vw, 34px); line-height: 1.35; letter-spacing: -.01em; margin: 0 0 12px; font-weight: 600; }
.h3 { font-size: 19px; line-height: 1.4; margin: 0 0 10px; font-weight: 700; letter-spacing: -.01em; }
.eyebrow { display: flex; align-items: center; gap: 12px; font-size: 13.5px; font-weight: 600; letter-spacing: .22em; text-transform: uppercase; color: var(--accent-2); margin: 0 0 16px; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; opacity: .7; }
.center .eyebrow, .eyebrow.center { justify-content: center; }
.lead { font-size: clamp(17px, 1.8vw, 19.5px); color: var(--text-2); margin: 0 0 8px; line-height: 1.75; }

/* buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 11px 20px; border-radius: var(--radius-sm); border: 1px solid var(--line-2); background: transparent; color: var(--text); font-weight: 600; font-size: 15.5px; letter-spacing: .03em; text-decoration: none; cursor: pointer; transition: background .2s, border-color .2s, color .2s; white-space: nowrap; }
.btn:hover { border-color: var(--text); }
.btn:disabled, .btn[aria-disabled="true"] { opacity: .5; cursor: not-allowed; }
.btn-accent { background: var(--ink); border-color: var(--ink); color: var(--bg); }
.btn-accent:hover { background: var(--ink-3); border-color: var(--ink-3); }
.hero .btn-accent, .pd-hero .btn-accent, .is-learn .btn-accent, .section-dark .btn-accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.hero .btn-accent:hover, .is-learn .btn-accent:hover, .section-dark .btn-accent:hover { background: #e0caa0; border-color: #e0caa0; }
.btn-ghost { background: transparent; border-color: rgba(255, 255, 255, .38); color: #fff; }
.btn-ghost:hover { border-color: var(--accent); color: var(--accent); }
.btn-ghost-dark { background: transparent; }
.btn-danger { color: var(--bad); border-color: #e3c4bd; background: transparent; }
.btn-danger:hover { border-color: var(--bad); }
.btn-done { background: #e6efe9; border-color: #b8cfc1; color: var(--ok); }
.btn-sm { padding: 7px 13px; font-size: 14px; }
.btn-lg { padding: 16px 32px; font-size: 16.5px; }
.btn-block { display: flex; width: 100%; }
.lnk { text-decoration: none; font-weight: 600; color: var(--text-2); font-size: 15px; }
.lnk:hover { color: var(--text); }

/* header */
.testbar { background: #7a1f12; color: #fff; text-align: center; font-size: 13px; padding: 6px 12px; font-weight: 600; }
.hdr { position: sticky; top: 0; z-index: 50; background: rgba(244, 241, 234, .9); backdrop-filter: saturate(140%) blur(12px); border-bottom: 1px solid var(--line); }
.hdr-in { display: flex; align-items: center; gap: 36px; height: 68px; }
.logo { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; font-family: var(--serif); font-weight: 600; font-size: 19px; letter-spacing: .02em; color: var(--ink); }
.logo-mark { width: 28px; height: 28px; color: var(--ink); flex: none; }
/* 명조 로고 글씨는 고딕 메뉴보다 약 2px 아래에 앉는다 → 올려서 메뉴 글씨와 줄을 맞춤 */
.logo span { line-height: 1; position: relative; top: -2px; }
.nav { display: flex; gap: 28px; }
.nav a { text-decoration: none; font-weight: 500; color: var(--text-2); font-size: 16px; letter-spacing: .02em; padding: 6px 0; border-bottom: 1px solid transparent; }
.nav a:hover { color: var(--text); }
.nav a.on { color: var(--text); border-color: var(--accent-2); }
.hdr-r { margin-left: auto; display: flex; align-items: center; gap: 14px; }
.menu-btn { display: none; width: 40px; height: 40px; border: 0; background: none; cursor: pointer; padding: 10px; flex-direction: column; justify-content: center; gap: 6px; }
.menu-btn span { display: block; height: 2px; background: var(--text); border-radius: 2px; }
.flash { background: var(--ink); color: #fff; text-align: center; padding: 10px 16px; font-size: 14.5px; }

/* hero */
.hero { background: linear-gradient(180deg, var(--ink) 0%, #111113 100%); color: #fff; overflow: hidden; }
.hero-in { display: grid; grid-template-columns: 1.08fr .92fr; gap: 48px; align-items: center; padding-top: 96px; padding-bottom: 104px; }
.hero h1 { font-family: var(--serif); font-size: clamp(34px, 5vw, 60px); line-height: 1.28; letter-spacing: -.01em; margin: 0 0 26px; font-weight: 600; }
.hero .eyebrow { color: var(--accent); }
.hero .lead { color: rgba(255, 255, 255, .74); max-width: 36em; }
.hero-cta { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 36px; }
/* 사진 배경 히어로 */
.hero-photo { position: relative; background: var(--ink) var(--hero-img) center / cover no-repeat; }
.hero-photo::before { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(8, 8, 9, .94) 0%, rgba(8, 8, 9, .8) 42%, rgba(8, 8, 9, .38) 100%); }
.hero-photo .hero-in { position: relative; grid-template-columns: minmax(0, 660px); min-height: min(86vh, 820px); padding-top: 112px; padding-bottom: 72px; align-content: center; }
.proof { position: relative; border-top: 1px solid rgba(210, 185, 138, .28); }
.proof-in { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); }
.proof-item { padding: 26px 24px 28px 0; }
.proof-item + .proof-item { padding-left: 24px; border-left: 1px solid rgba(255, 255, 255, .1); }
.proof-item span { display: block; font-size: 13px; font-weight: 600; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); margin-bottom: 6px; }
.proof-item b { font-family: var(--serif); font-weight: 600; font-size: 20px; color: #fff; letter-spacing: .01em; }
.term { background: #0a0f1a; border: 1px solid rgba(255, 255, 255, .1); border-radius: 14px; box-shadow: 0 30px 80px rgba(0, 0, 0, .45); overflow: hidden; transform: perspective(1400px) rotateY(-6deg) rotateX(2deg); }
.term-bar { display: flex; align-items: center; gap: 7px; padding: 12px 14px; background: #121a2b; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.term-bar i { width: 11px; height: 11px; border-radius: 50%; background: #3a4560; }
.term-bar i:first-child { background: #f2685c; } .term-bar i:nth-child(2) { background: #f2b544; } .term-bar i:nth-child(3) { background: #5cc98a; }
.term-bar span { margin-left: 10px; font-size: 12.5px; color: rgba(255, 255, 255, .5); font-family: var(--mono); }
.term pre { margin: 0; padding: 20px 22px 24px; font-family: var(--mono); font-size: 13.5px; line-height: 1.75; color: #d6deeb; overflow-x: auto; }
.term .c { color: #6b7894; } .term .k { color: #c792ea; } .term .f { color: #82aaff; } .term .s { color: #ecc48d; } .term .n { color: #f78c6c; }

/* sections */
.section { padding: 112px 0; }
.section-alt { background: var(--alt); }
.sec-head { margin-bottom: 48px; }
.pagehead { padding: 72px 0 32px; }
.subnav { display: flex; gap: 6px; margin-top: 22px; flex-wrap: wrap; }
.subnav a { text-decoration: none; padding: 7px 16px; border-radius: var(--radius-sm); font-weight: 500; font-size: 14px; color: var(--text-2); border: 1px solid var(--line-2); }
.subnav a.on { background: var(--ink); color: var(--bg); border-color: var(--ink); }

.tracks { display: grid; grid-template-columns: repeat(auto-fit, minmax(0, 1fr)); grid-auto-flow: column; gap: 0; border: 1px solid var(--line-2); background: var(--surface); }
.track { display: flex; flex-direction: column; text-decoration: none; padding: 36px 32px; transition: background .2s; }
.track + .track { border-left: 1px solid var(--line-2); }
.track:hover { background: #fff; }
.track-ic { width: 44px; height: 44px; border: 1px solid var(--accent-2); color: var(--accent-2); display: grid; place-items: center; margin-bottom: 24px; }
.track h3 { font-family: var(--serif); margin: 0 0 10px; font-size: 23px; font-weight: 700; }
.track p { margin: 0 0 24px; color: var(--text-2); flex: 1; font-size: 16.5px; }
.track-go { font-weight: 600; color: var(--accent-2); font-size: 15px; letter-spacing: .08em; padding-top: 18px; border-top: 1px solid var(--line); }
.track:hover .track-go { color: var(--ink); }

/* 메인 과정 안내 2칸(온라인 과정 · 마스터 과정, 2026-11-10) */
.plans { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; max-width: 980px; margin: 0 auto; }
.plan { display: flex; flex-direction: column; text-decoration: none; color: inherit; background: var(--surface); border: 1px solid var(--line-2); border-radius: var(--radius); padding: 30px 28px; transition: transform .2s, box-shadow .2s; }
.plan:hover { transform: translateY(-3px); box-shadow: 0 14px 32px rgba(15, 23, 42, .08); }
.plan-main { border: 2px solid var(--accent-2); }
.plan-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; }
.plan .track-ic { margin: 0; }
.plan-tag { font-size: 13px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: var(--bg); color: var(--text-2); }
.plan-main .plan-tag { background: var(--accent-2); color: #fff; }
.plan h3 { font-family: var(--serif); font-size: 25px; margin: 0 0 6px; }
.plan-desc { color: var(--text-2); margin: 0 0 18px; }
.plan ul { list-style: none; margin: 0 0 24px; padding: 18px 0 0; border-top: 1px solid var(--line); flex: 1; }
.plan li { position: relative; padding: 5px 0 5px 24px; font-size: 15.5px; }
.plan li::before { content: '✓'; position: absolute; left: 0; color: var(--accent-2); font-weight: 700; }
@media (max-width: 760px) { .plans { grid-template-columns: 1fr; } }
/* 상세 결제 박스 아래 다른 과정 안내 */
.side-alt { display: block; margin-top: 14px; padding: 16px 18px; border: 1px dashed var(--line-2); border-radius: var(--radius); text-decoration: none; color: inherit; background: var(--surface); }
.side-alt b { display: block; font-size: 15px; }
.side-alt span { display: block; color: var(--text-2); font-size: 13.5px; margin: 4px 0 8px; }
.side-alt em { font-style: normal; font-weight: 700; color: var(--accent-2); font-size: 14px; }
.side-alt:hover { border-color: var(--accent-2); }
.track-tag { font-size: 13.5px; font-weight: 700; letter-spacing: .08em; color: var(--accent-2); margin-bottom: 6px; }
/* 강의 페이지 아래 "나에게 맞는 과정" */
.cmp { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin-top: 18px; }
.cmp-item { display: flex; flex-direction: column; gap: 8px; padding: 20px 20px 18px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; transition: border-color .2s; }
.cmp-item:hover { border-color: var(--line-2); }
.cmp-item.on { border: 1px solid var(--ink); box-shadow: inset 0 2px 0 var(--ink); }
.cmp-tag { font-size: 12.5px; font-weight: 700; letter-spacing: .06em; color: var(--accent-2); }
.cmp-item > b { font-family: var(--serif); font-size: 19px; }
.cmp-item dl { margin: 0; display: grid; gap: 2px; flex: 1; }
.cmp-item dt { font-size: 12.5px; color: var(--text-3); margin-top: 6px; }
.cmp-item dd { margin: 0; font-size: 14.5px; color: var(--text-2); line-height: 1.6; }
.cmp-price { font-family: var(--serif); font-weight: 700; font-size: 17px; padding-top: 10px; border-top: 1px solid var(--line); }

.weeks { list-style: none; padding: 0; margin: 0; display: grid; gap: 12px; }
.week { display: grid; grid-template-columns: 64px 1fr; gap: 18px; align-items: start; padding: 22px 26px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.week-no { font-family: var(--serif); font-size: 26px; font-weight: 500; color: var(--accent-2); line-height: 1.2; }
.week h3 { margin: 0 0 4px; font-size: 18px; }
.week p { margin: 0; color: var(--text-3); font-size: 14.5px; }

/* 4단계 로드맵 (메인) */
.roadmap { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.rm-part { background: var(--surface); border: 1px solid var(--line); border-top: 2px solid var(--ink); border-radius: var(--radius); padding: 30px 32px 26px; display: flex; flex-direction: column; }
.rm-head { display: flex; align-items: center; gap: 12px; }
.rm-no { font-family: var(--serif); font-size: 16px; font-weight: 700; color: var(--accent-2); letter-spacing: .14em; }
.rm-badge { font-style: normal; font-size: 12.5px; font-weight: 700; letter-spacing: .06em; color: var(--ink); background: var(--accent); padding: 3px 9px; border-radius: 2px; }
.rm-part h3 { font-family: var(--serif); font-size: 27px; font-weight: 700; margin: 12px 0 8px; letter-spacing: -.01em; }
.rm-desc { margin: 0 0 18px; color: var(--text-2); font-size: 16px; line-height: 1.75; }
.rm-ch { list-style: none; margin: auto 0 0; padding: 0; border-top: 1px solid var(--line); }
.rm-ch li { display: grid; grid-template-columns: 34px 1fr auto; gap: 10px; align-items: baseline; padding: 12px 0; border-bottom: 1px solid var(--line); }
.rm-ch li:last-child { border-bottom: 0; padding-bottom: 0; }
.rm-ch span { font-family: var(--serif); color: var(--accent-2); font-weight: 600; font-size: 15px; }
.rm-ch b { font-weight: 600; font-size: 16px; }
.rm-ch i { font-style: normal; color: var(--text-3); font-size: 14px; white-space: nowrap; }
/* 강의 페이지 커리큘럼의 파트 구분 */
.curri-part { display: flex; align-items: center; gap: 12px; margin: 22px 0 4px; padding-bottom: 8px; border-bottom: 1px solid var(--ink); }
.curri-part:first-child { margin-top: 0; }
.curri-part span { font-family: var(--serif); font-size: 14px; font-weight: 700; color: var(--accent-2); letter-spacing: .14em; }
.curri-part b { font-size: 17px; }
.curri-no { font-style: normal; font-family: var(--serif); color: var(--accent-2); margin-right: 10px; }
.curri-sec summary b a { color: inherit; }
/* .curri-sec li(아래, 같은 우선순위)가 왼쪽 여백을 18px 로 덮어써 글자가 작대기 위에 겹쳤다 → 선택자를 한 단계 더 구체적으로 */
.curri-sec .curri-topics li { padding: 7px 18px 7px 50px; position: relative; }
.curri-topics li::before { content: ""; position: absolute; left: 32px; top: 19px; width: 5px; height: 1px; background: var(--accent-2); } /* 첫 줄 가운데 — 두 줄짜리 항목에서도 첫 줄 앞에 */

.author { display: grid; grid-template-columns: 260px 1fr; gap: 64px; align-items: center; }
.author-badge { aspect-ratio: 1; border-radius: var(--radius); background: var(--ink); color: var(--accent); display: grid; place-items: center; padding: 48px; }
.author-badge svg { width: 100%; height: auto; }
.author-page { align-items: start; }
.author-img { display: block; width: 100%; height: auto; border-radius: var(--radius); box-shadow: 0 24px 60px rgba(0, 0, 0, .18); outline: 1px solid var(--line-2); outline-offset: 10px; }
.author-photo { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--radius); margin-bottom: 40px; }
.author-btns { display: flex; gap: 10px; flex-wrap: wrap; }
.author .h2 { margin-bottom: 6px; }

.why { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 0 32px; }
.why-item { padding: 28px 0 8px; border-top: 1px solid var(--ink); }
.why-no { font-family: var(--serif); font-size: 17px; font-weight: 600; color: var(--accent-2); letter-spacing: .08em; }
.why-item h3 { font-family: var(--serif); margin: 14px 0 14px; font-weight: 700; letter-spacing: -.01em; }
.why-not { display: block; font-size: 16px; font-weight: 500; color: var(--text-3); white-space: nowrap; }
.why-key { display: block; font-size: 26px; line-height: 1.35; color: var(--text); margin-top: 2px; }
.why-item p { margin: 0; color: var(--text-2); font-size: 16px; line-height: 1.8; }

.section-dark { background: var(--ink); color: #fff; }
.section-dark .eyebrow { color: var(--accent); }
/* 메인 팀원 모집 */
.team .h2 { margin-bottom: 26px; }
.team .prose p { color: rgba(255, 255, 255, .86); font-size: 17.5px; line-height: 1.9; }
.team .prose strong { color: #fff; }
.vids { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 40px; }
.vid { margin: 0; }
.vid-frame { aspect-ratio: 16 / 9; background: #000; outline: 1px solid rgba(210, 185, 138, .3); outline-offset: 8px; }
.vid-frame iframe { width: 100%; height: 100%; display: block; border: 0; }
.vid figcaption { margin-top: 26px; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .1); }
.vid figcaption span { display: block; font-size: 13px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--accent); margin-bottom: 8px; }
.vid figcaption b { font-family: var(--serif); font-weight: 600; font-size: 21px; color: #fff; }

.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { cursor: pointer; padding: 22px 4px; font-weight: 600; font-size: 18px; list-style: none; position: relative; padding-right: 36px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: '+'; position: absolute; right: 6px; top: 16px; font-size: 24px; font-weight: 400; color: var(--text-3); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details > div { padding: 0 4px 22px; color: var(--text-2); }

/* product grid */
/* 데스크톱 한 줄 3칸(1140px 안에 320px 칸은 3개까지만 들어감), 태블릿 2칸, 휴대폰 1칸 */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 32px; }
.card { display: flex; flex-direction: column; text-decoration: none; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; transition: border-color .2s; }
.card:hover { border-color: var(--accent-2); }
.card-img { position: relative; aspect-ratio: 16 / 10; background: var(--ink); }
.card-img img { width: 100%; height: 100%; object-fit: cover; }
.badge { position: absolute; top: 14px; left: 14px; background: transparent; color: var(--accent); border: 1px solid var(--accent); font-size: 11px; font-weight: 600; padding: 3px 9px; letter-spacing: .14em; }
.badge-inline { position: static; display: inline-block; margin-left: 6px; vertical-align: middle; }
.card-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; }
.card-body h3 { font-family: var(--serif); margin: 10px 0 8px; font-size: 21px; font-weight: 700; line-height: 1.45; color: var(--text); }
.card-sub { margin: 0 0 10px; color: var(--text-2); font-size: 15.5px; line-height: 1.65; }
.card-meta { margin: 0 0 20px; color: var(--text-3); font-size: 14.5px; flex: 1; }
.kind { display: inline-block; font-size: 13.5px; font-weight: 700; letter-spacing: .06em; padding: 0; color: var(--accent-2); }
.price { display: flex; align-items: baseline; gap: 8px; flex-wrap: wrap; padding-top: 18px; border-top: 1px solid var(--line); }
.price b { font-family: var(--serif); font-size: 23px; font-weight: 700; letter-spacing: .01em; }
.price-big { padding-top: 0; border-top: 0; }
.price-big b { font-size: 32px; }
.price-eb { flex-basis: 100%; display: flex; align-items: center; gap: 8px; font-size: 14px; }
.price-eb s { color: var(--text-3); }
.price-eb em { font-style: normal; font-weight: 800; color: #e5484d; }
.eb-tag { padding: 3px 9px; border-radius: 999px; background: #e5484d; color: #fff; font-size: 12px; font-weight: 700; letter-spacing: .02em; }
.mbuy .price { padding-top: 0; border-top: 0; gap: 2px; }
.mbuy .price-eb { font-size: 12.5px; gap: 6px; }
.mbuy .eb-tag { display: none; }
.empty { color: var(--text-3); padding: 40px 0; text-align: center; }
.empty-box { text-align: center; padding: 56px 20px; border: 1px dashed var(--line-2); border-radius: var(--radius); background: var(--surface); }

/* product detail */
.pd-hero { background: linear-gradient(180deg, var(--ink), #141416); color: #fff; }
.pd-hero-in { padding-top: 72px; padding-bottom: 72px; }
.pd-cred { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin: 22px 0 0; padding: 0; }
.pd-cred li { padding: 8px 14px; border: 1px solid rgba(255, 255, 255, .18); border-radius: 999px; background: rgba(255, 255, 255, .06); font-size: 14px; color: rgba(255, 255, 255, .78); }
.pd-cred b { color: #fff; font-weight: 700; margin-right: 2px; }
.cred { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; margin: 22px 0; }
.cred-item { padding: 20px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.cred-item b { display: block; font-size: 23px; font-weight: 800; letter-spacing: -.01em; color: var(--text); word-break: keep-all; }
.cred-item span { display: block; margin-top: 6px; font-size: 13.5px; color: var(--text-3); }
.cred-photo { margin: 0 0 22px; }
.cred-photo img { display: block; width: 100%; max-width: 260px; border-radius: 12px; }
.cred-photo figcaption { margin-top: 8px; font-size: 13px; color: var(--text-3); }
@media (max-width: 720px) { .cred { grid-template-columns: repeat(2, 1fr); } .cred-item b { font-size: 19px; } }
.live { margin: 22px 0 28px; }
.live-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-bottom: 16px; }
.live-stats div { padding: 18px 16px; border: 1px solid var(--line); border-radius: 12px; background: var(--surface); }
.live-stats b { display: block; font-size: 24px; font-weight: 800; color: var(--text); word-break: keep-all; }
.live-stats span { display: block; margin-top: 4px; font-size: 13.5px; color: var(--text-3); }
.live-shot { margin: 0; }
.live-shot + .live-shot { margin-top: 22px; }
.live-shot .shot { border-radius: 12px; overflow: hidden; border: 1px solid rgba(255,255,255,.1); }
.live-shot figcaption { margin-top: 10px; font-size: 13px; color: var(--text-3); line-height: 1.6; word-break: keep-all; }
.section-dark .live { margin: 0; }
.section-dark .live-stats div { background: rgba(255,255,255,.04); border-color: rgba(255,255,255,.12); }
.section-dark .live-stats b { color: #fff; }
.section-dark .live-stats span, .section-dark .live-shot figcaption { color: rgba(255,255,255,.6); }
@media (max-width: 720px) { .live-stats b { font-size: 18px; } .live-stats div { padding: 14px 12px; } }
.circle { margin: 22px 0 28px; padding: 34px 32px 28px; border-radius: 14px; background: radial-gradient(120% 90% at 100% 0%, #2a2318 0%, var(--ink) 55%); color: #fff; border: 1px solid #3a3122; }
.circle-k { margin: 0 0 10px; font-size: 12.5px; font-weight: 700; letter-spacing: .2em; text-transform: uppercase; color: var(--accent); }
.circle h3 { margin: 0; font-family: var(--serif); font-size: 30px; font-weight: 600; color: #fff; letter-spacing: .02em; }
.circle-lead { margin: 12px 0 0; color: rgba(255,255,255,.78); line-height: 1.7; word-break: keep-all; }
.circle ul { list-style: none; margin: 24px 0 0; padding: 0; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.circle li { padding: 18px 18px 16px; border: 1px solid rgba(210,185,138,.25); border-radius: 10px; background: rgba(255,255,255,.03); }
.circle li b { display: block; color: var(--accent); font-size: 16px; }
.circle li span { display: block; margin-top: 6px; font-size: 14.5px; line-height: 1.6; color: rgba(255,255,255,.75); word-break: keep-all; }
.circle-foot { margin: 20px 0 0; padding-top: 16px; border-top: 1px solid rgba(255,255,255,.12); font-size: 14px; color: rgba(255,255,255,.6); }
@media (max-width: 720px) { .circle { padding: 26px 20px 22px; } .circle ul { grid-template-columns: 1fr; } .circle h3 { font-size: 25px; } }
.pd-head .kind { color: var(--accent); font-size: 14.5px; }
.pd-head .h1 { margin-top: 14px; font-size: clamp(30px, 4.2vw, 46px); }
.pd-head .lead { color: rgba(255, 255, 255, .74); }
.pd-meta { color: rgba(255, 255, 255, .68); font-size: 16px; margin: 10px 0 0; letter-spacing: .02em; }
.pd { display: grid; grid-template-columns: 1fr 340px; gap: 56px; padding-top: 40px; padding-bottom: 112px; align-items: start; }
.tabs { background: var(--bg); /* 스크롤 따라 고정하지 않음(2026-10-28 사장님 요청) */ display: flex; gap: 28px; border-bottom: 1px solid var(--line-2); margin-bottom: 8px; }
.tabs a { text-decoration: none; font-weight: 600; letter-spacing: .04em; color: var(--text-3); padding: 16px 0; font-size: 16.5px; }
.tabs a:hover { color: var(--text); }
.pd-sec { padding: 36px 0; border-bottom: 1px solid var(--line); }
.pd-sec:last-child { border: 0; }
.pd-summary { font-family: var(--serif); font-size: 20px; font-weight: 500; line-height: 1.65; margin-top: 0; color: var(--text); }
.pd-video { aspect-ratio: 16 / 9; border-radius: var(--radius); overflow: hidden; background: #000; margin-bottom: 32px; }
.pd-video iframe { width: 100%; height: 100%; display: block; border: 0; }
.pd-side { position: sticky; top: 92px; }
.buybox { background: var(--surface); border: 1px solid var(--line-2); border-top: 2px solid var(--ink); border-radius: var(--radius); padding: 28px; }
.facts { display: grid; grid-template-columns: auto 1fr; gap: 10px 16px; margin: 20px 0; font-size: 15.5px; }
.facts dt { color: var(--text-3); }
.facts dd { margin: 0; font-weight: 600; text-align: right; word-break: keep-all; }
.btn-kakao { background: #fee500; border-color: #fee500; color: #191919; }
.btn-kakao:hover { background: #f5dc00; border-color: #f5dc00; color: #191919; }
.hint { color: var(--text-3); font-size: 14.5px; margin: 10px 0 0; }
.curri { display: grid; gap: 10px; margin-top: 14px; }
.curri-sec { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
.curri-sec summary { display: flex; justify-content: space-between; gap: 12px; padding: 15px 18px; cursor: pointer; list-style: none; }
.curri-sec summary::-webkit-details-marker { display: none; }
.curri-sec summary span { color: var(--text-3); font-size: 14px; white-space: nowrap; }
.curri-sec ul { list-style: none; margin: 0; padding: 4px 0 8px; border-top: 1px solid var(--line); }
.curri-sec li { display: flex; align-items: center; gap: 8px; padding: 9px 18px; font-size: 15px; }
.curri-sec li a { text-decoration: none; font-weight: 600; }
.curri-sec li a:hover { text-decoration: underline; }
.curri-sec li span { color: var(--text-2); }
.curri-sec time { margin-left: auto; color: var(--text-3); font-size: 13.5px; font-variant-numeric: tabular-nums; }
/* 마스터 상세의 강의 목록([[online]]) — 접혀 있으니 펼칠 수 있다는 화살표 */
.curri-fold summary span::after { content: '▾'; display: inline-block; margin-left: 8px; transition: transform .2s; }
.curri-fold[open] summary span::after { transform: rotate(180deg); }
.curri-fold:hover { border-color: var(--accent-2); }
.curri-update { margin: 10px 0 0; padding: 12px 16px; border-radius: 10px; background: #e2f3ec; color: var(--ok); font-weight: 600; font-size: 14.5px; line-height: 1.6; word-break: keep-all; }
.tag-free { font-style: normal; font-size: 11.5px; font-weight: 700; color: var(--ok); background: #e2f3ec; padding: 2px 7px; border-radius: 5px; margin-left: 8px; white-space: nowrap; vertical-align: 2px; }
.kids { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.kids li { display: flex; justify-content: space-between; gap: 12px; align-items: center; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-sm); }
.kids a { text-decoration: none; display: flex; gap: 10px; align-items: center; }
.mbuy { display: none; }

.prose { color: var(--text-2); }
.prose h2 { font-family: var(--serif); color: var(--text); font-size: 23px; font-weight: 600; margin: 44px 0 14px; letter-spacing: -.01em; }
.prose h3 { color: var(--text); font-size: 18px; margin: 28px 0 8px; }
.prose p { margin: 0 0 16px; line-height: 1.85; }
.prose ul, .prose ol { padding-left: 1.3em; }
.prose li { margin: 4px 0; }
.prose img { border-radius: var(--radius-sm); margin: 18px 0; }
.prose strong { color: var(--text); }
/* ==문장== 형광펜 강조 — 아래쪽만 칠해 밑줄 긋듯이 */
.prose mark { background: linear-gradient(transparent 55%, #ffe27a 55%); color: var(--text); font-weight: 700; padding: 0 2px; }
.prose blockquote { margin: 24px 0; padding: 14px 20px; border-left: 2px solid var(--accent-2); background: var(--surface); color: var(--text-3); font-size: 14.5px; }
.prose blockquote > :last-child { margin-bottom: 0; }
.prose table { border-collapse: collapse; width: 100%; margin: 14px 0 20px; font-size: 14.5px; }
.prose th, .prose td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; }
.prose td:first-child, .prose td strong { white-space: nowrap; } /* 시간·회차·세션 이름이 두 줄로 깨지지 않게 */
.prose th { background: var(--alt); color: var(--text); }
.prose code { background: var(--alt); padding: 2px 6px; border-radius: var(--radius-sm); }
.prose.small { font-size: 14.5px; }
/* 전략 소스코드(/library) */
.lib-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.lib-grid-3 { grid-template-columns: repeat(3, 1fr); }
.lib-card { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); overflow: hidden; color: inherit; text-decoration: none; transition: transform .2s, box-shadow .2s; }
.lib-card:hover { transform: translateY(-2px); box-shadow: 0 10px 28px rgba(15, 23, 42, .08); }
.lib-thumb { aspect-ratio: 16 / 9; background: #0b1220; overflow: hidden; }
.lib-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.lib-body { padding: 18px 20px 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.lib-body h3 { margin: 0; font-size: 18px; line-height: 1.45; color: var(--text); word-break: keep-all; }
.lib-desc { margin: 0; font-size: 14.5px; line-height: 1.7; color: var(--text-3); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.lib-has { margin-top: auto; align-self: flex-start; font-size: 12.5px; font-weight: 700; color: var(--accent-2); }
.lib-meta { display: flex; flex-wrap: wrap; gap: 6px 12px; margin: 0; font-size: 13px; color: var(--text-3); }
.lib-cat { font-weight: 700; color: var(--accent-2); }
.lib-post { padding-top: 40px; padding-bottom: 80px; }
.lib-back { margin: 0 0 24px; font-size: 14px; }
.lib-back a { color: var(--text-3); text-decoration: none; }
.lib-title { margin: 12px 0 14px; font-size: 32px; line-height: 1.35; letter-spacing: -.02em; color: var(--text); word-break: keep-all; }
.lib-lead { margin: 0 0 28px; font-size: 17px; line-height: 1.75; color: var(--text-2); }
.lib-video { margin-bottom: 36px; }
.lib-prose pre { margin: 20px 0 24px; padding: 18px 20px; border-radius: 12px; background: #0d1626; color: #dbe4f3; font-size: 13.5px; line-height: 1.65; overflow-x: auto; }
.lib-prose pre code { background: none; padding: 0; border-radius: 0; color: inherit; font-family: ui-monospace, Consolas, 'D2Coding', monospace; white-space: pre; }
.lib-prose .callout { margin: 24px 0; padding: 18px 20px; border-radius: 12px; border-left: 4px solid var(--accent-2); background: var(--alt); color: var(--text); font-weight: 500; line-height: 1.8; }
.lib-files { margin: 40px 0 0; padding: 24px; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
.lib-files h2 { margin: 0 0 6px; font-size: 20px; }
.lib-files > p { margin: 0 0 16px; }
.lib-notice { margin: 0 0 24px; padding: 16px 18px; border: 1px solid var(--line); border-left: 3px solid var(--accent-2); border-radius: 10px; background: var(--surface); font-size: 14.5px; line-height: 1.7; color: var(--text-2, var(--text)); word-break: keep-all; }
.lib-notice p { margin: 0; }
.lib-notice p + p { margin-top: 6px; }
.lib-files .lib-notice { margin: 0 0 16px; background: var(--bg); }
.lib-file { display: flex; align-items: center; justify-content: space-between; gap: 14px; padding: 14px 16px; border: 1px solid var(--line); border-radius: 12px; color: inherit; text-decoration: none; margin-bottom: 10px; }
.lib-file:hover { border-color: var(--accent-2); }
.lib-file-n { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.lib-file-n b { color: var(--text); }
.lib-file-n small { color: var(--text-3); }
.lib-cta { margin: 40px 0 0; padding: 28px; border-radius: var(--radius); background: linear-gradient(160deg, #0d1d3f 0%, #081227 100%); color: rgba(226, 232, 240, .86); }
.lib-cta-k { margin: 0 0 6px; font-size: 13.5px; color: #8fb3ff; font-weight: 700; }
.lib-cta h3 { margin: 0 0 10px; color: #fff; font-size: 22px; }
.lib-cta p:not(.lib-cta-k) { margin: 0 0 18px; line-height: 1.8; }
.lib-more { margin-top: 56px; }
.lib-more h2 { font-size: 20px; margin: 0 0 16px; }
@media (max-width: 860px) { .lib-grid-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 640px) { .lib-grid, .lib-grid-3 { grid-template-columns: 1fr; } .lib-title { font-size: 25px; } .lib-file { flex-direction: column; align-items: stretch; } }
.legal h2 { font-size: 18px; }

/* forms */
.auth { display: grid; place-items: center; padding: 56px 20px 96px; }
.auth-box { width: 100%; max-width: 440px; background: var(--surface); border: 1px solid var(--line-2); border-top: 2px solid var(--ink); border-radius: var(--radius); padding: 40px 34px; }
.auth-alt { text-align: center; margin-top: 22px; color: var(--text-3); font-size: 14.5px; display: flex; gap: 8px; justify-content: center; flex-wrap: wrap; }
.auth-alt a { color: var(--text); font-weight: 600; }
.form { display: grid; gap: 16px; }
.form label { display: grid; gap: 6px; font-weight: 600; font-size: 14.5px; }
.form label small { font-weight: 400; color: var(--text-3); }
input:not([type=checkbox]):not([type=radio]):not([type=file]), select, textarea { width: 100%; padding: 12px 14px; border: 1px solid var(--line-2); border-radius: var(--radius-sm); background: #fff; font-size: 15.5px; transition: border-color .15s, box-shadow .15s; }
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 0 0 3px rgba(154, 125, 71, .14); }
input:disabled { background: #f1efe9; color: var(--text-3); }
textarea { resize: vertical; line-height: 1.55; }
.agree { border: 1px solid var(--line); border-radius: var(--radius); padding: 14px 16px; display: grid; gap: 10px; margin: 0; }
/* flex 로 하면 문구 속 링크(이용약관 등)가 따로 떨어져 줄이 깨진다 → 체크박스만 왼쪽에 띄우고 글은 한 덩어리로 흐르게 */
.chk { display: block !important; position: relative; padding-left: 26px; font-weight: 500 !important; font-size: 14.5px; cursor: pointer; }
.chk input { position: absolute; left: 0; top: 0; margin: 4px 0 0; width: 17px; height: 17px; accent-color: var(--ink); }
.chk-all { font-weight: 700 !important; padding-bottom: 10px; border-bottom: 1px solid var(--line); }
.form-err { background: #fbeae6; color: var(--bad); padding: 11px 14px; border-radius: 10px; font-size: 14.5px; font-weight: 600; margin: 0 0 16px; }
.form-ok { background: #e2f3ec; color: var(--ok); padding: 11px 14px; border-radius: 10px; font-size: 14.5px; font-weight: 600; margin: 0 0 16px; }
.panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 22px; }
.done-ic { width: 64px; height: 64px; border-radius: 50%; background: var(--ok); color: #fff; font-size: 32px; display: grid; place-items: center; margin: 0 auto 18px; font-weight: 700; }

/* checkout */
.co-item { display: grid; grid-template-columns: 160px 1fr; gap: 20px; align-items: center; }
.co-item img { border-radius: 10px; aspect-ratio: 16 / 10; object-fit: cover; }
.co-item .h3 { margin: 6px 0 2px; }
.co-guest { background: var(--alt); border-radius: var(--radius); padding: 12px 16px; margin: 0; line-height: 1.6; color: var(--text-2); }
.co-guest a { font-weight: 700; text-decoration: underline; }
.co-sum { background: var(--alt); border-radius: var(--radius); padding: 18px 20px; display: grid; gap: 8px; font-size: 15px; }
.co-sum > div { display: flex; justify-content: space-between; }
.co-disc { color: var(--bad); }
.co-total { border-top: 1px solid var(--line-2); padding-top: 10px; margin-top: 4px; font-weight: 700; }
.co-total b { font-size: 22px; }

/* my page */
.mylist { display: grid; gap: 12px; margin-bottom: 12px; }
.myrow { display: grid; grid-template-columns: 120px 1fr auto; gap: 18px; align-items: center; padding: 14px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); text-decoration: none; }
a.myrow:hover { border-color: var(--line-2); box-shadow: var(--shadow); }
.myrow img { border-radius: 8px; aspect-ratio: 16 / 10; object-fit: cover; }
.myrow-body { display: grid; gap: 4px; min-width: 0; }
.myrow-body small { color: var(--text-3); }
.myrow.dim { opacity: .65; }
.prog { display: flex; align-items: center; gap: 10px; font-size: 13px; color: var(--text-3); }
.prog-bar { flex: 1; height: 6px; border-radius: 3px; background: #ebe8df; overflow: hidden; min-width: 80px; }
.prog-bar i { display: block; height: 100%; background: var(--accent-2); border-radius: 3px; }
.pill { display: inline-block; font-size: 12.5px; font-weight: 700; padding: 3px 9px; border-radius: 999px; background: #ece9df; color: var(--text-2); white-space: nowrap; }
.pill-ok { background: #e2f3ec; color: var(--ok); }
.pill-bad { background: #fbeae6; color: var(--bad); }
.table-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); }
.table { width: 100%; border-collapse: collapse; font-size: 14.5px; }
.table th { text-align: left; font-size: 13px; color: var(--text-3); font-weight: 600; padding: 11px 14px; border-bottom: 1px solid var(--line); background: #faf9f5; white-space: nowrap; }
.table td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.table tr:last-child td { border-bottom: 0; }
.table .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.table a { font-weight: 600; }
.plain { list-style: none; padding: 0; margin: 8px 0; display: grid; gap: 6px; font-size: 14.5px; }

/* learn */
.is-learn { background: #0b101b; color: #e8ebf2; }
.is-learn .hdr { background: rgba(11, 16, 27, .92); border-color: rgba(255, 255, 255, .08); }
.is-learn .logo, .is-learn .nav a.on { color: #fff; }
.is-learn .nav a, .is-learn .lnk { color: rgba(255, 255, 255, .65); }
.is-learn .menu-btn span { background: #fff; }
.is-learn .btn { background: #1a2234; border-color: #2c3750; color: #e8ebf2; }
.is-learn .btn-accent { background: var(--accent); border-color: var(--accent); color: var(--accent-ink); }
.is-learn .btn-done { background: #133326; border-color: #1f5a41; color: #7ee0b5; }
.is-learn .ftr { display: none; }
.learn { display: grid; grid-template-columns: 1fr 360px; min-height: calc(100vh - 64px); }
.learn-main { padding: 18px 28px 48px; min-width: 0; }
.learn-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; font-size: 14px; }
.learn-back { text-decoration: none; color: rgba(255, 255, 255, .6); }
.learn-back:hover { color: #fff; }
.learn-pct { color: var(--accent); font-weight: 700; }
.player { position: relative; background: #000; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9; user-select: none; }
.player video, .player iframe { width: 100%; height: 100%; display: block; border: 0; background: #000; }
.player-empty { display: grid; place-items: center; color: rgba(255, 255, 255, .5); }
/* 오른쪽 위: 유출 금지 문구 + 바로 아래 워터마크(이메일/IP) — 고정 위치, 영상 컨트롤(아래)과 겹치지 않게 위쪽.
   왼쪽 위·옅은 색일 땐 화면 내용에 묻혀 안 보였다 → 진하게 + 어두운 그림자 */
.wm, .wm-notice { position: absolute; right: 14px; font-size: 13px; color: rgba(255, 255, 255, .62); pointer-events: none; text-shadow: 0 0 2px rgba(0, 0, 0, .9), 0 1px 4px rgba(0, 0, 0, .7); white-space: nowrap; z-index: 2; }
.wm-notice { top: 12px; font-weight: 700; letter-spacing: .02em; }
.wm { top: 32px; font-family: var(--mono); font-size: 12.5px; }
.learn-info { max-width: 980px; }
.learn-title { display: flex; justify-content: space-between; align-items: flex-start; gap: 16px; margin-top: 20px; flex-wrap: wrap; }
.learn-title .h3 { font-size: 21px; }
.learn-ctl { display: flex; align-items: center; gap: 10px; }
.speed { display: flex; align-items: center; gap: 6px; font-size: 13.5px; color: rgba(255, 255, 255, .6); }
.speed select { width: auto; padding: 5px 8px; background: #1a2234; border-color: #2c3750; color: #fff; font-size: 13.5px; }
.learn-nav { display: flex; justify-content: space-between; margin: 16px 0; }
.learn-note { background: #121a2a; border: 1px solid #222d44; border-radius: 12px; padding: 18px 20px; color: #c9cfdb; }
.learn-note h2, .learn-note h3, .learn-note strong { color: #fff; }
.learn-note code { background: #0b101b; }
.learn-cta { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px; border-radius: 12px; background: linear-gradient(90deg, #2a2210, #1a1a1a); border: 1px solid #4d3d17; margin-top: 18px; }
.learn-cta p { margin: 0; line-height: 1.6; }
.learn-cta-btns { display: flex; gap: 8px; flex-wrap: wrap; flex: none; }
/* 무료 강의가 끝나면 플레이어 위에 뜨는 다음 강의 안내 */
.vid-end { position: absolute; inset: 0; z-index: 3; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; padding: 16px; text-align: center; background: rgba(6, 12, 26, .95); color: #fff; }
.vid-end[hidden] { display: none; }
.vid-end-k { margin: 0; font-size: 13px; letter-spacing: .12em; color: rgba(255, 255, 255, .6); }
.vid-end-t { margin: 0 0 10px; font-size: 20px; font-weight: 700; line-height: 1.4; max-width: 28em; }
.vid-end-btns { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.vid-end-x { margin-top: 8px; background: none; border: 0; color: rgba(255, 255, 255, .6); font-size: 13.5px; text-decoration: underline; cursor: pointer; }
.learn-side { background: #0f1523; border-left: 1px solid rgba(255, 255, 255, .07); padding: 20px 0; overflow-y: auto; max-height: calc(100vh - 64px); position: sticky; top: 64px; }
.learn-side-h { font-size: 16px; padding: 0 20px 10px; margin: 0; }
.learn-side-h small { color: rgba(255, 255, 255, .45); font-weight: 500; }
.ls-sec h3 { font-size: 13px; color: rgba(255, 255, 255, .5); font-weight: 600; padding: 14px 20px 6px; margin: 0; }
.ls-sec ul { list-style: none; margin: 0; padding: 0; }
.ls-sec li > a, .ls-sec li > span { display: grid; grid-template-columns: 18px 1fr auto; gap: 10px; align-items: center; padding: 9px 20px; text-decoration: none; font-size: 14px; color: rgba(255, 255, 255, .78); }
.ls-sec li > a:hover { background: rgba(255, 255, 255, .04); }
.ls-sec li.cur > a { background: rgba(210, 185, 138, .1); color: #fff; box-shadow: inset 2px 0 0 var(--accent); }
.ls-sec li.locked > a { color: rgba(255, 255, 255, .42); }
.ls-sec li.locked .ls-ic { border: 0; font-size: 11px; line-height: 16px; text-align: center; font-style: normal; opacity: .7; }
.ls-sec time { font-size: 12px; color: rgba(255, 255, 255, .4); font-variant-numeric: tabular-nums; }
.ls-ic { width: 16px; height: 16px; border-radius: 50%; border: 1.5px solid rgba(255, 255, 255, .3); }
.ls-sec li.done .ls-ic { background: var(--ok); border-color: var(--ok); position: relative; }
.ls-sec li.done .ls-ic::after { content: ''; position: absolute; left: 4.5px; top: 1.5px; width: 4px; height: 8px; border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.ls-sec li.cur .ls-ic { border-color: var(--accent); }

/* admin */
.is-admin .ftr { display: none; }
.adm { display: grid; grid-template-columns: 200px 1fr; min-height: calc(100vh - 64px); }
.adm-nav { background: var(--ink); padding: 18px 10px; display: flex; flex-direction: column; gap: 2px; }
.adm-nav a { color: rgba(255, 255, 255, .7); text-decoration: none; padding: 9px 14px; border-radius: 8px; font-weight: 600; font-size: 15px; }
.adm-nav a:hover { color: #fff; background: rgba(255, 255, 255, .06); }
.adm-nav a.on { background: rgba(210, 185, 138, .14); color: var(--accent); }
.adm-site { margin-top: auto; font-size: 13.5px !important; }
.adm-body { padding: 28px 32px 80px; min-width: 0; max-width: 1280px; }
.adm-warn { background: #fff4dc; border: 1px solid #f0d79a; color: #6e4b06; padding: 10px 14px; border-radius: 10px; font-size: 14.5px; margin: 0 0 10px; }
.adm-actions { display: flex; gap: 8px; flex-wrap: wrap; align-items: center; margin: 0 0 18px; }
.adm-2col { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; align-items: start; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin: 14px 0 28px; }
.stat { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px 20px; display: grid; gap: 2px; }
.stat span { color: var(--text-3); font-size: 13.5px; font-weight: 600; }
.stat b { font-size: 24px; letter-spacing: -.02em; }
.stat small { color: var(--text-3); }
.adm-form fieldset { border: 1px solid var(--line); border-radius: 12px; padding: 16px 18px 18px; margin: 0; background: var(--surface); }
.adm-form legend { font-weight: 700; padding: 0 6px; font-size: 14.5px; }
.fgrid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 18px; }
.fgrid .span2 { grid-column: span 2; }
.adm-save { position: sticky; bottom: 0; background: linear-gradient(transparent, var(--bg) 30%); padding: 18px 0 6px; display: flex; gap: 8px; }
.checks { display: grid; gap: 8px; }
.thumb { width: 64px; height: 40px; object-fit: cover; border-radius: 5px; display: inline-block; vertical-align: middle; }
.adm-filter { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-bottom: 16px; }
.adm-filter .subnav { margin: 0; }
.adm-filter input { max-width: 280px; padding: 7px 11px; font-size: 14.5px; }
.cur-sec { margin-bottom: 16px; padding: 16px; }
.cur-sec-h { display: flex; gap: 8px; align-items: center; margin-bottom: 12px; }
.cur-sec-h .grow { font-weight: 700; }
.cur-table td { padding: 6px 8px; }
.cur-table thead { display: none; }
.lrow { display: flex; gap: 8px; align-items: center; flex-wrap: wrap; }
.lrow input:not([type=checkbox]):not([type=file]), .lrow select, .cur-sec-h input { padding: 6px 9px; font-size: 14px; border-radius: 7px; }
.lrow .grow { flex: 1 1 220px; min-width: 160px; }
.w-num { width: 64px !important; flex: none; text-align: right; }
.w-type { width: 82px !important; flex: none; }
.w-src { width: 260px !important; flex: 0 1 260px; }
.w-sec { width: 130px !important; flex: none; }
.w-dur { width: 52px; text-align: right; font-variant-numeric: tabular-nums; }
.lrow-add { margin-top: 10px; padding-top: 10px; border-top: 1px dashed var(--line); }
.lnote { flex-basis: 100%; }
.lnote textarea { margin-top: 6px; font-size: 14px; }
pre.code { background: #0f1523; color: #c9d1e0; padding: 14px; border-radius: 10px; overflow-x: auto; white-space: pre-wrap; word-break: break-all; }

/* footer */
.ftr { background: var(--ink); color: rgba(255, 255, 255, .62); padding: 64px 0 64px; font-size: 14px; border-top: 1px solid rgba(210, 185, 138, .25); }
.ftr-top { display: flex; justify-content: space-between; align-items: center; gap: 20px; flex-wrap: wrap; margin-bottom: 28px; padding-bottom: 28px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.logo-ftr { color: #fff; }
.logo-ftr .logo-mark { color: #1c1c1f; }
.ftr-nav { display: flex; gap: 20px; flex-wrap: wrap; }
.ftr-nav a { text-decoration: none; color: rgba(255, 255, 255, .8); }
.ftr-nav a:hover { color: #fff; }
.ftr-biz { line-height: 1.9; margin: 0 0 14px; }
.ftr-biz i { font-style: normal; margin: 0 8px; opacity: .4; }
.ftr-legal { margin: 0 0 14px; max-width: 70em; color: rgba(255, 255, 255, .45); }
.ftr-copy { margin: 0; color: rgba(255, 255, 255, .4); }

/* 1:1 상담 버튼 (카카오톡 채널) */
.talk { position: fixed; right: 28px; bottom: 28px; z-index: 60; display: inline-flex; align-items: center; gap: 9px; padding: 14px 22px 14px 18px; border-radius: 999px; background: var(--ink); color: #fff; border: 1px solid var(--accent); text-decoration: none; font-weight: 600; font-size: 15.5px; letter-spacing: .02em; box-shadow: 0 12px 32px rgba(0, 0, 0, .28); transition: background .2s, color .2s, transform .2s; }
.talk svg { color: var(--accent); flex: none; }
.talk:hover { background: var(--accent); color: var(--ink); transform: translateY(-2px); }
.talk:hover svg { color: var(--ink); }

.nav .nav-m { display: none; } /* 모바일 메뉴에만 보이는 로그인 */

/* 상품 소개 맨 위 강조 박스(지표 자동매매로는 안 된다) */
.hook { margin: 28px 0 32px; padding: 30px 32px 28px; border-radius: var(--radius); background: linear-gradient(160deg, #0d1d3f 0%, #081227 100%); color: rgba(226, 232, 240, .86); box-shadow: 0 16px 40px rgba(8, 18, 39, .18); position: relative; overflow: hidden; }
.hook::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--accent-2); }
.hook h2 { margin: 0 0 14px; color: #fff; font-size: 24px; line-height: 1.4; letter-spacing: -.02em; }
.hook p { margin: 0 0 12px; font-size: 15.5px; line-height: 1.8; }
.hook b { color: #fff; }
.section-hook { padding: 72px 0; }
.section-hook .hook { margin: 0; padding: 40px 44px 36px; }
.section-hook .hook h2 { font-size: 30px; }
.section-hook .hook p { font-size: 16.5px; }
@media (max-width: 720px) { .section-hook { padding: 40px 0; } .section-hook .hook { padding: 28px 22px 24px; } .section-hook .hook h2 { font-size: 23px; } .section-hook .hook p { font-size: 15.5px; } }
.hook .hook-end { margin: 18px 0 0; padding-top: 16px; border-top: 1px solid rgba(255, 255, 255, .12); color: #8fb3ff; font-weight: 700; font-size: 17px; line-height: 1.6; }

/* 커리큘럼의 무료 공개 강의: 테두리 강조 + 카드 아래 큰 재생 버튼 */
.curri-sec.curri-free { border: 1.5px solid var(--accent-2); box-shadow: 0 10px 28px rgba(31, 85, 224, .1); }
.curri-free-btn { display: flex; align-items: center; justify-content: center; gap: 10px; flex-wrap: wrap; margin: 4px 16px 16px; padding: 13px 16px; border-radius: var(--radius-sm); background: var(--accent-2); color: #fff; text-decoration: none; font-weight: 700; font-size: 15.5px; transition: background .2s, transform .2s; }
.curri-free-btn small { font-weight: 500; font-size: 13px; opacity: .8; }
.curri-free-btn:hover { background: var(--accent); transform: translateY(-1px); color: #fff; }

/* 상품 소개 속 실습 화면 — [[showcase]] 갤러리, [[before-after]] 처음→다음 */
.showcase { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin: 18px 0 36px; }
.sc-item { margin: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.sc-wide { grid-column: 1 / -1; }
.sc-item figcaption { display: grid; gap: 3px; padding: 14px 16px 16px; font-size: 14px; color: var(--text-2); line-height: 1.6; }
.sc-item figcaption b { font-size: 16.5px; color: var(--text); }
.sc-l { font-size: 12.5px; font-weight: 700; color: var(--accent-2); letter-spacing: .02em; }
.shot { display: block; background: #111; cursor: zoom-in; }
.shot img { display: block; width: 100%; height: auto; }
.sc-item:not(.sc-wide) .shot img { aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; }
.ba { display: grid; grid-template-columns: 1fr auto 1fr; gap: 14px; align-items: center; margin: 14px 0 36px; }
.ba figure { margin: 0; }
.ba .shot { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--line); }
.ba .shot img { aspect-ratio: 16 / 10; object-fit: cover; object-position: left top; }
.ba figcaption { margin-top: 8px; font-size: 14px; color: var(--text-2); display: grid; gap: 2px; }
.ba-arrow { font-size: 26px; color: var(--accent-2); font-weight: 700; }
/* 이미지 크게 보기 */
.zoom { position: fixed; inset: 0; z-index: 100; background: rgba(5, 10, 20, .92); display: flex; align-items: center; justify-content: center; padding: 16px; cursor: zoom-out; }
.zoom img { max-width: 100%; max-height: 100%; border-radius: 8px; box-shadow: 0 20px 60px rgba(0, 0, 0, .5); }
.zoom-x { position: absolute; top: 14px; right: 18px; color: #fff; font-size: 30px; line-height: 1; background: none; border: 0; cursor: pointer; }

/* responsive */
@media (max-width: 1024px) {
  .hero-in { grid-template-columns: 1fr; padding-top: 64px; padding-bottom: 72px; }
  .hero-art { display: none; }
  .hero-photo::before { background: linear-gradient(180deg, rgba(8, 8, 9, .72) 0%, rgba(8, 8, 9, .9) 70%); }
  .hero-photo .hero-in { min-height: 0; padding-top: 88px; padding-bottom: 56px; }
  .tracks { grid-template-columns: 1fr; grid-auto-flow: row; }
  .track + .track { border-left: 0; border-top: 1px solid var(--line-2); }
  .pd { grid-template-columns: 1fr; }
  .pd-side { display: none; }
  .has-mbuy { padding-bottom: 84px; }
  .mbuy { display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40; background: var(--surface); border-top: 1px solid var(--line); padding: 12px 16px calc(12px + env(safe-area-inset-bottom)); gap: 14px; align-items: center; justify-content: space-between; box-shadow: 0 -6px 20px rgba(0, 0, 0, .06); }
  .mbuy .btn { flex: 0 0 auto; width: auto; padding: 12px 22px; }
  .mbuy-btns { display: flex; gap: 8px; }
  .mbuy-btns .btn + .btn { padding: 12px 18px; }
  .mbuy-btns .btn:not(.btn-accent) { padding: 12px 14px; }
  .mbuy .hint { display: none; }
  .has-mbuy .talk { bottom: calc(96px + env(safe-area-inset-bottom)); }
  .learn { grid-template-columns: 1fr; }
  .learn-side { position: static; max-height: none; border-left: 0; border-top: 1px solid rgba(255, 255, 255, .07); }
  .adm { grid-template-columns: 1fr; }
  .adm-nav { flex-direction: row; overflow-x: auto; padding: 8px; }
  .adm-nav a { white-space: nowrap; }
  .adm-site { margin-top: 0; margin-left: auto; }
  .adm-2col, .stats { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  body { font-size: 15.5px; }
  .wrap { padding-left: 16px; padding-right: 16px; } /* 위아래 여백(.hero-in, .pd-hero-in 등)은 건드리지 않는다 */
  .hdr-in { gap: 12px; }
  .nav { display: none; position: absolute; top: 64px; left: 0; right: 0; background: var(--surface); flex-direction: column; gap: 0; padding: 8px 16px 16px; border-bottom: 1px solid var(--line); box-shadow: var(--shadow); }
  .nav a { padding: 12px 4px; border: 0; border-bottom: 1px solid var(--line); }
  .is-learn .nav { background: #0f1523; }
  .nav-open .nav { display: flex; }
  .menu-btn { display: flex; }
  .hdr-r .lnk { display: none; }
  .section { padding: 72px 0; }
  .talk { right: 16px; bottom: calc(16px + env(safe-area-inset-bottom)); padding: 12px 18px 12px 15px; font-size: 14.5px; }
  .author { grid-template-columns: 1fr; gap: 32px; }
  .author-badge { width: 120px; padding: 24px; }
  .author-img { width: 210px; }
  .proof-item, .proof-item + .proof-item { padding: 16px 0; border-left: 0; }
  .proof-item + .proof-item { border-top: 1px solid rgba(255, 255, 255, .08); }
  .week { grid-template-columns: 44px 1fr; padding: 16px 18px; gap: 12px; }
  .week-no { font-size: 20px; }
  .roadmap { grid-template-columns: 1fr; gap: 14px; }
  .cmp { grid-template-columns: 1fr; }
  .rm-part { padding: 24px 20px 20px; }
  .rm-part h3 { font-size: 23px; }
  .auth-box { padding: 28px 20px; }
  .co-item { grid-template-columns: 100px 1fr; gap: 14px; }
  .myrow { grid-template-columns: 84px 1fr; }
  .myrow > .btn, .myrow > .pill { grid-column: 1 / -1; justify-self: stretch; }
  .learn-main { padding: 0 0 32px; }
  .learn-top { padding: 10px 16px 0; }
  .player { border-radius: 0; }
  .learn-info { padding: 0 16px; }
  .fgrid { grid-template-columns: 1fr; }
  .fgrid .span2 { grid-column: auto; }
  .adm-body { padding: 20px 16px 60px; }
  .adm-2col, .stats { grid-template-columns: 1fr; }
  .w-src { width: 100% !important; flex-basis: 100%; }
  .tabs { gap: 16px; overflow-x: auto; }

  /* 모바일 점검(2026-10-24) */
  .nav .nav-m { display: block; }
  .section { padding: 56px 0; }
  .sec-head { margin-bottom: 32px; }
  /* 히어로 아래 4칸: 세로로 길게 쌓지 말고 2×2 */
  .proof-in { grid-template-columns: 1fr 1fr; }
  .proof-item, .proof-item + .proof-item { padding: 14px 0; border: 0; }
  .proof-item:nth-child(n+3) { border-top: 1px solid rgba(255, 255, 255, .08); }
  .proof-item:nth-child(even) { padding-left: 16px; border-left: 1px solid rgba(255, 255, 255, .08); }
  .proof-item b { font-size: 16px; }
  .proof-item span { font-size: 11.5px; letter-spacing: .14em; }
  /* 메인 강사 사진: 왼쪽에 작게 붙고 오른쪽이 비던 것 → 가로 꽉 차게 */
  .author-img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; outline-offset: 6px; }
  .track { padding: 24px 22px; }
  .track-ic { margin-bottom: 16px; }
  /* 본문 표: 좁은 화면에선 칸을 나누지 않고 행마다 위아래로 */
  .prose table, .prose tbody, .prose tr, .prose td { display: block; width: auto; }
  .prose thead { display: none; }
  .prose table { border: 1px solid var(--line); border-radius: var(--radius-sm); overflow: hidden; }
  .prose tr { padding: 12px 14px; border-top: 1px solid var(--line); background: var(--surface); }
  .prose tr:first-child { border-top: 0; }
  .prose td { border: 0; padding: 1px 0; white-space: normal; }
  .prose td strong { white-space: normal; }
  .prose td:first-child:nth-last-child(n+3) { font-size: 13px; color: var(--text-3); } /* 3칸 이상 표의 첫 칸(시간·회차)은 작은 라벨로 */
  .prose td:first-child:nth-last-child(2) { font-weight: 600; } /* 2칸 표(환불 구분 → 금액)는 구분을 굵게 */
  /* 푸터 사업자 정보: 항목마다 한 줄(번호·이메일이 중간에서 끊기지 않게) */
  .ftr { padding-bottom: 96px; } /* 오른쪽 아래 상담 버튼에 마지막 줄이 가리지 않게 */
  .ftr-biz i { display: none; }
  .ftr-biz span { display: block; }
  .wm, .wm-notice { right: 10px; font-size: 10.5px; }
  .wm-notice { top: 8px; }
  .wm { top: 24px; }
  .hook { padding: 24px 20px 22px; }
  .hook h2 { font-size: 20px; }
  .hook p { font-size: 15px; }
  .hook .hook-end { font-size: 16px; }
  .showcase { grid-template-columns: 1fr; gap: 14px; }
  .ba { grid-template-columns: 1fr; gap: 8px; }
  .ba-arrow { transform: rotate(90deg); justify-self: center; font-size: 22px; }
  .learn-cta { flex-direction: column; align-items: stretch; }
  .learn-cta-btns .btn { flex: 1; }
  .vid-end { gap: 2px; }
  .vid-end-k { font-size: 11.5px; }
  .vid-end-t { font-size: 15.5px; margin-bottom: 8px; }
  .vid-end .btn { padding: 9px 14px; font-size: 14px; }
  .vid-end-x { margin-top: 4px; font-size: 12.5px; }
}
.player:fullscreen { border-radius: 0; aspect-ratio: auto; width: 100vw; height: 100vh; }
.player:fullscreen video { object-fit: contain; }
.player:fullscreen .wm, .player:fullscreen .wm-notice { font-size: 16px; right: 22px; }
.player:fullscreen .wm-notice { top: 18px; }
/* 전체화면일 때만 왼쪽 위 축소 버튼 */
.fs-exit { display: none; position: absolute; left: 18px; top: 14px; z-index: 4; padding: 7px 14px; border-radius: 8px; border: 1px solid rgba(255, 255, 255, .25); background: rgba(0, 0, 0, .55); color: #fff; font-size: 14px; font-weight: 600; cursor: pointer; }
.fs-exit:hover { background: rgba(0, 0, 0, .8); }
.player:fullscreen .fs-exit { display: block; }
.player:fullscreen .wm { top: 44px; }
