/* ============================================================
   BAN MasterClass — brutalist dark landing
   tokens mirror the reference: matte graphite + single purple
   ============================================================ */
:root {
  --bg: #0c0d0e;
  --bg-2: #16181a;
  --bg-3: #1f2123;
  --line: #26282b;
  --line-2: #383b3f;
  --ink: #ededec;
  --ink-2: #a8aaa6;
  --ink-3: #6f726e;
  --accent: #8b5cf6;
  --accent-2: #a78bfa;
  --bad: #c2452f;
  --sans: 'Geist', 'Pretendard', -apple-system, system-ui, sans-serif;
  --mono: 'Geist Mono', 'Pretendard', ui-monospace, monospace;
  --serif: 'EB Garamond', Georgia, serif;
  --hand: 'Nanum Pen Script', cursive;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { margin: 0; padding: 0; background: var(--bg); color: var(--ink); }
body { font-family: var(--sans); font-size: 16px; line-height: 1.55; -webkit-font-smoothing: antialiased; overflow-x: hidden; word-break: keep-all; }
::selection { background: var(--accent); color: var(--bg); }
h1, h2, h3, h4 { margin: 0; font-weight: 700; letter-spacing: -0.025em; line-height: 1.08; }
p { margin: 0; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { margin: 0; padding: 0; list-style: none; }
.mono { font-family: var(--mono); }
.wrap { max-width: 1360px; margin: 0 auto; padding: 0 28px; }
.accent { color: var(--accent); }

/* ---------- buttons ---------- */
.btn { display: inline-flex; align-items: center; gap: 10px; height: 38px; padding: 0 18px; border-radius: 0; background: var(--accent); color: var(--bg); border: 1px solid var(--accent); font-weight: 600; font-size: 12px; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; font-family: var(--mono); transition: background .15s ease, color .15s ease, border-color .15s ease; white-space: nowrap; }
.btn:hover { background: transparent; color: var(--accent); }
.btn.lg { height: 54px; padding: 0 26px; font-size: 13px; }
.btn .arrow { font-size: 11px; }
.pill { display: inline-flex; align-items: center; gap: 8px; height: 38px; padding: 0 16px; background: var(--bg-2); border: 1px solid var(--line-2); color: var(--ink); font-weight: 600; font-size: 12px; font-family: var(--mono); letter-spacing: 0.01em; transition: background .15s ease, border-color .15s ease; white-space: nowrap; }
.pill:hover { background: var(--bg-3); border-color: var(--ink-3); }
.pill svg { width: 16px; height: 16px; flex: 0 0 16px; }

/* ---------- fixed nav (appears after hero) ---------- */
nav.top { position: fixed; top: 0; left: 0; right: 0; z-index: 90; backdrop-filter: blur(14px); background: rgba(12,13,14,0.55); border-bottom: 1px solid transparent; transform: translateY(-100%); opacity: 0; transition: transform .3s ease, opacity .3s ease, background .3s ease, border-color .3s ease; }
nav.top.scrolled { transform: none; opacity: 1; background: rgba(12,13,14,0.92); border-bottom-color: var(--line-2); }
.nav-row { display: flex; align-items: center; justify-content: space-between; height: 58px; gap: 14px; }
.brand { display: flex; align-items: center; gap: 8px; font-size: 12px; font-weight: 600; font-family: var(--mono); letter-spacing: 0.02em; text-transform: uppercase; }
.brand svg, .brand .codex-logo { width: 18px; height: 18px; display: block; flex: 0 0 auto; }
.brand .sep { color: var(--ink-3); margin: 0 2px; }
.nav-right { display: flex; align-items: center; gap: 10px; }
@media (max-width: 560px) { .brand .label { display: none; } .pill .lbl { display: none; } .pill { padding: 0 11px; gap: 0; } }

/* ---------- hero ---------- */
.lab-hero { position: relative; z-index: 3; min-height: 100vh; background: var(--bg); display: flex; flex-direction: column; justify-content: space-between; padding: 40px 0 56px; overflow: hidden; border-bottom: 1px solid var(--line-2); }
.lab-top { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; width: 100%; max-width: 1360px; margin: 0 auto; padding: 0 28px; position: relative; z-index: 2; }
.lab-meta { font-size: 17px; line-height: 1.5; }
.lab-meta-head { display: flex; align-items: center; gap: 28px; flex-wrap: wrap; }
.lab-brand { display: inline-flex; align-items: center; gap: 9px; white-space: nowrap; }
.lab-brand svg, .lab-brand .codex-logo { width: 26px; height: 26px; display: block; flex: 0 0 auto; }
.lab-brand-txt { font-weight: 600; font-size: 19px; letter-spacing: -0.01em; }
.lab-brand .lab-x { color: var(--ink-3); font-size: 17px; margin: 0 2px; }
.lab-prog { position: relative; isolation: isolate; display: inline-block; padding: 5px 10px 5px 9px; font-family: var(--mono); font-size: 14px; font-weight: 600; letter-spacing: 0.13em; text-transform: uppercase; color: #fff; transform: rotate(-1.1deg); }
.lab-prog::before { content: ''; position: absolute; z-index: -1; inset: -1px -10px -2px -9px; background: var(--accent); clip-path: polygon(0 20%, 4% 7%, 11% 12%, 19% 3%, 32% 10%, 46% 4%, 59% 9%, 72% 2%, 86% 8%, 100% 4%, 98% 84%, 91% 97%, 77% 90%, 63% 98%, 49% 91%, 37% 98%, 22% 92%, 9% 99%, 1% 83%); }
.lab-prog::after { content: ''; position: absolute; z-index: -1; inset: 3px -12px 3px -7px; background: #b79bf9; clip-path: polygon(1% 17%, 14% 5%, 27% 12%, 40% 3%, 53% 11%, 69% 2%, 82% 10%, 99% 5%, 97% 84%, 84% 94%, 71% 88%, 56% 97%, 43% 89%, 28% 96%, 12% 88%, 2% 96%); opacity: .55; transform: translate(2px, 1px) rotate(1.5deg); }
.lab-value { margin-top: 11px; font-size: clamp(17px, 1.35vw, 22px); line-height: 1.35; color: var(--ink-2); }
.lab-contact { flex: 0 0 auto; display: inline-flex; align-items: center; gap: 11px; height: 50px; padding: 0 24px; border-radius: 999px; background: var(--bg-2); border: 1px solid var(--line-2); font-size: 16px; font-weight: 600; transition: background .15s ease, border-color .15s ease, transform .15s ease; }
.lab-contact svg { width: 21px; height: 21px; flex: 0 0 21px; color: #fae100; }
.lab-contact:hover { background: var(--bg-3); border-color: var(--ink-3); transform: translateY(-1px); }
.lab-art { position: absolute; top: 50%; right: -2%; transform: translateY(-50%); width: min(58vw, 860px); pointer-events: none; z-index: 0; mix-blend-mode: screen; opacity: .92; animation: labArtIn 1.4s ease both; }
.lab-art svg { width: 100%; height: auto; display: block; -webkit-mask-image: radial-gradient(ellipse 62% 62% at 50% 50%, #000 42%, transparent 78%); mask-image: radial-gradient(ellipse 62% 62% at 50% 50%, #000 42%, transparent 78%); }
@keyframes labArtIn { from { opacity: 0; transform: translateY(-48%) scale(.98); } to { opacity: .92; transform: translateY(-50%) scale(1); } }
.lab-head { margin-top: auto; width: 100%; max-width: 1360px; margin-left: auto; margin-right: auto; padding: 0 28px; position: relative; z-index: 2; }
.lab-h1 { font-weight: 800; text-transform: uppercase; font-size: clamp(30px, 4.6vw, 68px); line-height: 1.04; letter-spacing: -0.03em; }
.lab-h1 .rot-fixed { display: block; color: var(--ink); }
.lab-h1 .rot-become { display: block; color: var(--ink-2); margin-top: .08em; }
.lab-h1 .rot-sub { display: block; color: var(--accent); min-height: 1.3em; margin-top: .04em; text-transform: none; }
.lab-h1 .caret { display: inline-block; width: .52em; height: .76em; background: var(--accent); vertical-align: -.07em; margin-left: .12em; animation: labBlink 1.05s steps(1, end) infinite; }
@keyframes labBlink { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }
.lab-sub { margin-top: 22px; max-width: 590px; font-size: 17px; line-height: 1.5; color: var(--ink-2); }
.lab-sub-highlight { color: var(--ink); font-weight: 600; }
.lab-actions { margin-top: 30px; display: flex; align-items: center; gap: 26px; flex-wrap: wrap; }
.lab-enter { display: inline-flex; align-items: center; gap: 12px; border: 1px solid var(--accent); color: var(--ink); padding: 17px 34px; font-family: var(--mono); font-size: 13px; font-weight: 600; letter-spacing: 0.14em; text-transform: uppercase; cursor: pointer; transition: background .16s ease, color .16s ease; }
.lab-enter:hover { background: var(--accent); color: var(--bg); }
.lab-enter .ret { font-size: 16px; color: var(--accent); transition: color .16s ease; }
.lab-enter:hover .ret { color: var(--bg); }
.lab-links { font-size: 15px; }
.lab-links a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; text-decoration-thickness: 1px; transition: opacity .15s ease; }
.lab-links a:hover { opacity: .7; }
.lab-links .dot { color: var(--accent); opacity: .55; margin: 0 8px; }
@media (max-width: 860px) {
  .lab-hero { padding: 24px 0 40px; }
  .lab-top { flex-direction: column; }
  .lab-contact { order: -1; align-self: flex-end; }
  .lab-art { top: 55%; left: 50%; right: auto; transform: translate(-50%, -50%); width: 78vw; opacity: .5; }
  @keyframes labArtIn { from { opacity: 0; } to { opacity: .5; } }
  .lab-h1 { font-size: clamp(26px, 7vw, 46px); }
  .lab-h1 .rot-sub { min-height: 2.5em; }
}
@media (max-width: 520px) {
  .lab-meta-head { align-items: flex-start; flex-direction: column; gap: 16px; }
  .lab-brand { gap: 5px; }
  .lab-brand svg, .lab-brand .codex-logo { width: 21px; height: 21px; }
  .lab-brand-txt { font-size: 15.5px; }
  .lab-brand .lab-x { font-size: 13px; margin: 0 1px; }
  .lab-contact { align-self: stretch; justify-content: center; }
  .lab-sub { font-size: 15.5px; }
  .lab-enter { padding: 15px 26px; }
}

/* ---------- sections ---------- */
section.block { padding: 96px 0; border-top: 1px solid var(--line-2); position: relative; z-index: 1; background: var(--bg); }
section.block:first-of-type { border-top: none; }
@media (max-width: 720px) { section.block { padding: 64px 0; } }
h2.section-title { font-size: 38px; font-weight: 700; max-width: 760px; letter-spacing: -0.035em; line-height: 1.08; }
@media (max-width: 720px) { h2.section-title { font-size: 27px; } }
.section-eyebrow { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 11px; color: var(--ink-2); letter-spacing: 0.14em; text-transform: uppercase; margin-bottom: 26px; border: 1px solid var(--line-2); padding: 6px 12px; background: var(--bg-2); }
.section-eyebrow .glyph { color: var(--accent); }
.founder-note { margin-top: 14px; font-size: 17px; color: var(--ink-2); max-width: 720px; line-height: 1.55; }

/* reveal */
.rv { opacity: 0; transform: translateY(18px); transition: opacity .6s ease, transform .6s ease; }
.rv.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; transform: none; transition: none; } .lab-h1 .caret, .lab-art { animation: none; } }

/* ---------- why ---------- */
.why-lead { margin: 22px 0 6px; font-size: clamp(18px, 2.4vw, 23px); max-width: 780px; line-height: 1.38; letter-spacing: -0.015em; font-weight: 500; }
.why-quotes { margin-top: 30px; max-width: 640px; }
.qc { position: relative; margin: 0; border: 1px solid var(--line-2); background: var(--bg-2); padding: 30px 30px 26px; }
.qc.gold { border-color: rgba(139,92,246,.45); }
.qc .qc-mark { position: absolute; top: 12px; right: 20px; font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--ink-3); }
.qc .q { margin: 0; font-size: 19px; line-height: 1.45; letter-spacing: -0.01em; }
.qc .q .em { color: var(--accent-2); font-weight: 600; }
.qc .by { margin-top: 20px; display: flex; align-items: center; gap: 12px; }
.qc .by .av { width: 42px; height: 42px; border: 1px solid var(--line-2); background: var(--bg-3); display: grid; place-items: center; font-family: var(--mono); font-size: 12px; color: var(--accent); }
.qc .by .n { display: block; font-weight: 600; font-size: 14px; }
.qc .by .r { display: block; font-size: 12.5px; color: var(--ink-3); }
.why-list { margin-top: 28px; display: flex; flex-direction: column; gap: 14px; max-width: 760px; }
.why-list li { display: grid; grid-template-columns: 18px 1fr; gap: 12px; font-size: 15.5px; color: var(--ink-2); line-height: 1.5; }
.why-list li .ic { color: var(--accent); font-size: 12px; margin-top: 3px; }
.why-close { margin-top: 28px; font-size: clamp(17px, 2.2vw, 22px); max-width: 720px; line-height: 1.4; letter-spacing: -0.01em; }

/* ---------- compare ---------- */
.compare2 { margin-top: 36px; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
@media (max-width: 760px) { .compare2 { grid-template-columns: 1fr; } }
.ctile { position: relative; border: 1px solid var(--line-2); padding: 30px 30px 14px; background: var(--bg-2); }
.ctile.good { border-color: var(--accent); box-shadow: inset 0 2px 0 0 var(--accent); }
.ctile .tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--ink-3); }
.ctile.good .tag { color: var(--accent); }
.ctile h3 { font-size: 23px; margin: 10px 0 8px; letter-spacing: -0.025em; }
.ctile li { display: grid; grid-template-columns: 16px 1fr; gap: 12px; font-size: 14.5px; color: var(--ink-2); line-height: 1.5; padding: 15px 0; border-top: 1px solid var(--line); align-items: start; }
.ctile li:first-child { border-top: none; }
.ctile li .ic { font-weight: 700; font-size: 13px; margin-top: 1px; font-family: var(--mono); }
.ctile.bad li .ic { color: var(--ink-3); }
.ctile.good li .ic { color: var(--accent); }
@media (max-width: 720px) { .ctile { padding: 24px 22px 10px; } }

/* ---------- who ---------- */
.who-grid { margin-top: 34px; display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
@media (max-width: 760px) { .who-grid { grid-template-columns: 1fr; } }
.who-card { border: 1px solid var(--line-2); padding: 26px; background: var(--bg-2); transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.who-card:hover { border-color: var(--accent); background: var(--bg-3); transform: translateY(-3px); }
.who-card .wic { width: 34px; height: 34px; display: grid; place-items: center; background: rgba(139,92,246,.12); color: var(--accent); font-family: var(--mono); font-size: 12px; margin-bottom: 14px; transition: background .18s ease, color .18s ease; }
.who-card:hover .wic { background: var(--accent); color: var(--bg); }
.who-card h4 { font-size: 18px; letter-spacing: -0.015em; }
.who-card p { margin-top: 10px; font-size: 14.5px; color: var(--ink-2); line-height: 1.55; }
.hl { background-image: linear-gradient(transparent 56%, rgba(139,92,246,.3) 56%); color: var(--ink); font-weight: 500; padding: 0 2px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.notfor { margin-top: 24px; border: 1px solid var(--line-2); padding: 24px 28px; background: var(--bg-2); }
.notfor .h { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-3); }
.notfor ul { margin-top: 16px; display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
@media (max-width: 760px) { .notfor ul { grid-template-columns: 1fr; } }
.notfor li { display: grid; grid-template-columns: 18px 1fr; gap: 10px; font-size: 14px; color: var(--ink-2); line-height: 1.45; }
.notfor li .x { color: var(--bad); font-weight: 700; font-family: var(--mono); }
.notfor .note { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14px; color: var(--ink); }

/* ---------- skills ---------- */
.skills { margin-top: 36px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); overflow: hidden; }
@media (max-width: 760px) { .skills { grid-template-columns: 1fr; } }
.skill { background: var(--bg-2); padding: 28px 26px; position: relative; transition: background .18s ease, box-shadow .18s ease; }
.skill:hover { background: var(--bg-3); box-shadow: inset 0 2px 0 var(--accent); }
.skill .n { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: 0.08em; margin-bottom: 12px; display: flex; align-items: center; gap: 8px; }
.skill .n svg { width: 18px; height: 18px; }
.skill h4 { margin: 12px 0 4px; font-size: 19px; letter-spacing: -0.015em; }
.skill .skill-sub { font-family: var(--serif); font-style: italic; font-size: 15px; color: var(--accent-2); margin-bottom: 10px; }
.skill p { font-size: 14px; color: var(--ink-2); line-height: 1.55; }

/* ---------- instructor ---------- */
.instructor { margin-top: 36px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 26px; border: 1px solid var(--line-2); padding: 48px 40px; background: var(--bg-2); max-width: 660px; margin-left: auto; margin-right: auto; }
@media (max-width: 760px) { .instructor { gap: 22px; padding: 30px 22px; } }
.instructor .ava { width: 240px; height: 300px; object-fit: cover; object-position: center top; border: 1px solid var(--line-2); filter: grayscale(.45) contrast(1.05); }
.instructor h3 { font-size: 24px; letter-spacing: -0.025em; }
.instructor .role { margin-top: 10px; font-family: var(--mono); font-size: 12px; color: var(--accent); letter-spacing: 0.04em; }
.instructor .bio { margin-top: 18px; font-size: 15px; color: var(--ink-2); line-height: 1.7; text-align: left; display: flex; flex-direction: column; gap: 12px; }
.instructor .bio a { color: var(--accent); border-bottom: 1px solid rgba(139,92,246,.4); }
.instructor .facts { margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; gap: 8px 20px; width: 100%; text-align: left; }
@media (max-width: 520px) { .instructor .facts { grid-template-columns: 1fr; } }
.instructor .facts li { display: grid; grid-template-columns: 14px 1fr; gap: 8px; font-family: var(--mono); font-size: 12px; color: var(--ink-2); letter-spacing: 0.01em; }
.instructor .facts li .ic { color: var(--accent); }
.instructor .sig { margin-top: 8px; font-family: var(--hand); font-size: 46px; line-height: 1; color: var(--ink); }

/* ---------- quote-lg + stats ---------- */
.quote-lg { margin-top: 30px; border-left: 3px solid var(--accent); padding: 6px 0 6px 26px; max-width: 860px; }
.quote-lg .q { font-size: clamp(20px, 3vw, 32px); line-height: 1.3; letter-spacing: -0.02em; font-weight: 500; }
.quote-lg .by { margin-top: 16px; font-family: var(--mono); font-size: 12px; color: var(--ink-3); letter-spacing: 0.04em; display: flex; align-items: center; gap: 11px; }
.quote-lg .by b { color: var(--accent); font-weight: 600; }
.quote-lg .by .byava { width: 30px; height: 30px; border: 1px solid var(--line-2); background: var(--bg-3); display: grid; place-items: center; color: var(--accent); }
.quote-lg + h2.section-title { margin-top: 56px; }
.stat-cards { margin-top: 32px; display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media (max-width: 760px) { .stat-cards { grid-template-columns: 1fr; } }
.stat-card { display: flex; align-items: center; gap: 18px; padding: 22px 24px; border: 1px solid var(--line-2); background: var(--bg-2); transition: border-color .18s ease, background .18s ease, transform .18s ease; }
.stat-card:hover { border-color: var(--accent); background: var(--bg-3); transform: translateY(-3px); }
.stat-card .ico { width: 46px; height: 46px; display: grid; place-items: center; flex-shrink: 0; background: rgba(139,92,246,.12); color: var(--accent); }
.stat-card .ico svg { width: 22px; height: 22px; }
.stat-card .k { font-size: 12.5px; color: var(--ink-3); }
.stat-card .v { margin-top: 4px; font-size: 24px; font-weight: 700; letter-spacing: -0.025em; }

/* ---------- curriculum ---------- */
.chapter { margin-top: 44px; }
.chapter:first-of-type { margin-top: 40px; }
.chap-head { display: flex; align-items: center; gap: 18px; }
.chap-head .num { width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--accent); color: var(--accent); display: grid; place-items: center; font-family: var(--mono); font-size: 14px; flex-shrink: 0; }
.chap-head h3 { font-size: 26px; letter-spacing: -0.03em; }
.chap-head h3 .sep { color: var(--ink-3); margin: 0 6px; font-weight: 400; }
@media (max-width: 720px) { .chap-head h3 { font-size: 21px; } }
.mods { margin-top: 24px; display: grid; grid-template-columns: 1fr 42px 1fr 42px 1fr; align-items: stretch; }
.mods.two { grid-template-columns: 1fr 42px 1fr; max-width: 66.6%; }
.mods.one { grid-template-columns: 1fr; }
.mods .arrow { display: grid; place-items: center; color: var(--accent); font-family: var(--mono); font-size: 16px; }
@media (max-width: 860px) { .mods, .mods.two { grid-template-columns: 1fr; max-width: none; gap: 14px; } .mods .arrow { display: none; } }
.mod { border: 1px solid var(--line-2); background: var(--bg-2); padding: 24px 24px 22px; display: flex; flex-direction: column; transition: border-color .18s ease, background .18s ease; }
.mod:hover { border-color: var(--accent); background: var(--bg-3); }
.mod .mod-count { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: 0.1em; text-transform: uppercase; }
.mod h4 { margin-top: 14px; font-size: 18px; letter-spacing: -0.02em; }
.mod .mod-sub { margin-top: 8px; font-size: 13.5px; color: var(--ink-2); line-height: 1.55; }
.mod .mod-lessons { margin-top: 16px; display: flex; flex-direction: column; gap: 7px; }
.mod .mod-lessons li { display: grid; grid-template-columns: 14px 1fr; gap: 9px; font-size: 13px; color: var(--ink-2); }
.mod .mod-lessons li .ck { color: var(--accent); font-family: var(--mono); font-size: 11px; margin-top: 2px; }
.mod .mod-out { margin-top: auto; padding-top: 16px; font-size: 13px; color: var(--ink); border-top: 1px solid var(--line); margin-top: 18px; }
.mod .mod-out b { font-family: var(--mono); font-size: 10.5px; color: var(--ink-3); letter-spacing: 0.1em; text-transform: uppercase; display: block; margin-bottom: 4px; font-weight: 500; }
.mod .mod-check { margin-top: 10px; font-size: 12.5px; color: var(--ink-3); line-height: 1.5; }
.mod .mod-check b { color: var(--ink-2); font-weight: 500; }
.mod.wide { grid-column: 1 / -1; }
.mod.wide .mod-body { display: grid; grid-template-columns: 1.1fr 1fr; gap: 28px; }
@media (max-width: 760px) { .mod.wide .mod-body { grid-template-columns: 1fr; } }
.mod.wide .mod-lessons { margin-top: 0; }
.chap-flow { height: 44px; margin: 10px 0 0 18px; color: var(--accent); }
.chap-flow svg { height: 44px; width: 110px; }
.curric-meta { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 10px; }
.curric-meta span { font-family: var(--mono); font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: var(--ink-2); border: 1px solid var(--line-2); padding: 7px 12px; background: var(--bg-2); }
.curric-meta span b { color: var(--accent); font-weight: 600; }

/* ---------- proof ---------- */
.proof-from { margin-top: 30px; text-align: center; font-size: 17px; color: var(--ink-2); }
.proof-logos { margin: 18px auto 50px; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 14px; max-width: 900px; }
.proof-logos span { font-family: var(--mono); font-size: 12px; letter-spacing: 0.08em; text-transform: uppercase; color: var(--ink-2); border: 1px solid var(--line-2); padding: 9px 14px; }
.proof-copy { max-width: 820px; margin: 0 auto 34px; text-align: center; }
.proof-big { font-size: clamp(30px, 3.6vw, 48px); letter-spacing: -0.035em; line-height: 1.1; }
.proof-big .em { color: var(--accent-2); }
.proof-sub { margin-top: 18px; font-size: 16.5px; color: var(--ink-2); line-height: 1.6; }
.proof-sub .ul { text-decoration: underline; text-underline-offset: 3px; text-decoration-color: rgba(139,92,246,.6); color: var(--ink); }
.proof-videos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.proof-video-card { min-width: 0; border: 1px solid var(--line-2); background: var(--panel); }
.proof-video-frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: #050506; }
.proof-video-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.proof-video-meta { display: flex; align-items: center; gap: 13px; min-height: 62px; padding: 14px 18px; border-top: 1px solid var(--line-2); }
.proof-video-meta span { flex: 0 0 auto; font-family: var(--mono); font-size: 11px; color: var(--accent-2); letter-spacing: .12em; }
.proof-video-meta strong { min-width: 0; font-size: 14px; line-height: 1.45; }
.proof-video-meta a { flex: 0 0 auto; margin-left: auto; font-family: var(--mono); font-size: 10px; color: var(--ink-3); letter-spacing: .04em; }
.proof-video-meta a:hover { color: var(--accent-2); }
@media (max-width: 720px) {
  .proof-copy { margin-bottom: 26px; text-align: left; }
  .proof-videos { grid-template-columns: 1fr; gap: 14px; }
  .proof-video-meta { min-height: 56px; padding: 12px 14px; }
  .proof-video-meta strong { font-size: 13px; }
  .proof-video-meta a { font-size: 9px; }
}
.cases { margin-top: 56px; display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line-2); border: 1px solid var(--line-2); }
@media (max-width: 960px) { .cases { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .cases { grid-template-columns: 1fr; } }
.case { background: var(--bg-2); padding: 24px 22px; }
.case .n { font-family: var(--mono); font-size: 11px; color: var(--accent); letter-spacing: 0.1em; }
.case h4 { margin-top: 10px; font-size: 16.5px; letter-spacing: -0.015em; line-height: 1.3; }
.case .ba { margin-top: 14px; display: flex; flex-direction: column; gap: 6px; }
.case .ba li { font-size: 13px; color: var(--ink-2); display: grid; grid-template-columns: 40px 1fr; gap: 8px; }
.case .ba li b { font-family: var(--mono); font-size: 10px; letter-spacing: 0.08em; color: var(--ink-3); font-weight: 500; margin-top: 3px; }
.case .ba li.after b { color: var(--accent); }
.case .ba li.after { color: var(--ink); }

/* ---------- pricing ---------- */
.pricing-common { margin: 36px auto 0; max-width: 980px; padding: 28px 32px; border: 1px solid var(--line-2); background: var(--bg-2); }
.peyebrow { font-family: var(--mono); font-size: 11px; color: var(--ink-3); letter-spacing: 0.1em; text-transform: uppercase; }
.poffer { margin-top: 12px; font-size: 22px; font-weight: 600; letter-spacing: -0.02em; }
.common-includes { margin-top: 20px; display: grid; grid-template-columns: repeat(5, 1fr); gap: 1px; border: 1px solid var(--line-2); background: var(--line-2); }
.common-includes li { min-height: 86px; padding: 16px; display: flex; flex-direction: column; gap: 8px; background: var(--bg); }
.common-includes li span { font-family: var(--mono); font-size: 10px; color: var(--accent-2); }
.common-includes li b { font-size: 13px; line-height: 1.4; }
.price-tracks { margin: 18px auto 0; max-width: 980px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; align-items: stretch; }
.price-track { position: relative; padding: 32px; border: 1px solid var(--line-2); background: var(--bg-2); display: flex; flex-direction: column; }
.price-track.featured { border-color: var(--accent); background: linear-gradient(145deg, rgba(139, 92, 246, .1), var(--bg-2) 45%); }
.track-ribbon { position: absolute; top: 0; right: 24px; transform: translateY(-50%); padding: 6px 10px; background: var(--accent); color: #fff; font-family: var(--mono); font-size: 10px; letter-spacing: .08em; }
.track-top { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.track-kicker { font-family: var(--mono); font-size: 11px; color: var(--accent-2); letter-spacing: .09em; text-transform: uppercase; }
.track-cap { flex: 0 0 auto; padding: 6px 9px; border: 1px solid var(--line-2); color: var(--ink-2); font-family: var(--mono); font-size: 10px; letter-spacing: .05em; }
.price-track h3 { margin-top: 20px; font-size: 28px; letter-spacing: -.03em; }
.track-summary { min-height: 66px; margin-top: 12px; color: var(--ink-2); font-size: 14.5px; line-height: 1.6; }
.track-list { margin-top: 22px; display: flex; flex-direction: column; gap: 11px; }
.track-list li { position: relative; padding-left: 20px; color: var(--ink-2); font-size: 14px; line-height: 1.5; }
.track-list li::before { content: '✓'; position: absolute; left: 0; color: var(--accent-2); font-family: var(--mono); }
.track-list strong { color: var(--ink); font-weight: 600; }
.track-price { margin-top: auto; padding-top: 32px; color: var(--ink); font-size: 52px; font-weight: 700; line-height: 1; letter-spacing: -.05em; }
.track-price span { margin-left: 4px; color: var(--ink-3); font-size: 21px; font-weight: 500; }
.track-meta { min-height: 34px; margin-top: 10px; color: var(--ink-3); font-family: var(--mono); font-size: 10.5px; line-height: 1.55; letter-spacing: .03em; }
.pricing-foot { margin: 18px auto 0; max-width: 980px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border: 1px solid var(--line-2); background: var(--bg-2); }
.pricing-foot p { padding: 16px 18px; border-right: 1px solid var(--line-2); color: var(--ink-3); font-size: 12.5px; line-height: 1.55; }
.pricing-foot p:last-child { border-right: 0; }
.pricing-foot b { display: block; margin-bottom: 3px; color: var(--ink-2); }
.pricing-cta { margin: 28px auto 0; max-width: 520px; }
.pricing-cta .btn { width: 100%; justify-content: center; }
@media (max-width: 820px) {
  .common-includes { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .common-includes li:last-child { grid-column: span 2; }
  .price-tracks, .pricing-foot { grid-template-columns: 1fr; }
  .track-summary { min-height: 0; }
  .pricing-foot p { border-right: 0; border-bottom: 1px solid var(--line-2); }
  .pricing-foot p:last-child { border-bottom: 0; }
}
@media (max-width: 520px) {
  .pricing-common, .price-track { padding: 23px; }
  .common-includes { grid-template-columns: 1fr; }
  .common-includes li:last-child { grid-column: auto; }
  .track-price { font-size: 44px; }
}

/* ---------- guarantee ---------- */
.guarantee-block { background: var(--bg-2); }
.guarantee-grid { margin-top: 36px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.guarantee-card { padding: 30px; border: 1px solid var(--line-2); background: var(--bg); }
.guarantee-card.featured { border-color: var(--accent); background: linear-gradient(145deg, rgba(139, 92, 246, .1), var(--bg) 52%); }
.guarantee-kicker { font-family: var(--mono); font-size: 11px; color: var(--accent-2); letter-spacing: .09em; text-transform: uppercase; }
.guarantee-card h3 { margin-top: 14px; font-size: 25px; letter-spacing: -.025em; }
.guarantee-card > p { margin-top: 12px; color: var(--ink-2); font-size: 14.5px; line-height: 1.7; }
.guarantee-result { margin-top: 24px; padding-top: 18px; border-top: 1px solid var(--line-2); display: flex; flex-direction: column; gap: 5px; }
.guarantee-result b { font-family: var(--mono); color: var(--ink-3); font-size: 10px; font-weight: 500; letter-spacing: .08em; }
.guarantee-result span { color: var(--ink); font-size: 14px; font-weight: 600; }
.guarantee-terms { margin-top: 18px; display: grid; grid-template-columns: 1.15fr .85fr; border: 1px solid var(--line-2); background: var(--bg); }
.guarantee-terms > div { padding: 28px 30px; }
.guarantee-terms > div + div { border-left: 1px solid var(--line-2); }
.guarantee-terms h3 { font-size: 17px; letter-spacing: -.015em; }
.guarantee-terms ul { margin-top: 16px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 22px; }
.guarantee-terms li { position: relative; padding-left: 17px; color: var(--ink-2); font-size: 13.5px; line-height: 1.55; }
.guarantee-terms li::before { content: '✓'; position: absolute; left: 0; color: var(--accent-2); font-family: var(--mono); }
.guarantee-limit { margin-top: 18px; color: var(--ink-3); font-size: 12.5px; }
.refund-note p { margin-top: 12px; color: var(--ink-2); font-size: 13.5px; line-height: 1.65; }
.refund-note small { display: block; margin-top: 18px; color: var(--ink-3); font-size: 11.5px; line-height: 1.55; }
@media (max-width: 820px) {
  .guarantee-grid, .guarantee-terms { grid-template-columns: 1fr; }
  .guarantee-terms > div + div { border-left: 0; border-top: 1px solid var(--line-2); }
}
@media (max-width: 520px) {
  .guarantee-card, .guarantee-terms > div { padding: 23px; }
  .guarantee-terms ul { grid-template-columns: 1fr; }
}

/* ---------- faq ---------- */
.faq { margin-top: 34px; border-top: 1px solid var(--line-2); }
.faq details { border-bottom: 1px solid var(--line-2); }
.faq summary { list-style: none; cursor: pointer; padding: 22px 4px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-size: 17px; font-weight: 500; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary .plus { font-family: var(--mono); color: var(--accent); font-size: 20px; line-height: 1; transition: transform .2s ease; flex-shrink: 0; }
.faq details[open] summary .plus { transform: rotate(45deg); }
.faq .answer { padding: 0 4px 24px; font-size: 15px; color: var(--ink-2); line-height: 1.6; max-width: 760px; }

/* ---------- closing letter ---------- */
.letter { margin-top: 36px; max-width: 720px; font-size: 16.5px; line-height: 1.75; color: var(--ink-2); display: flex; flex-direction: column; gap: 16px; }
.letter .em { color: var(--ink); font-weight: 500; }
.letter .sig { font-family: var(--hand); font-size: 42px; color: var(--ink); line-height: 1; margin-top: 8px; }
.letter-cta { margin-top: 32px; }

/* ---------- footer ---------- */
footer { border-top: 1px solid var(--line-2); padding: 56px 0 40px; background: var(--bg); }
.foot { display: flex; flex-direction: column; gap: 44px; }
.foot-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 36px; align-items: start; }
@media (max-width: 760px) { .foot-grid { grid-template-columns: 1fr; gap: 30px; } }
.foot-col { display: flex; flex-direction: column; gap: 13px; }
.foot-col-h { font-family: var(--mono); font-size: 11px; letter-spacing: 0.13em; text-transform: uppercase; color: var(--ink-3); margin-bottom: 3px; }
.foot-brand { display: inline-flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; }
.foot-brand svg, .foot-brand .codex-logo { width: 19px; height: 19px; display: block; flex: 0 0 auto; }
.foot-brand .sep { color: var(--ink-3); }
.foot-copy { font-family: var(--mono); font-size: 12px; color: var(--ink-3); letter-spacing: 0.03em; }
.foot-links { display: flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 12px; color: var(--ink-3); flex-wrap: wrap; }
.foot-links a { color: var(--ink-2); }
.foot-links a:hover { color: var(--accent); }
.foot-wa { font-size: 14px; color: var(--ink-2); line-height: 1.7; }
.foot-wa a { color: var(--accent); border-bottom: 1px solid rgba(139,92,246,.4); }
.foot-social { display: grid; grid-template-columns: 1fr 1fr; justify-items: start; column-gap: 24px; row-gap: 13px; }
.foot-social a { display: inline-flex; align-items: center; gap: 10px; font-family: var(--mono); font-size: 13px; color: var(--ink-2); transition: color .15s ease; }
.foot-social a:hover { color: var(--accent); }
.foot-social svg { width: 18px; height: 18px; flex: 0 0 18px; }
.foot-made { display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; color: var(--ink-3); padding-top: 30px; border-top: 1px solid var(--line); }
.foot-made .heart { color: #ff6b8a; }
