/* Design tokens — shared by every page (homepage, /stats). Owned by the coordinator.
   Material-restrained, editorial. No gradients, no glows, no glassmorphism. */
@font-face {
  font-family: "Inter Variable";
  src: url("/fonts/InterVariable.woff2") format("woff2");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --bg: #0F1115;
  --surface-1: #161920;      /* cards, sheets */
  --surface-2: #1C2029;      /* hover, inputs */
  --surface-3: #232836;      /* pressed / selected */
  --border: #2A2F3A;
  --border-strong: #3A404D;

  --text: #ECEAE6;           /* off-white */
  --text-2: #A3A7B0;         /* secondary */
  --text-3: #6E7380;         /* tertiary / hints */

  --accent: #E07A3D;         /* the ONE accent: search box focus, cheapest highlight, primary button */
  --accent-hover: #E8894F;
  --accent-soft: rgba(224, 122, 61, 0.12);
  --on-accent: #1A1009;

  --ok: #4CC38A;             /* available — understated soft green */
  --ok-soft: rgba(76, 195, 138, 0.12);
  --taken: #EF5F67;          /* taken — muted red */
  --taken-soft: rgba(239, 95, 103, 0.12);
  --unknown: #8A8F99;

  --font: 'Inter Variable', 'Inter', ui-sans-serif, system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: ui-monospace, 'SF Mono', 'Cascadia Mono', Consolas, monospace;

  --r-sm: 8px;
  --r-md: 12px;
  --r-lg: 16px;
  --r-pill: 999px;

  --shadow-1: 0 1px 2px rgba(0, 0, 0, 0.30), 0 1px 3px rgba(0, 0, 0, 0.15);
  --shadow-2: 0 2px 6px rgba(0, 0, 0, 0.30), 0 8px 24px rgba(0, 0, 0, 0.25);

  --ease: cubic-bezier(0.2, 0, 0, 1);          /* Material emphasized */
  --ease-out: cubic-bezier(0.05, 0.7, 0.1, 1);
  --dur-1: 120ms;
  --dur-2: 220ms;
  --dur-3: 360ms;
}

@media (prefers-reduced-motion: reduce) {
  :root { --dur-1: 0ms; --dur-2: 0ms; --dur-3: 0ms; }
}
