:root {
  --font-main: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --color-bg: #070707;
  --color-surface: #0d0d0d;
  --color-surface-raised: #121212;
  --color-surface-soft: #171717;
  --color-border: rgba(255, 255, 255, 0.075);
  --color-border-strong: rgba(255, 255, 255, 0.13);
  --color-text: rgba(255, 255, 255, 0.9);
  --color-muted: rgba(255, 255, 255, 0.54);
  --color-soft: rgba(255, 255, 255, 0.34);
  --color-good: rgba(210, 255, 218, 0.9);
  --color-warn: rgba(255, 229, 183, 0.92);
  --color-danger: rgba(255, 199, 199, 0.92);

  --radius-xs: 0.25rem;
  --radius-sm: 0.375rem;
  --radius-md: 0.55rem;

  --space-1: clamp(0.2rem, 0.32vw, 0.3rem);
  --space-2: clamp(0.35rem, 0.5vw, 0.5rem);
  --space-3: clamp(0.5rem, 0.7vw, 0.7rem);
  --space-4: clamp(0.7rem, 0.95vw, 0.95rem);
  --space-5: clamp(0.9rem, 1.2vw, 1.15rem);
  --space-6: clamp(1rem, 1.45vw, 1.4rem);

  --text-xs: clamp(0.52rem, 0.58vw, 0.62rem);
  --text-body: clamp(0.6rem, 0.7vw, 0.7rem);
  --text-sm: clamp(0.68rem, 0.8vw, 0.82rem);
  --text-md: clamp(0.8rem, 1vw, 1rem);
  --text-lg: clamp(1rem, 1.45vw, 1.35rem);
  --text-xl: clamp(1.25rem, 2vw, 1.9rem);

  --line-tight: 1.05;
  --line-normal: 1.5;

  --page-gutter: clamp(0.75rem, 1.6vw, 1.6rem);
  --card-padding: clamp(0.7rem, 1vw, 1rem);

  --transition-fast: 160ms ease;
}
