/* ============================================================
   CORE//SPC – Enterprise Styles
   ============================================================ */

body {
    font-family: 'Inter', sans-serif;
}
.font-mono {
    font-family: 'JetBrains Mono', monospace;
}
#graph-container {
    width: 100%;
    height: 100%;
}

/* ── Enterprise-Feinschliff ─────────────────────────────────────── */
a:focus-visible,
button:focus-visible {
    outline: 2px solid #2563eb;
    outline-offset: 2px;
    border-radius: 4px;
}
header.is-scrolled {
    box-shadow: 0 1px 0 rgba(15, 23, 42, 0.06), 0 8px 24px -12px rgba(15, 23, 42, 0.12);
}

.fade-in {
    animation: fadeIn 0.5s ease-out both;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

.skeleton {
    background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 37%, #f1f5f9 63%);
    background-size: 400% 100%;
    animation: shimmer 1.4s ease infinite;
    border-radius: 8px;
}
@keyframes shimmer {
    0% { background-position: 100% 50%; }
    100% { background-position: 0 50%; }
}

@media (prefers-reduced-motion: reduce) {
    .fade-in { animation: none; }
    .skeleton { animation: none; background: #eef2f7; }
}