/**
 * MarketHoundLab design tokens
 */
:root {
  color-scheme: dark;

  --color-canvas: #0b0f14;
  --color-surface: #121922;
  --color-surface-raised: #18222d;
  --color-line: #34414d;
  --color-line-soft: #222c36;
  --color-text: #f2f5f7;
  --color-text-muted: #a8b4be;
  --color-text-faint: #76838e;
  --color-accent: #b8f24a;
  --color-accent-ink: #11170a;
  --color-link: #69c9e8;
  --color-positive: #79d6a5;
  --color-warning: #f2b95f;
  --color-negative: #f07a7a;
  --color-info: #8faff7;
  --color-paper: #f6f7f5;
  --color-paper-ink: #151a1f;

  --font-ui: "Space Grotesk", "Avenir Next", "Segoe UI", Arial, sans-serif;
  --font-data: "IBM Plex Mono", "SFMono-Regular", Consolas, "Liberation Mono", monospace;

  --text-h1: clamp(2.5rem, 7vw, 5.5rem);
  --text-h2: clamp(2rem, 4.5vw, 3.5rem);
  --text-h3: clamp(1.25rem, 2.2vw, 1.75rem);
  --text-body: clamp(1rem, 1.3vw, 1.125rem);
  --text-small: 0.875rem;
  --text-meta: 0.75rem;
  --text-data: clamp(1.5rem, 3vw, 2.75rem);

  --space-unit: 4px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 24px;
  --space-6: 32px;
  --space-7: 48px;
  --space-8: 64px;
  --space-9: 96px;
  --space-10: 128px;

  --radius-xs: 3px;
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;

  --border: 1px solid var(--color-line-soft);
  --border-strong: 1px solid var(--color-line);

  --shadow-1: 0 12px 32px rgb(0 0 0 / 0.22);
  --shadow-focus: 0 0 0 3px rgb(184 242 74 / 0.28);

  --transition-fast: 120ms ease-out;
  --transition-base: 180ms ease-out;
  --transition-slow: 260ms ease-out;

  --page-max: 1280px;
  --content-max: 1120px;
  --reading-max: 720px;
  --evidence-max: 1200px;

  --gutter: 20px;
  --nav-height: 72px;

  --z-nav: 100;
  --z-menu: 110;
  --z-skip: 200;
}

@media (min-width: 768px) {
  :root {
    --gutter: 32px;
  }
}

@media (min-width: 1024px) {
  :root {
    --gutter: 48px;
  }
}
