/* Offsset design tokens. Dark is the default theme. */
:root {
  /* Colour */
  --ground: #07080a;
  --surface: #0f1115;
  --hairline: #1c1f24;
  --pixel-off: #15181d;
  --ink: #f2f2f0;
  --muted: #8a8d93;
  --signal: #ff3b2f;
  --signal-text: #ff3b2f;

  /* Type families */
  --font-display: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --font-sans: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  /* Type scale */
  --text-display-xl: 120px;
  --text-display: 72px;
  --text-h1: 40px;
  --text-h2: 24px;
  --text-body: 16px;
  --text-small: 14px;
  --text-label: 12px;
  --text-tag: 11px;
  --tracking-display: -0.045em;
  --tracking-label: 0.14em;

  /* Spacing */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 16px;
  --space-4: 24px;
  --space-5: 32px;
  --space-6: 56px;
  --space-7: 80px;

  /* Radius */
  --radius-none: 0px;
  --radius-sm: 4px;
  --radius-dot: 9999px;

  /* Glow (LED and status dots only) */
  --glow-signal: 0 0 14px #ff3b2f;
  --glow-ink: 0 0 14px #f2f2f0;

  /* Dot-grid background, apply with: background-image: var(--dot-grid); background-size: var(--dot-grid-size); */
  --dot-grid: radial-gradient(circle, var(--pixel-off) 1.2px, transparent 1.4px);
  --dot-grid-size: 14px 14px;

  color-scheme: dark;
}

[data-theme="light"] {
  --ground: #f2f2f0;
  --surface: #e6e6e2;
  --hairline: #cfcfca;
  --pixel-off: #dcdcd7;
  --ink: #07080a;
  --muted: #5c5f65;
  --signal: #ff3b2f;
  --signal-text: #c4241a;
  color-scheme: light;
}
