@import "tailwindcss";

/* ── L'Armada design tokens — "The Ship's Bridge" (see armada/DESIGN.md) ── */
@theme {
  --color-surface: #0a0a0a;
  --color-raised: #111111;
  --color-overlay: #171717;
  --color-hairline: #ffffff1f;
  --color-ink: #e8e8ea;
  --color-ink-muted: #9a9aa0;
  --color-ink-faint: #6a6a70;

  /* brand — reserved (One Voice Rule, ≤10%): the now + brand + one primary action */
  --color-magenta: #d900ff;

  /* role families (orbits, measured register) — always paired with label + glyph */
  --color-percs: #ff8c00;
  --color-bass: #7c5cff;
  --color-melodic: #36c5f0;
  --color-tops: #2dd4bf;
  --color-atmos: #8a93a6;
  --color-vox: #ff3d7b;

  /* functional */
  --color-blocked: #ff5252;
  --color-ready: #5bc091;

  --font-sans: "Geist Variable", Inter, system-ui, sans-serif;
  --font-mono: "Geist Mono Variable", ui-monospace, SFMono-Regular, monospace;

  --radius-sm: 4px;
  --radius-md: 6px;
  --radius-lg: 10px;
}

@layer base {
  html { color-scheme: dark; }
  body {
    margin: 0;
    background: var(--color-surface);
    color: var(--color-ink);
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    text-rendering: optimizeLegibility;
  }
  /* instrument readouts: tabular so digits don't jitter as they update */
  .tnum { font-variant-numeric: tabular-nums; }
}

@media (prefers-reduced-motion: reduce) {
  * { transition-duration: 0.01ms !important; animation-duration: 0.01ms !important; }
}
