@import "tailwindcss";

@layer base {
  html {
    scroll-behavior: smooth;
  }
  body {
    margin: 0;
    padding: 0;
    background-color: #FFFFFF;
    color: #0A0A0A;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    overscroll-behavior-y: none;
  }
  /* Geist governs titles, headers, and dashboard metrics per DESIGN.md;
     Inter remains the body/narrative typeface. */
  h1, h2, h3 {
    font-family: 'Geist', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    letter-spacing: -0.025em;
  }
}

.font-mono-code {
  font-family: 'JetBrains Mono', monospace;
}

/* Custom scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Tabular figures for telemetry */
.tabular-nums {
  font-variant-numeric: tabular-nums;
}

/* Shimmer animation */
@keyframes pulse-subtle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.6; }
}
.animate-pulse-subtle {
  animation: pulse-subtle 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Faded grid backdrop (hero-style, nuclearplayer.com-esque) */
.bg-grid {
  background-image:
    linear-gradient(to right, rgba(10, 10, 10, 0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(10, 10, 10, 0.06) 1px, transparent 1px);
  background-size: 42px 42px;
  background-position: center top;
  -webkit-mask-image: radial-gradient(ellipse 75% 55% at 50% 0%, #000 45%, transparent 100%);
  mask-image: radial-gradient(ellipse 75% 55% at 50% 0%, #000 45%, transparent 100%);
}