/* 3DNow design tokens: "signal on ink". Names are fixed by docs/DESIGN.md; components live in site.css. */
:root {
  color-scheme: dark;

  /* Ink: the page and its raised layers */
  --bg: #05080F;
  --bg-1: #0A101C;
  --bg-2: #0F1829;
  --surface: rgba(255, 255, 255, .04);
  --surface-2: rgba(255, 255, 255, .07);
  --line: rgba(255, 255, 255, .08);
  --line-strong: rgba(255, 255, 255, .16);

  /* Text. Contrast on --bg: 17.2, 9.0 and 6.3 to 1; still AA (4.9+) on the lightest glass surface */
  --text: #E9EEF7;
  --text-2: #A3AEC2;
  --text-3: #8592A8;

  /* Signal: the one accent. Primary action, live, go. */
  --signal: #FF6B1A;
  --signal-hi: #FF8A47;
  --signal-lo: #C94F0A;
  --glow: rgba(255, 107, 26, .35);
  --on-signal: #140700;            /* text on a signal fill (7.0 to 1) */

  /* Data and links in running text, sparingly */
  --ice: #7DD3FC;

  /* Status only */
  --good: #34D399;
  --wait: #FBBF24;
  --bad: #F87171;

  /* Type */
  --font-head: 'Geist', 'Inter Tight', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-body: 'Geist', 'Inter Tight', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-mono: 'Geist Mono', 'JetBrains Mono', ui-monospace, 'SF Mono', Menlo, Consolas, monospace;
  --fs-hero: clamp(2.5rem, 1.35rem + 5vw, 5rem);
  --fs-h1: clamp(2.125rem, 1.6rem + 2.4vw, 3.5rem);
  --fs-h2: clamp(1.625rem, 1.3rem + 1.4vw, 2.5rem);
  --fs-h3: clamp(1.125rem, 1.05rem + .35vw, 1.3125rem);
  --fs-lead: clamp(1.0625rem, 1rem + .35vw, 1.3125rem);
  --fs-body: 1rem;
  --fs-small: .875rem;
  --fs-mono-s: .75rem;

  /* Shape and space (4px base) */
  --r-sm: 8px;
  --r: 14px;
  --r-lg: 22px;
  --r-pill: 999px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --maxw: 1200px;
  --gutter: 16px;
  --hdr-h: 64px;

  /* Motion */
  --ease: cubic-bezier(.2, .7, .2, 1);
  --dur-1: .15s;
  --dur-2: .3s;
  --dur-3: .6s;
}
@media (min-width: 768px) { :root { --gutter: 32px; } }

/* LEGACY: the light theme's names, kept only so unmigrated markup stays legible on dark. Do not use in new work.
   Mapped by how they were mostly used: --ink as text and borders (now light), --white and --paper as surfaces (now dark).
   An old "ink background with white text" pair therefore inverts to a light fill with dark text: legible, but not on-brand. */
:root {
  --ink: var(--text);
  --graphite: var(--text);
  --slate: var(--text-2);
  --white: var(--bg-2);
  --paper: var(--bg-1);
  --mist: #243049;
  --signal-dark: var(--signal-hi);
}
