/* potato modem — brand tokens. The ONE source for colour, type, space, shape and
   motion across potatomodem.net, Doubled and Cold Turkey. Edit here, then run
   `npm run sync` to copy brand/ into each site. Derived from Doubled's live look. */
@font-face {
  font-family: 'Inter Variable';
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url('./fonts/inter-latin-wght-normal.woff2') format('woff2-variations');
}

:root {
  color-scheme: dark;

  /* colour: near-black, off-white, greys, one accent */
  --bg: #0a0a0c;
  --surface: #141418;
  --pad: #17171b;
  --pad-edge: #24242a;
  --text: #f4f4f6;
  --text-2: #9b9ba5;
  --text-3: #5e5e68;
  --accent: oklch(0.86 0.13 190);

  /* type: one sans, self-hosted; studio scale 14 / 16 / 20 / 32 / 56 */
  --font: 'Inter Variable', ui-sans-serif, system-ui, -apple-system, sans-serif;
  --pm-fs-1: 14px;
  --pm-fs-2: 16px;
  --pm-fs-3: 20px;
  --pm-fs-4: 32px;
  --pm-fs-5: 56px;
  --tracking: -0.01em;
  --tracking-tight: -0.045em;

  /* space: 8 px grid */
  --s1: 8px;
  --s2: 16px;
  --s3: 24px;
  --s4: 32px;
  --s5: 48px;
  --s6: 64px;

  /* shape: one radius (plus pills for buttons) */
  --radius: 16px;
  --r-btn: 999px;

  /* motion: 150–250 ms ease-out */
  --t-fast: 150ms;
  --t: 240ms;
  --ease-out: cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --t-fast: 0ms;
    --t: 0ms;
  }
}
