:root {
    --z-950: #09090b;
    --z-925: #0c0c0f;
    --z-900: #18181b;
    --z-875: #1c1c1f;
    --z-850: #1f1f22;
    --z-800: #27272a;
    --z-700: #3f3f46;
    --z-600: #52525b;
    --z-500: #71717a;
    --z-400: #a1a1aa;
    --z-300: #d4d4d8;
    --z-200: #e4e4e7;
    --z-100: #f4f4f5;
    --z-050: #fafafa;
    --accent: oklch(0.82 0.12 165);
    --accent-dim: oklch(0.62 0.10 165);
    --accent-glow: oklch(0.82 0.12 165 / 0.18);
    --c-trigger: oklch(0.78 0.13 155);
    --c-action: oklch(0.78 0.13 240);
    --c-flow:   oklch(0.82 0.13 95);
    --c-form:   oklch(0.78 0.13 0);
    --c-llm:    oklch(0.78 0.13 305);
    --c-code:   oklch(0.80 0.13 55);
    --maxw: 1280px;
  }

  * { box-sizing: border-box; }
  html, body { margin: 0; padding: 0; background: var(--z-950); color: var(--z-100); font-family: 'Geist', sans-serif; -webkit-font-smoothing: antialiased; }
  a { color: inherit; text-decoration: none; }
  ::selection { background: var(--accent); color: var(--z-950); }

  /* ───── header / nav ───── */
  .nav {
    position: sticky; top: 0; z-index: 50;
    background: rgba(9,9,11,0.78);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--z-900);
  }
  .nav-inner {
    max-width: var(--maxw); margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between;
    padding: 18px 32px;
  }
  .brand {
    display: flex; align-items: center; gap: 12px;
    font-family: 'Geist Mono', monospace; font-size: 16px;
    letter-spacing: 0.14em; text-transform: uppercase; color: var(--z-200);
  }
  .brand .dot {
    width: 10px; height: 10px; border-radius: 50%;
    background: var(--accent); box-shadow: 0 0 14px var(--accent-glow);
  }
  .brand b { color: var(--z-050); font-weight: 500; letter-spacing: 0.02em; }
  .brand .by { color: var(--z-500); }
  .nav-links { display: flex; gap: 28px; font-size: 15px; align-items: center; }
  .nav-links > a, .nav-links > .has-menu > .trigger { cursor: pointer; display: inline-flex; align-items: center; gap: 6px; padding: 6px 0; font-family: inherit; background: none; border: 0; font-size: 15px; transition: opacity 0.15s; }
  .nav-links > a:hover, .nav-links > .has-menu > .trigger:hover { opacity: 0.7; }
  .has-menu { position: relative; }
  .has-menu .caret { font-size: 10px; color: var(--z-600); transition: transform 0.18s; }
  .has-menu:hover .caret, .has-menu:focus-within .caret { transform: rotate(180deg); color: var(--z-400); }
  .menu {
    position: absolute; top: 100%; left: 50%; transform: translateX(-50%) translateY(-4px);
    margin-top: 14px;
    min-width: 280px;
    background: var(--z-900);
    border: 1px solid var(--z-800);
    border-radius: 12px;
    padding: 10px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    opacity: 0; pointer-events: none;
    transition: opacity 0.18s, transform 0.18s;
    display: flex; flex-direction: column; gap: 2px;
  }
  /* Invisible bridge so the cursor can travel from trigger to menu without losing :hover */
  .menu::after {
    content: ''; position: absolute; left: 0; right: 0; top: -16px; height: 16px;
  }
  .has-menu:hover .menu, .has-menu:focus-within .menu, .has-menu.open .menu {
    opacity: 1; pointer-events: auto; transform: translateX(-50%) translateY(0);
  }
  .menu::before {
    content: ''; position: absolute; top: -6px; left: 50%; transform: translateX(-50%) rotate(45deg);
    width: 10px; height: 10px; background: var(--z-900);
    border-left: 1px solid var(--z-800); border-top: 1px solid var(--z-800);
  }
  .menu .item {
    display: flex; gap: 14px; align-items: flex-start;
    padding: 12px 14px; border-radius: 8px;
    color: var(--z-200); font-size: 15px; line-height: 1.3;
    transition: background 0.15s;
  }
  .menu .item:hover { background: var(--z-850); color: var(--z-050); }
  .menu .item .ico {
    flex: 0 0 30px; width: 30px; height: 30px; border-radius: 7px;
    background: var(--z-850); border: 1px solid var(--z-800);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent); margin-top: 1px;
  }
  .menu .item .label { font-weight: 500; color: var(--z-050); }
  .menu .item .sub { font-size: 12px; color: var(--z-500); margin-top: 3px; line-height: 1.4; }
  .nav-cta {
    display: flex; gap: 12px; align-items: center;
  }
  .btn {
    display: inline-flex; align-items: center; gap: 10px;
    padding: 11px 22px;
    font-size: 15px; font-weight: 500;
    border-radius: 8px;
    border: 1px solid var(--z-800);
    color: var(--z-100);
    background: transparent;
    cursor: pointer;
    font-family: inherit;
    transition: all 0.18s ease;
  }
  .btn:hover { background: var(--z-900); border-color: var(--z-700); }
  .btn.primary {
    background: var(--accent); color: var(--z-950); border-color: var(--accent);
  }
  .btn.primary:hover { background: oklch(0.86 0.12 165); border-color: oklch(0.86 0.12 165); }
  .btn .arr { font-family: 'Geist Mono', monospace; }

  /* ───── containers ───── */
  section.shell { padding: 120px 32px; }
  section.shell.tight { padding: 80px 32px; }
  .container { max-width: var(--maxw); margin: 0 auto; }
  .eyebrow {
    font-family: 'Geist Mono', monospace; font-size: 13px;
    color: var(--z-500); letter-spacing: 0.18em; text-transform: uppercase;
    display: inline-flex; align-items: center; gap: 10px;
  }
  .eyebrow::before {
    content: ''; width: 8px; height: 1px; background: var(--accent);
  }
  h1, h2, h3, h4 { margin: 0; color: var(--z-050); font-weight: 500; letter-spacing: -0.022em; }
  h1 { font-size: clamp(48px, 6.4vw, 88px); line-height: 1.02; }
  h2 { font-size: clamp(36px, 4.4vw, 56px); line-height: 1.08; letter-spacing: -0.02em; }
  h3 { font-size: 24px; line-height: 1.25; }
  p { color: var(--z-400); font-size: 17px; line-height: 1.55; margin: 0; }
  .lead { font-size: 22px; line-height: 1.45; color: var(--z-300); }
  .mono { font-family: 'Geist Mono', monospace; }
  .accent { color: var(--accent); }

  /* ───── hero ───── */
  .hero {
    position: relative;
    padding: 72px 32px 64px;
    overflow: hidden;
    border-bottom: 1px solid var(--z-900);
  }
  .hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
      linear-gradient(var(--z-900) 1px, transparent 1px),
      linear-gradient(90deg, var(--z-900) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 75%);
    pointer-events: none;
  }
  .hero::after {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 50% at 50% 0%, oklch(0.82 0.12 165 / 0.10), transparent 60%);
    pointer-events: none;
  }
  .hero-inner { position: relative; max-width: var(--maxw); margin: 0 auto; }
  .hero h1 { margin-top: 28px; max-width: 1100px; }
  .hero h1 .a { color: var(--accent); }
  .hero .sub {
    margin-top: 28px;
    font-size: 22px; line-height: 1.45;
    color: var(--z-400); max-width: 760px;
  }
  .hero-cta { display: flex; gap: 14px; margin-top: 40px; }
  .hero-meta {
    margin-top: 80px;
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
    border-top: 1px solid var(--z-900);
    padding-top: 36px;
  }
  .hero-meta .cell {
    padding-right: 32px;
    border-right: 1px solid var(--z-900);
  }
  .hero-meta .cell:last-child { border-right: 0; }
  .hero-meta .k {
    font-family: 'Geist Mono', monospace; font-size: 12px;
    color: var(--z-600); letter-spacing: 0.16em; text-transform: uppercase;
    margin-bottom: 12px;
  }
  .hero-meta .v {
    font-size: 32px; color: var(--z-050); font-weight: 500; letter-spacing: -0.015em;
  }
  .hero-meta .v .plus { color: var(--accent); }
  .hero-meta .vv {
    font-size: 14px; color: var(--z-500); margin-top: 6px;
  }

  /* ───── logos strip ───── */
  .logos {
    border-top: 1px solid var(--z-900);
    border-bottom: 1px solid var(--z-900);
    padding: 32px;
    background: var(--z-925);
  }
  .logos-inner {
    max-width: var(--maxw); margin: 0 auto;
    display: flex; align-items: center; justify-content: space-between; gap: 32px;
    flex-wrap: wrap;
  }
  .logos .label {
    font-family: 'Geist Mono', monospace; font-size: 12px; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--z-600);
  }
  .logos .row {
    display: flex; gap: 28px; flex-wrap: wrap; align-items: center;
  }
  .logos .lg {
    font-family: 'Geist Mono', monospace; font-size: 14px; color: var(--z-500);
    padding: 8px 14px; border: 1px solid var(--z-800); border-radius: 6px;
    background: var(--z-900);
    letter-spacing: 0.04em;
  }

  /* ───── problem section ───── */
  .stat-num {
    font-size: 132px; line-height: 0.9;
    letter-spacing: -0.05em; font-weight: 500;
    color: var(--z-050);
    margin: 6px 0 18px;
  }
  .stat-num .plus { color: var(--accent); font-size: 0.7em; vertical-align: 0.3em; }
  .treadmill-copy {
    font-size: 15px; color: var(--z-400);
    line-height: 1.55; margin: 0 0 24px;
  }
  .dotgrid { display: grid; grid-template-columns: repeat(20, 1fr); gap: 5px; }
  .dotgrid .d { aspect-ratio: 1; background: var(--z-800); border-radius: 50%; }
  .dotgrid .d.lit { background: var(--accent); box-shadow: 0 0 12px oklch(0.82 0.12 165 / 0.5); }
  .dotgrid-cap {
    margin-top: 16px;
    font-size: 10.5px; letter-spacing: 0.16em; color: var(--z-600);
  }

  .pair {
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
    margin-top: 56px;
  }
  .pair .col {
    padding: 36px;
    background: var(--z-900);
    border: 1px solid var(--z-800);
    border-radius: 14px;
  }
  .pair .col .tag {
    font-family: 'Geist Mono', monospace; font-size: 12px; letter-spacing: 0.16em;
    text-transform: uppercase; color: var(--z-500); margin-bottom: 14px;
  }
  .pair .col h3 { font-size: 28px; line-height: 1.2; margin-bottom: 16px; }
  .pair .col.before .tag { color: oklch(0.7 0.13 25); }
  .pair .col.after  .tag { color: var(--accent); }
  .pair .col.after { border-color: var(--accent-dim); }

  /* mcp handshake visual (Nexus way card) */
  .mcp-handshake { margin-top: 28px; display: flex; flex-direction: column; gap: 16px; }
  .mcp-term {
    background: var(--z-950); border: 1px solid var(--z-800); border-radius: 8px;
    overflow: hidden; font-family: 'Geist Mono', monospace;
  }
  .mcp-term-bar {
    display: flex; align-items: center; gap: 6px;
    padding: 8px 12px; background: var(--z-925); border-bottom: 1px solid var(--z-800);
  }
  .mcp-term-bar .dot { width: 8px; height: 8px; border-radius: 50%; background: var(--z-800); }
  .mcp-term-name { margin-left: 12px; font-size: 11px; color: var(--z-500); letter-spacing: 0.06em; }
  .mcp-term-body { padding: 12px 14px; font-size: 11.5px; line-height: 1.7; color: var(--z-300); }
  .mcp-term-body .ln { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
  .mcp-term-body .ln.indent { padding-left: 18px; color: var(--z-400); }
  .mcp-term-body .prompt { color: var(--accent); margin-right: 8px; font-weight: 600; }
  .mcp-term-body .prompt.out { color: var(--z-500); }
  .mcp-term-body .call { color: var(--z-050); }
  .mcp-term-body .str { color: var(--c-flow); }
  .mcp-term-body .dim { color: var(--z-600); }
  .mcp-term-body .cur {
    display: inline-block; color: var(--accent); margin-left: 4px;
    animation: blink 1s steps(2) infinite;
  }
  @keyframes blink { 0%, 50% { opacity: 1; } 50.01%, 100% { opacity: 0; } }

  .mcp-arrow { display: flex; align-items: center; gap: 12px; padding: 0 4px; }
  .mcp-arrow-line {
    flex: 1; height: 1px;
    background: linear-gradient(90deg, var(--accent), transparent);
    position: relative;
  }
  .mcp-arrow-line::after {
    content: '▼'; position: absolute; right: -2px; top: -8px;
    font-size: 10px; color: var(--accent);
  }
  .mcp-arrow-cap { font-size: 10px; letter-spacing: 0.16em; color: var(--accent); text-transform: uppercase; }

  .mcp-tools { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
  .mcp-tools-head {
    width: 100%; font-size: 10px; letter-spacing: 0.18em;
    color: var(--z-600); text-transform: uppercase; margin-bottom: 4px;
  }
  .mcp-chip {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 6px 12px; border-radius: 999px;
    background: var(--z-900); border: 1px solid var(--z-800);
    font-family: 'Geist Mono', monospace; font-size: 11.5px; color: var(--z-100);
  }
  .mcp-chip .dot { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); box-shadow: 0 0 8px var(--accent-glow); }
  .mcp-chip.ghost { color: var(--z-500); }
  .mcp-chip.ghost .dot { background: var(--z-700); box-shadow: none; }

  /* ───── canvas hero (visual) ───── */
  .canvas-stage {
    margin-top: 64px;
    background:
      linear-gradient(180deg, var(--z-900) 0%, var(--z-925) 100%);
    border: 1px solid var(--z-800);
    border-radius: 16px;
    padding: 48px 40px;
    position: relative;
    overflow: hidden;
  }
  .canvas-stage::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
      radial-gradient(circle at 1px 1px, var(--z-800) 1px, transparent 0);
    background-size: 24px 24px;
    opacity: 0.5;
    pointer-events: none;
  }
  .canvas-stage .frame-bar {
    position: relative;
    display: flex; gap: 8px; align-items: center;
    padding-bottom: 20px; margin-bottom: 28px;
    border-bottom: 1px solid var(--z-800);
  }
  .canvas-stage .frame-bar .dot {
    width: 10px; height: 10px; border-radius: 50%; background: var(--z-700);
  }
  .canvas-stage .frame-bar .name {
    margin-left: 12px;
    font-family: 'Geist Mono', monospace; font-size: 13px; color: var(--z-500);
    letter-spacing: 0.06em;
  }
  .canvas-stage .frame-bar .running {
    margin-left: auto;
    font-family: 'Geist Mono', monospace; font-size: 12px; color: var(--accent);
    letter-spacing: 0.16em; text-transform: uppercase;
    display: flex; align-items: center; gap: 8px;
  }
  .canvas-stage .frame-bar .running::before {
    content: ''; width: 6px; height: 6px; border-radius: 50%;
    background: var(--accent); box-shadow: 0 0 8px var(--accent-glow);
    animation: pulse 1.6s ease-in-out infinite;
  }
  @keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(0.9); }
  }
  .flow-row {
    position: relative;
    display: flex; align-items: center; justify-content: center;
    gap: 14px; flex-wrap: wrap;
    padding: 24px 0;
  }
  .flow-row + .flow-row { border-top: 1px dashed var(--z-800); }
  .node {
    background: var(--z-925);
    border: 1px solid var(--z-800);
    border-radius: 10px;
    padding: 14px 18px;
    display: inline-flex; align-items: center; gap: 12px;
    font-size: 16px; color: var(--z-100);
  }
  .node .nicon {
    width: 12px; height: 12px; border-radius: 3px; background: var(--z-600);
  }
  .node .kind {
    font-family: 'Geist Mono', monospace; font-size: 11px;
    color: var(--z-500); letter-spacing: 0.14em; text-transform: uppercase;
  }
  .node.trigger .nicon { background: var(--c-trigger); }
  .node.action  .nicon { background: var(--c-action); }
  .node.flow    .nicon { background: var(--c-flow); }
  .node.form    .nicon { background: var(--c-form); }
  .node.llm     .nicon { background: var(--c-llm); }
  .node.code    .nicon { background: var(--c-code); }
  .arr {
    color: var(--z-700); font-family: 'Geist Mono', monospace; font-size: 18px;
  }

  /* ───── feature grid ───── */
  .feature-grid {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    margin-top: 56px;
  }
  .feat {
    background: var(--z-900);
    border: 1px solid var(--z-800);
    border-radius: 14px;
    padding: 32px;
    transition: border-color 0.2s, transform 0.2s;
  }
  .feat:hover { border-color: var(--z-700); }
  .feat .ico {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: var(--z-850);
    border: 1px solid var(--z-800);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 24px;
    color: var(--accent);
  }
  .feat h3 { margin-bottom: 12px; }
  .feat p { font-size: 15px; }
  .feat .key {
    font-family: 'Geist Mono', monospace; font-size: 12px;
    color: var(--z-600); letter-spacing: 0.14em; text-transform: uppercase;
    margin-bottom: 18px;
  }
  a.feat-link {
    display: block; color: inherit; text-decoration: none;
    position: relative;
  }
  a.feat-link:hover { border-color: var(--accent); transform: translateY(-2px); }
  a.feat-link:hover .feat-go { color: var(--accent); }
  .feat-go {
    display: inline-block;
    margin-top: 18px;
    font-family: 'Geist Mono', monospace; font-size: 12px;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--z-500);
    transition: color 0.2s;
  }

  .platform-more {
    margin-top: 40px;
    display: flex; flex-wrap: wrap; gap: 12px;
  }

  /* ───── industry teaser (home) ───── */
  .industry-teaser {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
    margin-top: 56px;
  }
  a.ind-tile {
    display: flex; flex-direction: column; gap: 16px;
    background: var(--z-900);
    border: 1px solid var(--z-800);
    border-radius: 14px;
    padding: 28px;
    color: inherit; text-decoration: none;
    transition: border-color 0.2s, transform 0.2s;
  }
  a.ind-tile:hover { border-color: var(--accent); transform: translateY(-2px); }
  .ind-tile .ind-tag {
    font-family: 'Geist Mono', monospace; font-size: 12px;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--accent);
  }
  .ind-tile h3 { font-size: 22px; line-height: 1.25; }
  .ind-tile p { font-size: 15px; color: var(--z-300); }
  .ind-tile .ind-meta {
    margin-top: auto;
    display: flex; gap: 10px; align-items: center;
    font-family: 'Geist Mono', monospace; font-size: 11px;
    letter-spacing: 0.12em; text-transform: uppercase;
    color: var(--z-500);
  }
  .ind-tile .ind-meta .who { color: var(--z-300); }
  @media (max-width: 900px) {
    .industry-teaser { grid-template-columns: 1fr; }
  }

  /* ───── two ways to build ───── */
  .build-modes {
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
    margin-top: 56px;
  }
  .mode-card {
    background: var(--z-900);
    border: 1px solid var(--z-800);
    border-radius: 14px;
    padding: 36px;
    display: flex; flex-direction: column; gap: 22px;
  }
  .mode-card .key {
    font-family: 'Geist Mono', monospace; font-size: 12px;
    letter-spacing: 0.16em; text-transform: uppercase;
  }
  .mode-card.conv .key { color: var(--accent); }
  .mode-card.canv .key { color: var(--c-flow); }
  .mode-card h3 { font-size: 26px; }
  .mode-card .chat {
    background: var(--z-950);
    border: 1px solid var(--z-800);
    border-radius: 10px;
    padding: 18px 22px;
    font-family: 'Geist Mono', monospace; font-size: 14px;
    color: var(--z-200); line-height: 1.6;
  }
  .mode-card .chat .you { color: var(--accent); }
  .mode-card .chat + .chat { margin-top: -10px; }
  .mode-card .ai-resp {
    background: var(--z-925);
    border: 1px solid var(--z-800);
    border-left: 2px solid var(--accent);
    border-radius: 8px;
    padding: 14px 18px;
    font-size: 14px; color: var(--z-300); line-height: 1.55;
  }
  .mode-card .mini-canvas {
    background: var(--z-950);
    border: 1px solid var(--z-800);
    border-radius: 10px;
    padding: 22px 18px;
    background-image: radial-gradient(circle at 1px 1px, var(--z-800) 1px, transparent 0);
    background-size: 18px 18px;
    display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
    justify-content: center;
  }
  .mode-card p { font-size: 15px; }

  /* ───── agent / workflow split ───── */
  .duo {
    display: grid; grid-template-columns: 1fr 1fr; gap: 48px;
    margin-top: 56px;
    align-items: stretch;
  }
  .agent-card, .workflow-card {
    background: var(--z-900);
    border: 1px solid var(--z-800);
    border-radius: 14px;
    padding: 36px;
  }
  .agent-card .yaml {
    background: var(--z-950);
    border: 1px solid var(--z-800);
    border-radius: 10px;
    padding: 20px 24px;
    font-family: 'Geist Mono', monospace; font-size: 14px;
    color: var(--z-300); line-height: 1.9;
    margin-top: 20px;
  }
  .yaml .k { color: var(--z-500); }
  .yaml .v { color: var(--z-100); }
  .yaml .h { color: var(--accent); }

  /* ───── connectors / mcp grid ───── */
  .conn-grid {
    display: grid; grid-template-columns: repeat(8, 1fr); gap: 12px;
    margin-top: 48px;
  }
  .conn {
    aspect-ratio: 1.4 / 1;
    background: var(--z-900); border: 1px solid var(--z-800);
    border-radius: 10px;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    gap: 8px;
    transition: border-color 0.2s, background 0.2s;
  }
  .conn:hover { border-color: var(--z-700); background: var(--z-875); }
  .conn .name {
    font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--z-300);
    letter-spacing: 0.04em;
  }
  .conn .swatch {
    width: 22px; height: 22px; border-radius: 5px;
    background: var(--z-800);
  }

  /* ───── architecture diagram ───── */
  .arch {
    margin-top: 56px;
    background: var(--z-900);
    border: 1px solid var(--z-800);
    border-radius: 14px;
    padding: 40px;
  }
  .arch .layer {
    display: flex; gap: 14px; justify-content: center; flex-wrap: wrap;
  }
  .arch .layer + .layer { margin-top: 16px; }
  .arch .box {
    flex: 0 0 auto;
    background: var(--z-950);
    border: 1px solid var(--z-800);
    border-radius: 10px;
    padding: 18px 24px;
    text-align: center;
    min-width: 200px;
  }
  .arch .box.compute { border-color: var(--accent-dim); }
  .arch .box .nm {
    font-size: 16px; color: var(--z-050); font-weight: 500;
  }
  .arch .box .sub {
    font-family: 'Geist Mono', monospace; font-size: 11px;
    color: var(--z-500); letter-spacing: 0.08em; text-transform: uppercase;
    margin-top: 6px;
  }
  .arch .down {
    text-align: center; color: var(--z-700);
    font-family: 'Geist Mono', monospace; font-size: 14px;
    margin: 4px 0;
  }

  /* ───── use cases ───── */
  .uc-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 24px;
    margin-top: 56px;
  }
  .uc {
    background: var(--z-900);
    border: 1px solid var(--z-800);
    border-radius: 14px;
    padding: 32px;
  }
  .uc .key {
    font-family: 'Geist Mono', monospace; font-size: 12px;
    color: var(--z-500); letter-spacing: 0.14em; text-transform: uppercase;
    margin-bottom: 16px;
  }
  .uc h3 { margin-bottom: 16px; }
  .uc .nodes {
    margin-top: 24px;
    background: var(--z-925); border: 1px solid var(--z-800);
    border-radius: 10px;
    padding: 18px;
    display: flex; gap: 8px; flex-wrap: wrap;
    align-items: center; justify-content: center;
    background-image: radial-gradient(circle at 1px 1px, var(--z-800) 1px, transparent 0);
    background-size: 16px 16px;
  }
  .uc .nodes .node { font-size: 14px; padding: 10px 14px; }
  .uc .nodes .arr { font-size: 14px; }

  /* ───── why us / 3 bets ───── */
  .bets {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
    margin-top: 56px;
  }
  .bet {
    background: var(--z-900);
    border: 1px solid var(--z-800);
    border-radius: 14px;
    padding: 36px;
    position: relative;
  }
  .bet .num {
    font-family: 'Geist Mono', monospace; font-size: 12px;
    color: var(--accent); letter-spacing: 0.18em; text-transform: uppercase;
    margin-bottom: 24px;
  }
  .bet h3 { font-size: 26px; margin-bottom: 16px; }

  /* ───── CTA ───── */
  .cta {
    margin: 0 32px; max-width: var(--maxw);
    margin-left: auto; margin-right: auto;
    background:
      linear-gradient(135deg, var(--z-900) 0%, var(--z-925) 100%);
    border: 1px solid var(--z-800);
    border-radius: 20px;
    padding: 80px 64px;
    text-align: center;
    position: relative;
    overflow: hidden;
  }
  .cta::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 60% at 50% 100%, var(--accent-glow), transparent 70%);
    pointer-events: none;
  }
  .cta-inner { position: relative; }
  .cta h2 { max-width: 800px; margin: 16px auto 24px; }
  .cta p { max-width: 620px; margin: 0 auto 40px; font-size: 19px; }
  .cta .row { display: flex; gap: 14px; justify-content: center; }

  /* ───── mega-menu (command-console style) ───── */
  .has-mega { position: static; }
  .has-mega .caret { display: none; }
  .has-mega .caret { display: inline-block; font-size: 9px; transition: transform 0.18s; opacity: 0.6; }
  .has-mega:hover .caret, .has-mega.open .caret { transform: rotate(180deg); }
  .has-mega .trigger {
    position: relative;
    padding: 6px 0;
    font-family: inherit;
    font-size: 15px;
    letter-spacing: 0;
    text-transform: none;
    border: 0;
    border-radius: 0;
    background: none;
    transition: opacity 0.15s;
  }
  .has-mega .trigger::before,
  .has-mega .trigger::after { content: none; }
  .has-mega:hover .trigger,
  .has-mega.open .trigger { background: none; opacity: 0.85; }

  /* Full-width panel anchored to nav, not the trigger */
  .mega {
    position: fixed;
    top: 73px; left: 0; right: 0;
    transform: translateY(-12px);
    margin: 0;
    background: var(--z-950);
    border: 0;
    border-bottom: 1px solid var(--z-800);
    border-radius: 0;
    padding: 0;
    box-shadow:
      0 1px 0 0 var(--z-800),
      0 32px 60px -12px rgba(0,0,0,0.85);
    min-width: 0;
    width: 100%;
    opacity: 0; pointer-events: none;
    transition: opacity 0.2s, transform 0.28s cubic-bezier(0.6, 0.05, 0.2, 1);
    z-index: 40;
    overflow: hidden;
  }
  .mega.narrow { min-width: 0; }

  /* Diagonal grid texture */
  .mega::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
      linear-gradient(var(--z-900) 1px, transparent 1px),
      linear-gradient(90deg, var(--z-900) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.4;
    pointer-events: none;
    mask-image: radial-gradient(ellipse at top, black 30%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at top, black 30%, transparent 80%);
  }

  /* Hover bridge: invisible strip directly below this trigger's wrap,
     so cursor traveling from trigger to fixed panel keeps :hover. */
  .has-mega { position: relative; }
  .has-mega::after {
    content: '';
    position: absolute;
    left: 0; right: 0;
    top: 100%; height: 36px;
    pointer-events: auto;
  }
  .has-mega:hover .mega, .has-mega:focus-within .mega, .has-mega.open .mega {
    opacity: 1; pointer-events: auto; transform: translateY(0);
    z-index: 60;
  }

  .mega-grid {
    max-width: var(--maxw);
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    padding: 36px 32px 32px 220px;
    position: relative;
  }
  .mega-grid.two {
    grid-template-columns: repeat(2, 1fr);
  }

  /* The pinned label "rail" on the left */
  .mega-grid::before {
    content: attr(data-section);
    position: absolute;
    top: 36px; left: 32px;
    font-family: 'Geist Mono', monospace;
    font-size: 11px;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--z-600);
  }
  .mega-grid::after {
    content: '';
    position: absolute;
    top: 36px; left: 32px;
    width: 60px; height: 2px;
    background: var(--accent);
    margin-top: 22px;
  }

  .mega-col {
    display: flex; flex-direction: column;
    padding: 0 24px;
    border-left: 1px solid var(--z-900);
    position: relative;
  }
  .mega-col:first-child { border-left: 0; padding-left: 0; }

  .mega-head {
    font-family: 'Geist Mono', monospace;
    font-size: 10px; letter-spacing: 0.22em;
    text-transform: uppercase; color: var(--z-400);
    margin: 0 0 18px;
    padding: 0;
    display: flex; align-items: baseline; gap: 12px;
  }
  .mega-head::before {
    content: attr(data-num);
    color: var(--accent);
    font-weight: 500;
    border: 1px solid var(--accent);
    padding: 2px 6px;
    font-size: 9px;
    border-radius: 0;
  }

  .mega-item {
    display: block; position: relative;
    padding: 12px 16px 12px 14px;
    margin: 0 -16px 2px -14px;
    color: var(--z-200);
    transition: background 0.15s, color 0.15s, padding-left 0.18s ease;
    border-left: 2px solid transparent;
  }

  /* Hover = inverted: bg goes to accent, text goes dark */
  .mega-item:hover {
    background: var(--accent);
    color: var(--z-950);
    border-left-color: var(--accent);
  }
  .mega-item:hover .lbl { color: var(--z-950); }
  .mega-item:hover .sub { color: var(--z-900); opacity: 0.8; }

  /* Active = accent left rail, no inversion */
  .mega-item.active {
    border-left-color: var(--accent);
    background: var(--z-925);
  }
  .mega-item.active .lbl { color: var(--accent); }

  /* trailing arrow that appears on hover */
  .mega-item::after {
    content: '→';
    position: absolute; right: 14px; top: 50%;
    transform: translateY(-50%) translateX(-6px);
    color: var(--z-950);
    font-size: 14px; font-weight: 600;
    opacity: 0;
    transition: opacity 0.18s, transform 0.22s cubic-bezier(0.6, 0.05, 0.2, 1);
  }
  .mega-item:hover::after { opacity: 1; transform: translateY(-50%) translateX(0); }

  .mega-item .lbl {
    font-size: 14px; font-weight: 500;
    color: var(--z-050); line-height: 1.3;
    transition: color 0.15s;
  }
  .mega-item .sub {
    font-size: 11.5px; color: var(--z-500);
    margin-top: 4px; line-height: 1.4;
    transition: color 0.15s;
  }

  /* Footer strip — terminal status bar */
  .mega-foot {
    border-top: 1px solid var(--z-900);
    padding: 14px 32px;
    display: flex; justify-content: space-between; align-items: center;
    background: var(--z-925);
    font-family: 'Geist Mono', monospace; font-size: 11px;
    letter-spacing: 0.16em; text-transform: uppercase;
    color: var(--z-500);
    position: relative;
  }
  .mega-foot::before {
    content: '$';
    color: var(--accent);
    margin-right: 8px;
    font-weight: 600;
  }
  .mega-foot > span { flex: 1; }
  .mega-foot a { color: var(--accent); transition: opacity 0.15s; display: inline-flex; align-items: center; gap: 8px; }
  .mega-foot a:hover { opacity: 0.7; }

  /* ───── footer ───── */
  footer {
    border-top: 1px solid var(--z-900);
    padding: 64px 32px 32px;
    margin-top: 80px;
  }
  .foot-inner {
    max-width: var(--maxw); margin: 0 auto;
  }
  .foot-grid {
    display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
    gap: 48px; padding-bottom: 48px;
    border-bottom: 1px solid var(--z-900);
  }
  .foot-brand .tagline {
    margin-top: 16px; font-size: 14px; color: var(--z-500); line-height: 1.5; max-width: 280px;
  }
  .foot-col { display: flex; flex-direction: column; gap: 10px; }
  .foot-col .head {
    font-family: 'Geist Mono', monospace; font-size: 10px; letter-spacing: 0.18em;
    text-transform: uppercase; color: var(--z-500); margin-bottom: 6px;
  }
  .foot-col a { font-size: 14px; color: var(--z-400); transition: color 0.15s; }
  .foot-col a:hover { color: var(--z-100); }
  .foot-bottom {
    display: flex; justify-content: space-between; align-items: center;
    flex-wrap: wrap; gap: 16px; padding-top: 28px;
  }
  .foot-legal { display: flex; gap: 24px; }
  .foot-legal a { font-size: 13px; color: var(--z-500); }
  .foot-legal a:hover { color: var(--z-200); }
  footer .copy {
    font-family: 'Geist Mono', monospace; font-size: 12px;
    color: var(--z-600); letter-spacing: 0.08em;
  }
  @media (max-width: 980px) {
    .mega { display: none; }
    .foot-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  }

  /* responsive */
  @media (max-width: 980px) {
    .nav-links { display: none; }
    .hero { padding: 56px 24px 48px; }
    .hero-meta { grid-template-columns: 1fr 1fr; gap: 24px; }
    .hero-meta .cell { border-right: 0; padding-right: 0; }
    section.shell { padding: 80px 24px; }
    .pair, .build-modes, .duo, .uc-grid, .bets, .feature-grid { grid-template-columns: 1fr; }
    .conn-grid { grid-template-columns: repeat(4, 1fr); }
    .cta { margin: 0 24px; padding: 56px 32px; }
  }


  /* ───── sub-page chrome ───── */
  .page-hero {
    position: relative;
    padding: 120px 32px 80px;
    border-bottom: 1px solid var(--z-900);
    overflow: hidden;
  }
  .page-hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
      linear-gradient(var(--z-900) 1px, transparent 1px),
      linear-gradient(90deg, var(--z-900) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 80% 60% at 50% 30%, black 30%, transparent 75%);
    pointer-events: none;
  }
  .page-hero-inner { position: relative; max-width: var(--maxw); margin: 0 auto; }
  .page-hero h1 {
    font-size: clamp(40px, 5.4vw, 72px);
    margin-top: 24px; max-width: 900px;
  }
  .page-hero .sub {
    margin-top: 24px;
    font-size: 20px; line-height: 1.5;
    color: var(--z-400); max-width: 740px;
  }

  .crumbs {
    display: flex; gap: 10px; align-items: center;
    font-family: 'Geist Mono', monospace; font-size: 12px;
    color: var(--z-500); letter-spacing: 0.12em; text-transform: uppercase;
  }
  .crumbs a:hover { color: var(--z-300); }
  .crumbs .sep { color: var(--z-700); }

  /* ───── card list (used on resources pages) ───── */
  .card-list {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px;
    margin-top: 48px;
  }
  .card-list.three { grid-template-columns: repeat(3, 1fr); }
  .card {
    background: var(--z-900);
    border: 1px solid var(--z-800);
    border-radius: 14px;
    padding: 28px;
    transition: border-color 0.2s, transform 0.2s;
    display: flex; flex-direction: column; gap: 14px;
  }
  .card:hover { border-color: var(--z-700); }
  .card .meta {
    font-family: 'Geist Mono', monospace; font-size: 11px;
    color: var(--z-500); letter-spacing: 0.14em; text-transform: uppercase;
  }
  .card h3 { font-size: 22px; line-height: 1.25; }
  .card p { font-size: 15px; }
  .card .row {
    display: flex; gap: 14px; align-items: center; justify-content: space-between;
    margin-top: 4px;
    color: var(--z-500); font-size: 13px; font-family: 'Geist Mono', monospace;
  }

  /* ───── timeline (changelog) ───── */
  .timeline {
    margin-top: 56px; position: relative;
    padding-left: 28px;
    border-left: 1px solid var(--z-800);
  }
  .release {
    position: relative;
    padding: 0 0 56px 24px;
  }
  .release::before {
    content: ''; position: absolute; left: -34px; top: 6px;
    width: 12px; height: 12px; border-radius: 50%;
    background: var(--z-925);
    border: 2px solid var(--accent);
  }
  .release .ver {
    font-family: 'Geist Mono', monospace; font-size: 13px;
    color: var(--accent); letter-spacing: 0.14em; text-transform: uppercase;
  }
  .release .date {
    font-family: 'Geist Mono', monospace; font-size: 12px;
    color: var(--z-500); margin-left: 12px;
  }
  .release h3 { font-size: 22px; margin: 12px 0 14px; }
  .release ul { padding: 0; margin: 0; list-style: none; display: flex; flex-direction: column; gap: 8px; }
  .release li {
    color: var(--z-300); font-size: 15px; line-height: 1.55;
    display: flex; gap: 12px;
  }
  .release li::before {
    content: '+'; flex: 0 0 auto;
    font-family: 'Geist Mono', monospace; color: var(--accent);
  }
  .release li.fix::before { content: '~'; color: var(--c-flow); }
  .release li.rm::before { content: '−'; color: oklch(0.7 0.13 25); }

  /* ───── docs (sidebar layout) ───── */
  .docs-layout {
    display: grid; grid-template-columns: 240px 1fr; gap: 56px;
    margin-top: 48px;
  }
  .docs-side {
    position: sticky; top: 100px;
    align-self: start;
    font-size: 14px;
  }
  .docs-side h4 {
    font-family: 'Geist Mono', monospace; font-size: 11px;
    letter-spacing: 0.16em; text-transform: uppercase; color: var(--z-500);
    margin: 22px 0 10px; font-weight: 500;
  }
  .docs-side a {
    display: block; padding: 6px 0;
    color: var(--z-400);
  }
  .docs-side a:hover { color: var(--z-100); }
  .docs-side a.active { color: var(--accent); }

  .docs-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px;
    margin-top: 24px;
  }
  .doc-card {
    background: var(--z-900);
    border: 1px solid var(--z-800);
    border-radius: 12px;
    padding: 24px;
    display: flex; flex-direction: column; gap: 10px;
    transition: border-color 0.2s;
  }
  .doc-card:hover { border-color: var(--z-700); }
  .doc-card .name { color: var(--z-050); font-size: 17px; font-weight: 500; }
  .doc-card .desc { font-size: 14px; color: var(--z-400); line-height: 1.5; }
  .doc-card .meta { font-family: 'Geist Mono', monospace; font-size: 11px; color: var(--z-600); letter-spacing: 0.14em; text-transform: uppercase; }

  /* ───── community ───── */
  .channels {
    display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
    margin-top: 48px;
  }
  .channel {
    background: var(--z-900); border: 1px solid var(--z-800);
    border-radius: 14px;
    padding: 32px;
    display: flex; flex-direction: column; gap: 14px;
  }
  .channel:hover { border-color: var(--z-700); }
  .channel .ico {
    width: 44px; height: 44px;
    border-radius: 10px;
    background: var(--z-850);
    border: 1px solid var(--z-800);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent);
  }
  .channel h3 { font-size: 22px; }
  .channel .stat {
    font-family: 'Geist Mono', monospace; font-size: 12px;
    color: var(--z-500); letter-spacing: 0.1em; text-transform: uppercase;
  }

  /* ───── connector deep grid (connectors page) ───── */
  .conn-deep {
    display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
    margin-top: 40px;
  }
  .conn-deep .conn {
    aspect-ratio: auto;
    flex-direction: row; justify-content: flex-start;
    padding: 18px 20px; gap: 14px;
  }
  .conn-deep .conn .meta {
    font-family: 'Geist Mono', monospace; font-size: 11px;
    color: var(--z-500); letter-spacing: 0.08em; text-transform: uppercase;
  }
  .conn-deep .conn .swatch { width: 28px; height: 28px; }

  @media (max-width: 980px) {
    .docs-layout { grid-template-columns: 1fr; }
    .docs-side { position: static; }
    .card-list, .card-list.three, .channels, .docs-grid, .conn-deep { grid-template-columns: 1fr; }
    .page-hero { padding: 80px 24px 56px; }
  }

  /* ───── long-form article ───── */
  .article-hero {
    position: relative;
    padding: 96px 32px 56px;
    border-bottom: 1px solid var(--z-900);
    overflow: hidden;
  }
  .article-hero::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
      linear-gradient(var(--z-900) 1px, transparent 1px),
      linear-gradient(90deg, var(--z-900) 1px, transparent 1px);
    background-size: 64px 64px;
    mask-image: radial-gradient(ellipse 70% 50% at 50% 30%, black 30%, transparent 75%);
    pointer-events: none;
  }
  .article-hero-inner { position: relative; max-width: 820px; margin: 0 auto; }
  .article-hero h1 {
    font-size: clamp(40px, 5.2vw, 64px); line-height: 1.04; margin-top: 24px;
    letter-spacing: -0.025em;
  }
  .article-hero .dek {
    margin-top: 24px;
    font-size: 21px; line-height: 1.5; color: var(--z-300);
    max-width: 720px;
  }
  .article-hero .by {
    margin-top: 36px;
    display: flex; gap: 18px; flex-wrap: wrap;
    align-items: center;
    font-family: 'Geist Mono', monospace; font-size: 12px;
    color: var(--z-500); letter-spacing: 0.14em; text-transform: uppercase;
  }
  .article-hero .by .dot {
    width: 4px; height: 4px; border-radius: 50%; background: var(--z-700);
  }

  .article {
    max-width: 820px; margin: 0 auto;
    padding: 64px 32px 80px;
    color: var(--z-200);
    font-size: 18px; line-height: 1.7;
  }
  .article > p {
    margin: 0 0 22px;
    color: var(--z-300); font-size: 18px; line-height: 1.7;
  }
  .article > p:first-child::first-letter {
    /* keep neutral; no drop cap */
  }
  .article h2 {
    font-size: 32px; line-height: 1.18; letter-spacing: -0.018em;
    color: var(--z-050);
    margin: 64px 0 12px;
    scroll-margin-top: 100px;
  }
  .article h2 .lvl {
    display: inline-block;
    font-family: 'Geist Mono', monospace; font-size: 12px;
    letter-spacing: 0.18em; color: var(--accent);
    text-transform: uppercase; vertical-align: 0.4em;
    margin-right: 14px;
    padding: 4px 10px; border-radius: 4px;
    background: oklch(0.82 0.12 165 / 0.10);
    border: 1px solid var(--accent-dim);
  }
  .article h3 {
    font-size: 22px; line-height: 1.3; letter-spacing: -0.01em;
    color: var(--z-050); margin: 36px 0 12px;
  }
  .article ul, .article ol {
    margin: 0 0 22px; padding: 0 0 0 22px;
    color: var(--z-300);
  }
  .article li { margin: 0 0 8px; line-height: 1.6; }
  .article li code, .article p code {
    font-family: 'Geist Mono', monospace; font-size: 0.88em;
    background: var(--z-900); border: 1px solid var(--z-800);
    padding: 1px 6px; border-radius: 4px;
    color: var(--accent);
  }
  .article strong { color: var(--z-050); font-weight: 500; }
  .article em { color: var(--z-100); font-style: italic; }
  .article a:not(.btn) { color: var(--accent); border-bottom: 1px solid var(--accent-dim); }
  .article a:not(.btn):hover { color: var(--z-050); border-color: var(--z-050); }

  /* user-query callout */
  .article .query {
    margin: 24px 0 32px;
    padding: 20px 24px;
    background: var(--z-900);
    border: 1px solid var(--z-800);
    border-left: 3px solid var(--accent);
    border-radius: 8px;
    display: flex; gap: 16px; align-items: flex-start;
  }
  .article .query .who {
    font-family: 'Geist Mono', monospace; font-size: 11px;
    letter-spacing: 0.16em; text-transform: uppercase; color: var(--z-500);
    flex: 0 0 64px; padding-top: 4px;
  }
  .article .query .msg {
    color: var(--z-100); font-size: 17px; line-height: 1.5;
    font-style: italic;
  }

  /* pull-quote */
  .article .pull {
    margin: 36px 0;
    padding: 28px 32px;
    background:
      linear-gradient(135deg, var(--z-900) 0%, var(--z-925) 100%);
    border: 1px solid var(--z-800);
    border-radius: 12px;
    position: relative;
    overflow: hidden;
  }
  .article .pull::before {
    content: '';
    position: absolute; inset: 0;
    background: radial-gradient(ellipse 60% 100% at 0% 50%, var(--accent-glow), transparent 60%);
    pointer-events: none;
  }
  .article .pull .label {
    position: relative;
    font-family: 'Geist Mono', monospace; font-size: 11px;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--accent); margin-bottom: 12px;
  }
  .article .pull p {
    position: relative;
    font-size: 21px; line-height: 1.45; color: var(--z-050);
    margin: 0; letter-spacing: -0.012em;
  }

  /* compare card: traditional vs nexus */
  .article .compare {
    display: grid; grid-template-columns: 1fr 1fr; gap: 0;
    margin: 28px 0 36px;
    border: 1px solid var(--z-800);
    border-radius: 12px;
    overflow: hidden;
    background: var(--z-925);
  }
  .article .compare .col {
    padding: 24px 26px;
    display: flex; flex-direction: column; gap: 14px;
  }
  .article .compare .col + .col { border-left: 1px solid var(--z-800); }
  .article .compare .col.bad { background: linear-gradient(180deg, oklch(0.32 0.06 25 / 0.10), transparent); }
  .article .compare .col.good { background: linear-gradient(180deg, oklch(0.62 0.10 165 / 0.06), transparent); }
  .article .compare .head {
    display: flex; align-items: center; gap: 10px;
    font-family: 'Geist Mono', monospace; font-size: 11px;
    letter-spacing: 0.16em; text-transform: uppercase;
  }
  .article .compare .col.bad .head  { color: oklch(0.78 0.13 25); }
  .article .compare .col.good .head { color: var(--accent); }
  .article .compare .head .pip {
    width: 8px; height: 8px; border-radius: 50%;
  }
  .article .compare .col.bad .pip { background: oklch(0.7 0.13 25); }
  .article .compare .col.good .pip { background: var(--accent); box-shadow: 0 0 10px var(--accent-glow); }
  .article .compare h4 {
    margin: 0; font-size: 17px; color: var(--z-050); font-weight: 500;
    letter-spacing: -0.005em;
  }
  .article .compare ol, .article .compare ul {
    margin: 0; padding: 0; list-style: none;
    display: flex; flex-direction: column; gap: 10px;
  }
  .article .compare li {
    display: flex; gap: 12px; align-items: flex-start;
    color: var(--z-300); font-size: 14px; line-height: 1.5;
    font-family: 'Geist Mono', monospace;
    margin: 0;
  }
  .article .compare li::before { content: none; }
  .article .compare li .step {
    flex: 0 0 22px;
    font-size: 11px;
    color: var(--z-600); padding-top: 1px;
  }
  .article .compare li .what { flex: 1; }
  .article .compare li code {
    color: var(--accent); background: var(--z-925); border-color: var(--z-800);
    font-size: 12px;
  }
  .article .compare .stop {
    margin-top: auto;
    padding-top: 14px;
    border-top: 1px dashed var(--z-800);
    font-family: 'Geist Mono', monospace; font-size: 11px;
    letter-spacing: 0.14em; text-transform: uppercase;
  }
  .article .compare .col.bad .stop { color: oklch(0.78 0.13 25); }
  .article .compare .col.good .stop { color: var(--accent); }

  /* matrix table */
  .article .matrix {
    margin: 36px 0;
    border: 1px solid var(--z-800);
    border-radius: 12px;
    overflow: hidden;
    background: var(--z-900);
  }
  .article .matrix table {
    width: 100%; border-collapse: collapse;
    font-size: 14px;
  }
  .article .matrix th, .article .matrix td {
    padding: 14px 18px;
    text-align: left;
    border-bottom: 1px solid var(--z-850);
    vertical-align: top;
  }
  .article .matrix tr:last-child th, .article .matrix tr:last-child td { border-bottom: 0; }
  .article .matrix th {
    font-family: 'Geist Mono', monospace; font-size: 11px;
    letter-spacing: 0.14em; text-transform: uppercase;
    color: var(--z-500); font-weight: 500;
    background: var(--z-925);
    border-bottom: 1px solid var(--z-800);
  }
  .article .matrix td.cap { color: var(--z-050); font-weight: 500; font-size: 15px; }
  .article .matrix td.cell {
    font-family: 'Geist Mono', monospace; font-size: 13px;
    color: var(--z-300);
  }
  .article .matrix td.cell .pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 3px 10px 3px 8px;
    border-radius: 999px;
    font-size: 11px; letter-spacing: 0.08em;
    border: 1px solid var(--z-800);
    background: var(--z-925);
    color: var(--z-300);
  }
  .article .matrix td.cell .pill.yes { color: var(--accent); border-color: var(--accent-dim); }
  .article .matrix td.cell .pill.no { color: oklch(0.78 0.13 25); border-color: oklch(0.45 0.10 25); }
  .article .matrix td.cell .pill.warn { color: var(--c-flow); border-color: oklch(0.55 0.10 95); }
  .article .matrix td.cell .pill .pip {
    width: 6px; height: 6px; border-radius: 50%; background: currentColor;
  }

  /* big visual — the level escalator */
  .escalator {
    margin: 12px 0 48px;
    background: var(--z-900);
    border: 1px solid var(--z-800);
    border-radius: 14px;
    padding: 32px;
    overflow: hidden;
  }
  .escalator .head {
    display: flex; align-items: baseline; justify-content: space-between;
    margin-bottom: 20px;
    font-family: 'Geist Mono', monospace;
  }
  .escalator .head .label {
    font-size: 11px; letter-spacing: 0.18em; text-transform: uppercase; color: var(--z-500);
  }
  .escalator .head .axes {
    display: flex; gap: 18px; font-size: 11px; letter-spacing: 0.12em;
    color: var(--z-600); text-transform: uppercase;
  }
  .escalator svg { display: block; width: 100%; height: auto; }

  /* honest caveat block */
  .article .caveat {
    margin: 36px 0;
    padding: 28px 32px;
    background: var(--z-925);
    border: 1px solid var(--z-800);
    border-top: 3px solid var(--c-flow);
    border-radius: 12px;
  }
  .article .caveat .label {
    font-family: 'Geist Mono', monospace; font-size: 11px;
    letter-spacing: 0.18em; text-transform: uppercase;
    color: var(--c-flow); margin-bottom: 14px;
  }
  .article .caveat p { color: var(--z-200); font-size: 17px; }
  .article .caveat ul { color: var(--z-200); }
  .article .caveat li { font-size: 16px; }

  /* article footer / next */
  .article-tail {
    max-width: 820px; margin: 0 auto;
    padding: 0 32px 96px;
  }
  .article-tail .next {
    background: var(--z-900); border: 1px solid var(--z-800);
    border-radius: 12px; padding: 28px;
    display: grid; grid-template-columns: 1fr auto; gap: 24px;
    align-items: center;
  }
  .article-tail .next .label {
    font-family: 'Geist Mono', monospace; font-size: 11px;
    letter-spacing: 0.16em; text-transform: uppercase; color: var(--z-500);
    margin-bottom: 8px;
  }
  .article-tail .next .ttl { font-size: 18px; color: var(--z-050); }

  @media (max-width: 760px) {
    .article-hero { padding: 64px 24px 40px; }
    .article { padding: 40px 24px 56px; font-size: 17px; }
    .article h2 { font-size: 26px; margin-top: 48px; }
    .article h2 .lvl { display: block; margin: 0 0 10px; vertical-align: baseline; }
    .article .compare { grid-template-columns: 1fr; }
    .article .compare .col + .col { border-left: 0; border-top: 1px solid var(--z-800); }
    .article .matrix table { font-size: 13px; }
    .article .matrix th, .article .matrix td { padding: 12px 14px; }
    .article-tail .next { grid-template-columns: 1fr; }
    .article-hero h1 { font-size: 36px; }
  }
