/* System nodes canvas cursor — theme-aware, non-interactive overlay */
:root {
    --system-cursor-dot: rgba(255, 215, 0, 0.92);
    --system-cursor-ring: rgba(255, 255, 255, 0.22);
    --system-cursor-node: rgba(255, 255, 255, 0.38);
    --system-cursor-line: rgba(255, 255, 255, 0.12);
}

html.light {
    --system-cursor-dot: rgba(160, 120, 0, 0.9);
    --system-cursor-ring: rgba(20, 24, 32, 0.18);
    --system-cursor-node: rgba(20, 24, 32, 0.32);
    --system-cursor-line: rgba(20, 24, 32, 0.14);
}

.system-nodes-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 2;
}

/* Home: above video overlay (1), below main UI (10) */
body.page-home .system-nodes-canvas {
    z-index: 2;
}

/* Case study floating nav sits higher; keep canvas below content */
body.page-case-study .system-nodes-canvas,
.case-study-container ~ .system-nodes-canvas {
    z-index: 2;
}

@media (prefers-reduced-motion: reduce), (pointer: coarse), (max-width: 900px) {
    .system-nodes-canvas {
        display: none !important;
    }
}
