/* INNERVERSE — 인강 + 프리미엄 칼럼
   레퍼런스 bibllab.com: 검정 · Pretendard · 두 톤 큰 제목 · 왼쪽 한글/오른쪽 영문 라벨 · 둥근 어두운 카드
   이너버스만의 것: 궤도 선 · 별가루 · 노랑 #FCF218 한 가지 포인트 · 칼럼은 명조 */
:root {
  --bg: #050507;
  --bg2: #0b0b0f;
  --card: #111116;
  --card2: #17171d;
  --line: rgba(255,255,255,.09);
  --line2: rgba(255,255,255,.18);
  --text: #f5f5f7;
  --dim: #b9b9c0;
  --faint: #7d7d86;
  --y: #FCF218;
  --y-soft: rgba(252,242,24,.12);
  --serif: "Nanum Myeongjo", "Noto Serif KR", serif;
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--bg); color: var(--text); font-family: "Pretendard Variable", Pretendard, -apple-system, "Malgun Gothic", sans-serif; font-size: 16px; line-height: 1.6; word-break: keep-all; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
img { display: block; max-width: 100%; }
h1, h2, h3, h4, p { margin: 0; }
.wrap { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.narrow { max-width: 720px; }
::selection { background: var(--y); color: #000; }

/* 별가루 배경 (첫 화면) */
.stars { position: absolute; inset: 0; pointer-events: none; opacity: .55;
  background-image:
    radial-gradient(1px 1px at 12% 22%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 33% 68%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 58% 14%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 76% 42%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 88% 80%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 22% 88%, #fff 50%, transparent 51%),
    radial-gradient(1.5px 1.5px at 47% 40%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 67% 92%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 5% 50%, #fff 50%, transparent 51%),
    radial-gradient(1px 1px at 95% 10%, #fff 50%, transparent 51%);
}

/* 헤더 */
header.top { position: sticky; top: 0; z-index: 40; background: rgba(5,5,7,.78); backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px); border-bottom: 1px solid var(--line); }
header.top .wrap { display: flex; align-items: center; gap: 30px; height: 64px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 17px; letter-spacing: -.02em; }
.brand i { width: 32px; height: 32px; border-radius: 9px; background: #fff; display: grid; place-items: center; flex: none; }
.brand i img { width: 26px; }
.brand small { font-weight: 600; font-size: 12px; color: var(--faint); letter-spacing: .12em; margin-left: 2px; }
nav.main { display: flex; gap: 24px; font-size: 14px; font-weight: 600; color: var(--dim); }
nav.main a:hover, nav.main a.on { color: var(--text); }
nav.main a.on { box-shadow: inset 0 -2px 0 var(--y); padding-bottom: 2px; }
.hright { margin-left: auto; display: flex; align-items: center; gap: 10px; }
.hlink { font-size: 14px; font-weight: 600; color: var(--dim); padding: 7px 10px; background: none; border: 0; }
.hlink:hover { color: var(--text); }
.hbtn { font-size: 14px; font-weight: 700; padding: 8px 15px; border-radius: 9px; background: var(--y); color: #000; border: 0; }
.hbtn:hover { filter: brightness(.93); }
.avatar { width: 32px; height: 32px; border-radius: 50%; background: var(--card2); border: 1px solid var(--line2); display: grid; place-items: center; font-size: 13px; font-weight: 800; }
.menu-btn { display: none; background: none; border: 0; padding: 6px; }

/* 공통 타이포 */
.label { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; font-size: 13px; color: var(--faint); padding-bottom: 18px; border-bottom: 1px solid var(--line); margin-bottom: 48px; }
.label b { color: var(--text); font-size: 12px; font-weight: 800; letter-spacing: .28em; }
.h { font-size: clamp(32px, 5vw, 52px); line-height: 1.18; font-weight: 800; letter-spacing: -.03em; color: var(--dim); }
.h em { font-style: normal; color: var(--text); }
.h .y { color: var(--y); }
.lead { margin-top: 22px; color: var(--dim); font-size: 17px; line-height: 1.8; max-width: 560px; }
.note { font-size: 12px; color: var(--faint); }
section.sec { padding: 128px 0; position: relative; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; font-size: 15px; font-weight: 700; padding: 14px 24px; border-radius: 11px; background: #fff; color: #000; border: 0; transition: transform .15s, filter .15s; }
.btn:hover { filter: brightness(.9); }
.btn:active { transform: scale(.98); }
.btn.y { background: var(--y); }
.btn.ghost { background: transparent; color: var(--text); border: 1px solid var(--line2); font-weight: 600; }
.btn.ghost:hover { background: rgba(255,255,255,.05); filter: none; }
.btn.block { width: 100%; }
.more { font-size: 14px; font-weight: 700; display: inline-flex; gap: 6px; align-items: center; }
.more::after { content: "→"; transition: transform .2s; }
.more:hover::after { transform: translateX(4px); }
.chip { align-self: flex-start; display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; padding: 4px 10px; border-radius: 99px; background: rgba(255,255,255,.07); color: var(--dim); }
.chip.y { background: var(--y-soft); color: var(--y); }
.dot { width: 6px; height: 6px; border-radius: 50%; background: var(--y); box-shadow: 0 0 10px var(--y); }

/* ───── 첫 화면 ───── */
.hero { position: relative; padding: 72px 0 96px; overflow: hidden; }
.hero-grid { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; gap: 40px; align-items: center; min-height: 520px; }
.hero h1 { font-size: clamp(40px, 6.4vw, 76px); line-height: 1.1; font-weight: 800; letter-spacing: -.045em; color: var(--dim); }
.hero h1 em { font-style: normal; color: var(--text); }
.hero .cta { margin-top: 36px; display: flex; gap: 10px; flex-wrap: wrap; }
.orbit { position: relative; aspect-ratio: 1; width: min(100%, 500px); justify-self: end; }
.orbit svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.orbit .ring { fill: none; stroke: rgba(255,255,255,.14); stroke-width: 1; }
.orbit .ring.d { stroke-dasharray: 2 6; stroke: rgba(255,255,255,.22); }
.orbit .spin { transform-origin: 250px 250px; animation: spin 60s linear infinite; }
.orbit .spin.r { animation-duration: 90s; animation-direction: reverse; }
.orbit .spin.f { animation-duration: 38s; }
@keyframes spin { to { transform: rotate(360deg); } }
.orbit .core { position: absolute; left: 50%; top: 50%; width: 30%; transform: translate(-50%,-50%); }
.orbit .core img { width: 100%; filter: invert(1); opacity: .95; }
.orbit .glow { position: absolute; left: 50%; top: 50%; width: 46%; aspect-ratio: 1; transform: translate(-50%,-50%); border-radius: 50%; background: radial-gradient(circle, rgba(252,242,24,.16), transparent 65%); }
.orbit .tag { position: absolute; font-size: 12px; font-weight: 700; color: var(--dim); background: rgba(17,17,22,.85); border: 1px solid var(--line2); padding: 6px 11px; border-radius: 99px; white-space: nowrap; backdrop-filter: blur(6px); }
.orbit .tag b { color: var(--y); font-weight: 800; margin-right: 4px; }

.stats { margin-top: 24px; display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.stats div { padding: 26px 24px 24px 0; }
.stats div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.stats strong { display: block; font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1.1; }
.stats strong sup { font-size: .5em; color: var(--y); margin-left: 2px; }
.stats span { display: block; margin-top: 8px; font-size: 13px; color: var(--faint); }

/* ───── 홈: 클래스 ───── */
.class-hero { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; border: 1px solid var(--line); border-radius: 22px; overflow: hidden; background: var(--card); }
.class-hero .left { padding: 44px; display: flex; flex-direction: column; }
.class-hero h3 { margin-top: 16px; font-size: 34px; font-weight: 800; letter-spacing: -.03em; line-height: 1.2; }
.class-hero .sub { margin-top: 14px; color: var(--dim); font-size: 15px; line-height: 1.75; }
.class-hero .meta { margin-top: 28px; display: flex; gap: 28px; flex-wrap: wrap; }
.class-hero .meta div strong { display: block; font-size: 22px; font-weight: 800; }
.class-hero .meta div span { font-size: 13px; color: var(--faint); }
.class-hero .buy { margin-top: auto; padding-top: 36px; display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }
.class-hero .price { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.class-hero .price small { display: block; font-size: 12px; font-weight: 500; color: var(--faint); }
.class-hero .right { border-left: 1px solid var(--line); background: var(--bg2); padding: 12px 0; }
.mod-row { display: grid; grid-template-columns: 52px 1fr auto; align-items: center; gap: 4px; padding: 13px 28px; border-bottom: 1px solid var(--line); font-size: 15px; }
.mod-row:last-child { border-bottom: 0; }
.mod-row .n { font-size: 12px; font-weight: 800; color: var(--faint); letter-spacing: .08em; }
.mod-row .t { font-weight: 600; }
.mod-row .c { font-size: 12px; color: var(--faint); }
.mod-row:hover .n { color: var(--y); }

.poster { position: relative; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; background: radial-gradient(120% 90% at 70% 20%, #1d1b2b 0%, #0a0a0e 60%); border: 1px solid var(--line); }
.poster .pl { position: absolute; inset: 0; display: grid; place-items: center; }
.poster .pl img { width: 22%; filter: invert(1); opacity: .9; }
.poster .cap { position: absolute; left: 22px; bottom: 18px; right: 22px; display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.poster .cap b { font-size: 15px; }
.poster .cap span { font-size: 12px; color: var(--dim); }

/* ───── 홈: 칼럼 ───── */
.col-grid { margin-top: 56px; display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; }
.col-feature { position: relative; display: flex; flex-direction: column; padding: 44px; border-radius: 22px; border: 1px solid var(--line); background: linear-gradient(160deg, #15141c 0%, #0b0b0f 70%); min-height: 460px; overflow: hidden; }
.col-feature::after { content: ""; position: absolute; right: -120px; top: -120px; width: 320px; height: 320px; border-radius: 50%; border: 1px solid rgba(255,255,255,.08); box-shadow: 0 0 0 40px rgba(255,255,255,.02), 0 0 0 90px rgba(255,255,255,.015); }
.col-feature .no { font-family: var(--serif); font-size: 15px; color: var(--y); }
.col-feature h3 { margin-top: 18px; font-family: var(--serif); font-size: 32px; line-height: 1.4; font-weight: 800; letter-spacing: -.02em; }
.col-feature p { margin-top: 18px; color: var(--dim); font-family: var(--serif); font-size: 16px; line-height: 1.95; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.col-feature .foot { margin-top: auto; padding-top: 28px; display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--faint); }
.col-list { border-top: 1px solid var(--line); }
.col-item { display: grid; grid-template-columns: 54px 1fr auto; gap: 8px; align-items: baseline; padding: 20px 4px; border-bottom: 1px solid var(--line); transition: background .2s; }
.col-item:hover { background: rgba(255,255,255,.025); }
.col-item .no { font-family: var(--serif); font-size: 14px; color: var(--faint); }
.col-item h4 { font-family: var(--serif); font-size: 18px; font-weight: 700; line-height: 1.5; }
.col-item .m { font-size: 12px; color: var(--faint); margin-top: 6px; display: block; font-family: "Pretendard Variable", sans-serif; }
.col-item .lk { font-size: 13px; color: var(--faint); }
.col-item:hover h4 { color: #fff; text-decoration: underline; text-decoration-color: rgba(252,242,24,.6); text-underline-offset: 5px; }

/* ───── 홈: 시작하는 두 가지 ───── */
.paths { margin-top: 56px; display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.path { position: relative; padding: 40px; border-radius: 22px; border: 1px solid var(--line); background: var(--card); display: flex; flex-direction: column; min-height: 360px; transition: border-color .2s, transform .2s; }
.path:hover { border-color: var(--line2); transform: translateY(-2px); }
.path .eng { font-size: 12px; font-weight: 800; letter-spacing: .26em; color: var(--faint); }
.path h3 { margin-top: 20px; font-size: 28px; font-weight: 800; letter-spacing: -.025em; line-height: 1.3; }
.path ul { margin: 22px 0 0; padding: 0; list-style: none; }
.path li { padding: 9px 0; border-top: 1px solid var(--line); color: var(--dim); font-size: 15px; display: flex; gap: 10px; }
.path li::before { content: ""; width: 5px; height: 5px; margin-top: 10px; border-radius: 50%; background: var(--y); flex: none; }
.path .bottom { margin-top: auto; padding-top: 32px; display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.path .pr { font-size: 24px; font-weight: 800; }
.path .pr small { display: block; font-size: 12px; color: var(--faint); font-weight: 500; }
.path.hl { background: linear-gradient(180deg, #19180f 0%, #111116 55%); border-color: rgba(252,242,24,.28); }

/* ───── 영상 ───── */
.vids { margin-top: 56px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px 18px; }
.vid img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 14px; border: 1px solid var(--line); transition: transform .3s; }
.vid:hover img { transform: translateY(-3px); }
.vid h4 { margin: 14px 0 4px; font-size: 15px; font-weight: 600; line-height: 1.5; }
.vid span { font-size: 13px; color: var(--faint); }

/* ───── ABOUT ───── */
.about { display: grid; grid-template-columns: 1fr 1fr; gap: 72px; }
.facts div { padding: 24px 0; border-top: 1px solid var(--line); display: grid; grid-template-columns: 120px 1fr; gap: 16px; }
.facts div:last-child { border-bottom: 1px solid var(--line); }
.facts strong { font-size: 28px; font-weight: 800; letter-spacing: -.02em; }
.facts p { color: var(--dim); font-size: 15px; align-self: center; }

/* ───── FAQ ───── */
.faq { margin-top: 48px; border-top: 1px solid var(--line); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; cursor: pointer; padding: 24px 4px; font-size: 17px; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-weight: 400; font-size: 22px; line-height: 1; color: var(--faint); transition: transform .2s; }
.faq details[open] summary::after { transform: rotate(45deg); }
.faq details p { padding: 0 4px 26px; color: var(--dim); font-size: 15px; line-height: 1.8; max-width: 760px; }

/* 마무리 CTA */
.final { position: relative; text-align: center; padding: 140px 0; overflow: hidden; }
.final .h { max-width: 760px; margin: 0 auto; }
.final .cta { margin-top: 36px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.final .ring { position: absolute; left: 50%; top: 50%; border-radius: 50%; border: 1px solid rgba(255,255,255,.07); transform: translate(-50%,-50%); pointer-events: none; }

footer { border-top: 1px solid var(--line); padding: 56px 0 80px; color: var(--faint); font-size: 13px; }
footer .wrap { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 32px; }
footer h5 { margin: 0 0 14px; color: var(--text); font-size: 13px; font-weight: 700; }
footer a { display: block; margin-bottom: 9px; }
footer a:hover { color: var(--text); }
footer .biz { margin-top: 18px; line-height: 1.8; }
.todo { color: #ff7b98; border: 1px dashed #ff7b98; border-radius: 6px; padding: 0 6px; font-size: 11px; font-weight: 700; }

/* ───── 클래스 상세 ───── */
.page-top { padding: 56px 0 0; }
.crumb { font-size: 13px; color: var(--faint); margin-bottom: 28px; }
.crumb a:hover { color: var(--text); }
.cd { display: grid; grid-template-columns: 1fr 360px; gap: 48px; align-items: start; }
.cd h1 { font-size: clamp(34px, 5vw, 52px); font-weight: 800; letter-spacing: -.035em; line-height: 1.15; margin-top: 14px; }
.cd .sub { margin-top: 16px; color: var(--dim); font-size: 17px; line-height: 1.75; }
.cd .poster { margin-top: 36px; }
.quote { margin: 56px 0 0; padding: 36px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-family: var(--serif); font-size: clamp(22px, 3vw, 30px); font-weight: 700; line-height: 1.6; white-space: pre-line; }
.quote::before { content: "“"; display: block; color: var(--y); font-size: 48px; line-height: .8; }
.blk { margin-top: 72px; }
.blk > h2 { font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.blk > h2 small { font-size: 14px; color: var(--faint); font-weight: 500; margin-left: 10px; }
.buybox { position: sticky; top: 88px; padding: 28px; border-radius: 20px; border: 1px solid var(--line2); background: var(--card); }
.buybox .pr { font-size: 32px; font-weight: 800; letter-spacing: -.02em; }
.buybox .pr small { font-size: 14px; color: var(--faint); font-weight: 500; margin-left: 6px; }
.buybox ul { list-style: none; margin: 20px 0 24px; padding: 0; }
.buybox li { display: flex; justify-content: space-between; padding: 10px 0; border-top: 1px solid var(--line); font-size: 14px; color: var(--dim); }
.buybox li b { color: var(--text); font-weight: 600; }
.buybox .btn + .btn { margin-top: 8px; }
.buybox .owned { padding: 12px; border-radius: 11px; background: var(--y-soft); color: var(--y); font-size: 14px; font-weight: 700; text-align: center; margin-bottom: 10px; }

.acc { margin-top: 24px; border-top: 1px solid var(--line); }
.acc details { border-bottom: 1px solid var(--line); }
.acc summary { list-style: none; cursor: pointer; display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 8px; padding: 20px 4px; }
.acc summary::-webkit-details-marker { display: none; }
.acc summary .n { font-size: 12px; font-weight: 800; letter-spacing: .08em; color: var(--faint); }
.acc summary .t { font-size: 17px; font-weight: 700; }
.acc summary .t small { display: block; font-size: 13px; color: var(--faint); font-weight: 500; margin-top: 2px; }
.acc summary .c { font-size: 13px; color: var(--faint); }
.acc summary .c::after { content: "＋"; margin-left: 12px; }
.acc details[open] summary .c::after { content: "－"; }
.lesson { display: grid; grid-template-columns: 56px 1fr auto; align-items: center; gap: 8px; padding: 13px 4px; border-top: 1px dashed var(--line); font-size: 15px; color: var(--dim); }
.lesson:hover { color: var(--text); background: rgba(255,255,255,.02); }
.lesson .k { font-size: 12px; color: var(--faint); padding-left: 2px; }
.lesson .s { font-size: 12px; font-weight: 700; }
.lesson .s.free { color: var(--y); }
.lesson .s.lock { color: var(--faint); }
.lesson:last-child { margin-bottom: 12px; }

.kit { margin-top: 24px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.kit div { padding: 24px; border-radius: 16px; background: var(--card); border: 1px solid var(--line); }
.kit b { display: block; font-size: 17px; }
.kit span { display: block; margin-top: 6px; font-size: 14px; color: var(--faint); }
.bonus { margin-top: 24px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.bonus div { padding: 22px; border-radius: 16px; border: 1px solid var(--line); background: linear-gradient(170deg, #15141c, #0d0d11); min-height: 148px; display: flex; flex-direction: column; }
.bonus i { font-style: normal; font-size: 12px; font-weight: 800; color: var(--y); letter-spacing: .14em; }
.bonus b { margin-top: 12px; font-size: 17px; line-height: 1.4; }
.bonus span { margin-top: 6px; font-size: 13px; color: var(--faint); line-height: 1.6; }
.who { margin-top: 24px; list-style: none; padding: 0; }
.who li { padding: 18px 4px; border-top: 1px solid var(--line); font-size: 17px; display: flex; gap: 14px; align-items: baseline; }
.who li:last-child { border-bottom: 1px solid var(--line); }
.who li::before { content: "✓"; color: var(--y); font-weight: 800; }

/* ───── 강의실 ───── */
.watch { display: grid; grid-template-columns: 1fr 360px; min-height: calc(100vh - 64px); }
.watch .stage { padding: 28px 32px 64px; }
.player { position: relative; aspect-ratio: 16/9; border-radius: 14px; overflow: hidden; background: radial-gradient(120% 90% at 70% 20%, #1d1b2b 0%, #08080b 60%); border: 1px solid var(--line); }
.player .center { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 24px; }
.player .play { width: 76px; height: 76px; border-radius: 50%; background: #fff; color: #000; border: 0; display: grid; place-items: center; margin: 0 auto; box-shadow: 0 0 0 10px rgba(255,255,255,.08); transition: transform .15s; }
.player .play:hover { transform: scale(1.06); }
.player .center p { margin-top: 18px; color: var(--dim); font-size: 14px; }
.player .bar { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px 18px; background: linear-gradient(transparent, rgba(0,0,0,.7)); display: flex; align-items: center; gap: 14px; font-size: 12px; color: var(--dim); }
.player .track { flex: 1; height: 4px; border-radius: 4px; background: rgba(255,255,255,.18); overflow: hidden; }
.player .track i { display: block; height: 100%; width: 0; background: var(--y); transition: width .4s linear; }
.player .wm { position: absolute; right: 18px; top: 14px; font-size: 11px; color: rgba(255,255,255,.28); }
.player.locked .center b { display: block; font-size: 20px; margin-top: 14px; color: var(--text); }
.watch h1 { margin-top: 26px; font-size: 26px; font-weight: 800; letter-spacing: -.02em; }
.watch .mod { font-size: 13px; color: var(--faint); margin-top: 8px; }
.watch .nav2 { margin-top: 28px; display: flex; justify-content: space-between; gap: 10px; }
.tabs { margin-top: 36px; display: flex; gap: 24px; border-bottom: 1px solid var(--line); }
.tabs button { background: none; border: 0; padding: 12px 0; font-size: 15px; font-weight: 700; color: var(--faint); border-bottom: 2px solid transparent; margin-bottom: -1px; }
.tabs button.on { color: var(--text); border-color: var(--y); }
.tabpane { padding: 24px 0; color: var(--dim); font-size: 15px; line-height: 1.85; max-width: 720px; }
.tabpane .file { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px; border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; color: var(--text); }
.tabpane .file span { font-size: 13px; color: var(--faint); }
.side { border-left: 1px solid var(--line); background: var(--bg2); max-height: calc(100vh - 64px); overflow: auto; position: sticky; top: 64px; }
.side .hd { padding: 22px 22px 16px; border-bottom: 1px solid var(--line); }
.side .hd b { display: block; font-size: 15px; }
.side .prog { margin-top: 12px; height: 4px; border-radius: 4px; background: rgba(255,255,255,.1); overflow: hidden; }
.side .prog i { display: block; height: 100%; background: var(--y); }
.side .hd span { display: block; font-size: 12px; color: var(--faint); margin-top: 8px; }
.side .mh { padding: 16px 22px 8px; font-size: 12px; font-weight: 800; color: var(--faint); letter-spacing: .06em; }
.side a { display: grid; grid-template-columns: 22px 1fr; gap: 10px; padding: 10px 22px; font-size: 14px; color: var(--dim); align-items: start; }
.side a:hover { background: rgba(255,255,255,.03); color: var(--text); }
.side a.on { background: rgba(252,242,24,.07); color: var(--text); box-shadow: inset 2px 0 0 var(--y); }
.side a .ic { font-size: 12px; margin-top: 2px; color: var(--faint); }
.side a .ic.done { color: var(--y); }

/* ───── 칼럼 목록 ───── */
.arch-head { padding: 72px 0 40px; position: relative; overflow: hidden; }
.arch-head .eng { font-size: 12px; font-weight: 800; letter-spacing: .3em; color: var(--y); }
.arch-head h1 { margin-top: 18px; font-family: var(--serif); font-size: clamp(34px, 5.4vw, 60px); font-weight: 800; line-height: 1.3; letter-spacing: -.02em; }
.arch-head p { margin-top: 20px; color: var(--dim); font-size: 17px; line-height: 1.8; max-width: 560px; }
.filters { display: flex; gap: 8px; flex-wrap: wrap; margin: 8px 0 8px; }
.filters button { border: 1px solid var(--line2); background: transparent; color: var(--dim); font-size: 14px; font-weight: 600; padding: 8px 15px; border-radius: 99px; }
.filters button.on { background: #fff; color: #000; border-color: #fff; }
.arch { margin-top: 24px; border-top: 1px solid var(--line2); }
.arow { display: grid; grid-template-columns: 90px 1fr 150px 90px; gap: 16px; align-items: center; padding: 30px 4px; border-bottom: 1px solid var(--line); transition: background .2s; }
.arow:hover { background: rgba(255,255,255,.02); }
.arow .no { font-family: var(--serif); font-size: 16px; color: var(--faint); }
.arow h3 { font-family: var(--serif); font-size: 22px; font-weight: 700; line-height: 1.5; }
.arow:hover h3 { text-decoration: underline; text-decoration-color: rgba(252,242,24,.6); text-underline-offset: 6px; }
.arow .ex { margin-top: 8px; font-size: 14px; color: var(--faint); line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 1; -webkit-box-orient: vertical; overflow: hidden; }
.arow .cat { font-size: 13px; color: var(--dim); }
.arow .rt { font-size: 13px; color: var(--faint); text-align: right; }

/* ───── 칼럼 읽기 ───── */
.reader { padding: 64px 0 160px; }
.reader .meta-top { display: flex; gap: 10px; align-items: center; font-size: 13px; color: var(--faint); }
.reader h1 { margin-top: 22px; font-family: var(--serif); font-size: clamp(30px, 4.4vw, 44px); font-weight: 800; line-height: 1.45; letter-spacing: -.02em; }
.reader .by { margin-top: 28px; padding-bottom: 32px; border-bottom: 1px solid var(--line); display: flex; align-items: center; gap: 12px; font-size: 14px; color: var(--dim); }
.reader .by i { width: 36px; height: 36px; border-radius: 50%; background: #fff; display: grid; place-items: center; }
.reader .by i img { width: 28px; }
.reader .by small { display: block; color: var(--faint); font-size: 12px; }
.body { margin-top: 44px; font-family: var(--serif); font-size: 18px; line-height: 1.95; color: #e6e6ea; }
.body p { margin: 0 0 1.6em; white-space: pre-line; }
.body h3 { margin: 2.6em 0 1.2em; font-family: "Pretendard Variable", sans-serif; font-size: 21px; font-weight: 800; color: var(--text); letter-spacing: -.02em; }
.body h3::before { content: ""; display: block; width: 28px; height: 3px; background: var(--y); margin-bottom: 16px; }
.body blockquote { margin: 2em 0; padding: 4px 0 4px 22px; border-left: 2px solid var(--y); font-weight: 700; font-size: 20px; color: var(--text); }
.body hr { border: 0; text-align: center; margin: 3em 0; }
.body hr::after { content: "· · ·"; color: var(--faint); letter-spacing: .6em; }
.fade { position: relative; }
.fade::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 180px; background: linear-gradient(transparent, var(--bg)); }
.lockbox { margin-top: 8px; padding: 44px 32px; text-align: center; border-radius: 20px; border: 1px solid var(--line2); background: radial-gradient(120% 120% at 50% 0%, #19180f 0%, #0d0d11 60%); }
.lockbox .ic { width: 48px; height: 48px; margin: 0 auto; border-radius: 50%; background: var(--y-soft); color: var(--y); display: grid; place-items: center; }
.lockbox h3 { margin-top: 18px; font-size: 22px; font-weight: 800; }
.lockbox p { margin-top: 10px; font-size: 15px; color: var(--dim); }
.lockbox .btn { margin-top: 24px; min-width: 220px; }
.lockbox .sm { margin-top: 14px; font-size: 13px; color: var(--faint); }
.lockbox .sm button { background: none; border: 0; color: var(--text); text-decoration: underline; padding: 0; }
.endnav { margin-top: 64px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.endnav a { padding: 22px; border-radius: 16px; border: 1px solid var(--line); background: var(--card); }
.endnav a:hover { border-color: var(--line2); }
.endnav small { font-size: 12px; color: var(--faint); }
.endnav b { display: block; margin-top: 8px; font-family: var(--serif); font-size: 16px; line-height: 1.5; }
.endnav a:last-child { text-align: right; }
.stickybar { position: fixed; left: 0; right: 0; bottom: 0; z-index: 30; background: rgba(11,11,15,.92); backdrop-filter: blur(12px); border-top: 1px solid var(--line2); transform: translateY(100%); transition: transform .3s; }
.stickybar.show { transform: none; }
.stickybar .wrap { display: flex; align-items: center; justify-content: space-between; gap: 16px; height: 72px; }
.stickybar b { font-size: 15px; }
.stickybar span { display: block; font-size: 12px; color: var(--faint); }
.readprog { position: fixed; left: 0; top: 64px; height: 2px; background: var(--y); z-index: 41; width: 0; }

/* ───── 결제 ───── */
.checkout { padding: 64px 0 120px; }
.checkout h1 { font-size: 36px; font-weight: 800; letter-spacing: -.03em; }
.plans { margin-top: 36px; display: grid; gap: 12px; }
.plan { display: grid; grid-template-columns: 24px 1fr auto; gap: 16px; align-items: center; padding: 24px; border-radius: 16px; border: 1px solid var(--line2); background: var(--card); cursor: pointer; }
.plan.on { border-color: var(--y); background: linear-gradient(170deg, #1a1910, #111116); }
.plan .rd { width: 20px; height: 20px; border-radius: 50%; border: 2px solid var(--line2); }
.plan.on .rd { border: 6px solid var(--y); }
.plan b { font-size: 17px; }
.plan span { display: block; font-size: 13px; color: var(--faint); margin-top: 4px; }
.plan .p { font-size: 20px; font-weight: 800; text-align: right; }
.plan .p small { display: block; font-size: 12px; color: var(--faint); font-weight: 500; }
.sumbox { margin-top: 28px; padding: 24px; border-radius: 16px; background: var(--bg2); border: 1px solid var(--line); }
.sumbox div { display: flex; justify-content: space-between; padding: 6px 0; font-size: 14px; color: var(--dim); }
.sumbox div.t { border-top: 1px solid var(--line); margin-top: 8px; padding-top: 14px; font-size: 18px; font-weight: 800; color: var(--text); }
.agree { margin: 20px 0; font-size: 13px; color: var(--faint); display: flex; gap: 10px; align-items: flex-start; }

/* ───── 모달·토스트·데모 패널 ───── */
.modal { position: fixed; inset: 0; z-index: 60; background: rgba(0,0,0,.7); backdrop-filter: blur(4px); display: none; place-items: center; padding: 16px; }
.modal.show { display: grid; }
.modal .box { width: min(420px, 100%); padding: 36px 32px; border-radius: 20px; background: var(--card); border: 1px solid var(--line2); position: relative; }
.modal .x { position: absolute; right: 16px; top: 14px; background: none; border: 0; font-size: 22px; color: var(--faint); }
.modal h3 { font-size: 22px; font-weight: 800; }
.modal p { margin-top: 8px; color: var(--dim); font-size: 14px; }
.modal input { width: 100%; margin-top: 20px; padding: 14px 16px; border-radius: 11px; border: 1px solid var(--line2); background: var(--bg); color: var(--text); font: inherit; font-size: 15px; }
.modal input:focus { outline: none; border-color: var(--y); }
.modal .btn { margin-top: 12px; }
.modal .or { margin: 18px 0 0; text-align: center; font-size: 12px; color: var(--faint); }
.modal .kakao { background: #FEE500; color: #191600; }
.toast { position: fixed; left: 50%; bottom: 96px; z-index: 70; transform: translate(-50%, 20px); opacity: 0; background: #fff; color: #000; font-size: 14px; font-weight: 700; padding: 12px 20px; border-radius: 99px; transition: .25s; pointer-events: none; max-width: calc(100% - 32px); text-align: center; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.demo { position: fixed; left: 16px; bottom: 16px; z-index: 50; font-size: 12px; background: #1b0f14; border: 1px solid #ff7b98; color: #ffd0dc; border-radius: 12px; padding: 10px 12px; max-width: 280px; }
.demo b { display: block; color: #ff7b98; margin-bottom: 8px; letter-spacing: .04em; }
.demo .row { display: flex; gap: 4px; flex-wrap: wrap; }
.demo button { border: 1px solid rgba(255,123,152,.5); background: transparent; color: #ffd0dc; border-radius: 99px; padding: 4px 9px; font-size: 12px; }
.demo button.on { background: #ff7b98; color: #1b0f14; font-weight: 800; }
.demo .min { position: absolute; right: 8px; top: 6px; border: 0; padding: 0 4px; }
.demo.mini .row, .demo.mini .tip { display: none; }
.demo.mini b { margin: 0; }
.demo .tip { margin-top: 8px; color: #c99aa8; line-height: 1.5; }

/* 등장 효과 — JS 켜졌을 때만 */
.js .rv { opacity: 0; transform: translateY(20px); transition: opacity .8s cubic-bezier(.2,.7,.2,1), transform .8s cubic-bezier(.2,.7,.2,1); }
.js .rv.on { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .orbit .spin { animation: none; }
  .js .rv { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ───── 반응형 ───── */
@media (max-width: 960px) {
  .hero-grid, .class-hero, .col-grid, .paths, .about, .cd, .watch { grid-template-columns: 1fr; }
  .orbit { justify-self: center; width: min(100%, 380px); }
  .class-hero .right { border-left: 0; border-top: 1px solid var(--line); }
  .buybox { position: static; }
  .cd aside { order: -1; }
  .side { position: static; max-height: none; border-left: 0; border-top: 1px solid var(--line); }
  .bonus { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 760px) {
  .wrap { padding: 0 16px; }
  nav.main { display: none; position: absolute; top: 64px; left: 0; right: 0; flex-direction: column; gap: 0; background: var(--bg); border-bottom: 1px solid var(--line); padding: 8px 16px 16px; }
  nav.main.open { display: flex; }
  nav.main a { padding: 12px 0; font-size: 16px; }
  nav.main a.on { box-shadow: none; color: var(--y); }
  .menu-btn { display: block; }
  .hlink.login { display: none; }
  header.top .wrap { gap: 12px; }
  section.sec { padding: 88px 0; }
  .hero { padding: 40px 0 64px; }
  .stats { grid-template-columns: 1fr 1fr; }
  .stats div:nth-child(3) { padding-left: 0; border-left: 0; }
  .stats div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .stats strong { font-size: 28px; }
  .class-hero .left, .col-feature, .path { padding: 28px 22px; }
  .mod-row { padding: 12px 18px; grid-template-columns: 40px 1fr; }
  .mod-row .c { display: none; }
  .vids { grid-template-columns: 1fr; }
  .bonus, .kit { grid-template-columns: 1fr; }
  .facts div { grid-template-columns: 1fr; gap: 4px; }
  .arow { grid-template-columns: 1fr; gap: 6px; padding: 24px 0; }
  .arow .rt { text-align: left; }
  .arow h3 { font-size: 20px; }
  .watch .stage { padding: 0 0 40px; }
  .watch .stage > :not(.player) { padding-left: 16px; padding-right: 16px; }
  .player { border-radius: 0; border-left: 0; border-right: 0; }
  footer .wrap { grid-template-columns: 1fr 1fr; }
  footer .wrap > div:first-child { grid-column: 1 / -1; }
  .endnav { grid-template-columns: 1fr; }
  .endnav a:last-child { text-align: left; }
  .stickybar .wrap { height: 64px; }
  .stickybar span { display: none; }
  .label { margin-bottom: 36px; }
  .demo { left: 8px; bottom: 8px; }
}
