/**
 * Base Styles
 * Purpose: Design tokens, CSS reset, utility classes, base typography
 * Last updated: 2025-01-27
 */

:root {
  /* Design tokens — change these only */
  --bg: #000000;
  --panel-bg: rgba(0, 0, 0, 0.65);
  --glass: rgba(0, 0, 0, 0.3);
  --matrix-green: #00ff41;
  --muted-green: #3cd96a;
  --mono: ui-monospace, SFMono-Regular, Menlo, Monaco, "Roboto Mono", "Courier New", monospace;
  --radius: 12px;
  --gap: 12px;
  --max-width: 1100px;
  --elev: 0 6px 24px rgba(0, 0, 0, 0.6);
  --focus-glow: 0 0 14px rgba(0, 255, 65, 0.12);
  --scanline: linear-gradient(transparent 95%, rgba(0, 0, 0, 0.06) 95%);
  --small: 0.9rem;
  --base: clamp(14px, 2.4vw, 18px);
}

/* CSS Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
}

/* Canvas Background */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* Base Typography */
body {
  background: radial-gradient(ellipse at 20% 10%, rgba(0, 255, 65, 0.02), transparent 20%),
              linear-gradient(180deg, #000000 0%, #030303 100%);
  color: var(--matrix-green);
  font-family: var(--mono);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: var(--base);
  line-height: 1.35;
  padding: 12px;
}

/* Utility Classes */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

