:root {
  --bg: #070707;
  --panel: #101010;
  --panel-2: #151515;
  --line: rgba(255,255,255,.11);
  --text: #f4f2ec;
  --muted: #8e8d89;
  --acid: #d9ff43;
  --violet: #8b5cf6;
  --cyan: #4ee8d5;
  --topbar-bg: rgba(7,7,7,.72);
  --mobile-nav-bg: #0b0b0b;
  --canvas-opacity: .18;
  --cursor-glow-bg: radial-gradient(circle, rgba(139,92,246,.09), transparent 68%);
  --mono: "DM Mono", monospace;
  --sans: "Noto Sans SC", sans-serif;
}

body[data-theme="aurora"] {
  --bg: #eef8ff;
  --panel: rgba(255,255,255,.74);
  --panel-2: rgba(235,246,255,.82);
  --line: rgba(18,61,95,.15);
  --text: #071827;
  --muted: #5d6e82;
  --acid: #00d7ff;
  --violet: #6258ff;
  --cyan: #00b89c;
  --topbar-bg: rgba(247,252,255,.72);
  --mobile-nav-bg: rgba(247,252,255,.94);
  --canvas-opacity: .24;
  --cursor-glow-bg: radial-gradient(circle, rgba(0,215,255,.18), transparent 68%);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; overflow-x: hidden; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--sans);
  overflow-x: hidden;
  selection-background-color: var(--acid);
  transition: background .35s ease, color .35s ease;
}
body[data-theme="aurora"] {
  background:
    radial-gradient(circle at 10% 8%, rgba(0,215,255,.28), transparent 32vw),
    radial-gradient(circle at 84% 18%, rgba(98,88,255,.18), transparent 30vw),
    radial-gradient(circle at 55% 78%, rgba(0,184,156,.13), transparent 34vw),
    linear-gradient(135deg, #fbfdff 0%, #edf8ff 48%, #f7f3ff 100%);
}
::selection { background: var(--acid); color: #050505; }
button, input { font: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { color: inherit; }
a { color: inherit; text-decoration: none; }

#neural-canvas {
  position: fixed; inset: 0; width: 100%; height: 100%; pointer-events: none;
  opacity: var(--canvas-opacity); z-index: 0;
}
.noise {
  position: fixed; inset: 0; pointer-events: none; z-index: 20; opacity: .035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.8'/%3E%3C/svg%3E");
}
.cursor-glow {
  position: fixed; width: 360px; height: 360px; border-radius: 50%; pointer-events: none; z-index: 0;
  background: var(--cursor-glow-bg);
  transform: translate(-50%, -50%); left: -500px; top: -500px;
}

.topbar {
  height: 82px; position: fixed; top: 0; left: 0; right: 0; z-index: 15;
  display: flex; align-items: center; justify-content: space-between; padding: 0 4.5vw;
  border-bottom: 1px solid var(--line); background: var(--topbar-bg); backdrop-filter: blur(18px);
}
.brand { display: flex; align-items: center; gap: 12px; font: 600 17px var(--mono); letter-spacing: -.5px; }
.brand-dot, .footer-brand span { color: var(--acid); }
.brand-mark { width: 24px; height: 24px; position: relative; display: inline-block; }
.brand-mark i { position: absolute; width: 7px; height: 7px; border: 1px solid var(--acid); transform: rotate(45deg); }
.brand-mark i:nth-child(1) { left: 1px; top: 8px; }
.brand-mark i:nth-child(2) { left: 9px; top: 2px; }
.brand-mark i:nth-child(3) { left: 15px; top: 11px; }
.nav { display: flex; gap: 28px; height: 100%; }
.nav a { display: flex; align-items: center; position: relative; color: #aaa; font-size: 13px; transition: .3s; }
.nav a:hover, .nav a.active { color: #fff; }
.nav a::after { content: ""; position: absolute; left: 50%; right: 50%; height: 2px; bottom: 0; background: var(--acid); transition: .3s; }
.nav a:hover::after, .nav a.active::after { left: 0; right: 0; }
.header-actions { display: flex; align-items: center; gap: 13px; }
.icon-button { height: 38px; background: transparent; border: 0; display: flex; align-items: center; gap: 9px; cursor: pointer; }
.search-icon { display: inline-block; width: 15px; height: 15px; border: 1.5px solid #bbb; border-radius: 50%; position: relative; }
.search-icon::after { content: ""; width: 6px; height: 1.5px; background: #bbb; position: absolute; transform: rotate(45deg); right: -5px; bottom: -2px; }
kbd { border: 1px solid var(--line); border-radius: 4px; padding: 3px 6px; font: 10px var(--mono); color: #777; background: #111; }
.mini-cta { background: var(--text); color: #080808; padding: 11px 16px; font-size: 12px; font-weight: 700; }
.mini-cta span { margin-left: 10px; }
.theme-toggle {
  min-width: 94px; height: 38px; border: 1px solid var(--line); border-radius: 999px;
  background: rgba(255,255,255,.03); color: var(--text); display: inline-flex; align-items: center;
  justify-content: center; gap: 8px; padding: 0 12px; cursor: pointer; font: 10px var(--mono);
  letter-spacing: .2px; transition: transform .25s, border-color .25s, background .25s, box-shadow .25s;
}
.theme-toggle:hover { transform: translateY(-1px); border-color: var(--acid); box-shadow: 0 0 24px rgba(217,255,67,.12); }
.theme-swatch { width: 15px; height: 15px; border-radius: 50%; background: linear-gradient(135deg, var(--acid), var(--violet)); box-shadow: 0 0 16px rgba(78,232,213,.45); }
.theme-text { white-space: nowrap; }
.language-toggle {
  height: 38px; border: 1px solid var(--line); border-radius: 999px; background: rgba(255,255,255,.03);
  color: var(--muted); display: inline-flex; align-items: center; gap: 7px; padding: 0 11px;
  cursor: pointer; font: 10px var(--mono); letter-spacing: .4px; transition: .25s;
}
.language-toggle i { width: 1px; height: 13px; background: var(--line); display: block; }
.language-toggle span:first-child { color: var(--text); }
.language-toggle[data-lang="en"] span:first-child { color: var(--muted); }
.language-toggle[data-lang="en"] span:last-child { color: var(--text); }
.language-toggle:hover { transform: translateY(-1px); border-color: var(--acid); }
.menu-button { display: none; background: none; border: 0; width: 38px; height: 38px; }

main, footer { position: relative; z-index: 1; }
.hero {
  min-height: 100vh; position: relative; display: flex; flex-direction: column; justify-content: center;
  padding: 140px 8vw 80px; overflow: hidden; border-bottom: 1px solid var(--line);
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px), linear-gradient(rgba(255,255,255,.025) 1px, transparent 1px); background-size: 7.14vw 7.14vw; mask-image: linear-gradient(to bottom, transparent, #000 25%, #000 75%, transparent); }
.eyebrow, .section-index { font: 11px var(--mono); letter-spacing: 1.7px; color: #858585; }
.eyebrow { display: flex; align-items: center; gap: 10px; margin-bottom: 25px; }
.eyebrow span { width: 7px; height: 7px; background: var(--acid); box-shadow: 0 0 16px var(--acid); border-radius: 50%; animation: pulse 1.5s infinite; }
@keyframes pulse { 50% { opacity: .3; transform: scale(.65); } }
.hero h1 { font-size: clamp(66px, 9.8vw, 150px); line-height: .89; margin: 0; letter-spacing: -.075em; font-weight: 800; position: relative; z-index: 2; }
.hero h1 sup { font: 10px var(--mono); color: var(--acid); letter-spacing: 0; margin-left: 18px; vertical-align: top; }
.gradient-text { background: linear-gradient(90deg, #fff 4%, #b9b9b9 34%, #6e55d8 76%, #4ee8d5); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-desc { margin: 35px 0 0 5px; color: #969696; line-height: 1.9; font-size: 14px; position: relative; z-index: 2; }
.hero-actions { display: flex; align-items: center; gap: 30px; margin: 40px 0 0 5px; position: relative; z-index: 3; }
.primary-button { min-width: 220px; height: 58px; padding: 0 8px 0 24px; display: inline-flex; align-items: center; justify-content: space-between; background: var(--acid); color: #090909; font-weight: 700; font-size: 14px; }
.button-arrow { width: 42px; height: 42px; display: grid; place-items: center; border: 1px solid rgba(0,0,0,.22); font: 19px var(--mono); transition: .3s; }
.primary-button:hover .button-arrow { background: #090909; color: var(--acid); transform: rotate(-45deg); }
.text-button { background: none; border: 0; color: #bbb; cursor: pointer; font-size: 13px; display: flex; align-items: center; gap: 10px; }
.play { width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--line); display: grid; place-items: center; font-size: 8px; padding-left: 2px; }
.hero-data { position: absolute; right: 5vw; bottom: 40px; display: flex; gap: 44px; }
.hero-data div { display: flex; flex-direction: column; border-left: 1px solid var(--line); padding-left: 14px; }
.hero-data strong { font: 28px var(--mono); }
.hero-data strong::after { content: "+"; color: var(--acid); font-size: 14px; }
.hero-data span { font-size: 10px; color: #777; margin-top: 5px; }
.scroll-indicator { position: absolute; left: 4.5vw; bottom: 40px; display: flex; align-items: center; gap: 12px; transform-origin: left; }
.scroll-indicator span { width: 36px; height: 1px; background: #555; position: relative; overflow: hidden; }
.scroll-indicator span::after { content: ""; position: absolute; width: 15px; height: 1px; background: white; animation: scan 2s infinite; }
@keyframes scan { from { left: -15px } to { left: 38px } }
.scroll-indicator small { font: 8px var(--mono); letter-spacing: 1.4px; color: #666; }
.hero-orbit { position: absolute; width: min(58vw, 820px); aspect-ratio: 1; right: -9vw; top: 50%; transform: translateY(-50%); z-index: 1; }
.orbit { position: absolute; border: 1px solid rgba(255,255,255,.13); border-radius: 50%; inset: 10%; animation: spin 22s linear infinite; }
.orbit-one { inset: 22%; border-color: rgba(217,255,67,.2); animation-duration: 12s; animation-direction: reverse; }
.orbit-two { inset: 4%; border-style: dashed; }
.orbit-three { inset: 37%; border: 1px solid rgba(78,232,213,.3); }
.orbit i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 18px var(--acid); left: 49%; top: -4px; }
.orbit-two i:nth-child(2) { top: auto; bottom: 7%; left: 13%; background: var(--violet); box-shadow: 0 0 18px var(--violet); }
.core { position: absolute; inset: 42%; border-radius: 50%; background: radial-gradient(circle at 35% 30%, #d8ff48, #644ebd 47%, transparent 69%); filter: drop-shadow(0 0 35px rgba(139,92,246,.4)); display: grid; place-items: center; }
.core::after { content: ""; inset: -40%; position: absolute; border-radius: 50%; background: radial-gradient(circle, rgba(139,92,246,.16), transparent 70%); }
.core span { font: 16px var(--mono); color: #060606; z-index: 1; }
@keyframes spin { to { transform: rotate(360deg); } }

.section-shell { padding: 125px 8vw; border-bottom: 1px solid var(--line); }
.manifesto { min-height: 650px; display: grid; grid-template-columns: 1fr 2.2fr 1fr; align-items: center; gap: 40px; }
.manifesto-copy { font-size: clamp(28px, 3.5vw, 52px); font-weight: 500; line-height: 1.55; letter-spacing: -.05em; }
.manifesto-copy p { margin: 0; }
.manifesto-copy .muted-lead { color: #444; }
.highlight { position: relative; color: var(--acid); }
.highlight::after { content: ""; position: absolute; height: 1px; background: currentColor; left: 0; right: 0; bottom: 2px; opacity: .5; }
.signal-card { align-self: end; border: 1px solid var(--line); padding: 16px; background: #0b0b0b; }
.signal-top, .signal-meta { display: flex; justify-content: space-between; font: 8px var(--mono); letter-spacing: 1px; color: #666; }
.signal-top b { width: 5px; height: 5px; background: var(--acid); border-radius: 50%; }
.signal-wave { height: 80px; display: flex; gap: 4px; align-items: center; }
.signal-wave i { display: block; height: 12%; flex: 1; background: linear-gradient(var(--acid), var(--violet)); animation: wave 1.2s infinite alternate ease-in-out; }
.signal-wave i:nth-child(3n) { animation-delay: -.6s; }.signal-wave i:nth-child(2n) { animation-delay: -.3s; }
@keyframes wave { to { height: 75%; } }
.signal-meta strong { color: var(--acid); font-weight: 400; }

.section-heading { display: flex; justify-content: space-between; align-items: flex-end; margin-bottom: 65px; }
.section-heading h2, .glossary h2, .closing h2 { font-size: clamp(45px, 5.7vw, 86px); line-height: 1; letter-spacing: -.065em; margin: 20px 0 0; }
.section-heading p { color: #777; line-height: 1.8; font-size: 13px; margin: 0 4vw 5px 0; }
.filter-row { display: flex; border-bottom: 1px solid var(--line); margin-bottom: 28px; gap: 5px; overflow-x: auto; }
.filter { border: 0; border-bottom: 2px solid transparent; background: transparent; color: #676767; padding: 0 20px 18px; cursor: pointer; white-space: nowrap; font-size: 12px; transition: .25s; }
.filter sup { font: 7px var(--mono); margin-left: 4px; }
.filter.active, .filter:hover { color: white; border-bottom-color: var(--acid); }
.knowledge-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
.knowledge-card { min-height: 395px; background: #101010; border: 1px solid var(--line); padding: 27px; display: flex; flex-direction: column; position: relative; overflow: hidden; transition: transform .35s, border-color .35s, opacity .4s; }
.knowledge-card:hover { transform: translateY(-5px); border-color: rgba(217,255,67,.4); }
.knowledge-card.hidden { display: none; }
.knowledge-card.featured { grid-column: span 2; padding: 0; flex-direction: row; }
.card-visual { width: 47%; position: relative; background: radial-gradient(circle at center, rgba(139,92,246,.2), transparent 56%), #0b0b0b; border-right: 1px solid var(--line); display: grid; place-items: center; }
.card-body { width: 53%; padding: 32px; display: flex; flex-direction: column; justify-content: flex-end; }
.card-number { position: absolute; right: 24px; top: 20px; font: 10px var(--mono); color: #4d4d4d; }
.brain-rings { width: 140px; height: 140px; position: relative; display: grid; place-items: center; }
.brain-rings span { position: absolute; inset: 0; border-radius: 45% 55% 50% 48%; border: 1px solid rgba(217,255,67,.5); animation: spin 9s linear infinite; }
.brain-rings span:nth-child(2) { inset: 17%; border-color: rgba(139,92,246,.8); animation-direction: reverse; }
.brain-rings span:nth-child(3) { inset: 32%; border-style: dashed; border-color: #888; animation-duration: 5s; }
.brain-rings b { font: 28px var(--mono); font-weight: 300; color: var(--acid); }
.card-tags { display: flex; gap: 8px; margin-bottom: auto; }
.card-tags span { font: 8px var(--mono); letter-spacing: .8px; color: #747474; border: 1px solid var(--line); padding: 5px 7px; }
.knowledge-card h3 { font-size: 26px; letter-spacing: -.04em; margin: 28px 0 12px; }
.knowledge-card p { font-size: 12px; color: #777; line-height: 1.8; margin: 0 0 25px; max-width: 390px; }
.card-link { background: none; border: 0; border-top: 1px solid var(--line); padding: 16px 0 0; width: 100%; display: flex; justify-content: space-between; cursor: pointer; color: #bbb; font-size: 11px; text-align: left; transition: .3s; }
.card-link:hover { color: var(--acid); }
.card-icon { height: 145px; display: grid; place-items: center; position: relative; color: var(--acid); font: 36px var(--mono); }
.icon-data span { width: 90px; height: 28px; border: 1px solid #555; position: absolute; transform: skewY(-10deg); }
.icon-data span:nth-child(2) { margin-top: 35px; border-color: var(--violet); }
.icon-data span:nth-child(3) { margin-top: 70px; border-color: var(--acid); }
.icon-transformer { color: white; font-size: 54px; text-shadow: 16px 12px 0 rgba(139,92,246,.35); }
.icon-transformer span { color: var(--acid); font-size: 20px; }
.icon-llm { background: radial-gradient(ellipse, rgba(139,92,246,.24), transparent 65%); }
.icon-llm i { position: absolute; width: 110px; height: 55px; border: 1px dashed #555; border-radius: 50%; animation: spin 10s linear infinite; }
.wide { grid-column: span 2; flex-direction: row; min-height: 360px; padding: 0; }
.wide-content { width: 55%; padding: 30px; display: flex; flex-direction: column; position: relative; }
.generative-art { width: 45%; position: relative; overflow: hidden; background: radial-gradient(circle, rgba(217,255,67,.3), rgba(139,92,246,.22) 35%, transparent 68%); }
.generative-art span { position: absolute; inset: 18%; border: 1px solid rgba(255,255,255,.25); transform: rotate(45deg); }
.generative-art span:nth-child(2) { inset: 28%; transform: rotate(20deg); border-color: var(--acid); }
.generative-art span:nth-child(3) { inset: 38%; transform: rotate(65deg); border-color: var(--violet); }
.generative-art i { position: absolute; width: 8px; height: 8px; border-radius: 50%; background: var(--acid); left: 50%; top: 50%; box-shadow: 0 0 40px 18px var(--acid); }
.icon-prompt { font-size: 42px; color: var(--cyan); }
.icon-agent span { position: absolute; width: 16px; height: 16px; border: 1px solid var(--acid); border-radius: 50%; transform: translate(-45px, -30px); }
.icon-agent span:nth-child(2) { transform: translate(50px, -12px); border-color: var(--violet); }
.icon-agent span:nth-child(3) { transform: translate(-5px, 48px); border-color: var(--cyan); }
.icon-agent::before, .icon-agent::after { content: ""; position: absolute; width: 80px; height: 1px; background: #555; transform: rotate(24deg); }
.icon-agent::after { transform: rotate(-52deg); }
.icon-agi { color: white; font-size: 72px; background: radial-gradient(circle, rgba(217,255,67,.13), transparent 50%); }

.roadmap { background: #090909; }
.progress-summary { display: flex; align-items: center; gap: 18px; margin-right: 4vw; }
.progress-ring { --progress: 0deg; width: 76px; height: 76px; border-radius: 50%; display: grid; place-items: center; position: relative; background: conic-gradient(var(--acid) var(--progress), #242424 0); transition: background .5s; }
.progress-ring::before { content: ""; position: absolute; inset: 5px; background: #090909; border-radius: 50%; }
.progress-ring strong { z-index: 1; font: 13px var(--mono); }
.progress-summary > div:last-child { display: flex; flex-direction: column; gap: 5px; }
.progress-summary small { font: 8px var(--mono); color: #555; letter-spacing: 1px; }
.progress-summary b { font-size: 12px; font-weight: 500; }
.progress-summary em { font: 10px var(--mono); color: var(--acid); font-style: normal; }
.cockpit { border: 1px solid #303030; display: grid; grid-template-columns: .95fr 1.05fr; min-height: 650px; background: #0c0c0c; box-shadow: 0 45px 100px rgba(0,0,0,.35); }
.route-panel { border-right: 1px solid var(--line); padding: 25px 30px; }
.route-header { display: flex; justify-content: space-between; border-bottom: 1px solid var(--line); padding-bottom: 20px; font: 8px var(--mono); color: #666; letter-spacing: .8px; }
.route-header i { color: #71852e; font-style: normal; }
.route-line { padding: 20px 0 5px 9px; position: relative; }
.route-line::before { content: ""; position: absolute; width: 1px; top: 55px; bottom: 55px; left: 29px; background: linear-gradient(var(--acid), #333 38%, #222); }
.route-node { width: 100%; min-height: 86px; border: 0; background: transparent; display: grid; grid-template-columns: 42px 1fr auto; align-items: center; text-align: left; cursor: pointer; position: relative; padding: 8px 11px; transition: .25s; }
.route-node:hover, .route-node.active { background: #161616; }
.node-status { width: 39px; height: 39px; border-radius: 50%; border: 1px solid #444; background: #0c0c0c; display: grid; place-items: center; z-index: 1; font: 9px var(--mono); color: #666; transition: .3s; }
.route-node.active .node-status { background: var(--acid); color: #080808; border-color: var(--acid); box-shadow: 0 0 25px rgba(217,255,67,.2); }
.route-node.completed .node-status { background: #252d13; border-color: var(--acid); color: var(--acid); }
.route-node.completed .node-status::after { content: "✓"; font-size: 12px; }
.route-node.completed .node-status { font-size: 0; }
.node-copy { display: flex; flex-direction: column; padding-left: 14px; gap: 3px; }
.node-copy small { font: 7px var(--mono); color: #555; letter-spacing: .6px; }
.node-copy strong { font-size: 13px; font-weight: 500; color: #aaa; }
.node-copy em { font-size: 9px; color: #555; font-style: normal; }
.route-node.active .node-copy strong { color: white; }
.node-xp { font: 8px var(--mono); color: #4e4e4e; }
.route-node.completed .node-xp { color: var(--acid); }
.mission-panel { display: flex; flex-direction: column; padding: 40px; position: relative; overflow: hidden; }
.mission-panel::after { content: ""; position: absolute; width: 320px; height: 320px; border-radius: 50%; background: radial-gradient(circle, rgba(139,92,246,.12), transparent 70%); right: -110px; top: -110px; pointer-events: none; }
.mission-visual { height: 210px; display: grid; place-items: center; position: relative; }
.mission-visual > small { position: absolute; right: 0; top: 0; font: 7px var(--mono); color: #555; letter-spacing: 1px; }
.mission-radar { width: 160px; height: 160px; border-radius: 50%; border: 1px solid #363636; display: grid; place-items: center; position: relative; background: radial-gradient(circle, rgba(217,255,67,.08), transparent 65%); }
.mission-radar::before, .mission-radar::after { content: ""; position: absolute; inset: 16%; border: 1px dashed rgba(255,255,255,.12); border-radius: 50%; animation: spin 16s linear infinite; }
.mission-radar::after { inset: 34%; border-color: rgba(139,92,246,.55); animation-direction: reverse; animation-duration: 9s; }
.mission-radar i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--acid); top: 15%; left: 28%; box-shadow: 0 0 12px var(--acid); }
.mission-radar i:nth-child(2) { background: var(--violet); top: 65%; left: 79%; }
.mission-radar i:nth-child(3) { background: var(--cyan); top: 82%; left: 32%; }
.mission-radar span { font: 26px var(--mono); color: white; z-index: 1; }
.mission-copy { margin-top: auto; }
.mission-meta { display: flex; gap: 8px; }
.mission-meta span { padding: 5px 7px; border: 1px solid var(--line); color: #777; font: 7px var(--mono); }
.mission-copy h3 { font-size: 30px; letter-spacing: -.04em; margin: 20px 0 10px; }
.mission-copy > p { color: #777; font-size: 11px; line-height: 1.8; max-width: 520px; }
.mission-objectives { margin-top: 20px; padding: 16px; border-left: 1px solid var(--acid); background: #121212; }
.mission-objectives small { font: 8px var(--mono); color: var(--acid); }
.mission-objectives ul { list-style: none; margin: 10px 0 0; padding: 0; display: grid; gap: 7px; }
.mission-objectives li { font-size: 10px; color: #8a8a8a; }
.mission-objectives li::before { content: "↳"; color: #555; margin-right: 8px; }
.mission-actions { display: flex; gap: 8px; margin-top: 20px; }
.mission-actions button { padding: 12px 16px; border: 1px solid #333; background: transparent; font-size: 10px; cursor: pointer; }
.mission-actions .complete-button { background: var(--acid); border-color: var(--acid); color: #080808; }
.mission-actions .complete-button.completed { background: #202811; color: var(--acid); }
.complete-button span { font-size: 14px; margin-right: 4px; }
.learn-term:hover { border-color: var(--acid); color: var(--acid); }

.history-tunnel { background: radial-gradient(circle at 78% 42%, rgba(139,92,246,.09), transparent 34%), #08090b; overflow: hidden; }
.history-console { border: 1px solid #30333a; background: #0b0c0f; box-shadow: 0 45px 110px rgba(0,0,0,.38); }
.history-console-top { min-height: 56px; border-bottom: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 20px; color: #646871; font: 8px var(--mono); letter-spacing: .8px; }
.history-console-top > span i { display: inline-block; width: 6px; height: 6px; margin-right: 8px; border-radius: 50%; background: var(--acid); box-shadow: 0 0 14px var(--acid); animation: signalPulse 1.8s ease-in-out infinite; }
@keyframes signalPulse { 50% { opacity: .3; box-shadow: 0 0 3px var(--acid); } }
.history-console-top b { color: #9a9da5; font-weight: 400; }
.history-console-top > div { display: flex; align-items: center; gap: 12px; }
.history-console-top button { width: 34px; height: 30px; border: 1px solid #30333a; background: #111318; color: #777c86; cursor: pointer; transition: .2s; }
.history-console-top button:hover { border-color: var(--acid); color: var(--acid); }
.history-console-top strong { min-width: 56px; text-align: center; color: var(--acid); font-weight: 400; }
.history-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(145px, 1fr); overflow-x: auto; scrollbar-width: thin; scrollbar-color: var(--acid) transparent; border-bottom: 1px solid var(--line); scroll-snap-type: x mandatory; }
.history-track::-webkit-scrollbar { height: 4px; }
.history-track::-webkit-scrollbar-thumb { background: var(--acid); }
.history-node { min-height: 142px; padding: 20px 17px; border: 0; border-right: 1px solid var(--line); background: transparent; color: var(--text); text-align: left; cursor: pointer; position: relative; scroll-snap-align: center; transition: .25s; }
.history-node::before { content: ""; position: absolute; left: 17px; bottom: 19px; width: 7px; height: 7px; border: 1px solid #555a63; border-radius: 50%; background: #0b0c0f; z-index: 1; transition: .25s; }
.history-node::after { content: ""; position: absolute; left: 24px; right: -1px; bottom: 23px; height: 1px; background: #2a2d33; }
.history-node:last-child::after { display: none; }
.history-node:hover, .history-node.active { background: linear-gradient(180deg, rgba(217,255,67,.07), transparent); }
.history-node.active { box-shadow: inset 0 2px var(--acid); }
.history-node.active::before { background: var(--acid); border-color: var(--acid); box-shadow: 0 0 16px var(--acid); }
.history-node strong { display: block; font: 24px var(--mono); letter-spacing: -1px; }
.history-node small { display: block; color: #5f636c; font: 7px var(--mono); line-height: 1.5; margin-top: 9px; max-width: 115px; }
.history-node.active strong { color: var(--acid); }
.history-stage { min-height: 450px; display: grid; grid-template-columns: .82fr 1.18fr; }
.history-year-visual { min-height: 450px; border-right: 1px solid var(--line); display: grid; place-items: center; position: relative; overflow: hidden; background: radial-gradient(circle, rgba(139,92,246,.14), transparent 52%); }
.history-year-visual::before, .history-year-visual::after { content: ""; position: absolute; width: min(31vw, 360px); aspect-ratio: 1; border: 1px solid #2d3038; border-radius: 50%; animation: historyOrbit 18s linear infinite; }
.history-year-visual::after { width: min(22vw, 250px); border-style: dashed; border-color: rgba(217,255,67,.24); animation-direction: reverse; animation-duration: 12s; }
@keyframes historyOrbit { to { transform: rotate(360deg); } }
.history-year-visual span { position: relative; z-index: 1; font: clamp(54px, 7vw, 104px) var(--mono); letter-spacing: -.09em; color: transparent; -webkit-text-stroke: 1px #777b85; text-shadow: 0 0 45px rgba(139,92,246,.2); }
.history-year-visual i { position: absolute; width: 7px; height: 7px; border-radius: 50%; background: var(--acid); top: 25%; left: 32%; box-shadow: 0 0 20px var(--acid); }
.history-year-visual i:nth-child(3) { background: var(--violet); top: 70%; left: 75%; }
.history-year-visual i:nth-child(4) { background: var(--cyan); top: 42%; left: 82%; }
.history-story { padding: 52px clamp(28px, 5vw, 70px); display: flex; flex-direction: column; justify-content: center; }
.history-story > small { color: var(--acid); font: 8px var(--mono); letter-spacing: 1.2px; text-transform: uppercase; }
.history-story h3 { font-size: clamp(31px, 4vw, 54px); letter-spacing: -.055em; margin: 16px 0; }
.history-story > p { color: #888b92; font-size: 13px; line-height: 1.9; max-width: 660px; margin: 0; }
.history-impact { display: flex; gap: 14px; padding: 16px 18px; margin-top: 22px; border-left: 1px solid var(--violet); background: rgba(139,92,246,.055); }
.history-impact > span { color: var(--violet); font: 14px var(--mono); }
.history-impact small, .history-terms > small { color: #62666f; font: 7px var(--mono); letter-spacing: 1px; }
.history-impact p { color: #9a9da4; font-size: 11px; line-height: 1.8; margin: 7px 0 0; }
.history-terms { margin-top: 20px; }
.history-terms > div { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 10px; }
.history-terms button { border: 1px solid #343740; background: #111318; color: #90949d; padding: 8px 11px; font: 8px var(--mono); cursor: pointer; transition: .2s; }
.history-terms button:hover { border-color: var(--acid); color: var(--acid); transform: translateY(-2px); }

.glossary { display: grid; grid-template-columns: .85fr 1.5fr; gap: 10vw; background: linear-gradient(120deg, #080808, #0d0c10); }
.glossary-intro { position: sticky; top: 130px; align-self: start; }
.glossary h2 span { color: #4a4a4a; }
.glossary-intro > p { max-width: 390px; color: #777; font-size: 13px; line-height: 1.9; margin: 30px 0; }
.outline-button { background: transparent; color: white; border: 1px solid #444; padding: 15px 18px; min-width: 210px; display: flex; justify-content: space-between; cursor: pointer; font-size: 12px; }
.outline-button:hover { border-color: var(--acid); }
.term-stack { border-top: 1px solid var(--line); }
.term-card { width: 100%; min-height: 135px; padding: 24px 20px; display: grid; grid-template-columns: 70px 1fr 40px; align-items: center; border: 0; border-bottom: 1px solid var(--line); background: transparent; text-align: left; cursor: pointer; transition: .35s; }
.term-card:hover, .term-card.active { background: var(--acid); color: #080808; padding-left: 30px; }
.term-index { font: 9px var(--mono); color: #656565; }
.term-main { display: grid; grid-template-columns: 140px 1fr; align-items: center; gap: 5px 20px; }
.term-main small { font: 9px var(--mono); letter-spacing: 1px; color: #777; }
.term-main strong { font-size: 24px; }
.term-main em { grid-column: 2; font-size: 11px; font-style: normal; color: #777; }
.term-card:hover .term-main small, .term-card:hover .term-main em, .term-card.active .term-main small, .term-card.active .term-main em { color: rgba(0,0,0,.55); }
.term-action { justify-self: end; font: 20px var(--mono); }
.term-directory { grid-column: 1 / -1; border-top: 1px solid var(--line); margin-top: 60px; padding-top: 55px; }
.directory-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 32px; }
.directory-head small { font: 8px var(--mono); color: var(--acid); letter-spacing: 1.2px; }
.directory-head h3 { font-size: 32px; margin: 11px 0 0; letter-spacing: -.04em; }
.directory-head p { color: #666; font-size: 11px; max-width: 330px; line-height: 1.8; margin: 0; }
.directory-filters { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 19px; }
.directory-filter { border: 1px solid #333; background: #101010; color: #777; padding: 9px 12px; cursor: pointer; font-size: 10px; transition: .2s; }
.directory-filter:hover, .directory-filter.active { color: #090909; border-color: var(--acid); background: var(--acid); }
.directory-filter sup { font: 7px var(--mono); margin-left: 5px; opacity: .65; }
.directory-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.directory-item { min-height: 135px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #0c0c0c; padding: 18px; display: flex; flex-direction: column; align-items: flex-start; text-align: left; cursor: pointer; position: relative; transition: .25s; }
.directory-item:hover { background: #171717; box-shadow: inset 0 2px var(--acid); }
.directory-item > small { font: 7px var(--mono); color: #555; letter-spacing: .6px; }
.directory-item strong { font-size: 16px; font-weight: 500; margin: 18px 0 5px; }
.directory-item em { color: #656565; font: 8px var(--mono); font-style: normal; text-transform: uppercase; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; width: calc(100% - 20px); }
.directory-item span { position: absolute; right: 15px; bottom: 15px; color: #555; font: 14px var(--mono); transition: .2s; }
.directory-item:hover span { color: var(--acid); transform: translate(2px, -2px); }
.directory-empty { grid-column: 1 / -1; padding: 45px; text-align: center; color: #666; font-size: 11px; }

.system-anatomy { background: #090a0d; }
.anatomy-console { min-height: 700px; display: grid; grid-template-columns: 230px 1fr; border: 1px solid #30333a; background: #0c0d10; box-shadow: 0 45px 110px rgba(0,0,0,.38); }
.system-selector { border-right: 1px solid var(--line); padding: 18px 0; }
.system-selector::before { content: attr(data-label); display: block; padding: 6px 19px 18px; color: #535760; font: 7px var(--mono); letter-spacing: 1.2px; }
.system-selector button { width: 100%; min-height: 84px; padding: 14px 18px; border: 0; border-top: 1px solid transparent; border-bottom: 1px solid transparent; background: transparent; color: #666a73; text-align: left; cursor: pointer; transition: .25s; }
.system-selector button:hover, .system-selector button.active { color: var(--text); background: #14161a; border-color: var(--line); }
.system-selector button.active { box-shadow: inset 2px 0 var(--acid); }
.system-selector button small { display: block; color: #535760; font: 7px var(--mono); margin-bottom: 8px; }
.system-selector button strong { display: block; font-size: 12px; font-weight: 500; line-height: 1.45; }
.system-blueprint { padding: 35px 38px 38px; min-width: 0; }
.system-blueprint-head { display: grid; grid-template-columns: 1fr auto; gap: 30px; align-items: end; }
.system-blueprint-head small { color: var(--acid); font: 8px var(--mono); letter-spacing: 1.1px; }
.system-blueprint-head h3 { font-size: clamp(30px, 4vw, 48px); letter-spacing: -.055em; margin: 13px 0 9px; }
.system-blueprint-head p { color: #777b84; font-size: 11px; line-height: 1.8; max-width: 620px; margin: 0; }
.system-metrics { display: flex; border: 1px solid var(--line); }
.system-metrics span { min-width: 104px; max-width: 140px; padding: 13px; border-right: 1px solid var(--line); color: #777b84; font: 7px var(--mono); line-height: 1.5; }
.system-metrics span:last-child { border-right: 0; }
.system-flow-label { display: flex; align-items: center; gap: 10px; margin: 34px 0 12px; color: #555962; font: 7px var(--mono); letter-spacing: 1px; }
.system-flow-label i { height: 1px; background: var(--line); flex: 1; }
.system-flow-label b { color: var(--acid); font-weight: 400; }
.system-flow { display: flex; align-items: stretch; overflow-x: auto; padding-bottom: 5px; scrollbar-width: thin; scrollbar-color: var(--acid) transparent; }
.system-node { min-width: 132px; flex: 1; min-height: 155px; border: 1px solid var(--line); background: #121419; color: #858a94; padding: 15px; text-align: left; cursor: pointer; position: relative; transition: .25s; }
.system-node:hover, .system-node.active { background: #181b21; border-color: rgba(217,255,67,.42); color: var(--text); }
.system-node.active { box-shadow: inset 0 2px var(--acid), 0 12px 35px rgba(0,0,0,.15); }
.system-node > span { display: grid; place-items: center; width: 31px; height: 31px; border: 1px solid #383c45; color: #696e78; font: 8px var(--mono); }
.system-node strong { display: block; margin: 23px 0 7px; font-size: 11px; font-weight: 500; line-height: 1.45; }
.system-node small { color: #545862; font: 7px var(--mono); }
.system-node.active > span { background: var(--acid); border-color: var(--acid); color: #08090b; }
.system-link { min-width: 34px; display: grid; place-items: center; color: #4f535c; font: 11px var(--mono); position: relative; overflow: hidden; }
.system-link::after { content: ""; position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--acid); left: -5px; animation: dataPacket 2.5s linear infinite; box-shadow: 0 0 9px var(--acid); }
@keyframes dataPacket { to { left: calc(100% + 5px); } }
.node-inspector { margin-top: 25px; min-height: 220px; border: 1px solid var(--line); display: grid; grid-template-columns: 210px 1fr; background: linear-gradient(120deg, rgba(139,92,246,.065), transparent 45%); }
.node-orbit { border-right: 1px solid var(--line); display: grid; place-items: center; position: relative; overflow: hidden; }
.node-orbit::before, .node-orbit::after { content: ""; position: absolute; width: 128px; height: 128px; border: 1px solid #333740; border-radius: 50%; animation: historyOrbit 14s linear infinite; }
.node-orbit::after { width: 82px; height: 82px; border-style: dashed; border-color: rgba(217,255,67,.28); animation-direction: reverse; animation-duration: 8s; }
.node-orbit span { z-index: 1; display: grid; place-items: center; width: 58px; height: 58px; border-radius: 50%; background: var(--acid); color: #08090b; font: 11px var(--mono); box-shadow: 0 0 38px rgba(217,255,67,.18); }
.node-orbit i { position: absolute; width: 5px; height: 5px; border-radius: 50%; background: var(--violet); top: 25%; left: 29%; }
.node-orbit i:nth-child(3) { background: var(--cyan); top: 72%; left: 73%; }
.node-inspector-copy { padding: 32px 36px; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.node-inspector-copy > small { color: var(--acid); font: 7px var(--mono); letter-spacing: 1.1px; }
.node-inspector-copy h4 { font-size: 25px; margin: 12px 0 8px; }
.node-inspector-copy p { color: #8a8e97; font-size: 11px; line-height: 1.85; max-width: 680px; margin: 0; }
.node-inspector-copy button { margin-top: 18px; padding: 10px 13px; border: 1px solid #3a3e47; background: transparent; color: #979ba4; font-size: 9px; cursor: pointer; transition: .2s; }
.node-inspector-copy button:hover { border-color: var(--acid); color: var(--acid); }

.concept-lab { background: radial-gradient(circle at 18% 28%, rgba(78,232,213,.08), transparent 28%), #080a0c; }
.experiment-console { border: 1px solid #30343a; background: #0c0e11; box-shadow: 0 45px 110px rgba(0,0,0,.38); }
.experiment-tabs { min-height: 72px; display: grid; grid-template-columns: repeat(3, 1fr); border-bottom: 1px solid var(--line); }
.experiment-tab { border: 0; border-right: 1px solid var(--line); background: transparent; color: #6b7079; padding: 17px 22px; text-align: left; cursor: pointer; position: relative; transition: .25s; }
.experiment-tab:last-child { border-right: 0; }
.experiment-tab::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: 2px; background: var(--acid); transform: scaleX(0); transition: .25s; }
.experiment-tab:hover, .experiment-tab.active { color: var(--text); background: rgba(217,255,67,.035); }
.experiment-tab.active::after { transform: scaleX(1); }
.experiment-tab small { display: block; color: #50555e; font: 7px var(--mono); letter-spacing: 1px; margin-bottom: 7px; }
.experiment-tab strong { font-size: 12px; font-weight: 500; }
.experiment-stage { min-height: 565px; }
.experiment-panel { min-height: 565px; padding: 38px; animation: termChapterIn .35s ease both; }
.experiment-panel-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 28px; margin-bottom: 29px; }
.experiment-panel-head small { color: var(--acid); font: 8px var(--mono); letter-spacing: 1.1px; }
.experiment-panel-head h3 { font-size: 30px; margin: 10px 0 7px; letter-spacing: -.045em; }
.experiment-panel-head p { color: #797e87; font-size: 11px; line-height: 1.8; max-width: 620px; margin: 0; }
.experiment-term-links { display: flex; flex-wrap: wrap; justify-content: flex-end; gap: 6px; }
.experiment-term-links button { padding: 7px 9px; border: 1px solid #343840; background: transparent; color: #6f747d; font: 7px var(--mono); cursor: pointer; transition: .2s; }
.experiment-term-links button:hover { border-color: var(--acid); color: var(--acid); }
.sampling-workbench { display: grid; grid-template-columns: minmax(230px, .72fr) 1.28fr; border: 1px solid var(--line); min-height: 375px; }
.sampling-controls { padding: 26px; border-right: 1px solid var(--line); background: #101216; }
.sampling-prompt { padding: 14px 15px; border-left: 2px solid var(--violet); background: rgba(139,92,246,.06); color: #9b9fa8; font-size: 11px; line-height: 1.7; }
.sampling-control { margin-top: 27px; }
.sampling-control label { display: flex; justify-content: space-between; color: #777c85; font: 8px var(--mono); }
.sampling-control label b { color: var(--acid); font-weight: 400; }
.sampling-control input { width: 100%; margin-top: 13px; accent-color: var(--acid); }
.sampling-control > small { display: block; color: #51555e; font-size: 9px; line-height: 1.6; margin-top: 8px; }
.sample-button { width: 100%; margin-top: 27px; padding: 12px; border: 0; background: var(--acid); color: #080a0c; cursor: pointer; font-size: 10px; font-weight: 600; }
.sampling-visual { padding: 26px 28px; display: flex; flex-direction: column; }
.sampling-output { display: flex; align-items: center; gap: 9px; min-height: 42px; padding-bottom: 18px; border-bottom: 1px solid var(--line); color: #7d828b; font: 10px var(--mono); }
.sampling-output strong { padding: 6px 9px; background: rgba(217,255,67,.1); color: var(--acid); font-weight: 500; }
.probability-bars { display: grid; gap: 12px; margin-top: 23px; }
.probability-row { display: grid; grid-template-columns: 74px 1fr 42px; align-items: center; gap: 12px; }
.probability-row > span, .probability-row > b { color: #7b8089; font: 9px var(--mono); font-weight: 400; }
.probability-row > b { text-align: right; }
.probability-track { height: 9px; background: #1d2025; overflow: hidden; }
.probability-track i { display: block; width: var(--probability); height: 100%; background: linear-gradient(90deg, var(--violet), var(--acid)); transition: width .32s ease; }
.probability-row.excluded { opacity: .35; }
.sample-history { display: flex; flex-wrap: wrap; gap: 6px; margin-top: auto; padding-top: 18px; }
.sample-history small { color: #535760; font: 7px var(--mono); margin-right: 5px; align-self: center; }
.sample-history span { border: 1px solid #30343b; padding: 5px 7px; color: #6f747c; font: 8px var(--mono); }
.attention-workbench { border: 1px solid var(--line); padding: 30px; min-height: 370px; display: flex; flex-direction: column; }
.attention-guide { color: #656a73; font: 8px var(--mono); letter-spacing: .8px; }
.attention-sentence { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 20px; padding: 22px; background: #101216; border: 1px solid var(--line); }
.attention-token { min-width: 64px; padding: 12px 13px; border: 1px solid #343840; background: transparent; color: #8b9098; cursor: pointer; font-size: 11px; transition: .2s; }
.attention-token:hover, .attention-token.active { border-color: var(--acid); color: var(--text); background: rgba(217,255,67,.07); }
.attention-map { display: grid; grid-template-columns: repeat(7, 1fr); gap: 8px; margin-top: 24px; }
.attention-cell { min-height: 112px; padding: 13px 8px; border: 1px solid color-mix(in srgb, var(--acid) var(--heat), #30343a); background: color-mix(in srgb, var(--acid) var(--heat-soft), transparent); color: #8f949d; text-align: center; display: flex; flex-direction: column; justify-content: space-between; }
.attention-cell strong { font-size: 10px; font-weight: 500; }
.attention-cell span { font: 16px var(--mono); color: var(--text); }
.attention-cell small { font: 7px var(--mono); color: #696e77; }
.attention-explanation { margin-top: 20px; padding: 14px 16px; border-left: 2px solid var(--acid); color: #8b9099; font-size: 11px; line-height: 1.75; }
.rag-workbench { border: 1px solid var(--line); min-height: 390px; }
.rag-query { display: flex; gap: 9px; padding: 18px; border-bottom: 1px solid var(--line); background: #101216; }
.rag-query input { flex: 1; min-width: 0; border: 1px solid #343840; background: #0c0e11; color: var(--text); padding: 12px 14px; outline: 0; }
.rag-query input:focus { border-color: var(--acid); }
.rag-query button { border: 0; background: var(--acid); color: #080a0c; padding: 0 20px; cursor: pointer; font-size: 10px; }
.rag-query button:disabled { opacity: .5; cursor: wait; }
.rag-pipeline { display: grid; grid-template-columns: repeat(4, 1fr); border-bottom: 1px solid var(--line); }
.rag-step { min-height: 105px; padding: 17px; border-right: 1px solid var(--line); position: relative; transition: .3s; }
.rag-step:last-child { border-right: 0; }
.rag-step small { color: #50555e; font: 7px var(--mono); }
.rag-step strong { display: block; color: #747982; font-size: 11px; font-weight: 500; margin-top: 16px; }
.rag-step i { position: absolute; width: 6px; height: 6px; border-radius: 50%; right: 14px; top: 14px; background: #343840; }
.rag-step.running { background: rgba(139,92,246,.06); }
.rag-step.running i { background: var(--violet); box-shadow: 0 0 13px var(--violet); animation: signalPulse 1s infinite; }
.rag-step.done { background: rgba(217,255,67,.045); }
.rag-step.done i { background: var(--acid); box-shadow: 0 0 12px var(--acid); }
.rag-results { display: grid; grid-template-columns: 1fr 1fr; min-height: 200px; }
.rag-documents { padding: 18px; border-right: 1px solid var(--line); }
.rag-documents > small, .rag-answer > small { color: #555a63; font: 7px var(--mono); letter-spacing: .9px; }
.rag-doc { display: grid; grid-template-columns: 1fr auto; gap: 7px; margin-top: 10px; padding: 11px 12px; border: 1px solid #30343b; opacity: .38; transition: .3s; }
.rag-doc.visible { opacity: 1; border-color: rgba(217,255,67,.25); }
.rag-doc strong { color: #8d929b; font-size: 9px; font-weight: 500; }
.rag-doc span { color: var(--acid); font: 8px var(--mono); }
.rag-doc p { grid-column: 1 / -1; color: #5f646d; font-size: 9px; line-height: 1.55; margin: 0; }
.rag-answer { padding: 18px; }
.rag-answer p { color: #7d828b; font-size: 11px; line-height: 1.8; margin: 16px 0 0; }
.rag-answer p.ready { color: #afb3ba; }
.rag-answer cite { display: block; color: var(--acid); font: 8px var(--mono); font-style: normal; margin-top: 12px; }
.experiment-foot { min-height: 42px; padding: 0 18px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: #4f545c; font: 7px var(--mono); letter-spacing: .8px; }
.experiment-foot b { color: var(--acid); font-weight: 400; }

.lab-window { border: 1px solid #333; min-height: 560px; display: grid; grid-template-columns: 34% 66%; background: #0c0c0c; box-shadow: 0 35px 100px rgba(0,0,0,.4); }
.lab-sidebar { border-right: 1px solid var(--line); padding: 35px; }
.lab-label { font: 8px var(--mono); color: var(--acid); letter-spacing: 1px; }
.lab-sidebar h3 { font-size: 27px; margin: 26px 0 12px; }
.lab-sidebar > p { color: #6f6f6f; font-size: 12px; line-height: 1.8; }
.lab-steps { margin-top: 35px; }
.lab-step { display: grid; grid-template-columns: 40px 1fr auto; align-items: center; width: 100%; padding: 17px 0; border: 0; border-bottom: 1px solid var(--line); background: none; cursor: pointer; text-align: left; }
.lab-step span, .lab-step i { font: 8px var(--mono); color: #555; font-style: normal; }
.lab-step b { font-size: 12px; font-weight: 500; color: #777; }
.lab-step.active span { color: var(--acid); }
.lab-step.active b { color: white; }
.lab-editor { padding: 16px; background: #080808; }
.editor-top { height: 42px; background: #151515; border: 1px solid var(--line); display: flex; align-items: center; justify-content: space-between; padding: 0 14px; }
.editor-top > span { display: flex; gap: 6px; }
.editor-top i { width: 7px; height: 7px; border-radius: 50%; background: #3c3c3c; }
.editor-top i:nth-child(2) { background: #665148; }.editor-top i:nth-child(3) { background: #526343; }
.editor-top small, .editor-top b { font: 8px var(--mono); letter-spacing: 1px; color: #666; }
.editor-top b { color: var(--acid); }
.editor-body { border: 1px solid var(--line); border-top: 0; padding: 28px; min-height: 467px; }
.editor-body > label { display: block; color: #666; font-size: 10px; margin-bottom: 12px; }
.scenario-row { display: flex; gap: 8px; }
.scenario { border: 1px solid #333; background: #111; color: #6e6e6e; padding: 9px 14px; font-size: 10px; cursor: pointer; }
.scenario.active { color: #080808; background: var(--acid); border-color: var(--acid); }
.prompt-code { margin-top: 25px; border: 1px solid var(--line); background: #0c0c0c; padding: 22px 0; min-height: 190px; font: 11px/2.35 var(--mono); }
.prompt-code p { display: grid; grid-template-columns: 44px 90px 1fr; margin: 0; padding: 0 15px; }
.prompt-code p:hover { background: rgba(255,255,255,.025); }
.line-no { color: #414141; }
.syntax-key { color: var(--violet); }
.syntax-value { color: #ccc; }
.syntax-placeholder { color: #555; font-style: italic; }
.editor-actions { margin-top: 22px; display: flex; align-items: center; gap: 12px; }
.quality { margin-right: auto; display: grid; grid-template-columns: auto 90px auto; align-items: center; gap: 10px; font: 8px var(--mono); color: #666; }
.quality > div { height: 3px; background: #252525; }
.quality i { width: 75%; height: 100%; background: var(--acid); display: block; transition: width .4s; }
.quality b { color: var(--acid); }
.editor-actions button { padding: 11px 15px; border: 1px solid #333; background: #151515; color: #aaa; cursor: pointer; font-size: 10px; }
.editor-actions .run-button { background: var(--acid); color: #060606; border-color: var(--acid); }
.simulation { display: none; margin-top: 20px; border-top: 1px solid var(--line); padding-top: 16px; gap: 12px; align-items: flex-start; font-size: 11px; color: #999; }
.simulation.show { display: flex; }
.sim-avatar { width: 29px; height: 29px; flex: 0 0 29px; border-radius: 50%; display: grid; place-items: center; background: var(--violet); font: 8px var(--mono); }
.simulation p { margin: 3px 0; }
.simulation p i { display: inline-block; width: 5px; height: 5px; margin: 6px 3px; border-radius: 50%; background: #777; animation: pulse .7s infinite alternate; }
.simulation p i:nth-child(2) { animation-delay: .2s; }.simulation p i:nth-child(3) { animation-delay: .4s; }
.practice-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin-top: 14px; }
.challenge-card { border: 1px solid var(--line); padding: 27px; min-height: 250px; display: flex; flex-direction: column; transition: .3s; }
.challenge-card:hover { border-color: #555; background: #0d0d0d; }
.challenge-no { font: 8px var(--mono); color: var(--acid); }
.challenge-card h3 { margin: 40px 0 12px; }
.challenge-card p { color: #6e6e6e; font-size: 11px; line-height: 1.7; }
.challenge-card div { margin-top: auto; border-top: 1px solid var(--line); padding-top: 15px; display: flex; justify-content: space-between; color: #555; font: 9px var(--mono); }
.challenge-card button { background: none; border: 0; color: #bbb; cursor: pointer; font: 9px var(--mono); }
.quiz-lab { margin-top: 14px; min-height: 560px; border: 1px solid #303030; display: grid; grid-template-columns: .8fr 1.2fr; background: #0b0b0b; }
.quiz-intro { padding: 48px; border-right: 1px solid var(--line); display: flex; flex-direction: column; align-items: flex-start; justify-content: center; position: relative; overflow: hidden; }
.quiz-orb { width: 115px; height: 115px; display: grid; place-items: center; border: 1px solid #333; border-radius: 50%; margin-bottom: 38px; position: relative; }
.quiz-orb span { font: 36px var(--mono); color: var(--acid); }
.quiz-orb i { position: absolute; inset: -10%; border: 1px dashed rgba(139,92,246,.45); border-radius: 50%; animation: spin 12s linear infinite; }
.quiz-orb i:nth-child(3) { inset: 22%; border-color: rgba(217,255,67,.25); animation-direction: reverse; }
.quiz-intro > small { color: var(--acid); font: 8px var(--mono); letter-spacing: 1px; }
.quiz-intro h3 { font-size: 29px; margin: 18px 0 12px; letter-spacing: -.03em; }
.quiz-intro > p { max-width: 400px; color: #777; font-size: 11px; line-height: 1.8; }
.quiz-stats { display: flex; gap: 20px; margin: 22px 0; }
.quiz-stats span { display: flex; flex-direction: column; gap: 4px; color: #555; font: 7px var(--mono); }
.quiz-stats b { color: #bbb; font-size: 12px; }
.quiz-intro > button { background: var(--acid); color: #070707; border: 0; padding: 14px 19px; font-size: 11px; font-weight: 600; cursor: pointer; }
.quiz-intro > button span { margin-left: 25px; }
.quiz-stage { padding: 38px 45px; position: relative; display: flex; flex-direction: column; }
.quiz-top { display: flex; justify-content: space-between; color: #555; font: 8px var(--mono); }
.quiz-top b { color: var(--acid); }
.quiz-top button { border: 0; background: none; color: #555; cursor: pointer; font: 8px var(--mono); }
.quiz-progress { margin-top: 17px; height: 2px; background: #222; }
.quiz-progress i { display: block; height: 100%; width: 25%; background: linear-gradient(90deg, var(--acid), var(--cyan)); transition: width .45s; }
#quiz-content { margin: auto 0; }
.quiz-category { font: 8px var(--mono); color: var(--violet); }
#quiz-content h3 { font-size: 22px; line-height: 1.5; max-width: 600px; margin: 15px 0 25px; }
.quiz-options { display: grid; gap: 9px; }
.quiz-option { border: 1px solid #303030; background: #111; padding: 15px 18px; display: flex; align-items: center; gap: 14px; text-align: left; cursor: pointer; font-size: 11px; color: #999; transition: .2s; }
.quiz-option:hover { border-color: #666; color: white; transform: translateX(3px); }
.quiz-option span { width: 23px; height: 23px; border: 1px solid #3d3d3d; display: grid; place-items: center; font: 8px var(--mono); }
.quiz-option.correct { border-color: var(--acid); background: rgba(217,255,67,.06); color: var(--acid); }
.quiz-option.wrong { border-color: #744; color: #b77; }
.quiz-result { margin: auto; text-align: center; display: none; }
.quiz-result.show { display: block; }
.result-gauge { width: 135px; height: 135px; border-radius: 50%; border: 1px solid var(--acid); display: flex; justify-content: center; align-items: baseline; margin: 0 auto 20px; padding-top: 43px; box-shadow: inset 0 0 35px rgba(217,255,67,.06), 0 0 35px rgba(217,255,67,.08); }
.result-gauge strong { font: 38px var(--mono); }
.result-gauge span { font: 9px var(--mono); color: #666; }
.quiz-result > small { color: #666; font: 8px var(--mono); letter-spacing: 1px; }
.quiz-result h3 { font-size: 27px; margin: 11px 0; }
.quiz-result p { color: #777; font-size: 11px; line-height: 1.8; max-width: 440px; }
.quiz-result a { display: inline-flex; gap: 25px; background: var(--acid); color: #080808; padding: 13px 17px; font-size: 10px; font-weight: 600; margin-top: 15px; }

.closing { min-height: 740px; display: flex; align-items: center; flex-direction: column; justify-content: center; text-align: center; position: relative; overflow: hidden; }
.closing h2 { position: relative; z-index: 1; margin: 25px 0; }
.closing h2 span { color: #555; }
.closing > p { color: #777; font-size: 13px; margin-bottom: 35px; }
.closing-orb { position: absolute; width: 520px; height: 520px; border-radius: 50%; border: 1px solid rgba(139,92,246,.2); }
.closing-orb span { position: absolute; inset: 18%; border: 1px dashed rgba(217,255,67,.18); border-radius: 50%; animation: spin 22s linear infinite; }
.closing-orb i { position: absolute; inset: 37%; background: radial-gradient(circle, rgba(139,92,246,.55), transparent 67%); filter: blur(10px); border-radius: 50%; }

footer { padding: 65px 8vw 25px; }
.footer-brand { font: 22px var(--mono); }
footer > p { color: #666; font-size: 11px; margin: 16px 0 35px; }
.footer-links { display: flex; flex-wrap: wrap; gap: 18px 30px; font-size: 11px; padding-bottom: 50px; }
.footer-links a:hover { color: var(--acid); }
.footer-icp { border-top: 1px solid var(--line); padding-top: 18px; margin-bottom: 16px; font: 10px var(--mono); color: #666; }
.footer-icp a:hover { color: var(--acid); }
.footer-bottom { display: flex; justify-content: space-between; border-top: 1px solid var(--line); padding-top: 20px; color: #444; font: 8px var(--mono); letter-spacing: 1px; }
.footer-bottom i { display: inline-block; width: 5px; height: 5px; background: var(--acid); border-radius: 50%; margin-left: 7px; }

.modal-backdrop, .command-palette { position: fixed; inset: 0; background: rgba(0,0,0,.76); backdrop-filter: blur(12px); z-index: 50; opacity: 0; visibility: hidden; transition: .3s; }
.modal-backdrop.open, .command-palette.open { opacity: 1; visibility: visible; }
.modal-backdrop { display: grid; place-items: center; padding: 20px; }
.term-modal { width: min(940px, 100%); max-height: 90vh; background: #111; border: 1px solid #3a3a3a; position: relative; transform: translateY(20px); transition: .35s; box-shadow: 0 50px 100px rgba(0,0,0,.6); overflow: hidden; }
.open .term-modal { transform: translateY(0); }
.term-modal-scroll { max-height: 90vh; overflow-y: auto; scrollbar-width: thin; scrollbar-color: var(--acid) transparent; }
.term-modal-scroll::-webkit-scrollbar { width: 5px; }
.term-modal-scroll::-webkit-scrollbar-thumb { background: var(--acid); }
.term-modal-head { padding: 48px 54px 30px; border-bottom: 1px solid var(--line); position: relative; overflow: hidden; }
.term-modal-head::after { content: ""; position: absolute; width: 260px; height: 260px; right: -65px; top: -120px; border: 1px solid rgba(217,255,67,.14); border-radius: 50%; box-shadow: 0 0 0 36px rgba(217,255,67,.025), 0 0 0 72px rgba(217,255,67,.018); pointer-events: none; }
.modal-close { position: absolute; z-index: 3; right: 20px; top: 18px; border: 1px solid #333; background: rgba(17,17,17,.82); width: 38px; height: 38px; cursor: pointer; color: #888; font-size: 22px; transition: .2s; }
.modal-close:hover { border-color: var(--acid); color: var(--acid); transform: rotate(4deg); }
.modal-kicker, .modal-en { font: 9px var(--mono); color: var(--acid); letter-spacing: 1.4px; }
.term-modal h2 { font-size: clamp(44px, 6vw, 72px); line-height: .98; letter-spacing: -.06em; margin: 18px 0 7px; max-width: 760px; }
.modal-en { color: #555; }
.modal-meta { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 18px; }
.modal-meta span, .modal-meta button { border: 1px solid #333; padding: 5px 8px; color: #777; font: 8px var(--mono); }
.modal-meta button { background: transparent; cursor: pointer; transition: .2s; }
.modal-meta button:hover, .modal-meta button.active { border-color: var(--acid); color: var(--acid); }
.term-tabs { min-height: 62px; padding: 0 54px; border-bottom: 1px solid var(--line); display: flex; gap: 4px; align-items: stretch; position: sticky; top: 0; z-index: 2; background: rgba(17,17,17,.94); backdrop-filter: blur(15px); }
.term-tabs button { position: relative; border: 0; background: transparent; color: #666; padding: 0 18px; cursor: pointer; font: 10px var(--mono); letter-spacing: .3px; white-space: nowrap; transition: .2s; }
.term-tabs button::after { content: ""; position: absolute; left: 18px; right: 18px; bottom: -1px; height: 2px; background: var(--acid); transform: scaleX(0); transform-origin: left; transition: .25s; }
.term-tabs button:hover { color: #bbb; }
.term-tabs button.active { color: var(--text); }
.term-tabs button.active::after { transform: scaleX(1); }
.term-tab-panel { min-height: 475px; }
.term-chapter { padding: 34px 54px 42px; animation: termChapterIn .35s ease both; }
@keyframes termChapterIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.term-definition, .term-prose-block { max-width: 770px; }
.term-definition small, .term-info-card small, .term-prose-block small, .term-signal-box > small, .term-practice-tip small, .term-example small { color: var(--acid); font: 8px var(--mono); letter-spacing: 1.2px; text-transform: uppercase; }
.term-definition > p { color: #ddd; font-size: 18px; line-height: 1.85; margin: 15px 0 28px; }
.term-content-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.term-info-card { min-height: 155px; background: #171717; border: 1px solid var(--line); padding: 22px; position: relative; overflow: hidden; }
.term-info-card.accent::after { content: ""; position: absolute; width: 100px; height: 100px; border: 1px solid rgba(217,255,67,.16); border-radius: 50%; right: -36px; bottom: -50px; }
.term-info-card.warning { border-color: rgba(255,164,92,.24); }
.term-info-card.warning small { color: #ffad70; }
.term-info-card p, .term-prose-block p, .term-practice-tip p { color: #999; font-size: 12px; line-height: 1.9; margin: 12px 0 0; }
.term-concept-line { margin-top: 12px; padding: 15px 17px; border: 1px dashed var(--line); display: flex; align-items: center; gap: 12px; overflow-x: auto; color: #666; font: 8px var(--mono); white-space: nowrap; }
.term-concept-line i { width: 6px; height: 6px; background: var(--acid); border-radius: 50%; box-shadow: 0 0 15px var(--acid); flex: 0 0 auto; }
.term-concept-line b { color: var(--acid); font-weight: 400; }
.term-prose-block { padding: 22px 24px; border-left: 2px solid var(--acid); background: rgba(217,255,67,.035); }
.term-prose-block p { color: #bbb; font-size: 14px; margin-top: 13px; }
.term-section-title { display: flex; align-items: center; gap: 13px; margin: 30px 0 16px; }
.term-section-title.compact { margin-top: 0; }
.term-section-title > span { width: 36px; height: 36px; display: grid; place-items: center; border: 1px solid var(--line); color: var(--acid); font: 9px var(--mono); }
.term-section-title small { display: block; color: #555; font: 7px var(--mono); letter-spacing: 1px; }
.term-section-title h3 { font-size: 19px; margin: 4px 0 0; letter-spacing: -.03em; }
.term-process { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(3, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.term-process li { min-height: 115px; padding: 17px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #141414; }
.term-process li > span { color: var(--acid); font: 9px var(--mono); }
.term-process li p { color: #888; font-size: 11px; line-height: 1.75; margin: 14px 0 0; }
.term-process.practice li { background: linear-gradient(145deg, #161616, #111); }
.term-signal-box { margin-top: 12px; border: 1px solid var(--line); padding: 17px; }
.term-signal-box > div { display: flex; flex-wrap: wrap; gap: 7px; margin-top: 11px; }
.term-signal-box span { padding: 7px 10px; border: 1px solid #333; color: #777; font: 8px var(--mono); }
.term-example { border: 1px solid rgba(217,255,67,.24); padding: 23px 25px; background: linear-gradient(135deg, rgba(217,255,67,.06), transparent); }
.term-example > div { display: flex; align-items: center; gap: 9px; }
.term-example > div span { color: var(--acid); }
.term-example > p { color: #ccc; font-size: 15px; line-height: 1.85; margin: 14px 0 0; }
.term-practice-tip { margin-top: 12px; padding: 18px 20px; display: flex; gap: 15px; border: 1px solid var(--line); }
.term-practice-tip > span { width: 27px; height: 27px; display: grid; place-items: center; flex: 0 0 auto; border-radius: 50%; background: var(--acid); color: #090909; font: 11px var(--mono); }
.term-practice-tip p { margin-top: 7px; }
.related-term-grid { display: grid; grid-template-columns: repeat(4, 1fr); border-top: 1px solid var(--line); border-left: 1px solid var(--line); }
.related-term-grid button { min-height: 132px; border: 0; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); background: #141414; color: var(--text); padding: 16px; text-align: left; cursor: pointer; position: relative; transition: .2s; }
.related-term-grid button:hover { background: #1a1a1a; box-shadow: inset 0 2px var(--acid); }
.related-term-grid small, .related-term-grid span { display: block; color: #5d5d5d; font: 7px var(--mono); }
.related-term-grid strong { display: block; margin: 20px 0 8px; font-size: 13px; font-weight: 500; }
.related-term-grid b { position: absolute; right: 14px; bottom: 13px; color: var(--acid); font: 12px var(--mono); }
.connection-notes { margin-top: 12px; }
.term-dossier-foot { min-height: 45px; padding: 0 54px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid var(--line); color: #484848; font: 7px var(--mono); letter-spacing: 1px; }
.term-dossier-foot b { color: var(--acid); font-size: 8px; }

.compare-dock { position: fixed; z-index: 45; left: 50%; bottom: 20px; width: min(760px, calc(100% - 32px)); min-height: 72px; padding: 12px 13px 12px 18px; display: flex; align-items: center; gap: 18px; justify-content: space-between; background: rgba(15,16,19,.94); border: 1px solid #373a42; box-shadow: 0 22px 60px rgba(0,0,0,.45); backdrop-filter: blur(18px); opacity: 0; visibility: hidden; transform: translate(-50%, 25px); transition: .3s; }
.compare-dock.show { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.compare-dock-copy { min-width: 0; }
.compare-dock-copy > small { display: block; color: var(--acid); font: 7px var(--mono); letter-spacing: 1px; margin-bottom: 8px; }
.compare-dock-copy > div { display: flex; flex-wrap: wrap; gap: 6px; }
.compare-chip { border: 1px solid #34373e; background: #17191d; color: #969aa2; padding: 6px 8px; cursor: pointer; font-size: 9px; }
.compare-chip span { color: #555a63; margin-left: 5px; }
.compare-dock-actions { display: flex; gap: 7px; flex: 0 0 auto; }
.compare-dock-actions button { border: 1px solid #393d45; background: transparent; color: #858a93; padding: 10px 13px; cursor: pointer; font-size: 9px; }
.compare-dock-actions #compare-open { border: 0; background: var(--acid); color: #080a0c; }
.compare-backdrop { z-index: 60; }
.compare-modal { width: min(1160px, 100%); max-height: 90vh; overflow: auto; background: #101114; border: 1px solid #3a3d45; box-shadow: 0 50px 120px rgba(0,0,0,.62); position: relative; transform: translateY(18px); transition: .3s; }
.open .compare-modal { transform: translateY(0); }
.compare-close { position: absolute; z-index: 2; right: 20px; top: 18px; width: 38px; height: 38px; border: 1px solid #363940; background: #15171b; color: #858a92; font-size: 22px; cursor: pointer; }
.compare-modal > header { padding: 45px 52px 30px; border-bottom: 1px solid var(--line); }
.compare-modal > header small { color: var(--acid); font: 8px var(--mono); letter-spacing: 1.2px; }
.compare-modal > header h2 { font-size: 48px; letter-spacing: -.055em; margin: 13px 0 8px; }
.compare-modal > header p { color: #747982; font-size: 11px; margin: 0; }
.compare-table-wrap { overflow-x: auto; padding: 0 52px 45px; }
.compare-grid { min-width: var(--compare-width); display: grid; grid-template-columns: 170px repeat(var(--compare-count), minmax(245px, 1fr)); border-top: 1px solid var(--line); border-left: 1px solid var(--line); margin-top: 28px; }
.compare-grid > * { min-height: 92px; padding: 16px; border-right: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.compare-grid-label { background: #14161a; color: #5d626b; font: 8px var(--mono); letter-spacing: .8px; display: flex; align-items: center; }
.compare-grid-cell { color: #92969e; font-size: 10px; line-height: 1.75; }
.compare-grid-head { min-height: 155px; background: #15171b; text-align: left; color: var(--text); border-top: 2px solid var(--accent-color, var(--acid)); cursor: pointer; position: relative; }
.compare-grid-head small { color: #565b64; font: 7px var(--mono); }
.compare-grid-head strong { display: block; font-size: 19px; margin: 20px 0 8px; font-weight: 500; }
.compare-grid-head span { color: #676c75; font: 8px var(--mono); }
.compare-grid-head b { position: absolute; right: 15px; top: 14px; color: var(--accent-color, var(--acid)); font: 12px var(--mono); }

.command-palette { padding-top: 15vh; }
.command-box { width: min(680px, calc(100% - 32px)); margin: auto; background: #101010; border: 1px solid #3a3a3a; box-shadow: 0 50px 100px rgba(0,0,0,.7); }
.command-input { height: 70px; display: flex; align-items: center; gap: 16px; padding: 0 22px; border-bottom: 1px solid var(--line); }
.command-input input { flex: 1; color: white; background: transparent; border: 0; outline: 0; font-size: 14px; }
.command-results { padding: 10px; max-height: 370px; overflow: auto; }
.search-result { width: 100%; border: 0; background: transparent; display: grid; grid-template-columns: 1fr auto; padding: 15px 13px; text-align: left; cursor: pointer; }
.search-result:hover, .search-result.selected { background: #1c1c1c; }
.search-result strong { display: block; font-size: 13px; margin-bottom: 5px; }
.search-result small { color: #666; font: 9px var(--mono); }
.search-result > span { color: #555; font: 14px var(--mono); }
.command-footer { border-top: 1px solid var(--line); padding: 11px 20px; display: flex; gap: 22px; color: #555; font: 8px var(--mono); }
.command-footer span:last-child { margin-left: auto; }
.toast { position: fixed; z-index: 70; left: 50%; bottom: 30px; transform: translate(-50%, 30px); opacity: 0; background: #f4f2ec; color: #080808; padding: 13px 18px; font-size: 11px; transition: .3s; pointer-events: none; }
.toast.show { opacity: 1; transform: translate(-50%, 0); }
.toast span { color: #557100; margin-right: 7px; }

.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

body[data-theme="aurora"] .topbar { box-shadow: 0 18px 55px rgba(25,91,135,.08); }
body[data-theme="aurora"] .nav a,
body[data-theme="aurora"] .text-button,
body[data-theme="aurora"] .card-link,
body[data-theme="aurora"] .challenge-card button { color: #506276; }
body[data-theme="aurora"] .nav a:hover,
body[data-theme="aurora"] .nav a.active,
body[data-theme="aurora"] .filter.active,
body[data-theme="aurora"] .filter:hover,
body[data-theme="aurora"] .route-node.active .node-copy strong,
body[data-theme="aurora"] .lab-step.active b,
body[data-theme="aurora"] .quiz-option:hover,
body[data-theme="aurora"] .outline-button,
body[data-theme="aurora"] .command-input input { color: var(--text); }
body[data-theme="aurora"] .search-icon { border-color: #38566d; }
body[data-theme="aurora"] .search-icon::after { background: #38566d; }
body[data-theme="aurora"] kbd { background: rgba(255,255,255,.74); color: #637489; }
body[data-theme="aurora"] .mini-cta {
  color: #f8fdff; background: linear-gradient(135deg, #071827, #184d73);
  box-shadow: 0 14px 32px rgba(10,58,91,.16);
}
body[data-theme="aurora"] .theme-toggle {
  background: rgba(255,255,255,.72); box-shadow: 0 12px 28px rgba(31,97,137,.1);
}
body[data-theme="aurora"] .language-toggle {
  background: rgba(255,255,255,.72); box-shadow: 0 12px 28px rgba(31,97,137,.08);
}
body[data-theme="aurora"] .theme-toggle:hover { box-shadow: 0 14px 34px rgba(0,179,255,.18); }
body[data-theme="aurora"] .hero::before {
  background:
    linear-gradient(90deg, rgba(20,86,132,.065) 1px, transparent 1px),
    linear-gradient(rgba(20,86,132,.065) 1px, transparent 1px);
}
body[data-theme="aurora"] .gradient-text {
  background: linear-gradient(90deg, #071827 0%, #0d78c8 36%, #6258ff 72%, #00b89c 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
body[data-theme="aurora"] .hero-desc,
body[data-theme="aurora"] .section-heading p,
body[data-theme="aurora"] .knowledge-card p,
body[data-theme="aurora"] .mission-copy > p,
body[data-theme="aurora"] .lab-sidebar > p,
body[data-theme="aurora"] .challenge-card p,
body[data-theme="aurora"] .quiz-intro > p,
body[data-theme="aurora"] .quiz-result p,
body[data-theme="aurora"] .closing > p,
body[data-theme="aurora"] footer > p,
body[data-theme="aurora"] .directory-head p,
body[data-theme="aurora"] .term-info-card p,
body[data-theme="aurora"] .term-practice-tip p { color: var(--muted); }
body[data-theme="aurora"] .manifesto-copy .muted-lead { color: rgba(7,24,39,.32); }
body[data-theme="aurora"] .orbit { border-color: rgba(10,65,100,.16); }
body[data-theme="aurora"] .orbit-one { border-color: rgba(0,215,255,.36); }
body[data-theme="aurora"] .orbit-three { border-color: rgba(0,184,156,.36); }
body[data-theme="aurora"] .core {
  background: radial-gradient(circle at 34% 26%, #faffff, #00d7ff 34%, #6258ff 66%, transparent 72%);
  filter: drop-shadow(0 0 40px rgba(0,135,255,.28));
}
body[data-theme="aurora"] .core span { color: #071827; font-weight: 700; }
body[data-theme="aurora"] .signal-card,
body[data-theme="aurora"] .knowledge-card,
body[data-theme="aurora"] .cockpit,
body[data-theme="aurora"] .lab-window,
body[data-theme="aurora"] .quiz-lab,
body[data-theme="aurora"] .challenge-card,
body[data-theme="aurora"] .term-modal,
body[data-theme="aurora"] .command-box {
  background: var(--panel); border-color: var(--line);
  box-shadow: 0 30px 80px rgba(26,84,122,.12);
  backdrop-filter: blur(18px);
}
body[data-theme="aurora"] .knowledge-card:hover,
body[data-theme="aurora"] .challenge-card:hover { border-color: rgba(0,167,255,.45); background: rgba(255,255,255,.86); }
body[data-theme="aurora"] .card-visual,
body[data-theme="aurora"] .lab-editor {
  background: linear-gradient(135deg, rgba(235,247,255,.86), rgba(248,252,255,.58));
}
body[data-theme="aurora"] .generative-art {
  background:
    radial-gradient(circle at 50% 45%, rgba(0,215,255,.44), rgba(98,88,255,.22) 38%, transparent 70%),
    linear-gradient(135deg, rgba(255,255,255,.5), rgba(231,246,255,.75));
}
body[data-theme="aurora"] .roadmap,
body[data-theme="aurora"] .glossary,
body[data-theme="aurora"] .history-tunnel,
body[data-theme="aurora"] .system-anatomy { background: linear-gradient(135deg, rgba(243,250,255,.62), rgba(248,244,255,.72)); }
body[data-theme="aurora"] .progress-ring { background: conic-gradient(var(--acid) var(--progress), rgba(18,61,95,.13) 0); }
body[data-theme="aurora"] .progress-ring::before { background: #f7fcff; }
body[data-theme="aurora"] .route-line::before { background: linear-gradient(var(--acid), rgba(18,61,95,.18) 45%, rgba(18,61,95,.08)); }
body[data-theme="aurora"] .route-node:hover,
body[data-theme="aurora"] .route-node.active,
body[data-theme="aurora"] .directory-item:hover,
body[data-theme="aurora"] .search-result:hover,
body[data-theme="aurora"] .search-result.selected { background: rgba(0,215,255,.08); }
body[data-theme="aurora"] .node-status {
  background: rgba(255,255,255,.72); border-color: rgba(18,61,95,.18); color: #60758a;
}
body[data-theme="aurora"] .route-node.completed .node-status { background: rgba(0,215,255,.12); }
body[data-theme="aurora"] .mission-radar {
  border-color: rgba(18,61,95,.16); background: radial-gradient(circle, rgba(0,215,255,.16), transparent 65%);
}
body[data-theme="aurora"] .mission-radar span,
body[data-theme="aurora"] .icon-transformer,
body[data-theme="aurora"] .icon-agi { color: var(--text); }
body[data-theme="aurora"] .mission-objectives,
body[data-theme="aurora"] .editor-top,
body[data-theme="aurora"] .prompt-code,
body[data-theme="aurora"] .directory-filter,
body[data-theme="aurora"] .directory-item,
body[data-theme="aurora"] .scenario,
body[data-theme="aurora"] .editor-actions button,
body[data-theme="aurora"] .quiz-option {
  background: rgba(255,255,255,.58); border-color: var(--line); color: #52677c;
}
body[data-theme="aurora"] .mission-actions button,
body[data-theme="aurora"] .outline-button { border-color: var(--line); color: #40586f; }
body[data-theme="aurora"] .mission-actions .complete-button,
body[data-theme="aurora"] .editor-actions .run-button,
body[data-theme="aurora"] .quiz-intro > button,
body[data-theme="aurora"] .quiz-result a,
body[data-theme="aurora"] .primary-button,
body[data-theme="aurora"] .directory-filter:hover,
body[data-theme="aurora"] .directory-filter.active,
body[data-theme="aurora"] .scenario.active {
  background: linear-gradient(135deg, #00d7ff, #7cffdf);
  color: #061827; border-color: transparent;
}
body[data-theme="aurora"] .primary-button { box-shadow: 0 24px 50px rgba(0,165,220,.22); }
body[data-theme="aurora"] .primary-button:hover .button-arrow { background: #061827; color: #8ffff0; }
body[data-theme="aurora"] .quality > div,
body[data-theme="aurora"] .quiz-progress { background: rgba(18,61,95,.12); }
body[data-theme="aurora"] .syntax-value { color: #23384d; }
body[data-theme="aurora"] .syntax-placeholder,
body[data-theme="aurora"] .line-no,
body[data-theme="aurora"] .section-index,
body[data-theme="aurora"] .eyebrow,
body[data-theme="aurora"] .card-tags span,
body[data-theme="aurora"] .term-index,
body[data-theme="aurora"] .term-main small,
body[data-theme="aurora"] .term-main em,
body[data-theme="aurora"] .directory-item > small,
body[data-theme="aurora"] .directory-item em,
body[data-theme="aurora"] .modal-meta span,
body[data-theme="aurora"] .search-result small,
body[data-theme="aurora"] .command-footer { color: #6a7d91; }
body[data-theme="aurora"] .term-card:hover,
body[data-theme="aurora"] .term-card.active {
  background: linear-gradient(135deg, #00d7ff, #7cffdf); color: #061827;
}
body[data-theme="aurora"] .modal-backdrop,
body[data-theme="aurora"] .command-palette { background: rgba(235,247,255,.72); }
body[data-theme="aurora"] .modal-close { background: rgba(255,255,255,.64); border-color: var(--line); color: #486078; }
body[data-theme="aurora"] .term-modal-head::after { border-color: rgba(0,168,228,.14); box-shadow: 0 0 0 36px rgba(0,215,255,.035), 0 0 0 72px rgba(98,88,255,.025); }
body[data-theme="aurora"] .term-tabs { background: rgba(247,252,255,.92); }
body[data-theme="aurora"] .term-tabs button { color: #718399; }
body[data-theme="aurora"] .term-tabs button:hover,
body[data-theme="aurora"] .term-tabs button.active { color: #132c43; }
body[data-theme="aurora"] .term-definition > p,
body[data-theme="aurora"] .term-example > p { color: #23384d; }
body[data-theme="aurora"] .term-info-card,
body[data-theme="aurora"] .term-process li,
body[data-theme="aurora"] .related-term-grid button { background: rgba(255,255,255,.58); border-color: var(--line); }
body[data-theme="aurora"] .term-process.practice li { background: linear-gradient(145deg, rgba(255,255,255,.7), rgba(238,248,255,.7)); }
body[data-theme="aurora"] .term-prose-block { background: rgba(0,215,255,.065); }
body[data-theme="aurora"] .term-info-card p,
body[data-theme="aurora"] .term-prose-block p,
body[data-theme="aurora"] .term-process li p,
body[data-theme="aurora"] .term-practice-tip p { color: #566d83; }
body[data-theme="aurora"] .term-signal-box span { background: rgba(255,255,255,.6); border-color: var(--line); color: #5d7388; }
body[data-theme="aurora"] .term-example { background: linear-gradient(135deg, rgba(0,215,255,.09), rgba(124,255,223,.05)); border-color: rgba(0,168,228,.22); }
body[data-theme="aurora"] .related-term-grid button:hover { background: rgba(0,215,255,.09); }
body[data-theme="aurora"] .related-term-grid small,
body[data-theme="aurora"] .related-term-grid span,
body[data-theme="aurora"] .term-concept-line { color: #718399; }
body[data-theme="aurora"] .history-console,
body[data-theme="aurora"] .anatomy-console { background: rgba(255,255,255,.68); border-color: var(--line); box-shadow: 0 35px 90px rgba(26,84,122,.12); }
body[data-theme="aurora"] .history-console-top button,
body[data-theme="aurora"] .history-terms button,
body[data-theme="aurora"] .system-node { background: rgba(239,248,255,.78); border-color: var(--line); color: #536a80; }
body[data-theme="aurora"] .history-node::before { background: #f3faff; border-color: #8ba1b5; }
body[data-theme="aurora"] .history-node::after { background: rgba(18,61,95,.16); }
body[data-theme="aurora"] .history-node:hover,
body[data-theme="aurora"] .history-node.active { background: linear-gradient(180deg, rgba(0,215,255,.11), transparent); }
body[data-theme="aurora"] .history-year-visual { background: radial-gradient(circle, rgba(98,88,255,.12), transparent 55%); }
body[data-theme="aurora"] .history-year-visual span { -webkit-text-stroke-color: #547088; }
body[data-theme="aurora"] .history-story > p,
body[data-theme="aurora"] .history-impact p,
body[data-theme="aurora"] .system-blueprint-head p,
body[data-theme="aurora"] .node-inspector-copy p { color: #5d7287; }
body[data-theme="aurora"] .history-impact { background: rgba(98,88,255,.055); }
body[data-theme="aurora"] .system-selector button:hover,
body[data-theme="aurora"] .system-selector button.active,
body[data-theme="aurora"] .system-node:hover,
body[data-theme="aurora"] .system-node.active { background: rgba(0,215,255,.09); color: #102a40; }
body[data-theme="aurora"] .node-inspector { background: linear-gradient(120deg, rgba(98,88,255,.06), rgba(255,255,255,.35)); }
body[data-theme="aurora"] .node-orbit span { color: #061827; }
body[data-theme="aurora"] .concept-lab { background: linear-gradient(135deg, rgba(241,250,255,.74), rgba(245,255,252,.68)); }
body[data-theme="aurora"] .experiment-console,
body[data-theme="aurora"] .compare-modal { background: rgba(255,255,255,.72); border-color: var(--line); box-shadow: 0 35px 90px rgba(26,84,122,.12); }
body[data-theme="aurora"] .experiment-tab:hover,
body[data-theme="aurora"] .experiment-tab.active { background: rgba(0,215,255,.07); }
body[data-theme="aurora"] .sampling-controls,
body[data-theme="aurora"] .attention-sentence,
body[data-theme="aurora"] .rag-query,
body[data-theme="aurora"] .compare-grid-label,
body[data-theme="aurora"] .compare-grid-head { background: rgba(238,248,255,.68); }
body[data-theme="aurora"] .sampling-prompt,
body[data-theme="aurora"] .history-impact { background: rgba(98,88,255,.055); }
body[data-theme="aurora"] .probability-track { background: rgba(18,61,95,.12); }
body[data-theme="aurora"] .attention-token,
body[data-theme="aurora"] .rag-query input,
body[data-theme="aurora"] .rag-doc { background: rgba(255,255,255,.58); border-color: var(--line); color: #536a80; }
body[data-theme="aurora"] .attention-cell { color: #536a80; }
body[data-theme="aurora"] .experiment-panel-head p,
body[data-theme="aurora"] .attention-explanation,
body[data-theme="aurora"] .rag-answer p,
body[data-theme="aurora"] .rag-doc p,
body[data-theme="aurora"] .compare-grid-cell { color: #5d7287; }
body[data-theme="aurora"] .compare-dock { background: rgba(247,252,255,.94); border-color: var(--line); box-shadow: 0 22px 60px rgba(26,84,122,.18); }
body[data-theme="aurora"] .compare-chip { background: rgba(235,247,255,.9); border-color: var(--line); color: #4f657a; }
body[data-theme="aurora"] .compare-close { background: rgba(255,255,255,.74); border-color: var(--line); color: #4f657a; }
body[data-theme="aurora"] .toast {
  background: #071827; color: #f8fdff; box-shadow: 0 18px 40px rgba(5,32,54,.18);
}

@media (max-width: 950px) {
  .nav { display: none; }
  .menu-button { display: block; }
  .menu-button span { display: block; width: 20px; height: 1px; background: white; margin: 6px auto; }
  .hero { padding-left: 6vw; }
  .hero-orbit { opacity: .55; right: -30vw; width: 90vw; }
  .hero-data { position: static; margin: 60px 0 0 5px; }
  .scroll-indicator { display: none; }
  .manifesto { grid-template-columns: 1fr; min-height: auto; }
  .signal-card { width: 280px; }
  .section-shell { padding: 90px 6vw; }
  .knowledge-grid { grid-template-columns: repeat(2, 1fr); }
  .knowledge-card.featured { grid-column: span 2; }
  .wide { grid-column: span 2; }
  .glossary { grid-template-columns: 1fr; }
  .glossary-intro { position: static; }
  .directory-grid { grid-template-columns: repeat(3, 1fr); }
  .history-stage { grid-template-columns: .72fr 1.28fr; }
  .anatomy-console { grid-template-columns: 1fr; }
  .system-selector { display: flex; overflow-x: auto; border-right: 0; border-bottom: 1px solid var(--line); padding: 0; }
  .system-selector::before { min-width: 125px; display: grid; place-items: center; padding: 15px; }
  .system-selector button { min-width: 190px; }
  .system-blueprint-head { grid-template-columns: 1fr; }
  .system-metrics { justify-self: start; }
  .sampling-workbench { grid-template-columns: 1fr; }
  .sampling-controls { border-right: 0; border-bottom: 1px solid var(--line); }
  .attention-map { grid-template-columns: repeat(4, 1fr); }
  .cockpit { grid-template-columns: 1fr; }
  .route-panel { border-right: 0; border-bottom: 1px solid var(--line); }
  .lab-window { grid-template-columns: 1fr; }
  .lab-sidebar { border-right: 0; border-bottom: 1px solid var(--line); }
}

@media (max-width: 620px) {
  .topbar { height: 68px; padding: 0 18px; }
  .icon-button kbd, .mini-cta { display: none; }
  .theme-toggle { min-width: 42px; width: 42px; padding: 0; }
  .theme-text { display: none; }
  .language-toggle { padding: 0 9px; gap: 5px; }
  .hero { min-height: 820px; padding: 120px 20px 50px; justify-content: flex-start; }
  .hero h1 { font-size: 58px; margin-top: 35px; }
  .hero-desc br { display: none; }
  .hero-actions { align-items: flex-start; flex-direction: column; gap: 18px; }
  .hero-data { gap: 18px; width: 100%; justify-content: space-between; }
  .hero-data strong { font-size: 20px; }
  .hero-data span { max-width: 60px; }
  .hero-orbit { width: 120vw; right: -55vw; top: 48%; opacity: .35; }
  .section-shell { padding: 78px 20px; }
  .manifesto-copy { font-size: 28px; }
  .section-heading { display: block; }
  .section-heading p { margin-top: 25px; }
  .knowledge-grid { grid-template-columns: 1fr; }
  .knowledge-card, .knowledge-card.featured, .wide { grid-column: span 1; }
  .progress-summary { margin-top: 25px; }
  .cockpit { min-height: auto; }
  .route-panel { padding: 20px 10px; }
  .route-node { grid-template-columns: 42px 1fr; }
  .node-xp { display: none; }
  .mission-panel { padding: 25px 20px; }
  .mission-visual { height: 190px; }
  .mission-actions { flex-direction: column; }
  .quiz-lab { grid-template-columns: 1fr; }
  .quiz-intro { padding: 35px 25px; border-right: 0; border-bottom: 1px solid var(--line); }
  .quiz-stage { min-height: 580px; padding: 30px 20px; }
  .knowledge-card.featured { flex-direction: column; }
  .card-visual { width: 100%; height: 230px; border-right: 0; border-bottom: 1px solid var(--line); }
  .card-body { width: 100%; min-height: 330px; }
  .wide { flex-direction: column; }
  .wide-content { width: 100%; min-height: 340px; }
  .generative-art { width: 100%; height: 220px; }
  .term-card { grid-template-columns: 40px 1fr 20px; padding-left: 5px; }
  .term-main { grid-template-columns: 1fr; }
  .term-main em { grid-column: 1; }
  .directory-head { display: block; }
  .directory-head p { margin-top: 15px; }
  .directory-grid { grid-template-columns: repeat(2, 1fr); }
  .directory-item { min-height: 125px; padding: 14px; }
  .history-console-top > span b { display: none; }
  .history-track { grid-auto-columns: 125px; }
  .history-node { min-height: 125px; padding: 16px 13px; }
  .history-node::before { left: 13px; bottom: 16px; }
  .history-node::after { left: 20px; bottom: 20px; }
  .history-stage { grid-template-columns: 1fr; }
  .history-year-visual { min-height: 230px; border-right: 0; border-bottom: 1px solid var(--line); }
  .history-year-visual::before { width: 210px; }
  .history-year-visual::after { width: 145px; }
  .history-story { padding: 34px 22px 40px; }
  .history-story h3 { font-size: 35px; }
  .system-blueprint { padding: 27px 19px 22px; }
  .system-metrics { width: 100%; overflow-x: auto; }
  .system-metrics span { min-width: 120px; }
  .system-flow { margin-right: -19px; }
  .system-node { min-width: 132px; }
  .node-inspector { grid-template-columns: 1fr; }
  .node-orbit { height: 175px; border-right: 0; border-bottom: 1px solid var(--line); }
  .node-inspector-copy { padding: 27px 22px; }
  .experiment-tabs { grid-template-columns: 1fr; }
  .experiment-tab { border-right: 0; border-bottom: 1px solid var(--line); }
  .experiment-panel { padding: 27px 19px; }
  .experiment-panel-head { display: block; }
  .experiment-term-links { justify-content: flex-start; margin-top: 16px; }
  .attention-workbench { padding: 20px 14px; }
  .attention-map { grid-template-columns: repeat(2, 1fr); }
  .attention-cell { min-height: 95px; }
  .rag-query { flex-direction: column; }
  .rag-query button { min-height: 42px; }
  .rag-pipeline { grid-template-columns: repeat(2, 1fr); }
  .rag-step:nth-child(2) { border-right: 0; }
  .rag-step:nth-child(-n+2) { border-bottom: 1px solid var(--line); }
  .rag-results { grid-template-columns: 1fr; }
  .rag-documents { border-right: 0; border-bottom: 1px solid var(--line); }
  .compare-dock { align-items: flex-end; }
  .compare-dock-actions { flex-direction: column-reverse; }
  .compare-dock-actions button { padding: 8px 10px; }
  .compare-modal > header { padding: 42px 20px 25px; }
  .compare-modal > header h2 { font-size: 35px; }
  .compare-table-wrap { padding: 0 20px 30px; }
  .lab-sidebar { padding: 25px 20px; }
  .lab-editor { padding: 8px; }
  .editor-body { padding: 17px 12px; }
  .scenario-row { overflow-x: auto; }
  .scenario { white-space: nowrap; }
  .prompt-code { overflow-x: auto; }
  .prompt-code p { min-width: 510px; }
  .editor-actions { flex-wrap: wrap; }
  .quality { width: 100%; margin-bottom: 5px; }
  .practice-cards { grid-template-columns: 1fr; }
  .modal-backdrop { padding: 8px; }
  .term-modal { padding: 0; max-height: 94vh; }
  .term-modal-scroll { max-height: 94vh; }
  .term-modal-head { padding: 38px 20px 24px; }
  .term-modal h2 { font-size: 43px; }
  .modal-close { right: 13px; top: 12px; }
  .term-tabs { min-height: 55px; padding: 0 8px; overflow-x: auto; }
  .term-tabs button { padding: 0 12px; }
  .term-tabs button::after { left: 12px; right: 12px; }
  .term-chapter { padding: 25px 20px 30px; }
  .term-tab-panel { min-height: 530px; }
  .term-definition > p { font-size: 16px; }
  .term-content-grid { grid-template-columns: 1fr; }
  .term-process { grid-template-columns: 1fr; }
  .term-process li { min-height: auto; }
  .related-term-grid { grid-template-columns: repeat(2, 1fr); }
  .term-dossier-foot { padding: 0 20px; }
  .closing { min-height: 650px; }
  .footer-bottom { gap: 15px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { scroll-behavior: auto !important; animation-duration: .01ms !important; animation-iteration-count: 1 !important; }
  .reveal { opacity: 1; transform: none; }
}
