/* AxonLobe — AI Organizational Intelligence · Neural brain interface */

:root {
 --primary: #6D5DF6;
 --primary-hover: #8577F8;
 --primary-soft: rgba(109, 93, 246, 0.14);
 --secondary: #00D9FF;
 --secondary-soft: rgba(0, 217, 255, 0.1);
 --node: #22C55E;
 --node-soft: rgba(34, 197, 94, 0.12);
 --warn: #F59E0B;
 --risk: #EF4444;
 --ink: #F8FAFC;
 --muted: rgba(248, 250, 252, 0.62);
 --muted-light: rgba(248, 250, 252, 0.38);
 --line: rgba(255, 255, 255, 0.08);
 --card: rgba(255, 255, 255, 0.04);
 --card-hover: rgba(255, 255, 255, 0.07);
 --bg: #050816;
 --bg-alt: #070B1A;
 --max: 1280px;
 --gutter: clamp(16px, 4vw, 28px);
 --radius: 10px;
 --radius-sm: 6px;
 --radius-lg: 14px;
 --radius-xl: 18px;
 --display: "Syne", system-ui, sans-serif;
 --sans: "Inter", system-ui, sans-serif;
 --mono: "IBM Plex Mono", ui-monospace, monospace;
 --announce-h: 38px;
 --header-h: 64px;
 --site-top-h: calc(var(--announce-h) + var(--header-h));
 --card-pad: clamp(16px, 2.5vw, 22px);
 --card-gap: 24px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
 margin: 0;
 font-family: var(--sans);
 font-size: 16px;
 line-height: 1.65;
 color: var(--muted);
 background: var(--bg);
 -webkit-font-smoothing: antialiased;
 overflow-x: clip;
}

body.auth-page { min-height: 100vh; background: var(--bg); }
body.modal-open { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: var(--secondary); text-decoration: none; }
a:hover { color: var(--primary); }
button, input, select, textarea { font: inherit; color: inherit; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, p { margin: 0; }
[hidden] { display: none !important; }

:focus-visible { outline: 2px solid var(--secondary); outline-offset: 2px; }

.container { width: 100%; max-width: var(--max); margin-inline: auto; padding-inline: var(--gutter); }
.site-shell { min-height: 100vh; display: flex; flex-direction: column; padding-top: var(--site-top-h); }
.site-shell main { flex: 1; }

h1, h2, h3, h4, .page-title, .brain-hero-title {
 font-family: var(--display);
 font-weight: 700;
 color: var(--ink);
 letter-spacing: -0.025em;
}

.lead { font-size: 1.06rem; line-height: 1.72; color: var(--muted); max-width: 62ch; }
.eyebrow {
 display: inline-block;
 font-family: var(--mono);
 font-size: 0.68rem;
 font-weight: 500;
 letter-spacing: 0.1em;
 text-transform: uppercase;
 color: var(--secondary);
 background: var(--secondary-soft);
 padding: 4px 11px;
 border-radius: 999px;
 margin-bottom: 14px;
}

.text-link { font-weight: 600; font-size: 0.9rem; color: var(--secondary); }

/* Header */
.announce-bar {
 position: fixed; top: 0; left: 0; right: 0; z-index: 110;
 display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
 gap: 6px 12px; min-height: var(--announce-h); padding: 7px var(--gutter);
 background: linear-gradient(90deg, #050816 0%, #12082A 50%, #050816 100%);
 border-bottom: 1px solid rgba(109, 93, 246, 0.25);
 color: rgba(248, 250, 252, 0.88); font-size: 0.82rem; font-weight: 500; text-align: center;
}
.announce-bar a { color: var(--primary); font-weight: 600; white-space: nowrap; }

.site-header {
 position: fixed; top: var(--announce-h); left: 0; right: 0; z-index: 100;
 background: rgba(5, 8, 22, 0.92); backdrop-filter: blur(14px);
 border-bottom: 1px solid var(--line);
}

.header-row {
 display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
 align-items: center; gap: 12px; min-height: var(--header-h);
}

.brand { display: inline-flex; align-items: center; gap: 10px; color: var(--ink); min-width: 0; }
.brand:hover { color: var(--ink); }
.logo-mark { flex-shrink: 0; width: 28px; height: 28px; display: grid; place-items: center; }
.logo-mark svg { width: 28px; height: 28px; display: block; }
.brand-text { display: flex; flex-direction: column; gap: 1px; min-width: 0; }
.brand-text strong { font-family: var(--display); font-size: 0.95rem; font-weight: 700; white-space: nowrap; }
.brand-text span { font-family: var(--mono); font-size: 0.62rem; color: var(--muted-light); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

.nav-main { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 2px 4px; }
.nav-link { font-size: 0.78rem; font-weight: 500; color: var(--muted); padding: 6px 8px; border-radius: var(--radius-sm); white-space: nowrap; }
.nav-link:hover { color: var(--ink); background: rgba(255, 255, 255, 0.04); }
.header-actions { display: flex; align-items: center; justify-content: flex-end; gap: 6px; flex-wrap: wrap; }

/* Buttons */
.btn {
 display: inline-flex; align-items: center; justify-content: center; gap: 6px;
 padding: 10px 18px; border-radius: var(--radius); font-size: 0.875rem; font-weight: 600;
 border: 1px solid transparent; cursor: pointer; transition: background 0.15s, transform 0.1s;
 text-decoration: none; white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--primary); color: #fff; border-color: rgba(109, 93, 246, 0.5); box-shadow: 0 0 24px rgba(109, 93, 246, 0.25); }
.btn-primary:hover { background: var(--primary-hover); color: #fff; }
.btn-secondary { background: rgba(255, 255, 255, 0.05); color: var(--ink); border-color: var(--line); }
.btn-secondary:hover { background: rgba(255, 255, 255, 0.09); color: var(--ink); }
.btn-ghost { background: transparent; color: var(--muted); border-color: transparent; }
.btn-ghost:hover { color: var(--ink); background: rgba(255, 255, 255, 0.04); }
.btn-sm { padding: 6px 12px; font-size: 0.78rem; }
.btn-lg { padding: 13px 24px; font-size: 0.95rem; }
.btn-full { width: 100%; }
.btn-row { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 20px; }

.reveal { opacity: 0; transform: translateY(16px); transition: opacity 0.55s ease, transform 0.55s ease; }
.reveal.visible, .reveal.is-visible { opacity: 1; transform: none; }

/* ═══ HOME — Neural lab (centered hero + canvas) ═══ */
.brain-home { background: var(--bg); }

.brain-hero {
 padding: clamp(40px, 7vw, 64px) 0 clamp(28px, 4vw, 40px);
 text-align: center;
 background: radial-gradient(ellipse at 50% 0%, rgba(109, 93, 246, 0.12) 0%, transparent 55%);
}

.brain-hero-inner { display: flex; flex-direction: column; align-items: center; }

.brain-hero-title {
 font-size: clamp(1.75rem, 4.5vw, 2.75rem);
 line-height: 1.12;
 max-width: 20ch;
 margin-bottom: 16px;
}

.brain-hero-tagline {
 font-family: var(--mono);
 font-size: 0.82rem;
 letter-spacing: 0.04em;
 color: var(--secondary);
 margin-bottom: 12px;
}

.brain-hero-lead {
 font-size: 1.05rem;
 line-height: 1.7;
 color: var(--muted);
 max-width: 58ch;
 margin-bottom: 8px;
}

.brain-hero-actions { justify-content: center; margin-top: 24px; }

.brain-hero-stats {
 display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; margin-top: 28px;
}

/* Neural canvas */
.neural-canvas-section {
 position: relative;
 min-height: 480px;
 border-block: 1px solid var(--line);
 background: #030610;
}

.neural-canvas-wrap {
 position: relative;
 width: 100%;
 height: clamp(420px, 55vh, 560px);
 overflow: hidden;
}

.neural-canvas-bg {
 position: absolute;
 inset: 0;
 width: 100%;
 height: 100%;
}

.neural-canvas-overlay {
 position: absolute;
 inset: 0;
 pointer-events: none;
}

.neural-canvas-hud {
 position: absolute;
 top: 16px; left: 20px; right: 20px;
 display: flex; justify-content: space-between; align-items: center;
 font-family: var(--mono); font-size: 0.68rem;
}

.hud-label { color: var(--muted-light); letter-spacing: 0.06em; text-transform: uppercase; }
.hud-live { color: var(--node); }

.neural-node-float {
 position: absolute;
 padding: 10px 14px;
 background: rgba(5, 8, 22, 0.85);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 backdrop-filter: blur(8px);
 pointer-events: auto;
 cursor: pointer;
 transition: border-color 0.2s, box-shadow 0.2s;
 max-width: 160px;
}

.neural-node-float strong { display: block; font-size: 0.78rem; color: var(--ink); line-height: 1.3; }
.neural-node-float span { font-size: 0.65rem; color: var(--muted-light); font-family: var(--mono); }

.neural-node-float.is-active {
 border-color: rgba(109, 93, 246, 0.6);
 box-shadow: 0 0 24px rgba(109, 93, 246, 0.35);
}

.neural-node-float-center { top: 50%; left: 50%; transform: translate(-50%, -50%); }
.node-orbit-1 { top: 22%; left: 18%; }
.node-orbit-2 { top: 18%; right: 20%; }
.node-orbit-3 { top: 62%; left: 12%; }
.node-orbit-4 { top: 68%; right: 16%; }
.node-orbit-5 { bottom: 18%; left: 28%; }
.node-orbit-6 { bottom: 20%; right: 26%; }
.node-orbit-7 { top: 38%; left: 8%; }
.node-orbit-8 { top: 32%; right: 10%; }
.node-orbit-9 { bottom: 32%; left: 44%; }

.home-node-legend {
 position: absolute;
 top: 52px;
 left: 50%;
 transform: translateX(-50%);
 display: flex;
 flex-wrap: wrap;
 gap: 6px;
 justify-content: center;
 max-width: min(720px, calc(100% - 32px));
 pointer-events: none;
}
.legend-chip {
 font-family: var(--mono);
 font-size: 0.62rem;
 padding: 4px 10px;
 border-radius: 999px;
 border: 1px solid var(--line);
 background: rgba(5, 8, 22, 0.75);
}
.legend-project { border-color: rgba(109, 93, 246, 0.35); color: var(--primary); }
.legend-team { border-color: rgba(0, 217, 255, 0.35); color: var(--secondary); }
.legend-doc { border-color: rgba(34, 197, 94, 0.35); color: var(--node); }
.legend-meeting { border-color: rgba(245, 158, 11, 0.35); color: var(--warn); }
.legend-knowledge { border-color: rgba(248, 250, 252, 0.2); color: var(--ink); }
.legend-stat { width: 100%; text-align: center; font-family: var(--mono); font-size: 0.62rem; color: var(--muted-light); margin-top: 4px; }

.neural-inspector {
 position: absolute;
 bottom: 20px; left: 50%; transform: translateX(-50%);
 width: min(420px, calc(100% - 40px));
 padding: 16px 18px;
 background: rgba(5, 8, 22, 0.92);
 border: 1px solid rgba(109, 93, 246, 0.3);
 border-radius: var(--radius-lg);
 backdrop-filter: blur(12px);
 pointer-events: auto;
}

.inspector-label {
 font-family: var(--mono);
 font-size: 0.62rem;
 letter-spacing: 0.08em;
 text-transform: uppercase;
 color: var(--secondary);
}

.neural-inspector strong {
 display: block;
 font-size: 0.9rem;
 color: var(--ink);
 margin: 6px 0 4px;
}

.neural-inspector p { font-size: 0.8rem; line-height: 1.55; }
.inspector-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }

/* Home sections */
.brain-section { padding: clamp(48px, 8vw, 80px) 0; }
.brain-section.is-alt { background: var(--bg-alt); }

.section-head { margin-bottom: clamp(24px, 4vw, 36px); text-align: center; }
.section-head h2 { font-size: clamp(1.4rem, 3vw, 1.85rem); margin-bottom: 10px; }
.section-head p { max-width: 58ch; margin-inline: auto; font-size: 0.95rem; }

.ingestion-flow {
 display: grid;
 grid-template-columns: 1fr auto 1fr;
 gap: var(--card-gap);
 align-items: center;
}

.ingestion-sources, .ingestion-outputs {
 display: flex; flex-wrap: wrap; gap: 8px; justify-content: center;
}

.ingestion-node {
 padding: 8px 14px;
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: 999px;
 font-size: 0.78rem;
 font-weight: 600;
 color: var(--muted);
}

.ingestion-node.out { color: var(--primary); border-color: rgba(109, 93, 246, 0.3); }

.ingestion-engine {
 display: flex; flex-direction: column; align-items: center; gap: 6px;
 padding: 24px 28px;
 background: radial-gradient(circle, rgba(109, 93, 246, 0.15) 0%, transparent 70%);
 border: 1px solid rgba(109, 93, 246, 0.35);
 border-radius: 50%;
 width: 160px; height: 160px;
 justify-content: center;
 text-align: center;
 position: relative;
}

.engine-pulse {
 position: absolute; inset: -4px;
 border-radius: 50%;
 border: 2px solid rgba(0, 217, 255, 0.3);
 animation: engine-pulse 2.5s ease infinite;
}

@keyframes engine-pulse {
 0%, 100% { transform: scale(1); opacity: 0.6; }
 50% { transform: scale(1.08); opacity: 0.2; }
}

.ingestion-engine strong { font-size: 0.82rem; color: var(--ink); }
.ingestion-engine span { font-size: 0.65rem; color: var(--muted-light); font-family: var(--mono); }

.cortex-grid {
 display: grid;
 grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
 gap: var(--card-gap);
}

.cortex-card {
 padding: var(--card-pad);
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius-lg);
}

.cortex-label {
 font-family: var(--mono);
 font-size: 0.62rem;
 letter-spacing: 0.06em;
 text-transform: uppercase;
 color: var(--muted-light);
}

.cortex-card strong { display: block; font-size: 0.95rem; color: var(--ink); margin: 8px 0 6px; }
.cortex-card p { font-size: 0.82rem; line-height: 1.55; margin-bottom: 12px; }

.cortex-bar {
 height: 4px;
 background: rgba(255, 255, 255, 0.06);
 border-radius: 999px;
 overflow: hidden;
}

.cortex-bar span {
 display: block;
 height: 100%;
 background: linear-gradient(90deg, var(--primary), var(--secondary));
 border-radius: 999px;
}

.cortex-primary .cortex-bar span { background: var(--primary); }
.cortex-highlight .cortex-bar span { background: var(--secondary); }
.cortex-live .cortex-bar span { background: var(--node); }

.memory-loop {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
 gap: var(--card-gap);
}

.memory-step {
 padding: var(--card-pad);
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius-lg);
 border-left: 3px solid var(--primary);
}

.memory-step span:first-child {
 display: inline-grid; place-items: center;
 width: 28px; height: 28px;
 background: var(--primary-soft);
 color: var(--primary);
 border-radius: var(--radius-sm);
 font-family: var(--mono);
 font-size: 0.72rem;
 font-weight: 600;
 margin-bottom: 10px;
}

.memory-step strong { display: block; font-size: 0.9rem; color: var(--ink); margin-bottom: 6px; }
.memory-step p { font-size: 0.82rem; line-height: 1.55; }

/* Tags + stats */
.tag-chip {
 display: inline-flex; align-items: center;
 padding: 3px 9px; border-radius: 999px;
 font-size: 0.68rem; font-weight: 600;
 border: 1px solid var(--line);
 color: var(--muted);
 background: rgba(255, 255, 255, 0.03);
}
.tag-primary { color: var(--primary); border-color: rgba(109, 93, 246, 0.35); background: var(--primary-soft); }
.tag-secondary, .tag-highlight { color: var(--secondary); border-color: rgba(0, 217, 255, 0.35); background: var(--secondary-soft); }
.tag-live { color: var(--node); border-color: rgba(34, 197, 94, 0.35); background: var(--node-soft); animation: pulse-tag 2s infinite; }
.tag-positive { color: var(--node); }
.tag-warn { color: var(--warn); }
.tag-risk { color: var(--risk); }
.tag-neutral { color: var(--muted); }
.tag-chip.is-active { border-color: var(--primary); color: var(--primary); }

@keyframes pulse-tag { 0%, 100% { opacity: 1; } 50% { opacity: 0.65; } }

.stat-pulse {
 position: relative;
 display: flex; flex-direction: column; gap: 2px;
 padding: 12px 16px;
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 min-width: 100px;
 overflow: hidden;
}
.stat-pulse strong { font-family: var(--display); font-size: 1.2rem; color: var(--ink); font-weight: 700; }
.stat-pulse span:not(.pulse-ring) { font-size: 0.68rem; color: var(--muted-light); text-transform: uppercase; letter-spacing: 0.04em; }
.stat-primary strong { color: var(--primary); }
.stat-highlight strong { color: var(--secondary); }
.stat-live strong { color: var(--node); }

.pulse-ring {
 position: absolute; top: 8px; right: 8px;
 width: 8px; height: 8px;
 background: var(--node);
 border-radius: 50%;
 animation: pulse-ring 1.8s ease infinite;
}
@keyframes pulse-ring { 0%, 100% { opacity: 1; transform: scale(1); } 50% { opacity: 0.4; transform: scale(1.4); } }

/* Neural panels + frames */
.neural-panel {
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius-lg);
 overflow: hidden;
}
.neural-panel-accent { border-color: rgba(109, 93, 246, 0.25); }
.neural-panel-head {
 display: flex; align-items: center; justify-content: space-between; gap: 12px;
 padding: 12px 16px; border-bottom: 1px solid var(--line);
 font-size: 0.82rem; font-weight: 600; color: var(--ink);
 background: rgba(255, 255, 255, 0.02);
}
.neural-badge { font-family: var(--mono); font-size: 0.62rem; color: var(--node); letter-spacing: 0.06em; text-transform: uppercase; }
.neural-panel-body { padding: 16px; }

.neural-frame {
 background: var(--card);
 border: 1px solid rgba(109, 93, 246, 0.15);
 border-radius: var(--radius-xl);
 padding: clamp(16px, 3vw, 24px);
 box-shadow: 0 0 60px rgba(109, 93, 246, 0.06);
}

/* Page hero */
.page-hero {
 padding: clamp(36px, 6vw, 56px) 0 clamp(28px, 4vw, 40px);
 border-bottom: 1px solid var(--line);
 background: radial-gradient(ellipse at 30% 0%, rgba(109, 93, 246, 0.08) 0%, transparent 50%);
}
.page-showcase { padding: clamp(32px, 5vw, 48px) 0; }
.page-showcase.is-alt, .page-body.is-alt { background: var(--bg-alt); }
.page-body { padding: clamp(32px, 5vw, 48px) 0; }
.page-title { font-size: clamp(1.75rem, 4vw, 2.5rem); line-height: 1.15; margin-bottom: 14px; }

.breadcrumb {
 display: flex; flex-wrap: wrap; align-items: center; gap: 6px;
 font-size: 0.78rem; color: var(--muted-light); margin-bottom: 16px;
}
.breadcrumb a { color: var(--muted); }
.breadcrumb a:hover { color: var(--secondary); }

.section.is-alt { background: var(--bg-alt); }
.section.tight { padding: clamp(32px, 5vw, 48px) 0; }
.section-inline-title { font-size: clamp(1.2rem, 2.5vw, 1.5rem); margin-bottom: 8px; color: var(--ink); }
.section-sub { font-size: 0.92rem; color: var(--muted); margin-bottom: 20px; max-width: 58ch; }

.sub-cta {
 text-align: center; padding: clamp(32px, 5vw, 48px);
 background: var(--card); border: 1px solid rgba(109, 93, 246, 0.2);
 border-radius: var(--radius-xl);
}
.sub-cta h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); margin-bottom: 10px; color: var(--ink); }
.sub-cta p { max-width: 52ch; margin: 0 auto 4px; font-size: 0.92rem; }
.sub-cta .btn-row { justify-content: center; }

.ui-alert { margin-top: 16px; padding: 12px 16px; border-radius: var(--radius); font-size: 0.85rem; border: 1px solid var(--line); }
.ui-alert strong { color: var(--ink); display: block; margin-bottom: 2px; }
.ui-alert-ok { background: var(--node-soft); border-color: rgba(34, 197, 94, 0.3); }
.ui-alert-info { background: var(--secondary-soft); border-color: rgba(0, 217, 255, 0.3); }
.is-running { animation: pulse-run 0.6s ease; }
@keyframes pulse-run { 0%, 100% { opacity: 1; } 50% { opacity: 0.6; } }

/* Brain map */
.brain-map-canvas { display: flex; flex-direction: column; gap: 14px; }
.brain-map-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 10px; font-size: 0.82rem; }
.brain-map-head strong { color: var(--ink); }
.brain-map-head > span { color: var(--muted-light); font-family: var(--mono); font-size: 0.72rem; }
.brain-map-stats { display: flex; flex-wrap: wrap; gap: 8px; width: 100%; margin-top: 8px; }

.brain-map-stage {
 display: grid;
 grid-template-columns: 1fr 280px;
 gap: var(--card-gap);
 min-height: 360px;
}

.brain-map-grid {
 position: relative;
 min-height: 360px;
 background: radial-gradient(ellipse at center, rgba(109, 93, 246, 0.08) 0%, transparent 65%);
 border: 1px solid var(--line);
 border-radius: var(--radius-lg);
 overflow: hidden;
}

.brain-map-synapses {
 position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none;
}
.synapse { fill: none; stroke-width: 1.5; opacity: 0.5; }
.synapse-primary { stroke: var(--primary); }
.synapse-secondary { stroke: var(--secondary); }
.synapse-live { stroke: var(--node); animation: synapse-flow 2s ease infinite; }
.synapse-muted { stroke: rgba(255, 255, 255, 0.15); }
@keyframes synapse-flow { 0%, 100% { opacity: 0.3; } 50% { opacity: 0.8; } }

.neural-node {
 position: absolute;
 display: flex; flex-direction: column; gap: 2px;
 padding: 8px 12px;
 background: rgba(5, 8, 22, 0.9);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 cursor: pointer;
 text-align: left;
 transition: border-color 0.15s, box-shadow 0.15s;
 max-width: 140px;
}
.neural-node strong { font-size: 0.75rem; color: var(--ink); }
.node-meta { font-size: 0.62rem; color: var(--muted-light); font-family: var(--mono); }
.neural-node-center { top: 50%; left: 50%; transform: translate(-50%, -50%); border-color: rgba(109, 93, 246, 0.5); box-shadow: 0 0 20px rgba(109, 93, 246, 0.3); }
.node-orbit-1 { top: 12%; left: 10%; }
.node-orbit-2 { top: 8%; right: 12%; }
.node-orbit-3 { top: 55%; left: 5%; }
.node-orbit-4 { top: 60%; right: 8%; }
.node-orbit-5 { bottom: 12%; left: 22%; }
.node-orbit-6 { bottom: 15%; right: 18%; }
.node-orbit-7 { top: 35%; left: 28%; }
.node-orbit-8 { top: 38%; right: 25%; }
.node-orbit-9 { bottom: 35%; left: 38%; }
.node-orbit-10 { bottom: 38%; right: 35%; }
.node-orbit-11 { top: 22%; left: 42%; }
.neural-node[data-neural-selected="true"], .neural-node.is-active {
 border-color: var(--primary);
 box-shadow: 0 0 16px rgba(109, 93, 246, 0.35);
}

.node-detail-row {
 display: flex; justify-content: space-between; gap: 8px;
 padding: 6px 0; border-bottom: 1px solid var(--line);
 font-size: 0.8rem;
}
.node-detail-row span:first-child { color: var(--muted-light); font-family: var(--mono); font-size: 0.68rem; }
.node-detail-row strong { color: var(--muted); font-weight: 500; text-align: right; }
.brain-map-hint { font-size: 0.75rem; color: var(--muted-light); font-family: var(--mono); }

/* Knowledge graph 3D */
.knowledge-graph-3d { display: flex; flex-direction: column; gap: 14px; }
.graph-3d-head strong { display: block; color: var(--ink); font-size: 0.9rem; }
.graph-3d-head span { font-size: 0.72rem; color: var(--muted-light); font-family: var(--mono); }

.graph-3d-stage {
 position: relative;
 min-height: 320px;
 perspective: 800px;
 background: radial-gradient(ellipse at center, rgba(0, 217, 255, 0.06) 0%, transparent 60%);
 border: 1px solid var(--line);
 border-radius: var(--radius-lg);
 padding: 24px;
 display: flex; flex-direction: column; justify-content: center; gap: 20px;
}

.graph-3d-layer { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: center; }
.graph-layer-back { opacity: 0.65; transform: scale(0.92); }
.graph-layer-mid { transform: scale(1); }
.graph-layer-front { opacity: 0.9; transform: scale(0.96); }

.graph-orbit-label {
 width: 100%; text-align: center;
 font-family: var(--mono); font-size: 0.65rem;
 color: var(--secondary); letter-spacing: 0.08em; text-transform: uppercase;
}

.graph-3d-node {
 padding: 10px 14px;
 background: rgba(5, 8, 22, 0.85);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 min-width: 120px;
}
.graph-3d-node strong { display: block; font-size: 0.78rem; color: var(--ink); }
.graph-3d-node span { font-size: 0.65rem; color: var(--muted-light); }
.graph-node-center { border-color: rgba(109, 93, 246, 0.5); box-shadow: 0 0 20px rgba(109, 93, 246, 0.25); }

.graph-3d-beams { position: absolute; inset: 0; pointer-events: none; }
.beam { position: absolute; height: 1px; background: linear-gradient(90deg, transparent, var(--primary), transparent); opacity: 0.4; animation: beam-scan 3s ease infinite; }
.beam-primary { top: 45%; left: 10%; right: 10%; }
.beam-secondary { top: 55%; left: 15%; right: 15%; animation-delay: 1s; }
.beam-live { top: 50%; left: 5%; right: 5%; animation-delay: 2s; background: linear-gradient(90deg, transparent, var(--node), transparent); }
@keyframes beam-scan { 0%, 100% { opacity: 0.2; } 50% { opacity: 0.7; } }

.graph-3d-legend { display: flex; flex-wrap: wrap; gap: 10px; align-items: center; justify-content: space-between; font-size: 0.78rem; }
.graph-3d-metrics { display: flex; flex-wrap: wrap; gap: 8px; }

/* Expert wall */
.expert-avatar-wall { display: flex; flex-direction: column; gap: 14px; }
.expert-wall-head strong { display: block; color: var(--ink); font-size: 0.9rem; }
.expert-wall-head span { font-size: 0.72rem; color: var(--muted-light); }
.expert-wall-stats { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }

.expert-avatar-grid {
 display: grid;
 grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
 gap: var(--card-gap);
}

.expert-avatar-card {
 padding: var(--card-pad);
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius-lg);
 transition: border-color 0.15s;
}
.expert-avatar-card:hover { border-color: rgba(109, 93, 246, 0.3); }

.expert-avatar {
 position: relative;
 width: 44px; height: 44px;
 border-radius: 50%;
 background: linear-gradient(135deg, var(--primary), var(--secondary));
 display: grid; place-items: center;
 font-weight: 700; font-size: 0.85rem; color: #fff;
 margin-bottom: 10px;
}

.expert-pulse {
 position: absolute; inset: -3px;
 border-radius: 50%;
 border: 1px solid rgba(0, 217, 255, 0.4);
 animation: pulse-ring 2s ease infinite;
}

.expert-avatar-card strong { display: block; font-size: 0.88rem; color: var(--ink); }
.expert-field { font-size: 0.72rem; color: var(--secondary); }
.expert-influence { font-family: var(--mono); font-size: 0.68rem; color: var(--node); display: block; margin: 4px 0; }
.expert-coverage { font-size: 0.78rem; line-height: 1.5; }

/* Signals */
.intelligence-signals-panel { display: flex; flex-direction: column; gap: 16px; }
.signals-head strong { display: block; color: var(--ink); font-size: 0.9rem; }
.signals-head span { font-size: 0.72rem; color: var(--muted-light); }

.signals-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: var(--card-gap); }

.signal-column h3 {
 font-size: 0.82rem; color: var(--ink); margin-bottom: 10px;
 font-family: var(--mono); letter-spacing: 0.04em; text-transform: uppercase;
}

.signal-row {
 padding: 12px 14px;
 background: rgba(255, 255, 255, 0.02);
 border: 1px solid var(--line);
 border-radius: var(--radius);
 margin-bottom: 8px;
}
.signal-row strong { display: block; font-size: 0.85rem; color: var(--ink); margin-bottom: 4px; }
.signal-row p { font-size: 0.78rem; line-height: 1.5; }

.signal-activity-bar {
 height: 3px; background: rgba(255, 255, 255, 0.06);
 border-radius: 999px; margin-top: 8px; overflow: hidden;
}
.signal-activity-bar span { display: block; height: 100%; background: var(--node); border-radius: 999px; }

/* Clusters */
.knowledge-cluster-grid { display: flex; flex-direction: column; gap: var(--card-gap); }
.cluster-card {
 padding: var(--card-pad);
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius-lg);
}
.cluster-card-head { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; margin-bottom: 12px; }
.cluster-card-head strong { font-size: 0.95rem; color: var(--ink); }
.cluster-card-head span { font-size: 0.72rem; color: var(--muted-light); font-family: var(--mono); }

.cluster-section { margin-bottom: 10px; }
.cluster-section-label { font-family: var(--mono); font-size: 0.65rem; color: var(--secondary); text-transform: uppercase; letter-spacing: 0.06em; margin-bottom: 6px; }
.cluster-list { display: flex; flex-direction: column; gap: 4px; }
.cluster-list li { font-size: 0.8rem; color: var(--muted); padding: 4px 0; border-bottom: 1px solid var(--line); }

/* Memory timeline */
.org-memory-timeline { display: flex; flex-direction: column; gap: 14px; }
.memory-search-bar { display: flex; gap: 8px; margin-bottom: 8px; }
.memory-search-bar input {
 flex: 1; background: var(--bg); border: 1px solid var(--line);
 border-radius: var(--radius); padding: 10px 14px; color: var(--ink); font-size: 0.9rem;
}

.memory-timeline { display: flex; flex-direction: column; gap: 0; border-left: 2px solid rgba(109, 93, 246, 0.3); margin-left: 8px; }

.memory-event {
 position: relative;
 padding: 14px 14px 14px 24px;
 border-bottom: 1px solid var(--line);
}
.memory-event::before {
 content: "";
 position: absolute; left: -7px; top: 18px;
 width: 12px; height: 12px;
 background: var(--primary);
 border-radius: 50%;
 box-shadow: 0 0 8px rgba(109, 93, 246, 0.5);
}
.memory-event strong { display: block; font-size: 0.88rem; color: var(--ink); margin-bottom: 4px; }
.memory-event-meta { font-family: var(--mono); font-size: 0.68rem; color: var(--muted-light); margin-bottom: 6px; }
.memory-event p { font-size: 0.82rem; line-height: 1.55; }

/* Knowledge gaps */
.gaps-analysis { display: flex; flex-direction: column; gap: var(--card-gap); }
.gap-card {
 padding: var(--card-pad);
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius-lg);
 border-left: 3px solid var(--warn);
}
.gap-card h3 { font-size: 0.92rem; color: var(--ink); margin-bottom: 8px; }
.gap-card p { font-size: 0.82rem; line-height: 1.55; margin-bottom: 8px; }
.gap-severity { font-family: var(--mono); font-size: 0.68rem; color: var(--warn); }

/* Team intelligence */
.team-intelligence-map { display: flex; flex-direction: column; gap: 14px; }
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: var(--card-gap); }
.team-node {
 padding: var(--card-pad);
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius-lg);
 text-align: center;
}
.team-node strong { display: block; font-size: 0.88rem; color: var(--ink); margin-bottom: 6px; }
.team-node span { font-size: 0.72rem; color: var(--muted-light); }

.team-intelligence-hub { display: flex; flex-direction: column; gap: var(--card-gap); }
.hub-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: var(--card-gap); }
.hub-card {
 display: flex; flex-direction: column; gap: 8px;
 padding: var(--card-pad);
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius-lg);
 color: inherit;
 transition: border-color 0.15s, transform 0.15s;
}
.hub-card:hover { border-color: rgba(109, 93, 246, 0.35); transform: translateY(-2px); color: inherit; }
.hub-card strong { font-size: 0.92rem; color: var(--ink); }
.hub-card p { font-size: 0.82rem; flex: 1; }
.hub-link { font-size: 0.78rem; font-weight: 600; color: var(--primary); }

/* Org use cases */
.org-use-case { display: flex; flex-direction: column; gap: 10px; }
.org-row {
 display: flex; flex-wrap: wrap; gap: 8px 16px;
 padding: 8px 0; border-bottom: 1px solid var(--line); font-size: 0.85rem;
}
.org-row span:first-child { font-family: var(--mono); font-size: 0.68rem; color: var(--muted-light); min-width: 120px; text-transform: uppercase; }
.org-row strong { color: var(--ink); flex: 1; }
.org-quote {
 margin-top: 12px; padding: 16px;
 background: rgba(109, 93, 246, 0.08);
 border-left: 3px solid var(--primary);
 border-radius: 0 var(--radius) var(--radius) 0;
}
.org-quote p { font-size: 0.88rem; font-style: italic; color: var(--ink); line-height: 1.6; margin-bottom: 8px; }
.org-quote span { font-size: 0.75rem; color: var(--muted-light); }

/* Integration brain engine */
.brain-engine-flow {
 display: grid;
 grid-template-columns: 1fr auto 1fr;
 gap: var(--card-gap);
 align-items: center;
 padding: var(--card-pad);
 margin-bottom: var(--card-gap);
 background: var(--card);
 border: 1px solid rgba(109, 93, 246, 0.2);
 border-radius: var(--radius-xl);
}

.engine-sources, .engine-outputs { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.engine-source, .engine-output {
 padding: 8px 14px;
 border-radius: 999px;
 font-size: 0.78rem;
 font-weight: 600;
 border: 1px solid var(--line);
 background: rgba(255, 255, 255, 0.03);
}
.engine-source { color: var(--secondary); border-color: rgba(0, 217, 255, 0.3); }
.engine-output { color: var(--primary); border-color: rgba(109, 93, 246, 0.3); }

.brain-engine-core {
 display: flex; flex-direction: column; align-items: center; gap: 8px;
 padding: 20px;
 text-align: center;
 position: relative;
}
.brain-engine-core strong { font-size: 0.9rem; color: var(--ink); }
.brain-engine-core span { font-size: 0.72rem; color: var(--muted-light); font-family: var(--mono); }

.neural-impulse {
 position: absolute;
 width: 100%; height: 2px;
 background: linear-gradient(90deg, transparent, var(--secondary), transparent);
 animation: impulse-travel 2s ease infinite;
}
.neural-impulse-1 { top: 30%; animation-delay: 0s; }
.neural-impulse-2 { top: 50%; animation-delay: 0.7s; }
.neural-impulse-3 { top: 70%; animation-delay: 1.4s; }
@keyframes impulse-travel { 0% { transform: translateX(-100%); opacity: 0; } 50% { opacity: 1; } 100% { transform: translateX(100%); opacity: 0; } }

.integration-connect-grid {
 display: grid;
 grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
 gap: var(--card-gap);
}

.int-card {
 padding: var(--card-pad);
 background: rgba(255, 255, 255, 0.02);
 border: 1px solid var(--line);
 border-radius: var(--radius-lg);
 display: flex; flex-direction: column; gap: 8px;
}
.int-card h3 { font-size: 0.95rem; color: var(--ink); }
.int-card p { font-size: 0.82rem; flex: 1; }
.int-status { font-family: var(--mono); font-size: 0.68rem; color: var(--muted-light); }
.int-connected { border-color: rgba(34, 197, 94, 0.3); }
.int-connected .int-status { color: var(--node); }

/* Pricing */
.pricing-billing-basis { margin-bottom: var(--card-gap); }
.billing-metrics-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
 gap: var(--card-gap);
}
.billing-metric-card {
 padding: var(--card-pad);
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius-lg);
}
.billing-metric-card h3 { font-size: 0.95rem; color: var(--ink); margin-bottom: 8px; }
.billing-metric-card p { font-size: 0.82rem; line-height: 1.55; margin-bottom: 12px; }
.billing-examples { display: flex; flex-direction: column; gap: 4px; }
.billing-examples span { font-family: var(--mono); font-size: 0.68rem; color: var(--muted-light); }

.pricing-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
 gap: var(--card-gap);
 align-items: start;
}
.plan-card {
 padding: clamp(20px, 3vw, 28px);
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius-xl);
 display: flex; flex-direction: column; gap: 12px;
 position: relative;
}
.plan-card h3 { font-size: 1.1rem; color: var(--ink); }
.plan-price { font-family: var(--display); font-size: 2rem; font-weight: 700; color: var(--ink); }
.plan-price span { font-size: 0.85rem; color: var(--muted-light); font-weight: 400; }
.plan-note { font-size: 0.75rem; color: var(--secondary); }
.plan-badge {
 position: absolute; top: 16px; right: 16px;
 font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
 color: var(--primary); background: var(--primary-soft);
 padding: 4px 8px; border-radius: 999px;
}
.plan-featured { border-color: rgba(109, 93, 246, 0.4); box-shadow: 0 0 40px rgba(109, 93, 246, 0.12); }
.plan-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.plan-features li { font-size: 0.82rem; padding-left: 18px; position: relative; }
.plan-features li::before { content: "✓"; position: absolute; left: 0; color: var(--node); font-size: 0.75rem; }

.intelligence-calculator { display: flex; flex-direction: column; gap: 16px; }
.calc-head strong { display: block; color: var(--ink); font-size: 0.9rem; }
.calc-head span { font-size: 0.75rem; color: var(--muted-light); }
.calc-inputs { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.calc-field label { display: block; font-size: 0.75rem; font-weight: 600; color: var(--muted); margin-bottom: 6px; }
.calc-field input {
 width: 100%; background: var(--bg); border: 1px solid var(--line);
 border-radius: var(--radius); padding: 10px 12px; color: var(--ink);
}
.calc-results { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.calc-result {
 padding: 14px; background: rgba(109, 93, 246, 0.1);
 border: 1px solid rgba(109, 93, 246, 0.25);
 border-radius: var(--radius); text-align: center;
}
.calc-result strong { display: block; font-family: var(--display); font-size: 1.4rem; color: var(--primary); }
.calc-result span { font-size: 0.72rem; color: var(--muted-light); }
.calc-note { font-size: 0.75rem; color: var(--muted-light); }

/* About */
.about-brain-hero {
 padding: clamp(40px, 7vw, 64px) 0;
 text-align: center;
 border-bottom: 1px solid var(--line);
 background: radial-gradient(ellipse at 50% 0%, rgba(109, 93, 246, 0.1) 0%, transparent 55%);
}
.about-brain-intro { max-width: 640px; margin-inline: auto; }
.about-brain-section { padding: clamp(40px, 6vw, 64px) 0; }

.about-content { display: flex; flex-direction: column; gap: var(--card-gap); }
.about-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--card-gap); }
.about-card {
 padding: var(--card-pad);
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius-lg);
}
.about-label { font-family: var(--mono); font-size: 0.65rem; color: var(--primary); letter-spacing: 0.08em; text-transform: uppercase; }
.about-card h2 { font-size: 1.05rem; margin: 10px 0 8px; color: var(--ink); }
.about-card p { font-size: 0.85rem; line-height: 1.6; }

.about-metrics {
 display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
 gap: var(--card-gap); padding: var(--card-pad);
 background: var(--card); border: 1px solid var(--line);
 border-radius: var(--radius-xl); text-align: center;
}
.about-metrics strong { display: block; font-family: var(--display); font-size: 1.6rem; color: var(--primary); }
.about-metrics span { font-size: 0.75rem; color: var(--muted-light); }

.about-legal { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: var(--card-gap); }
.about-legal-block h3 { font-size: 0.92rem; color: var(--ink); margin-bottom: 8px; }
.about-legal-block p { font-size: 0.82rem; line-height: 1.6; margin-bottom: 8px; }

.axon-lobe-origin {
 display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
 gap: var(--card-gap);
}
.origin-card {
 padding: var(--card-pad);
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius-lg);
}
.origin-label { font-family: var(--mono); font-size: 0.65rem; color: var(--secondary); letter-spacing: 0.06em; text-transform: uppercase; }
.origin-card p { font-size: 0.85rem; margin-top: 10px; line-height: 1.6; }

.about-brain-footer { padding: clamp(32px, 5vw, 48px) 0; }
.brain-cta-panel {
 display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 20px;
 padding: clamp(24px, 4vw, 36px);
 background: linear-gradient(135deg, rgba(109, 93, 246, 0.12), rgba(0, 217, 255, 0.06));
 border: 1px solid rgba(109, 93, 246, 0.25);
 border-radius: var(--radius-xl);
}
.brain-cta-panel h2 { font-size: clamp(1.2rem, 2.5vw, 1.5rem); margin-bottom: 6px; color: var(--ink); }

/* Footer */
.site-footer { margin-top: auto; border-top: 1px solid var(--line); }
.footer-cta {
 padding: clamp(40px, 6vw, 56px) 0;
 background: radial-gradient(ellipse at 50% 0%, rgba(109, 93, 246, 0.08) 0%, transparent 60%);
 text-align: center;
}
.footer-cta-inner h2 { font-size: clamp(1.3rem, 3vw, 1.75rem); margin-bottom: 10px; color: var(--ink); }
.footer-cta-inner p { max-width: 48ch; margin: 0 auto; font-size: 0.92rem; }
.footer-cta-inner .btn-row { justify-content: center; }
.footer-wrap { padding: clamp(32px, 5vw, 48px) 0 24px; }
.footer-top {
 display: flex; flex-wrap: wrap; align-items: flex-start; justify-content: space-between;
 gap: 16px; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid var(--line);
}
.footer-tagline { max-width: 36ch; font-size: 0.85rem; text-align: right; }
.footer-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: var(--card-gap); margin-bottom: 28px; }
.footer-col h5 {
 font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
 letter-spacing: 0.08em; color: var(--ink); margin-bottom: 12px;
}
.footer-col a { display: block; font-size: 0.82rem; color: var(--muted); padding: 4px 0; }
.footer-col a:hover { color: var(--secondary); }
.footer-bottom { padding-top: 16px; border-top: 1px solid var(--line); }
.footer-meta { font-size: 0.75rem; color: var(--muted-light); text-align: center; }

/* Modals */
.site-modal {
 position: fixed; inset: 0; z-index: 200;
 display: grid; place-items: center; padding: 20px;
}
.site-modal-backdrop { position: absolute; inset: 0; background: rgba(0, 0, 0, 0.75); backdrop-filter: blur(6px); }
.site-modal-panel {
 position: relative; width: 100%; max-width: 440px; max-height: 90vh; overflow-y: auto;
 background: #0A0E20; border: 1px solid rgba(109, 93, 246, 0.25);
 border-radius: var(--radius-xl); padding: clamp(24px, 4vw, 32px);
 box-shadow: 0 0 60px rgba(109, 93, 246, 0.15);
}
.site-modal-wide { max-width: 560px; }
.site-modal-close {
 position: absolute; top: 14px; right: 14px;
 width: 32px; height: 32px;
 border: 1px solid var(--line); border-radius: var(--radius-sm);
 background: rgba(255, 255, 255, 0.04); color: var(--muted);
 font-size: 1.2rem; cursor: pointer;
 display: grid; place-items: center;
}
.site-modal-panel h2 { font-size: 1.25rem; margin-bottom: 8px; padding-right: 32px; color: var(--ink); }
.site-modal-lead { font-size: 0.88rem; margin-bottom: 20px; line-height: 1.6; }
.site-modal-form { display: flex; flex-direction: column; gap: 14px; }

.form-group, .form-field { display: flex; flex-direction: column; gap: 6px; }
.form-group label, .form-field label { font-size: 0.8125rem; font-weight: 600; color: var(--ink); }
.form-group input, .form-field input, .form-field select, .form-field textarea {
 width: 100%; padding: 11px 14px;
 border: 1px solid var(--line); border-radius: var(--radius);
 background: var(--bg); color: var(--ink); font-size: 0.9rem;
}
.form-field select {
 appearance: none; cursor: pointer; padding-right: 36px;
 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%23F8FAFC66' viewBox='0 0 16 16'%3E%3Cpath d='M4 6l4 4 4-4'/%3E%3C/svg%3E");
 background-repeat: no-repeat; background-position: right 12px center;
}
.form-field textarea { min-height: 88px; resize: vertical; }
.form-field input:focus, .form-field select:focus, .form-field textarea:focus {
 outline: none; border-color: var(--primary);
}
.form-success {
 font-size: 0.85rem; color: var(--node);
 padding: 10px 12px; background: var(--node-soft);
 border-radius: var(--radius); border: 1px solid rgba(34, 197, 94, 0.3);
}
.form-divider { text-align: center; font-size: 0.78rem; color: var(--muted-light); position: relative; }
.form-divider::before, .form-divider::after { content: ""; position: absolute; top: 50%; width: 42%; height: 1px; background: var(--line); }
.form-divider::before { left: 0; }
.form-divider::after { right: 0; }

.demo-workflow-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 16px; }
.wf-step {
 display: grid; grid-template-columns: 32px 1fr; gap: 12px;
 padding: 12px; background: rgba(255, 255, 255, 0.03);
 border: 1px solid var(--line); border-radius: var(--radius);
}
.wf-step span {
 width: 32px; height: 32px; display: grid; place-items: center;
 background: var(--primary-soft); color: var(--primary);
 border-radius: var(--radius-sm); font-family: var(--mono); font-size: 0.72rem; font-weight: 600;
}
.wf-step strong { display: block; font-size: 0.85rem; color: var(--ink); margin-bottom: 2px; }
.wf-step p { font-size: 0.78rem; line-height: 1.5; }

/* Auth */
.auth-shell { display: grid; grid-template-columns: 1fr 1fr; min-height: 100vh; }
.auth-visual {
 padding: clamp(32px, 5vw, 48px);
 background: radial-gradient(ellipse at 30% 30%, rgba(109, 93, 246, 0.15) 0%, transparent 60%), var(--bg-alt);
 border-right: 1px solid var(--line);
 display: flex; flex-direction: column; gap: 24px;
}
.auth-copy h1 { font-size: clamp(1.5rem, 3vw, 2rem); margin-bottom: 12px; color: var(--ink); }
.auth-metrics { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: auto; }
.auth-metric { padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); }
.auth-metric strong { display: block; font-family: var(--display); font-size: 1.3rem; color: var(--primary); }
.auth-metric span { font-size: 0.72rem; color: var(--muted-light); }
.auth-quote { grid-column: 1 / -1; font-size: 0.85rem; font-style: italic; color: var(--muted); line-height: 1.6; }
.auth-foot { font-size: 0.72rem; color: var(--muted-light); margin-top: auto; }
.auth-panel { display: grid; place-items: center; padding: clamp(24px, 4vw, 40px); }
.auth-wrap { width: 100%; max-width: 400px; }
.auth-wrap h2 { font-size: 1.4rem; margin-bottom: 8px; color: var(--ink); }
.auth-card { margin-top: 24px; padding: 24px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-xl); }
.auth-note { margin-top: 16px; font-size: 0.85rem; text-align: center; }

/* Audit additions — clusters, pricing, integrations, org pages */
.memory-contrast-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: var(--card-gap);
}
.memory-contrast {
 padding: var(--card-pad);
 border-radius: var(--radius-lg);
 border: 1px solid var(--line);
 background: var(--card);
}
.memory-contrast-loss { border-left: 3px solid var(--risk); }
.memory-contrast-gain { border-left: 3px solid var(--node); }
.contrast-label {
 display: block;
 font-family: var(--mono);
 font-size: 0.68rem;
 text-transform: uppercase;
 letter-spacing: 0.06em;
 color: var(--muted-light);
 margin-bottom: 12px;
}
.memory-contrast ul { display: flex; flex-direction: column; gap: 8px; }
.memory-contrast li { font-size: 0.85rem; line-height: 1.55; padding-left: 14px; position: relative; }
.memory-contrast li::before { content: ""; position: absolute; left: 0; color: var(--muted-light); }

.cluster-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
 gap: var(--card-gap);
}
.knowledge-cluster-card {
 padding: var(--card-pad);
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius-lg);
 display: flex;
 flex-direction: column;
 gap: 12px;
}
.cluster-head { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px; }
.cluster-head strong { color: var(--ink); font-size: 0.95rem; }
.cluster-head span { font-family: var(--mono); font-size: 0.68rem; color: var(--muted-light); }
.cluster-footer { margin-top: auto; }

.price-card, .plan-card {
 padding: clamp(20px, 3vw, 28px);
 background: var(--card);
 border: 1px solid var(--line);
 border-radius: var(--radius-xl);
 display: flex;
 flex-direction: column;
 gap: 12px;
 position: relative;
}
.price-featured, .plan-featured { border-color: rgba(109, 93, 246, 0.4); box-shadow: 0 0 40px rgba(109, 93, 246, 0.12); }
.price-tier, .plan-card h3 { font-size: 1.1rem; color: var(--ink); }
.price-amount, .plan-price { font-family: var(--display); font-size: 2rem; font-weight: 700; color: var(--ink); }
.price-amount span, .plan-price span { font-size: 0.85rem; color: var(--muted-light); font-weight: 400; }
.price-summary { font-size: 0.82rem; }
.price-badge, .plan-badge {
 position: absolute; top: 16px; right: 16px;
 font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
 color: var(--primary); background: var(--primary-soft);
 padding: 4px 8px; border-radius: 999px;
}
.price-features, .plan-features { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.price-features li, .plan-features li { font-size: 0.82rem; padding-left: 18px; position: relative; }
.price-features li::before, .plan-features li::before { content: "✓"; position: absolute; left: 0; color: var(--node); font-size: 0.75rem; }

.plan-metrics { display: flex; flex-direction: column; gap: 10px; padding: 12px 0; border-block: 1px solid var(--line); }
.plan-metric span { display: block; font-family: var(--mono); font-size: 0.62rem; color: var(--muted-light); text-transform: uppercase; letter-spacing: 0.05em; }
.plan-metric strong { display: block; font-size: 0.88rem; color: var(--ink); margin: 2px 0 6px; }
.plan-metric-bar { height: 4px; background: rgba(255,255,255,0.06); border-radius: 999px; overflow: hidden; }
.plan-metric-bar span { display: block; height: 100%; background: linear-gradient(90deg, var(--primary), var(--secondary)); border-radius: 999px; }

.pricing-comparison-wrap { overflow-x: auto; }
.pricing-comparison { width: 100%; border-collapse: collapse; font-size: 0.82rem; }
.pricing-comparison th, .pricing-comparison td { padding: 12px 14px; border-bottom: 1px solid var(--line); text-align: left; }
.pricing-comparison th { font-family: var(--mono); font-size: 0.68rem; text-transform: uppercase; letter-spacing: 0.05em; color: var(--muted-light); }
.pricing-comparison td:first-child { color: var(--ink); font-weight: 500; }

.connect-hero-grid {
 display: grid;
 grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
 gap: var(--card-gap);
 margin-top: 20px;
}
.connect-hero-item { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.connect-hero-item span { font-size: 0.75rem; color: var(--muted-light); font-family: var(--mono); }

.integration-connect-card {
 padding: var(--card-pad);
 background: rgba(255,255,255,0.02);
 border: 1px solid var(--line);
 border-radius: var(--radius-lg);
 display: flex; flex-direction: column; gap: 8px;
}
.int-connect-sub { font-family: var(--mono); font-size: 0.68rem; color: var(--secondary); }

.neural-node-hub { border-color: rgba(34, 197, 94, 0.45) !important; box-shadow: 0 0 14px rgba(34, 197, 94, 0.2); }
.hint-hub { color: var(--node); }
.brain-map-grid.is-panning { cursor: grabbing; }
.brain-map-grid.is-draggable { cursor: grab; }

.expert-scope { display: block; font-size: 0.68rem; color: var(--secondary); font-family: var(--mono); }

.signals-monitor-bar { display: flex; gap: 6px; margin-top: 10px; }
.monitor-pulse {
 width: 48px; height: 3px; border-radius: 999px;
 background: linear-gradient(90deg, transparent, var(--node), transparent);
 animation: impulse-travel 1.8s ease infinite;
}
.monitor-pulse.delay-1 { animation-delay: 0.4s; }
.monitor-pulse.delay-2 { animation-delay: 0.8s; }

.organizational-memory-lifecycle, .engineering-knowledge-network, .cs-knowledge-sedimentation,
.leadership-decision-network, .team-collaboration-map { display: flex; flex-direction: column; gap: 14px; }

.memory-lifecycle-track { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: var(--card-gap); }
.memory-lifecycle-step {
 display: flex; gap: 12px; padding: var(--card-pad);
 background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.lifecycle-num {
 font-family: var(--mono); font-size: 0.72rem; color: var(--primary);
 background: var(--primary-soft); width: 32px; height: 32px;
 display: grid; place-items: center; border-radius: var(--radius-sm); flex-shrink: 0;
}
.lifecycle-meta { font-family: var(--mono); font-size: 0.65rem; color: var(--muted-light); }

.eng-network-stage {
 position: relative; min-height: 280px;
 background: radial-gradient(ellipse at center, rgba(0,217,255,0.06) 0%, transparent 60%);
 border: 1px solid var(--line); border-radius: var(--radius-lg); overflow: hidden;
}
.eng-knowledge-node {
 position: absolute; padding: 8px 12px; background: rgba(5,8,22,0.9);
 border: 1px solid var(--line); border-radius: var(--radius); text-align: left; cursor: pointer;
}
.eng-knowledge-node strong { display: block; font-size: 0.75rem; color: var(--ink); }
.eng-knowledge-node span { font-size: 0.62rem; color: var(--muted-light); font-family: var(--mono); }
.eng-node-center { top: 50%; left: 50%; transform: translate(-50%,-50%); border-color: rgba(109,93,246,0.5); }
.eng-orbit-1 { top: 14%; left: 12%; }
.eng-orbit-2 { top: 12%; right: 14%; }
.eng-orbit-3 { bottom: 16%; left: 18%; }
.eng-orbit-4 { bottom: 18%; right: 16%; }
.eng-orbit-5 { top: 42%; left: 6%; }
.eng-network-synapses { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.eng-network-stats { display: flex; flex-wrap: wrap; gap: 8px; }

.cs-sediment-list, .leadership-decision-list, .team-collab-list { display: flex; flex-direction: column; gap: 10px; }
.cs-sediment-row, .team-collab-row, .leadership-decision-row {
 display: flex; flex-wrap: wrap; gap: 10px 16px; align-items: flex-start;
 padding: 14px; background: var(--card); border: 1px solid var(--line); border-radius: var(--radius-lg);
}
.cs-sediment-time { font-family: var(--mono); font-size: 0.68rem; color: var(--secondary); min-width: 72px; }
.collab-teams { font-weight: 600; color: var(--ink); font-size: 0.85rem; min-width: 180px; }

.calc-output { display: grid; grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); gap: 12px; }
.calc-metric {
 padding: 14px; background: rgba(109, 93, 246, 0.1);
 border: 1px solid rgba(109, 93, 246, 0.25); border-radius: var(--radius); text-align: center;
}
.calc-metric strong { display: block; font-family: var(--display); font-size: 1.4rem; color: var(--primary); }
.calc-metric span { font-size: 0.72rem; color: var(--muted-light); }

/* Responsive */
@media (max-width: 1024px) {
 .brain-map-stage { grid-template-columns: 1fr; }
 .footer-grid { grid-template-columns: repeat(3, 1fr); }
 .ingestion-flow, .brain-engine-flow { grid-template-columns: 1fr; text-align: center; }
}

@media (max-width: 900px) {
 .header-row { grid-template-columns: 1fr auto; }
 .nav-main { display: none; }
 .auth-shell { grid-template-columns: 1fr; }
 .auth-visual { display: none; }
}

@media (max-width: 640px) {
 .footer-grid { grid-template-columns: 1fr 1fr; }
 .footer-tagline { text-align: left; }
 .neural-node-float { max-width: 130px; padding: 8px 10px; }
}
