/* Yira Labs — design tokens · "lab instrument"
 * paper-band: dark · display: grotesk-sans · accent: chromatic-other (signal mint ~165°) · status: amber for "next"
 */
:root {
  color-scheme: dark;

  /* colour */
  --color-paper: oklch(15.5% 0.012 250);
  --color-paper-2: oklch(19% 0.014 250);
  --color-paper-3: oklch(23.5% 0.016 250);
  --color-panel: oklch(17.5% 0.013 250);
  --color-ink: oklch(95.5% 0.006 250);
  --color-ink-2: oklch(76% 0.012 250);
  --color-ink-3: oklch(60% 0.014 250);
  --color-rule: oklch(28% 0.014 250);
  --color-rule-strong: oklch(38% 0.016 250);
  --color-grid: oklch(22% 0.013 250);

  --color-accent: oklch(86% 0.155 165);
  --color-accent-hover: oklch(91% 0.13 165);
  --color-accent-dim: oklch(86% 0.155 165 / 0.14);
  --color-accent-line: oklch(86% 0.155 165 / 0.55);
  --color-on-accent: oklch(17% 0.03 165);

  --color-next: oklch(80% 0.14 75);
  --color-next-dim: oklch(80% 0.14 75 / 0.12);

  --color-error: oklch(72% 0.17 25);
  --color-focus: oklch(86% 0.155 165);
  --color-nav-bg: oklch(15.5% 0.012 250 / 0.78);
  --color-shot-bg: oklch(96% 0.005 250);
  --shadow-float: 0 1px 0 oklch(100% 0 0 / 0.04) inset, 0 12px 32px -12px oklch(0% 0 0 / 0.7);
  --glow-accent: 0 0 0 1px var(--color-accent), 0 0 24px -6px oklch(86% 0.155 165 / 0.45);

  /* type */
  --font-display: "Space Grotesk", ui-sans-serif, system-ui, sans-serif;
  --font-body: "Inter", ui-sans-serif, system-ui, sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.375rem;
  --text-2xl: clamp(1.5rem, 1.2rem + 1.2vw, 2rem);
  --text-3xl: clamp(1.875rem, 1.4rem + 2vw, 2.75rem);
  --text-display: clamp(2.5rem, 1.6rem + 4.4vw, 5rem);

  /* space — 4pt scale */
  --space-3xs: 0.25rem;
  --space-2xs: 0.5rem;
  --space-xs: 0.75rem;
  --space-sm: 1rem;
  --space-md: 1.5rem;
  --space-lg: 2rem;
  --space-xl: 3rem;
  --space-2xl: 4.5rem;
  --space-3xl: clamp(5rem, 3.5rem + 6vw, 8.5rem);

  --measure: 62ch;
  --page-max: 78rem;
  --gutter: clamp(1rem, 0.5rem + 2.5vw, 2.5rem);

  --radius-sm: 3px;
  --radius-md: 5px;
  --radius-lg: 8px;
  --radius-pill: 999px;
  --rule-hair: 1px;

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in: cubic-bezier(0.55, 0, 1, 0.45);
  --ease-in-out: cubic-bezier(0.65, 0, 0.35, 1);
  --dur-fast: 140ms;
  --dur-base: 220ms;
  --dur-slow: 480ms;
}
