:root {
  --bg: #0a0a0f;
  --surface: #12121a;
  --surface-2: #1a1a26;
  --border: #2a2a36;
  --blue: #00d4ff;
  --purple: #8b5cf6;
  --text: #e4e4e7;
  --text-2: #9ca3af;
  --text-3: #6b7280;
  --grad: linear-gradient(90deg, #00d4ff 0%, #8b5cf6 100%);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
code, pre, .mono { font-family: 'JetBrains Mono', monospace; font-size: 0.92em; }

/* Layout */
.container { max-width: 760px; margin: 0 auto; padding: 0 24px; }
.wide { max-width: 1080px; }
section { padding: 80px 0; border-bottom: 1px solid var(--border); }
section:last-of-type { border-bottom: none; }

/* Episode nav */
.episode-nav {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 10;
  backdrop-filter: blur(10px);
  background: rgba(18, 18, 26, 0.85);
}
.episode-nav .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  letter-spacing: 0.05em;
}
.episode-nav .series-name { color: var(--text-3); text-transform: uppercase; }
.episode-nav .series-name strong { color: var(--text); font-weight: 500; }
.episode-nav .nav-links { display: flex; gap: 16px; }
.episode-nav a {
  color: var(--text-2);
  text-decoration: none;
  padding: 4px 10px;
  border-radius: 6px;
  border: 1px solid transparent;
}
.episode-nav a:hover { color: var(--blue); border-color: var(--border); }
.episode-nav a.current { color: var(--blue); border-color: var(--blue); }
.episode-nav a.disabled { color: var(--text-3); pointer-events: none; }

/* Hero */
.hero {
  background: radial-gradient(ellipse at top, rgba(0,212,255,0.08) 0%, transparent 60%),
              radial-gradient(ellipse at bottom right, rgba(139,92,246,0.06) 0%, transparent 50%);
  padding: 100px 0 80px;
  text-align: center;
  border-bottom: 1px solid var(--border);
}
.hero .badge {
  display: inline-block;
  padding: 6px 14px;
  border: 1px solid var(--border);
  border-radius: 100px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-2);
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin-bottom: 28px;
}
.hero h1 {
  font-size: clamp(40px, 6vw, 64px);
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.05;
  margin-bottom: 24px;
}
.hero h1 .grad {
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero p.lede {
  font-size: 20px;
  color: var(--text-2);
  max-width: 580px;
  margin: 0 auto 40px;
}
.hero .meta {
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--text-3);
}
.hero .meta span { margin: 0 12px; }
.hero .meta strong { color: var(--blue); font-weight: 500; }

/* Section headers */
h2 {
  font-size: 36px;
  font-weight: 600;
  letter-spacing: -0.015em;
  margin-bottom: 16px;
}
h2 .num {
  font-family: 'JetBrains Mono', monospace;
  font-size: 14px;
  color: var(--blue);
  display: block;
  font-weight: 500;
  margin-bottom: 8px;
  letter-spacing: 0.1em;
}
h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 36px 0 12px;
  letter-spacing: -0.01em;
}
h4 {
  font-size: 17px;
  font-weight: 600;
  margin: 24px 0 8px;
  color: var(--text);
}
p { margin-bottom: 16px; color: var(--text); }
p.muted { color: var(--text-2); }
p.tagline { color: var(--text-2); font-size: 18px; margin-bottom: 40px; }

/* Steps */
.step {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  margin-bottom: 24px;
  position: relative;
}
.step .step-num {
  position: absolute;
  top: -14px;
  left: 32px;
  background: var(--bg);
  padding: 0 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--blue);
  letter-spacing: 0.1em;
}
.step h3 { margin-top: 0; }

/* Lists */
ul, ol { margin: 12px 0 16px 24px; }
li { margin-bottom: 8px; color: var(--text); }
ul.checklist { list-style: none; margin-left: 0; }
ul.checklist li {
  padding-left: 32px;
  position: relative;
  margin-bottom: 12px;
}
ul.checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 7px;
  width: 18px;
  height: 18px;
  border: 1.5px solid var(--blue);
  border-radius: 4px;
}

/* Code blocks */
pre {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 16px 20px;
  overflow-x: auto;
  margin: 16px 0;
  color: var(--blue);
  white-space: pre-wrap;
}
code:not(pre code) {
  background: var(--surface-2);
  border: 1px solid var(--border);
  padding: 2px 8px;
  border-radius: 4px;
  color: var(--blue);
  font-size: 0.88em;
}

/* Callouts */
.callout {
  background: rgba(0,212,255,0.05);
  border-left: 3px solid var(--blue);
  padding: 16px 20px;
  margin: 20px 0;
  border-radius: 0 8px 8px 0;
}
.callout.warn {
  background: rgba(139,92,246,0.06);
  border-left-color: var(--purple);
}
.callout strong { color: var(--blue); }
.callout.warn strong { color: var(--purple); }

/* Mock UI */
.mock {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 20px;
  margin: 20px 0;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  color: var(--text-2);
}
.mock .mock-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 12px;
  margin-bottom: 16px;
  border-bottom: 1px solid var(--border);
  color: var(--text-3);
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.mock .dot { width: 10px; height: 10px; border-radius: 50%; background: var(--border); }
.mock .dot.r { background: #ff5f57; }
.mock .dot.y { background: #febc2e; }
.mock .dot.g { background: #28c840; }
.mock .label { margin-left: 8px; }
.mock .me { color: var(--blue); }
.mock .ai { color: var(--text); }
.mock .line { margin: 8px 0; }
.mock .ai-block { background: var(--surface); padding: 12px 16px; border-radius: 8px; margin: 12px 0; color: var(--text); }

/* Folder tree */
.tree {
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 20px 24px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px;
  line-height: 1.8;
  color: var(--text-2);
  margin: 16px 0;
}
.tree .folder { color: var(--blue); }
.tree .file { color: var(--text); }
.tree .comment { color: var(--text-3); margin-left: 12px; }

/* Two-column */
.grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px 0;
}
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 20px 0;
}
@media (max-width: 720px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px;
}
.card h4 { margin-top: 0; color: var(--blue); }

/* Tables */
.table-wrap { overflow-x: auto; margin: 20px 0; }
table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
}
th, td {
  text-align: left;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border);
  vertical-align: top;
}
th {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 500;
  background: var(--surface);
}
td code { font-size: 0.85em; }
td.skill-name { font-family: 'JetBrains Mono', monospace; font-size: 13px; color: var(--blue); }

/* Decision tree boxes */
.decision {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 0;
  margin: 24px 0;
  overflow: hidden;
}
.decision .branch {
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.decision .branch:last-child { border-bottom: none; }
.decision .branch .if {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  flex-shrink: 0;
  padding-top: 4px;
  width: 60px;
}
.decision .branch .then {
  flex: 1;
}
.decision .branch .then strong { color: var(--blue); }

/* Footer */
footer {
  padding: 60px 0 80px;
  text-align: center;
  color: var(--text-3);
  font-size: 14px;
}
footer .logo {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.04em;
  margin-bottom: 12px;
}
footer .logo .dot { color: var(--blue); }
footer a { color: var(--text-2); text-decoration: none; border-bottom: 1px solid var(--border); }
footer a:hover { color: var(--blue); border-color: var(--blue); }
.next-up {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 32px;
  margin: 40px 0;
  text-align: left;
}
.next-up .label {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 8px;
}
.next-up h3 { margin: 0 0 8px; color: var(--text); }
.next-up p { color: var(--text-2); margin-bottom: 16px; }
.next-up a {
  color: var(--blue);
  text-decoration: none;
  font-weight: 500;
  border-bottom: 1px solid var(--blue);
}

/* TOC */
.toc {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 24px 28px;
  margin: 32px 0;
}
.toc h4 {
  margin: 0 0 12px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-3);
  font-weight: 500;
}
.toc ol { list-style: none; margin: 0; counter-reset: toc; }
.toc li {
  counter-increment: toc;
  padding: 8px 0;
  border-top: 1px solid var(--border);
  color: var(--text-2);
}
.toc li:first-child { border-top: none; }
.toc li::before {
  content: counter(toc, decimal-leading-zero);
  font-family: 'JetBrains Mono', monospace;
  color: var(--blue);
  margin-right: 16px;
  font-size: 13px;
}
.toc a { color: var(--text); text-decoration: none; }
.toc a:hover { color: var(--blue); }

/* ==========================================================
   CLAUDE CODE UI MOCK KIT
   Programmatic replicas of Claude app UI states.
   Uses system UI fonts + Claude's purple accent (#7c6af0)
   to distinguish from the Vectimo brand chrome around them.
   ========================================================== */

/* App preview frame — compact, fits inside .card */
.cc-preview {
  background: #111119;
  border: 1px solid #252535;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 0 16px;
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  font-size: 12px;
  line-height: 1.4;
}
.cc-preview .cc-tab-bar {
  background: #0d0d17;
  border-bottom: 1px solid #252535;
  display: flex;
  padding: 0 10px;
  gap: 2px;
}
.cc-preview .cc-t {
  padding: 7px 10px;
  font-size: 11px;
  color: #4a4a6a;
  border-bottom: 2px solid transparent;
  margin-bottom: -1px;
}
.cc-preview .cc-t.on { color: #c8c8e8; border-bottom-color: #7c6af0; }
.cc-preview .cc-body { padding: 8px 0; }
.cc-preview .cc-new-btn {
  margin: 2px 8px 8px;
  padding: 5px 10px;
  background: rgba(124,106,240,0.12);
  border: 1px dashed rgba(124,106,240,0.3);
  border-radius: 6px;
  color: #7c6af0;
  font-size: 11px;
}
.cc-preview .cc-li {
  padding: 6px 12px;
  color: #8080a0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 11.5px;
}
.cc-preview .cc-li.on {
  background: rgba(124,106,240,0.14);
  color: #d8d8f0;
  border-left: 2px solid #7c6af0;
  padding-left: 10px;
}
.cc-preview .cc-li .meta {
  display: block;
  font-size: 10px;
  color: #4a4a6a;
  margin-top: 1px;
}
/* Cowork-specific */
.cc-preview .cc-task-dot {
  display: inline-block;
  width: 7px; height: 7px;
  border-radius: 50%;
  margin-right: 6px;
  vertical-align: middle;
  flex-shrink: 0;
}
.cc-preview .cc-task-dot.running { background: #7c6af0; box-shadow: 0 0 6px rgba(124,106,240,0.6); }
.cc-preview .cc-task-dot.done { background: #28c864; }
.cc-preview .cc-task-dot.sched { background: #4a4a6a; }
.cc-preview .cc-section-label {
  padding: 6px 12px 2px;
  font-size: 10px;
  color: #4a4a6a;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
/* File tree (Code tab) */
.cc-preview .cc-file { padding: 4px 12px; color: #8080a0; font-size: 11.5px; font-family: 'JetBrains Mono', monospace; }
.cc-preview .cc-file.folder { color: #00c4ef; }
.cc-preview .cc-file.i1 { padding-left: 24px; }
.cc-preview .cc-file.i2 { padding-left: 36px; }

/* Standalone input bar mock */
.cc-input-mock {
  background: #111119;
  border: 1px solid #252535;
  border-radius: 12px;
  padding: 12px 14px;
  margin: 20px 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
}
.cc-input-mock .cc-pills {
  display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px;
}
.cc-input-mock .cc-pill {
  background: rgba(0,212,255,0.1);
  border: 1px solid rgba(0,212,255,0.22);
  border-radius: 6px;
  padding: 3px 9px;
  font-size: 11px;
  color: #50c8e8;
  font-family: 'JetBrains Mono', monospace;
}
.cc-input-mock .cc-pill.file {
  background: rgba(124,106,240,0.1);
  border-color: rgba(124,106,240,0.22);
  color: #a090e0;
}
.cc-input-mock .cc-input-row {
  display: flex; align-items: center; gap: 8px;
  background: #0d0d17;
  border: 1px solid #252535;
  border-radius: 8px;
  padding: 8px 12px;
}
.cc-input-mock .cc-plus { color: #4a4a6a; font-size: 16px; }
.cc-input-mock .cc-placeholder { flex: 1; color: #4a4a6a; font-size: 13px; }
.cc-input-mock .cc-send {
  width: 26px; height: 26px;
  background: rgba(124,106,240,0.2);
  border: 1px solid rgba(124,106,240,0.35);
  border-radius: 6px;
  display: flex; align-items: center; justify-content: center;
  color: #9c8af0; font-size: 12px;
}

/* Quota / plan usage popover */
.cc-quota-mock {
  background: #1a1a2a;
  border: 1px solid #2c2c42;
  border-radius: 10px;
  padding: 16px 18px;
  max-width: 280px;
  margin: 20px 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  font-size: 13px;
}
.cc-quota-mock .cc-qm-eyebrow {
  font-size: 10px; color: #4a4a6a; text-transform: uppercase;
  letter-spacing: 0.1em; font-weight: 600; margin-bottom: 6px;
}
.cc-quota-mock .cc-qm-plan { color: #c8c8e8; font-weight: 600; font-size: 14px; margin-bottom: 12px; }
.cc-quota-mock .cc-qm-label { display: flex; justify-content: space-between; font-size: 11px; color: #6060808; margin-bottom: 4px; }
.cc-quota-mock .cc-qm-bar-bg {
  background: #252535; border-radius: 3px; height: 5px; margin-bottom: 8px; overflow: hidden;
}
.cc-quota-mock .cc-qm-bar-fill {
  height: 100%; border-radius: 3px;
  background: linear-gradient(90deg, #7c6af0, #b06af0);
}
.cc-quota-mock .cc-qm-meta { display: flex; justify-content: space-between; font-size: 11px; color: #606080; }
.cc-quota-mock .cc-qm-reset { font-size: 11px; color: #4a4a6a; margin-top: 8px; }

/* Permission modes dropdown */
.cc-perms-mock {
  background: #1a1a2a;
  border: 1px solid #2c2c42;
  border-radius: 10px;
  overflow: hidden;
  max-width: 300px;
  margin: 20px 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
}
.cc-perms-mock .cc-pm-item {
  padding: 10px 14px;
  display: flex; align-items: flex-start; gap: 10px;
  border-bottom: 1px solid #1e1e2e;
  cursor: default;
}
.cc-perms-mock .cc-pm-item:last-child { border-bottom: none; }
.cc-perms-mock .cc-pm-item.on { background: rgba(124,106,240,0.12); }
.cc-perms-mock .cc-pm-icon {
  width: 28px; height: 28px; border-radius: 7px;
  background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
}
.cc-perms-mock .cc-pm-name { font-size: 13px; color: #c0c0d8; font-weight: 500; }
.cc-perms-mock .cc-pm-name .cc-pm-tick { color: #28c864; margin-left: 6px; }
.cc-perms-mock .cc-pm-desc { font-size: 11px; color: #505070; margin-top: 1px; }

/* Plan mode proposal */
.cc-plan-mock {
  background: #14141f;
  border: 1px solid #2c2c42;
  border-radius: 12px;
  overflow: hidden;
  margin: 20px 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
}
.cc-plan-mock .cc-plm-header {
  background: rgba(124,106,240,0.1);
  border-bottom: 1px solid #2c2c42;
  padding: 9px 16px;
  font-size: 11px;
  color: #9080d0;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.cc-plan-mock .cc-plm-body { padding: 16px 18px; }
.cc-plan-mock .cc-plm-body > p { color: #a0a0c0; font-size: 13px; margin-bottom: 12px; }
.cc-plan-mock .cc-plm-step {
  display: flex; gap: 10px; align-items: flex-start; margin-bottom: 10px;
}
.cc-plan-mock .cc-plm-step:last-child { margin-bottom: 0; }
.cc-plan-mock .cc-plm-num {
  width: 20px; height: 20px; border-radius: 50%;
  background: rgba(124,106,240,0.2);
  border: 1px solid rgba(124,106,240,0.4);
  color: #9080d0; font-size: 11px; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; margin-top: 1px;
}
.cc-plan-mock .cc-plm-text { font-size: 13px; color: #b0b0c8; }
.cc-plan-mock .cc-plm-text strong { color: #d8d8f0; }
.cc-plan-mock .cc-plm-actions {
  padding: 10px 18px;
  border-top: 1px solid #1e1e2e;
  background: #0e0e18;
  display: flex; gap: 8px; flex-wrap: wrap;
}
.cc-plan-mock .cc-plm-btn {
  padding: 6px 13px; border-radius: 7px; font-size: 12px;
  cursor: default; font-weight: 500;
}
.cc-plan-mock .cc-plm-btn.primary {
  background: rgba(124,106,240,0.22);
  border: 1px solid rgba(124,106,240,0.45);
  color: #c0b0f8;
}
.cc-plan-mock .cc-plm-btn.secondary {
  background: rgba(255,255,255,0.04);
  border: 1px solid #2c2c42;
  color: #707090;
}

/* TodoWrite checklist */
.cc-todo-mock {
  background: #14141f;
  border: 1px solid #2c2c42;
  border-radius: 10px;
  overflow: hidden;
  margin: 20px 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
}
.cc-todo-mock .cc-tdm-header {
  background: #0e0e18;
  padding: 9px 14px;
  font-size: 11px; color: #505070;
  text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600;
  border-bottom: 1px solid #1e1e2e;
}
.cc-todo-mock .cc-tdm-row {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px;
  border-bottom: 1px solid #1a1a28;
  font-size: 13px;
}
.cc-todo-mock .cc-tdm-row:last-child { border-bottom: none; }
.cc-todo-mock .cc-tdm-status {
  width: 16px; height: 16px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 9px;
}
.cc-todo-mock .cc-tdm-status.done { background: rgba(40,200,100,0.18); border: 1px solid rgba(40,200,100,0.35); color: #28c864; }
.cc-todo-mock .cc-tdm-status.active { background: rgba(124,106,240,0.18); border: 1px solid rgba(124,106,240,0.4); color: #9080d0; }
.cc-todo-mock .cc-tdm-status.pending { border: 1.5px solid #2c2c42; }
.cc-todo-mock .cc-tdm-text { color: #b0b0c8; }
.cc-todo-mock .cc-tdm-text.done { color: #404060; text-decoration: line-through; }
.cc-todo-mock .cc-tdm-text.active { color: #e0e0f8; }

/* Routines panel */
.cc-routines-mock {
  background: #14141f;
  border: 1px solid #2c2c42;
  border-radius: 10px;
  overflow: hidden;
  margin: 20px 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
}
.cc-routines-mock .cc-rm-header {
  background: #0e0e18;
  padding: 10px 14px;
  font-size: 12px; font-weight: 600; color: #8080a0;
  border-bottom: 1px solid #1e1e2e;
  display: flex; justify-content: space-between; align-items: center;
}
.cc-routines-mock .cc-rm-add { color: #7c6af0; font-size: 18px; line-height: 1; }
.cc-routines-mock .cc-rm-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid #1a1a28;
}
.cc-routines-mock .cc-rm-item:last-child { border-bottom: none; }
.cc-routines-mock .cc-rm-time {
  font-family: 'JetBrains Mono', monospace;
  font-size: 11px; color: #7c6af0;
  width: 42px; flex-shrink: 0;
}
.cc-routines-mock .cc-rm-label { flex: 1; font-size: 13px; color: #a0a0c0; }
.cc-routines-mock .cc-rm-badge {
  font-size: 9px; padding: 2px 7px; border-radius: 100px;
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
}
.cc-routines-mock .cc-rm-badge.daily {
  background: rgba(0,212,255,0.1); color: #00c4ef; border: 1px solid rgba(0,212,255,0.2);
}
.cc-routines-mock .cc-rm-badge.weekly {
  background: rgba(124,106,240,0.1); color: #9080d0; border: 1px solid rgba(124,106,240,0.2);
}

/* Plus / plugins menu */
.cc-plugins-mock {
  display: flex;
  max-width: 460px;
  margin: 20px 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
}
.cc-plugins-mock .cc-plg-left {
  width: 190px; flex-shrink: 0;
  background: #1a1a2a;
  border: 1px solid #2c2c42;
  border-radius: 10px 0 0 10px;
  overflow: hidden;
}
.cc-plugins-mock .cc-plg-right {
  flex: 1;
  background: #161622;
  border: 1px solid #2c2c42;
  border-left: none;
  border-radius: 0 10px 10px 0;
  overflow: hidden;
}
.cc-plugins-mock .cc-plg-section {
  padding: 6px 12px 2px;
  font-size: 10px; color: #404060;
  text-transform: uppercase; letter-spacing: 0.08em; font-weight: 600;
}
.cc-plugins-mock .cc-plg-row {
  padding: 8px 12px;
  font-size: 12px; color: #8080a0;
  display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid #1a1a28;
}
.cc-plugins-mock .cc-plg-row:last-child { border-bottom: none; }
.cc-plugins-mock .cc-plg-row.on { background: rgba(124,106,240,0.12); color: #d0d0f0; }
.cc-plugins-mock .cc-plg-arrow { margin-left: auto; color: #404060; font-size: 10px; }
.cc-plugins-mock .cc-plg-icon { font-size: 14px; }
.cc-plugins-mock .cc-plg-right .cc-plg-row.hl { background: rgba(124,106,240,0.1); color: #c0c0e0; }

/* Slash command autocomplete */
.cc-slash-mock {
  max-width: 420px;
  margin: 20px 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
}
.cc-slash-mock .cc-slm-menu {
  background: #1a1a2a;
  border: 1px solid #2c2c42;
  border-radius: 10px 10px 0 0;
  overflow: hidden;
}
.cc-slash-mock .cc-slm-item {
  padding: 9px 14px;
  border-bottom: 1px solid #1a1a28;
  display: flex; align-items: center; gap: 12px;
  cursor: default;
}
.cc-slash-mock .cc-slm-item:last-child { border-bottom: none; }
.cc-slash-mock .cc-slm-item.sel { background: rgba(124,106,240,0.14); }
.cc-slash-mock .cc-slm-cmd {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px; color: #9080d0;
  width: 130px; flex-shrink: 0;
}
.cc-slash-mock .cc-slm-desc { font-size: 11px; color: #505070; }
.cc-slash-mock .cc-slm-input {
  background: #0e0e18;
  border: 1px solid #2c2c42;
  border-top: none;
  border-radius: 0 0 10px 10px;
  padding: 8px 14px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 13px; color: #e0e0f8;
  display: flex; align-items: center; gap: 2px;
}
.cc-slash-mock .cc-slm-cursor {
  display: inline-block; width: 2px; height: 14px;
  background: #7c6af0; border-radius: 1px; vertical-align: middle;
  animation: blink 1s step-end infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0} }

/* MCP connectors panel (Episode 5) */
.cc-mcp-mock {
  background: #14141f;
  border: 1px solid #2c2c42;
  border-radius: 10px;
  overflow: hidden;
  margin: 20px 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
}
.cc-mcp-mock .cc-mcp-header {
  background: #0e0e18;
  padding: 10px 14px;
  font-size: 12px; font-weight: 600; color: #8080a0;
  border-bottom: 1px solid #1e1e2e;
  display: flex; justify-content: space-between; align-items: center;
}
.cc-mcp-mock .cc-mcp-add { color: #7c6af0; font-size: 18px; line-height: 1; }
.cc-mcp-mock .cc-mcp-item {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 14px;
  border-bottom: 1px solid #1a1a28;
  font-size: 13px;
}
.cc-mcp-mock .cc-mcp-item:last-child { border-bottom: none; }
.cc-mcp-mock .cc-mcp-icon {
  width: 28px; height: 28px; border-radius: 7px;
  background: rgba(255,255,255,0.05);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px; flex-shrink: 0;
}
.cc-mcp-mock .cc-mcp-name { flex: 1; color: #b0b0c8; }
.cc-mcp-mock .cc-mcp-sub { font-size: 10px; color: #505070; display: block; margin-top: 1px; }
.cc-mcp-mock .cc-mcp-status {
  font-size: 10px; padding: 2px 8px; border-radius: 100px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.04em;
}
.cc-mcp-mock .cc-mcp-status.on {
  background: rgba(40,200,100,0.1); color: #28c864; border: 1px solid rgba(40,200,100,0.2);
}
.cc-mcp-mock .cc-mcp-status.auth {
  background: rgba(124,106,240,0.1); color: #9080d0; border: 1px solid rgba(124,106,240,0.2);
}
.cc-mcp-mock .cc-mcp-status.off {
  background: rgba(255,255,255,0.03); color: #505070; border: 1px solid #252535;
}

/* Agent orchestration diagram (Episode 6) */
.cc-agents-mock {
  background: #14141f;
  border: 1px solid #2c2c42;
  border-radius: 10px;
  overflow: hidden;
  margin: 20px 0;
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
}
.cc-agents-mock .cc-am-header {
  background: #0e0e18;
  padding: 10px 14px;
  font-size: 12px; font-weight: 600; color: #8080a0;
  border-bottom: 1px solid #1e1e2e;
}
.cc-agents-mock .cc-am-parent {
  padding: 12px 14px;
  border-bottom: 1px solid #1e1e2e;
  display: flex; align-items: center; gap: 10px;
}
.cc-agents-mock .cc-am-parent-label { font-size: 13px; color: #e0e0f0; font-weight: 500; flex: 1; }
.cc-agents-mock .cc-am-parent-sub { font-size: 11px; color: #505070; display: block; margin-top: 2px; }
.cc-agents-mock .cc-am-tag {
  font-size: 9px; padding: 2px 7px; border-radius: 100px;
  background: rgba(124,106,240,0.15); color: #9080d0;
  border: 1px solid rgba(124,106,240,0.25);
  font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
}
.cc-agents-mock .cc-am-child {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 14px 9px 36px;
  border-bottom: 1px solid #1a1a28;
  font-size: 12px;
  position: relative;
}
.cc-agents-mock .cc-am-child::before {
  content: '└─';
  position: absolute; left: 14px;
  color: #303050;
  font-family: 'JetBrains Mono', monospace; font-size: 11px;
}
.cc-agents-mock .cc-am-child:last-child { border-bottom: none; }
.cc-agents-mock .cc-am-child-name { flex: 1; color: #9090b0; }
.cc-agents-mock .cc-am-dot {
  width: 7px; height: 7px; border-radius: 50%; flex-shrink: 0;
}
.cc-agents-mock .cc-am-dot.running { background: #7c6af0; box-shadow: 0 0 6px rgba(124,106,240,0.5); }
.cc-agents-mock .cc-am-dot.done { background: #28c864; }
.cc-agents-mock .cc-am-dot.pending { background: #303050; }
.cc-agents-mock .cc-am-child-label { font-size: 11px; color: #505070; }

/* ==========================================================
   END UI KIT
   ========================================================== */

/* Helpers */
.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.15em;
  margin-bottom: 16px;
}
hr { border: none; border-top: 1px solid var(--border); margin: 32px 0; }
.arrow { color: var(--blue); }
.kbd {
  display: inline-block;
  background: var(--surface-2);
  border: 1px solid var(--border);
  border-bottom-width: 2px;
  border-radius: 4px;
  padding: 1px 8px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 0.85em;
  color: var(--text);
}
