/**
 * ALTRONIX — Design Tokens
 * Single source of truth for colors, typography, spacing, motion.
 * Per CLAUDE.md §DESIGN SYSTEM — VISUAL IDENTITY
 */

:root {
  /* ── Base backgrounds ───────────────────── */
  --color-bg-primary:    #0A0E1A;
  --color-bg-secondary:  #111827;
  --color-bg-tertiary:   #1A2236;
  --color-surface-glass: rgba(255, 255, 255, 0.04);

  /* ── Accents ────────────────────────────── */
  --color-accent-blue:        #00A6FB;
  --color-accent-blue-hover:  #33B8FC;
  --color-accent-orange:      #FF6B1A;

  /* ── Text ───────────────────────────────── */
  --color-text-primary:   #F5F7FA;
  --color-text-secondary: #A3AEC2;
  --color-text-muted:     #6B7689;

  /* ── Borders ────────────────────────────── */
  --color-border-subtle: rgba(255, 255, 255, 0.06);
  --color-border-strong: rgba(255, 255, 255, 0.12);

  /* ── States ─────────────────────────────── */
  --color-success: #10B981;
  --color-warning: #F59E0B;
  --color-danger:  #EF4444;

  /* ── Gradients ──────────────────────────── */
  --gradient-industrial: linear-gradient(135deg, #0A0E1A 0%, #1A2236 100%);
  --gradient-accent:     linear-gradient(135deg, #00A6FB 0%, #0084CC 100%);

  /* ── Typography ─────────────────────────── */
  --font-display: 'Space Grotesk', system-ui, -apple-system, sans-serif;
  --font-body:    'Inter', system-ui, -apple-system, sans-serif;

  --fs-xs:   0.75rem;
  --fs-sm:   0.875rem;
  --fs-base: 1rem;
  --fs-lg:   1.25rem;
  --fs-xl:   1.563rem;
  --fs-2xl:  1.953rem;
  --fs-3xl:  2.441rem;
  --fs-4xl:  3.052rem;
  --fs-5xl:  3.815rem;

  /* ── Spacing (4px base) ─────────────────── */
  --space-1:  0.25rem;
  --space-2:  0.5rem;
  --space-3:  0.75rem;
  --space-4:  1rem;
  --space-5:  1.25rem;
  --space-6:  1.5rem;
  --space-8:  2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-24: 6rem;
  --space-32: 8rem;

  /* ── Motion ─────────────────────────────── */
  --duration-fast: 150ms;
  --duration-base: 250ms;
  --duration-slow: 400ms;
  --ease-out:    cubic-bezier(0.16, 1, 0.3, 1);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
}

/* ── Body baseline ──────────────────────────── */
body {
  margin: 0;
  overflow-x: hidden;
  background: var(--color-bg-primary);
  color: var(--color-text-primary);
  font-family: var(--font-body);
  font-size: var(--fs-base);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img { max-width: 100%; height: auto; display: block; }

a { color: var(--color-accent-blue); }

:focus-visible {
  outline: 2px solid var(--color-accent-blue);
  outline-offset: 2px;
  border-radius: 4px;
}
