:root {
  --bg: #0F172A; --panel: #1E293B; --panel2: #162033; --code: #0B1120;
  --ink: #F8FAFC; --muted: #94A3B8; --dim: #64748B; --line: #334155;
  --orange: #D97757; --blue: #38BDF8; --emerald: #34D399; --purple: #A78BFA; --red: #F87171; --yellow: #FACC15;
  --mono: "JetBrains Mono", "D2Coding", Consolas, monospace;
}
* { box-sizing: border-box; }
html, body { margin: 0; height: 100%; background: #070B16; color: var(--ink); overflow: hidden;
  font-family: "Pretendard Variable", Pretendard, "Malgun Gothic", system-ui, sans-serif; word-break: keep-all; -webkit-font-smoothing: antialiased; }
button { font: inherit; color: inherit; background: none; border: 0; padding: 0; cursor: pointer; text-align: inherit; }
code, kbd { font-family: var(--mono); }
kbd { border: 1px solid var(--line); border-bottom-width: 2px; border-radius: 5px; padding: 0 6px; font-size: .9em; color: var(--ink); }
#viewport { position: fixed; inset: 0; display: grid; place-items: center; }
#stage { width: 1600px; height: 900px; position: relative; background: var(--bg); overflow: hidden; flex: none;
  background-image: radial-gradient(1200px 600px at 85% -10%, rgba(56,189,248,.07), transparent 60%), radial-gradient(900px 500px at 0% 110%, rgba(217,119,87,.06), transparent 60%); }

/* ---------- color helpers ---------- */
.c-orange { color: var(--orange); } .c-blue { color: var(--blue); } .c-emerald { color: var(--emerald); }
.c-purple { color: var(--purple); } .c-red { color: var(--red); } .c-muted { color: var(--muted); } .c-yellow { color: var(--yellow); }
.c-orange-t { color: var(--orange); }
.muted { color: var(--muted); font-weight: 500; } .ink { color: var(--ink); }
svg [class*="ic"] {}
i[data-ic] { display: inline-flex; width: 1em; height: 1em; flex: none; }
i[data-ic] svg { width: 100%; height: 100%; }

/* ---------- slide frame ---------- */
.slide { position: absolute; inset: 0 0 56px 0; padding: 50px 72px 0; opacity: 0; visibility: hidden; transform: translateX(30px);
  transition: opacity .45s ease, transform .45s ease, visibility 0s .45s; }
.slide.active { opacity: 1; visibility: visible; transform: none; transition: opacity .45s ease, transform .45s ease, visibility 0s; }
.slide.left { transform: translateX(-30px); }
.anim { opacity: 0; transform: translateY(14px); }
.slide.active .anim { animation: rise .6s cubic-bezier(.2,.7,.2,1) both; animation-delay: calc(var(--d, 0) * 90ms + 120ms); }
@keyframes rise { to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .slide.active .anim { animation-duration: .01s; } .orbit, .orbit span, .flow { animation: none !important; } }

.head { height: 168px; }
.kicker { font-size: 15px; font-weight: 800; letter-spacing: .16em; color: var(--orange); }
.title { font-size: 44px; font-weight: 800; letter-spacing: -.02em; line-height: 1.2; margin: 10px 0 0; }
.msg { font-size: 20px; color: var(--muted); margin: 12px 0 0; line-height: 1.45; }
.body { position: absolute; left: 72px; right: 72px; top: 222px; bottom: 20px; }

.card { background: var(--panel); border: 1px solid var(--line); border-radius: 16px; box-shadow: 0 10px 30px rgba(0,0,0,.25); }
.ring { width: 52px; height: 52px; border-radius: 50%; display: inline-grid; place-items: center; flex: none;
  border: 1.5px solid currentColor; background: color-mix(in srgb, currentColor 15%, transparent); font-size: 24px; }
.ring.big { width: 72px; height: 72px; font-size: 32px; }
.ring.huge { width: 176px; height: 176px; font-size: 76px; border-width: 2.5px; }
.ring.glow { box-shadow: 0 0 36px color-mix(in srgb, currentColor 55%, transparent); }
.ring i { color: inherit; }
.chip, .pill, .tag { display: inline-flex; align-items: center; gap: 7px; border-radius: 999px; font-weight: 700; white-space: nowrap;
  border: 1px solid currentColor; background: color-mix(in srgb, currentColor 13%, var(--bg)); }
.chip { padding: 7px 14px; font-size: 15px; }
.pill { padding: 9px 22px; font-size: 16px; }
.tag { position: absolute; padding: 4px 11px; font-size: 13px; }
.mini-h { font-size: 15px; font-weight: 800; color: var(--ink); display: flex; align-items: center; gap: 8px; }
.mini-h.sp { margin-top: 18px; }
.foot-note { font-size: 13px; color: var(--muted); margin: 14px 0 0; }
.say { font-size: 16px; line-height: 1.6; margin: 8px 0 0; color: var(--ink); }
.say code, .pr code, .rules code { color: var(--emerald); font-weight: 700; }

/* segmented & tabs */
.seg { display: inline-flex; padding: 4px; border-radius: 12px; background: var(--code); border: 1px solid var(--line); gap: 4px; }
.seg button { padding: 8px 18px; border-radius: 9px; font-size: 15px; font-weight: 700; color: var(--muted); transition: .2s; }
.seg button.on { background: var(--panel); color: var(--ink); box-shadow: inset 0 0 0 1px var(--line); }
.seg.big button { padding: 11px 26px; font-size: 17px; }
.seg.big button.on { color: currentColor; box-shadow: inset 0 0 0 1.5px currentColor; background: color-mix(in srgb, currentColor 14%, var(--panel)); }
.seg.big button:not(.on) { color: var(--muted); }
.tabs { display: flex; gap: 10px; }
.tabs button { display: inline-flex; align-items: center; gap: 8px; padding: 10px 18px; border-radius: 12px; font-size: 16px; font-weight: 800;
  border: 1px solid var(--line); color: var(--muted); background: var(--panel2); transition: .2s; }
.tabs button.on { color: var(--ink); border-color: currentColor; background: var(--panel); }
.tabs button.on.c-blue { color: var(--blue); } .tabs button.on.c-purple { color: var(--purple); } .tabs button.on.c-emerald { color: var(--emerald); }
.tabs.small button { font-size: 14px; padding: 8px 14px; }
.tabs.small button.on { color: var(--orange); }
.ghost { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 700; color: var(--muted); padding: 8px 12px; border-radius: 10px; border: 1px solid var(--line); }
.ghost:hover, .ghost.on { color: var(--ink); border-color: var(--muted); }
button:focus-visible, input:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }

/* terminal */
.term { background: var(--code); border: 1px solid var(--line); border-radius: 16px; overflow: hidden; box-shadow: 0 10px 30px rgba(0,0,0,.3); }
.term-h { height: 42px; display: flex; align-items: center; gap: 8px; padding: 0 16px; background: var(--panel); border-bottom: 1px solid var(--line); }
.term-h s { width: 12px; height: 12px; border-radius: 50%; background: #F87171; text-decoration: none; }
.term-h s:nth-child(2) { background: #FACC15; } .term-h s:nth-child(3) { background: #34D399; }
.term-h code { margin-left: 10px; font-size: 13px; color: var(--muted); }

/* range */
.range-row { display: flex; align-items: center; gap: 14px; padding: 14px 18px; border-bottom: 1px solid var(--line); }
.range-row label { font-size: 14px; font-weight: 700; color: var(--muted); white-space: nowrap; }
.range-row output { font-size: 15px; font-weight: 800; min-width: 64px; text-align: right; }
.range-row.wide { border: 0; padding: 0 0 10px; }
input[type=range] { flex: 1; accent-color: var(--orange); height: 22px; cursor: pointer; }

/* tooltip */
.tt { position: absolute; pointer-events: none; z-index: 5; background: #0B1120; border: 1px solid var(--line); border-radius: 10px;
  padding: 9px 12px; font-size: 13px; color: var(--muted); box-shadow: 0 8px 24px rgba(0,0,0,.45); white-space: nowrap; transform: translate(-50%, calc(-100% - 14px)); }
.tt strong { display: block; color: var(--ink); font-size: 16px; font-weight: 800; }
.tt .k { display: inline-block; width: 14px; height: 3px; border-radius: 2px; vertical-align: middle; margin-right: 6px; }

/* ---------- footer bar ---------- */
.bar { position: absolute; left: 0; right: 0; bottom: 0; height: 56px; padding: 0 72px; display: flex; align-items: center; justify-content: space-between; z-index: 10; }
.bar-l { font-size: 13px; color: var(--dim); width: 340px; }
.dots { display: flex; gap: 7px; }
.dots button { width: 8px; height: 8px; border-radius: 50%; background: var(--line); transition: .25s; }
.dots button.on { width: 26px; border-radius: 6px; background: var(--orange); }
.dots button:hover { background: var(--muted); }
.bar-r { display: flex; align-items: center; gap: 6px; width: 340px; justify-content: flex-end; }
.nb { width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center; color: var(--muted); font-size: 19px; }
.nb:hover { background: var(--panel); color: var(--ink); }
.count { font-size: 14px; font-weight: 700; color: var(--muted); font-variant-numeric: tabular-nums; min-width: 64px; text-align: center; }
.toc { position: absolute; right: 72px; bottom: 62px; z-index: 20; background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 10px; width: 330px; box-shadow: 0 18px 40px rgba(0,0,0,.5); }
.toc button { display: flex; gap: 12px; width: 100%; padding: 9px 12px; border-radius: 9px; font-size: 15px; color: var(--muted); }
.toc button b { color: var(--dim); font-variant-numeric: tabular-nums; width: 22px; }
.toc button:hover, .toc button.on { background: var(--panel2); color: var(--ink); }
.toc button.on b { color: var(--orange); }

/* ---------- 1. cover ---------- */
.cover { text-align: center; }
.cover-grid { position: absolute; inset: 0; background-image: radial-gradient(circle, rgba(148,163,184,.22) 1.2px, transparent 1.4px); background-size: 44px 44px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 38%, #000 30%, transparent 75%); }
.cover-pill { position: relative; margin-top: 22px; }
.cover-graphic { position: relative; height: 300px; margin-top: 26px; }
.cover-lines { position: absolute; left: 0; top: 0; width: 1456px; height: 300px; }
.flow { stroke: currentColor; stroke-width: 3; stroke-dasharray: 2 14; stroke-linecap: round; animation: flow 1.1s linear infinite; }
@keyframes flow { to { stroke-dashoffset: -16; } }
.cnode { position: absolute; top: 80px; width: 140px; height: 140px; border-radius: 50%; display: grid; place-items: center; font-size: 54px;
  border: 2px solid currentColor; background: color-mix(in srgb, currentColor 14%, var(--bg)); box-shadow: 0 0 40px color-mix(in srgb, currentColor 45%, transparent); }
.cnode-label { position: absolute; top: 234px; width: 140px; font-size: 14px; font-weight: 800; letter-spacing: .3em; }
.cnode.ai { left: 618px; top: 40px; width: 220px; height: 220px; font-size: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
  box-shadow: 0 0 70px rgba(217,119,87,.55); border-width: 2.5px; }
.cnode.ai b { font-size: 30px; letter-spacing: .12em; color: var(--ink); }
.orbit { position: absolute; inset: -34px; border-radius: 50%; border: 1px dashed rgba(217,119,87,.35); animation: spin 30s linear infinite; }
.orbit span { position: absolute; font-size: 13px; font-weight: 800; color: var(--ink); background: var(--panel); border: 1px solid var(--line); border-radius: 999px; padding: 4px 11px;
  animation: spin 30s linear infinite reverse; letter-spacing: 0; }
.orbit span:nth-child(1) { left: 50%; top: -14px; margin-left: -24px; }
.orbit span:nth-child(2) { right: -10px; bottom: 34px; }
.orbit span:nth-child(3) { left: -14px; bottom: 34px; }
@keyframes spin { to { transform: rotate(360deg); } }
.cover-title { font-size: 60px; font-weight: 800; letter-spacing: -.02em; margin: 52px 0 0; position: relative; }
.cover-sub { font-size: 24px; color: var(--muted); margin: 18px 0 0; position: relative; }
.cover-sub b { color: var(--orange); }
.cover-note { position: absolute; left: 0; right: 0; bottom: 28px; font-size: 14px; color: var(--dim); }

/* ---------- 2. desktop ---------- */
.s2 { display: grid; grid-template-columns: 884px 1fr; gap: 28px; }
.s2-left { padding: 20px 12px 12px 12px; position: relative; }
.s2-left .seg { margin-left: 8px; }
.s2-diagram { position: relative; height: 500px; margin-top: 12px; }
.layer { position: absolute; inset: 0; transition: opacity .35s ease, transform .35s ease; }
.mode-desk .web, .mode-web .desk { opacity: 0; transform: scale(.98); pointer-events: none; }
.dlines { position: absolute; left: 0; top: 0; width: 860px; height: 360px; overflow: visible; }
.ln { fill: none; stroke: #94A3B8; stroke-width: 2.5; }
.ln.warn { stroke: var(--red); }
.ln.dashed { stroke-dasharray: 7 7; }
.c-blue-s { stroke: var(--blue); } .c-emerald-s { stroke: var(--emerald); } .c-orange-s { stroke: var(--orange); }
.dnode { position: absolute; width: 180px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.dnode .ring { width: 64px; height: 64px; font-size: 28px; background: var(--panel2); }
.dnode b { font-size: 17px; } .dnode small { font-size: 13px; color: var(--muted); }
.issues { position: absolute; right: 18px; top: 60px; display: flex; flex-direction: column; gap: 14px; align-items: flex-start; }
.fbox { position: absolute; width: 246px; background: var(--code); border: 1px solid var(--line); border-radius: 14px; padding: 14px 16px; }
.fbox.right { top: 20px; }
.fbox-h { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 800; margin-bottom: 8px; }
.fbox ul { list-style: none; margin: 0; padding: 0; }
.fbox li { display: flex; align-items: center; gap: 9px; font-size: 14px; padding: 7px 0; color: var(--muted); border-top: 1px solid rgba(51,65,85,.6); }
.fbox li i { color: var(--blue); }
.fbox.right li i { color: var(--emerald); }
.fbox li.hl { color: var(--emerald); font-weight: 700; } .fbox li.hl i { color: var(--emerald); }
.dcenter { position: absolute; left: 330px; top: 92px; width: 200px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.dcenter .ring { width: 104px; height: 104px; font-size: 46px; }
.dcenter b { font-size: 17px; }
.desk .tag, .web .tag { z-index: 2; }
.s2-right { display: flex; flex-direction: column; }
.concept { padding: 16px 12px 6px; }
.concept .mini-h { padding-left: 8px; }
.concept-svg { width: 520px; height: 250px; display: block; }
.axis { stroke: var(--line); stroke-width: 1.5; }
.axt { fill: var(--dim); font-size: 12px; }
.cl { fill: none; stroke-width: 3; stroke-linecap: round; stroke-linejoin: round; }
.cl.web { stroke: var(--muted); stroke-dasharray: 2 0; opacity: .7; }
.cl.desk { stroke: var(--orange); }
.cll { font-size: 13px; font-weight: 800; }
.cll.desk { fill: var(--orange); text-anchor: end; transform: translate(-6px, 0); }
.cll.web { fill: var(--muted); text-anchor: end; transform: translate(-6px, 30px); }
.why { display: flex; flex-direction: column; gap: 14px; margin-top: 18px; }
.why-i { display: flex; gap: 14px; align-items: center; }
.why-i b { font-size: 17px; } .why-i p { margin: 3px 0 0; font-size: 14px; color: var(--muted); line-height: 1.45; }

/* ---------- 3. arch ---------- */
.s3 { display: grid; grid-template-columns: 440px 1fr 440px; grid-template-rows: 1fr 74px; gap: 18px 28px; }
.panel { background: var(--panel); border: 1px solid color-mix(in srgb, currentColor 60%, var(--line)); border-radius: 16px; padding: 20px; display: flex; flex-direction: column; gap: 10px; }
.panel-h { display: flex; gap: 14px; align-items: center; margin-bottom: 6px; color: var(--ink); }
.panel-h .ring { color: inherit; }
.panel.c-blue .panel-h .ring { color: var(--blue); } .panel.c-emerald .panel-h .ring { color: var(--emerald); }
.panel-h b { font-size: 21px; display: block; } .panel-h em { font-style: normal; }
.panel.c-blue .panel-h em { color: var(--blue); } .panel.c-emerald .panel-h em { color: var(--emerald); }
.panel-h small { font-size: 13px; color: var(--muted); }
.row { display: grid; grid-template-columns: 26px 1fr auto 10px; gap: 12px; align-items: center; padding: 13px 16px; border-radius: 12px; background: var(--code); border: 1px solid var(--line); color: var(--ink); transition: .2s; }
.row i { color: var(--blue); font-size: 20px; } .row span { font-size: 16px; font-weight: 700; } .row small { font-size: 13px; color: var(--muted); }
.row .dot { width: 9px; height: 9px; border-radius: 50%; background: var(--emerald); text-decoration: none; }
.row:hover, .row.on { border-color: var(--blue); background: color-mix(in srgb, var(--blue) 10%, var(--code)); }
.s3-center { position: relative; }
.s3-links { position: absolute; left: -28px; top: 0; width: calc(100% + 56px); height: 420px; }
.brain { position: absolute; left: 50%; top: 190px; transform: translate(-50%, -50%); width: 176px; height: 176px; border-radius: 50%; }
.brain .halo { position: absolute; inset: -34px; border-radius: 50%; border: 1px dashed rgba(217,119,87,.45); }
.brain:hover .ring, .brain.on .ring { box-shadow: 0 0 60px rgba(217,119,87,.75); }
.brain-l { position: absolute; left: 0; right: 0; top: 322px; text-align: center; }
.brain-l b { font-size: 24px; display: block; } .brain-l em { font-style: normal; }
.brain-l small { font-size: 14px; color: var(--muted); }
.models { display: flex; justify-content: center; gap: 8px; margin-top: 12px; }
.models span { font-size: 13px; font-weight: 700; padding: 4px 12px; border-radius: 999px; border: 1px solid var(--line); background: var(--panel2); color: var(--ink); }
.chipbox { align-self: center; margin: 12px 0 8px; padding: 18px; border-radius: 16px; }
.chip-g { position: relative; width: 150px; height: 150px; border-radius: 16px; border: 2.5px solid var(--emerald); background: var(--code); display: grid; place-items: center;
  box-shadow: 0 0 30px rgba(52,211,153,.35); font-family: var(--mono); font-weight: 800; font-size: 22px; color: var(--emerald); text-align: center; line-height: 1.25; }
.chip-g::before, .chip-g::after { content: ""; position: absolute; inset: -16px 18px; border-top: 3px dotted var(--emerald); border-bottom: 3px dotted var(--emerald); }
.chip-g::after { inset: 18px -16px; border: 0; border-left: 3px dotted var(--emerald); border-right: 3px dotted var(--emerald); }
.chipbox:hover .chip-g, .chipbox.on .chip-g { box-shadow: 0 0 50px rgba(52,211,153,.6); }
.skill-tags { display: flex; flex-direction: column; gap: 8px; }
.skill-tags code { text-align: center; font-size: 15px; color: var(--emerald); background: color-mix(in srgb, var(--emerald) 12%, var(--code)); border: 1px solid color-mix(in srgb, var(--emerald) 55%, transparent); border-radius: 9px; padding: 8px; }
.infobar { grid-column: 1 / -1; display: flex; align-items: center; gap: 14px; padding: 0 22px; border-radius: 14px; background: var(--code); border: 1px solid var(--line); }
.infobar > i { font-size: 22px; color: var(--orange); }
.infobar p { margin: 0; font-size: 17px; line-height: 1.45; color: var(--ink); }
.infobar p b { color: var(--orange); }

/* ---------- 4. growth ---------- */
.s4 { display: grid; grid-template-columns: 400px 1fr 400px; gap: 28px; }
.loop { position: relative; width: 400px; height: 400px; margin-top: 40px; }
.loop-svg { position: absolute; inset: 0; width: 400px; height: 400px; }
.loop-ring { fill: none; stroke: var(--line); stroke-width: 1; stroke-dasharray: 3 6; }
.loop-arc { fill: none; stroke: var(--orange); stroke-width: 2.5; }
.lnode { position: absolute; width: 100px; display: flex; flex-direction: column; align-items: center; gap: 6px; text-align: center; }
.lnode .ring { background: var(--panel); }
.lnode b { font-size: 14px; background: var(--bg); padding: 0 4px; border-radius: 6px; }
.loop-c { position: absolute; left: 100px; top: 168px; width: 200px; text-align: center; font-size: 16px; color: var(--muted); line-height: 1.5; }
.loop-c b { color: var(--ink); font-size: 20px; }
.skillfile { display: flex; flex-direction: column; overflow: hidden; background: var(--code); }
.skillfile .term-h { border-radius: 16px 16px 0 0; }
.rules { list-style: none; margin: 0; padding: 10px 14px; display: flex; flex-direction: column; gap: 6px; overflow: hidden; }
.rules li { display: grid; grid-template-columns: 58px 1fr; gap: 10px; align-items: center; font-size: 15px; padding: 7px 10px; border-radius: 9px; color: var(--ink);
  animation: ruleIn .35s ease both; }
.rules li em { font-style: normal; font-size: 12px; font-weight: 800; color: var(--dim); font-family: var(--mono); }
.rules li.new { background: color-mix(in srgb, var(--emerald) 14%, transparent); box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--emerald) 60%, transparent); }
.rules li.new em { color: var(--emerald); }
@keyframes ruleIn { from { opacity: 0; transform: translateX(-8px); } }
.s4-right { display: flex; flex-direction: column; gap: 20px; }
.minichart { padding: 16px 10px 8px; position: relative; }
.minichart .mini-h { padding-left: 8px; }
#growth-bars { width: 380px; height: 210px; display: block; }
.bar-r0 { fill: var(--line); } .bar-r1 { fill: var(--orange); }
.prompt { padding: 18px 20px; }

/* ---------- 5. pipeline ---------- */
.s5 .steps { display: flex; align-items: stretch; height: 270px; }
.step { position: relative; flex: 1; display: flex; flex-direction: column; gap: 10px; padding: 22px 22px; border-radius: 16px; background: var(--panel);
  border: 1.5px solid color-mix(in srgb, currentColor 55%, var(--line)); color: var(--ink); transition: .25s; }
.step .sn { font-size: 13px; font-weight: 800; letter-spacing: .14em; }
.step.c-orange .sn, .step.c-orange .ring { color: var(--orange); } .step.c-blue .sn, .step.c-blue .ring { color: var(--blue); }
.step.c-purple .sn, .step.c-purple .ring { color: var(--purple); } .step.c-emerald .sn, .step.c-emerald .ring { color: var(--emerald); }
.step .ring { position: absolute; right: 20px; top: 18px; }
.step b { font-size: 21px; margin-top: 30px; }
.step ul { margin: 4px 0 0; padding-left: 18px; font-size: 15px; color: var(--muted); line-height: 1.7; }
.step:hover { transform: translateY(-3px); }
.step.on { background: color-mix(in srgb, currentColor 12%, var(--panel)); box-shadow: 0 0 0 1.5px currentColor, 0 14px 34px rgba(0,0,0,.35); }
.step.c-orange.on { color: var(--orange); } .step.c-blue.on { color: var(--blue); } .step.c-purple.on { color: var(--purple); } .step.c-emerald.on { color: var(--emerald); }
.step.on b, .step.on ul { color: var(--ink); }
.gap { width: 64px; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; color: var(--muted); font-size: 22px; }
.gap em { font-style: normal; font-size: 11px; font-weight: 700; color: var(--dim); border: 1px dashed var(--line); padding: 2px 6px; border-radius: 6px; white-space: nowrap; }
.s5-loop { position: absolute; left: 0; top: 270px; width: 1456px; height: 70px; }
.loop-tag { position: absolute; left: 50%; top: 290px; transform: translateX(-50%); display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px;
  border-radius: 999px; font-size: 14px; font-weight: 800; color: var(--emerald); background: var(--bg); border: 1px solid var(--emerald); }
.slide.active .loop-tag.anim { animation-name: riseX; }
@keyframes riseX { from { opacity: 0; transform: translate(-50%, 14px); } to { opacity: 1; transform: translate(-50%, 0); } }
.detail { position: absolute; left: 0; right: 0; top: 356px; bottom: 0; padding: 22px 26px; display: grid; grid-template-columns: 300px 1fr 1fr; gap: 28px; }
.detail h4 { margin: 0; font-size: 22px; } .detail .dk { font-size: 13px; font-weight: 800; color: var(--muted); letter-spacing: .08em; margin-bottom: 8px; }
.detail p { margin: 0; font-size: 16px; line-height: 1.6; color: var(--ink); }
.detail .chips { display: flex; flex-wrap: wrap; gap: 8px; }
.detail .chip { font-size: 14px; padding: 6px 12px; }
.detail .tip { font-size: 15px; color: var(--muted); margin-top: 10px; line-height: 1.55; }

/* ---------- 6. prompt ---------- */
.s6 { display: grid; grid-template-columns: 920px 1fr; grid-template-rows: 52px 1fr; gap: 18px 28px; }
.stepper { grid-column: 1 / -1; display: flex; gap: 10px; }
.stepper button { flex: 1; display: flex; align-items: center; gap: 12px; padding: 0 18px; border-radius: 12px; background: var(--panel2); border: 1px solid var(--line); font-size: 16px; font-weight: 700; color: var(--muted); transition: .2s; }
.stepper button b { width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: var(--ink); font-size: 14px; }
.stepper button.on { color: var(--ink); border-color: var(--orange); background: var(--panel); }
.stepper button.on b { background: var(--orange); }
.stepper button.done b { background: color-mix(in srgb, var(--orange) 45%, var(--line)); }
.chat { display: flex; flex-direction: column; }
.chat-body { flex: 1; padding: 20px 24px; display: flex; flex-direction: column; gap: 12px; overflow: hidden; }
.msgb { max-width: 86%; padding: 12px 16px; border-radius: 14px; font-size: 16px; line-height: 1.6; animation: ruleIn .35s ease both; }
.msgb.me { align-self: flex-end; background: color-mix(in srgb, var(--orange) 18%, var(--panel)); border: 1px solid color-mix(in srgb, var(--orange) 50%, transparent); }
.msgb.ai { align-self: flex-start; background: var(--panel); border: 1px solid var(--line); }
.msgb .who { display: block; font-size: 12px; font-weight: 800; color: var(--muted); margin-bottom: 4px; letter-spacing: .04em; }
.qa-pairs { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 14px; }
.qa-pairs div { background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 10px 14px; animation: ruleIn .35s ease both; }
.qa-pairs b { display: block; font-size: 13px; color: var(--blue); margin-bottom: 4px; }
.qa-pairs span { font-size: 15px; }
.final { font-size: 16px; line-height: 1.75; }
.final .lbl { color: var(--blue); font-weight: 800; display: inline-block; width: 54px; }
.final .indent { padding-left: 54px; display: block; }
.sb { width: 100%; border-collapse: collapse; font-size: 14px; }
.sb th { background: var(--orange); color: #1b0f0a; font-weight: 800; padding: 9px 10px; text-align: left; }
.sb td { border-bottom: 1px solid var(--line); padding: 12px 10px; vertical-align: top; line-height: 1.5; }
.sb td.en { font-family: var(--mono); font-size: 12.5px; color: var(--muted); }
.sb td.n { color: var(--orange); font-weight: 800; text-align: center; }
.sb td.cap { font-weight: 800; white-space: nowrap; }
.point { padding: 24px 26px; display: flex; flex-direction: column; }
.point .mini-h { font-size: 17px; }
.point p { font-size: 21px; line-height: 1.6; margin: 14px 0 0; flex: 1; }
.point p b { color: var(--orange); }
.effort-hint { display: flex; gap: 10px; align-items: flex-start; font-size: 14px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 14px; line-height: 1.5; }
.effort-hint i { color: var(--blue); font-size: 18px; margin-top: 1px; }
.effort-hint b { color: var(--ink); }

/* ---------- 7. mcp ---------- */
.s7 { display: grid; grid-template-columns: 1fr 450px; gap: 28px; }
.mcp-main { display: flex; flex-direction: column; gap: 14px; }
.mcp-card { flex: 1; padding: 24px 28px; display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: auto auto 1fr; gap: 18px 30px; }
.mcp-card .what { grid-column: 1 / -1; display: flex; gap: 16px; align-items: center; }
.mcp-card .what p { margin: 0; font-size: 19px; line-height: 1.5; }
.mcp-card .what p b { color: var(--k); }
.mcp-card .sec .dk { font-size: 13px; font-weight: 800; letter-spacing: .08em; color: var(--muted); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.mcp-card .sec p, .mcp-card .sec li { font-size: 15px; line-height: 1.6; margin: 0; }
.mcp-card .sec ol, .mcp-card .sec ul { margin: 0; padding-left: 20px; }
.mcp-card .say-box { grid-column: 1 / -1; background: var(--code); border: 1px solid var(--line); border-radius: 12px; padding: 14px 18px; }
.mcp-card .say-box .say { margin: 6px 0 0; font-size: 16px; }
.mcp-card .say-box .say::before { content: "› "; color: var(--orange); font-weight: 800; }
.mcp-card .warn-l li::marker { color: var(--red); }
.beta { font-size: 11px; font-weight: 800; padding: 2px 8px; border-radius: 999px; border: 1px solid var(--yellow); color: var(--yellow); margin-left: 6px; }
.qa { padding: 24px 26px; }
.qa-q { display: flex; align-items: center; gap: 10px; font-size: 20px; font-weight: 800; }
.qa-q i { color: var(--orange); font-size: 24px; }
.qa-a { font-size: 18px; line-height: 1.6; margin: 14px 0 0; padding: 14px 16px; border-radius: 12px; background: color-mix(in srgb, var(--emerald) 12%, var(--code)); border: 1px solid color-mix(in srgb, var(--emerald) 50%, transparent); }
.qa-a b { color: var(--emerald); }
.qa-sub { font-size: 14px; font-weight: 800; color: var(--muted); margin: 20px 0 10px; letter-spacing: .04em; }
.qa-list { margin: 0; padding-left: 22px; display: flex; flex-direction: column; gap: 12px; }
.qa-list li { font-size: 16px; line-height: 1.45; }
.qa-list li::marker { color: var(--orange); font-weight: 800; }
.qa-list small { display: block; font-size: 13px; color: var(--muted); margin-top: 2px; }

/* ---------- 8. token ---------- */
.s8 { display: grid; grid-template-columns: 560px 1fr; grid-template-rows: 236px 1fr; gap: 20px 24px; }
.gauge-card { grid-column: 1 / -1; padding: 20px 26px; }
.state { padding: 6px 14px; border-radius: 999px; border: 1px solid currentColor; min-width: 0 !important; white-space: nowrap; background: color-mix(in srgb, currentColor 14%, transparent); }
.phases { display: flex; gap: 4px; margin: 4px 0 0; }
.phases span { font-size: 12px; font-weight: 700; color: var(--dim); border-top: 2px solid var(--line); padding-top: 4px; }
.cw-label { font-size: 15px; color: var(--muted); margin: 14px 0 8px; display: flex; gap: 10px; align-items: baseline; }
.cw-label b { color: var(--ink); }
.pct { margin-left: auto; font-size: 24px; font-weight: 800; color: var(--ink); font-variant-numeric: tabular-nums; }
.gauge { display: grid; grid-template-columns: repeat(50, 1fr); gap: 3px; height: 46px; padding: 5px; border-radius: 12px; background: var(--code); border: 1px solid var(--line); position: relative; }
.gauge span { border-radius: 3px; background: var(--panel); transition: background .2s; }
.gauge .sum { grid-column: span var(--n); background: repeating-linear-gradient(135deg, #64748B 0 6px, #475569 6px 12px); border-radius: 4px; display: grid; place-items: center; font-size: 12px; font-weight: 800; color: var(--ink); }
.marks { position: relative; height: 18px; }
.marks span { position: absolute; top: 2px; transform: translateX(-50%); font-size: 12px; color: var(--dim); }
.marks span::before { content: ""; position: absolute; left: 50%; top: -24px; height: 22px; border-left: 1px dashed var(--muted); }
.memory { padding: 20px 22px; }
.mem-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.mem-chips span { font-size: 14px; font-weight: 700; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--blue); color: var(--ink); background: color-mix(in srgb, var(--blue) 12%, transparent); transition: opacity .3s, filter .3s; }
.mem-chips span.lost { text-decoration: line-through; border-color: var(--red); color: var(--red); background: transparent; opacity: 1 !important; filter: none !important; }
.meters { display: flex; flex-direction: column; gap: 9px; margin-top: 10px; }
.meter { display: grid; grid-template-columns: 136px 1fr; align-items: center; gap: 12px; font-size: 14px; color: var(--muted); }
.meter div { height: 10px; border-radius: 6px; background: var(--code); overflow: hidden; }
.meter div s { display: block; height: 100%; background: var(--orange); border-radius: 6px; transition: width .25s; }
.fixes { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.fix { display: flex; gap: 14px; align-items: center; padding: 16px 18px; border-radius: 14px; background: var(--panel); border: 1px solid var(--line); }
.fix b { font-size: 17px; } .fix p { margin: 3px 0 0; font-size: 14px; color: var(--muted); line-height: 1.45; }

/* ---------- 9. effort ---------- */
.s9 { display: grid; grid-template-columns: 730px 1fr; grid-template-rows: 54px 1fr 58px; gap: 16px 24px; }
.s9 .seg { grid-column: 1 / -1; justify-self: start; }
.boom { padding: 16px 18px 6px; }
#boom-svg { width: 694px; height: 400px; display: block; }
.traj { fill: none; stroke-width: 2.5; stroke-dasharray: 8 8; opacity: .35; transition: opacity .3s, stroke-width .3s; }
.traj.on { opacity: 1; stroke-width: 3.5; }
.traj-fill { opacity: .04; transition: opacity .3s; } .traj-fill.on { opacity: .12; }
.neuron { fill: var(--blue); opacity: .35; } .synapse { stroke: var(--blue); stroke-width: .8; opacity: .14; }
.tlabel { font-size: 15px; font-weight: 800; transition: opacity .3s; opacity: .45; } .tlabel.on { opacity: 1; }
.shop { padding: 22px 26px; display: flex; flex-direction: column; gap: 14px; border-color: color-mix(in srgb, var(--k) 60%, var(--line)); }
.shop .mini-h { color: var(--muted); }
.shop .budget { display: flex; gap: 14px; align-items: center; }
.shop .budget .ring { color: var(--k); }
.shop .money { font-size: 34px; font-weight: 800; color: var(--k); line-height: 1.1; }
.shop .where { font-size: 18px; font-weight: 700; margin-top: 4px; }
.shop .how { font-size: 16px; color: var(--muted); line-height: 1.55; margin: 0; }
.shop .ex { background: var(--code); border: 1px solid var(--line); border-radius: 12px; padding: 12px 16px; }
.shop .ex .dk { font-size: 13px; font-weight: 800; color: var(--muted); margin-bottom: 6px; }
.shop .ex p { margin: 0; font-size: 16px; line-height: 1.55; }
.shop .spec { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.spec-i { font-size: 14px; color: var(--muted); }
.spec-i .lv { display: flex; gap: 4px; margin-top: 6px; }
.spec-i .lv s { flex: 1; height: 8px; border-radius: 4px; background: var(--line); text-decoration: none; }
.spec-i .lv s.f { background: var(--k); }
.banner { grid-column: 1 / -1; display: flex; align-items: center; gap: 34px; padding: 0 22px; border-radius: 14px; border: 1px solid var(--orange); background: color-mix(in srgb, var(--orange) 12%, var(--bg)); font-size: 17px; }
.banner > div { display: flex; align-items: center; gap: 8px; }
.banner i { color: var(--orange); font-size: 20px; }
.banner b { color: var(--orange); }
.banner .go { margin-left: auto; color: var(--muted); font-size: 14px; font-weight: 700; }

/* ---------- 10. charts ---------- */
.s10 { display: grid; grid-template-columns: 980px 1fr; grid-template-rows: 44px 1fr 22px; gap: 14px 24px; }
.ctrl { grid-column: 1 / -1; display: flex; align-items: center; gap: 18px; }
.filters { display: flex; gap: 6px; }
.filters button { font-size: 13px; font-weight: 700; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); display: inline-flex; align-items: center; gap: 6px; }
.filters button.on { color: var(--ink); border-color: var(--muted); background: var(--panel); }
.filters button .k { width: 14px; height: 3px; border-radius: 2px; }
.filters button.off { opacity: .45; text-decoration: line-through; }
.ctrl .ghost { margin-left: auto; }
.chart-card { padding: 14px 20px 10px; display: flex; flex-direction: column; }
.chart-title { font-size: 15px; font-weight: 800; color: var(--ink); }
.chart-title span { color: var(--muted); font-weight: 500; }
.chart-wrap { position: relative; width: 940px; height: 420px; margin-top: 4px; }
#chart-svg { width: 940px; height: 420px; display: block; }
.legend { display: flex; gap: 18px; font-size: 13px; color: var(--muted); padding: 4px 0 0 56px; flex-wrap: wrap; }
.legend span { display: inline-flex; align-items: center; gap: 6px; }
.gl { stroke: #1F2A3D; stroke-width: 1; } .bl { stroke: #475569; stroke-width: 1.2; }
.tk { fill: var(--muted); font-size: 12px; } .atl { fill: var(--muted); font-size: 12.5px; font-weight: 700; }
.pt { cursor: pointer; transition: opacity .2s; } .pt.dim { opacity: .14; }
.plabel { fill: var(--ink); font-size: 12.5px; font-weight: 700; pointer-events: none; transition: opacity .2s; }
.plabel.dim { opacity: .15; }
.anno { fill: var(--ink); font-size: 13px; font-weight: 800; }
.anno-bg { fill: #0B1120; stroke: var(--orange); stroke-width: 1.2; }
.series-line { fill: none; stroke-width: 2; transition: opacity .2s; }
.table-view { position: absolute; inset: 0; background: var(--panel); overflow: auto; border-radius: 8px; }
.table-view table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.table-view th { position: sticky; top: 0; background: var(--panel2); color: var(--muted); text-align: left; padding: 8px 10px; font-weight: 800; }
.table-view td { padding: 7px 10px; border-bottom: 1px solid var(--line); font-variant-numeric: tabular-nums; }
.table-view td.r, .table-view th.r { text-align: right; }
.insights { display: flex; flex-direction: column; gap: 14px; }
.ins { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 16px 18px; }
.ins .big { font-size: 30px; font-weight: 800; color: var(--orange); line-height: 1.15; }
.ins .big small { font-size: 15px; color: var(--muted); font-weight: 700; margin-left: 4px; }
.ins b { font-size: 16px; display: block; margin-top: 6px; }
.ins p { margin: 5px 0 0; font-size: 14px; color: var(--muted); line-height: 1.55; }
.ins.caution { border-style: dashed; }
.ins.caution b { color: var(--yellow); font-size: 14px; margin: 0; }
.source { grid-column: 1 / -1; margin: 0; font-size: 12px; color: var(--dim); line-height: 1.5; }

/* ---------- 11. skill versions ---------- */
.s11 { display: grid; grid-template-columns: 560px 1fr; gap: 28px; }
.pr-steps { display: flex; flex-direction: column; gap: 18px; }
.pr { display: flex; gap: 18px; padding: 20px 22px; border-radius: 16px; background: var(--panel); border: 1px solid var(--line); }
.pr-n { width: 44px; height: 44px; flex: none; border-radius: 50%; display: grid; place-items: center; font-size: 20px; font-weight: 800; border: 1.5px solid currentColor; background: color-mix(in srgb, currentColor 15%, transparent); }
.pr b { font-size: 19px; }
.skillview { display: flex; flex-direction: column; }
.skillview .term-h { gap: 8px; }
.ver { margin-left: auto; display: flex; gap: 4px; }
.ver button { font-size: 13px; font-weight: 800; padding: 5px 12px; border-radius: 8px; color: var(--muted); border: 1px solid var(--line); }
.ver button.on { color: var(--emerald); border-color: var(--emerald); background: color-mix(in srgb, var(--emerald) 12%, transparent); }
.code { margin: 0; padding: 20px 24px; font-family: var(--mono); font-size: 16px; line-height: 1.75; color: var(--ink); white-space: pre-wrap; flex: 1; }
.code .c-k { color: var(--blue); } .code .c-m { color: var(--dim); } .code .c-h { color: var(--orange); font-weight: 700; } .code .c-n { color: var(--emerald); }
.code .add { display: block; background: color-mix(in srgb, var(--emerald) 13%, transparent); box-shadow: inset 3px 0 0 var(--emerald); margin: 0 -24px; padding: 0 24px; animation: ruleIn .4s ease both; }
.code .add::before { content: "+ "; color: var(--emerald); margin-left: -16px; }
.code .ko { font-family: "Pretendard Variable", Pretendard, "Malgun Gothic", sans-serif; }

/* ---------- 12. checklist ---------- */
.s12 { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr 58px; gap: 18px 22px; }
.ck { position: relative; display: flex; gap: 22px; align-items: flex-start; padding: 26px 28px; border-radius: 16px; background: var(--panel);
  border: 1.5px solid color-mix(in srgb, currentColor 55%, var(--line)); color: var(--ink); transition: .25s; }
.ck .ring { color: inherit; }
.ck.c-blue .ring, .ck.c-blue .tags span { color: var(--blue); } .ck.c-orange .ring, .ck.c-orange .tags span { color: var(--orange); }
.ck.c-emerald .ring, .ck.c-emerald .tags span { color: var(--emerald); } .ck.c-purple .ring, .ck.c-purple .tags span { color: var(--purple); }
.ck > div { flex: 1; }
.ck b { font-size: 23px; } .ck p { font-size: 16px; color: var(--muted); line-height: 1.55; margin: 8px 0 14px; }
.ck .tags { display: flex; gap: 8px; flex-wrap: wrap; }
.ck .tags span { font-size: 13px; font-weight: 700; padding: 5px 12px; border-radius: 999px; border: 1px solid currentColor; background: color-mix(in srgb, currentColor 12%, transparent); }
.ck .box { width: 34px; height: 34px; border-radius: 10px; border: 2px solid var(--line); display: grid; place-items: center; font-size: 20px; color: transparent; transition: .2s; flex: none; }
.ck.on { background: color-mix(in srgb, var(--emerald) 8%, var(--panel)); }
.ck.on .box { background: var(--emerald); border-color: var(--emerald); color: #052e1f; }
.ck:hover { transform: translateY(-2px); }
.ck-status { grid-column: 1 / -1; display: flex; align-items: center; gap: 16px; padding: 0 22px; border-radius: 14px; background: var(--code); border: 1px solid var(--line); font-size: 17px; }
.ck-status .prog { flex: 1; height: 10px; border-radius: 6px; background: var(--panel); overflow: hidden; }
.ck-status .prog s { display: block; height: 100%; background: var(--emerald); transition: width .3s; border-radius: 6px; }
.ck-status b { font-variant-numeric: tabular-nums; }
.ck-status.done { border-color: var(--emerald); color: var(--emerald); }

/* ---------- QA 1차 보완 ---------- */
.s2-diagram { height: 540px; }
.dlines { height: 520px; }
.panel-foot { margin: auto 0 0; display: flex; align-items: center; gap: 8px; font-size: 13.5px; color: var(--muted); border-top: 1px solid var(--line); padding-top: 12px; }
.panel.c-blue .panel-foot i { color: var(--blue); } .panel.c-emerald .panel-foot i { color: var(--emerald); }
.lnode b { background: var(--panel); border: 1px solid var(--line); padding: 3px 10px; border-radius: 999px; font-size: 13.5px; }
#growth-bars { height: 290px; }
.prompt .say { font-size: 17px; }
.s5 .steps { height: 240px; }
.step b { margin-top: 26px; }
.step .out { margin-top: auto; font-size: 14px; font-weight: 800; font-family: var(--mono); opacity: .9; }
.step.c-orange .out { color: var(--orange); } .step.c-blue .out { color: var(--blue); } .step.c-purple .out { color: var(--purple); } .step.c-emerald .out { color: var(--emerald); }
.s5-loop { top: 240px; } .loop-tag { top: 260px; }
.detail { top: 326px; padding: 26px 30px; grid-template-columns: 280px 1fr 1fr; }
.detail h4 { font-size: 26px; } .detail p { font-size: 18px; } .detail .chip { font-size: 15px; } .detail .dk { font-size: 14px; }
.msgb { font-size: 18px; } .qa-pairs span { font-size: 17px; } .qa-pairs b { font-size: 14px; } .final { font-size: 17.5px; }
.sb { font-size: 16px; } .sb td.en { font-size: 14px; }
.tpl { background: var(--code); border: 1px dashed var(--orange); border-radius: 12px; padding: 14px 16px; margin-bottom: 16px; }
.tpl .dk, .mlog .dk { font-size: 13px; font-weight: 800; color: var(--orange); letter-spacing: .06em; margin-bottom: 6px; }
.tpl p { font-size: 16px; line-height: 1.6; margin: 0; } .tpl b { color: var(--orange); }
.mcp-card { grid-template-rows: auto auto auto 1fr; }
.mlog { grid-column: 1 / -1; display: flex; flex-direction: column; gap: 8px; }
.mlog .dk { color: var(--muted); }
.ml { display: grid; grid-template-columns: 20px 230px 1fr; gap: 10px; align-items: center; font-size: 15px; padding: 9px 14px; border-radius: 10px; background: var(--code); border: 1px solid var(--line); }
.ml i { color: var(--emerald); font-size: 17px; } .ml code { color: var(--k); font-size: 14px; font-weight: 700; } .ml span { color: var(--muted); }
.qa-foot { display: flex; align-items: center; gap: 8px; margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--line); font-size: 14.5px; color: var(--muted); }
.qa-foot i { color: var(--blue); }
.fix b { font-size: 19px; } .fix p { font-size: 15px; }
.cmp { display: flex; flex-direction: column; gap: 6px; margin-top: auto; }
.cmp div { display: grid; grid-template-columns: 150px 150px 1fr; gap: 10px; padding: 9px 14px; border-radius: 10px; font-size: 14.5px; color: var(--muted); border: 1px solid transparent; }
.cmp div b { color: var(--muted); }
.cmp div.on { border-color: var(--k); background: color-mix(in srgb, var(--k) 12%, transparent); color: var(--ink); }
.cmp div.on b { color: var(--k); }
.tipbox { display: flex; gap: 14px; padding: 18px 20px; border-radius: 16px; border: 1px dashed var(--orange); background: color-mix(in srgb, var(--orange) 8%, transparent); margin-top: auto; }
.tipbox > i { color: var(--orange); font-size: 22px; margin-top: 2px; }
.tipbox b { font-size: 17px; color: var(--orange); } .tipbox p { margin: 6px 0 0; font-size: 15px; line-height: 1.6; color: var(--ink); }
.ck b { font-size: 26px; } .ck p { font-size: 18px; }
.ck .how { display: flex; align-items: center; gap: 8px; margin-top: 18px; padding-top: 14px; border-top: 1px solid var(--line); font-size: 15px; color: var(--ink); }
.ck .how i { color: var(--muted); }
.s2-diagram { height: 500px; }
.s2 .layer { top: -36px; }
.lnode b { white-space: nowrap; }
.s2-diagram { height: 470px; }
.why { margin-top: 14px; gap: 12px; }
.concept-svg { height: 236px; }
