:root {

  /* === Colors === */
  --color-primary: #f2e9ec;
  --color-secondary: #9d8f94;
  --color-accent: #ef4444;
  --color-bg: #141013;
  --color-background: #141013;
  --color-surface: #221e21;
  --color-text: #F9FAFB;
  --color-text-secondary: #9d8f94;
  --color-text-muted: #9d8f94;
  --color-link: #f2e9ec;

  /* === Typography === */
  --font-primary: "IBM Plex Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-secondary: "IBM Plex Mono", "Courier New", Courier, monospace;
  --font-size-base: 0.9375rem;
  --font-size-sm: 0.8125rem;
  --font-size-lg: 1.0625rem;
  --font-size-xl: 1.1875rem;
  --font-size-2xl: 1.5rem;
  --font-size-3xl: 1.875rem;
  --font-size-4xl: 2.25rem;
  --font-weight-normal: 400;
  --font-weight-medium: 500;
  --font-weight-bold: 600;
  --line-height-tight: 1.2;
  --line-height-normal: 1.5;
  --line-height-relaxed: 1.7;

  /* Text scale and density */
  --text-scale: 0.938; /* 0.875 | 1 | 1.125 | 1.25 */
  --text-density: 1.5; /* влияет на line-height */

  /* === Layout === */
  --content-width: 54rem;
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 0.875rem;
  --spacing-lg: 1.25rem;
  --spacing-xl: 1.75rem;
  --spacing-2xl: 2.5rem;
  --spacing-3xl: 3.5rem;
  --content-width-readable: 54rem;
  --content-width-wide: 80rem;
  --space-scale: 0.875; /* 0.75 | 1 | 1.25 */;

  /* === Geometry === */
  --radius-full: 9999px;
  --border-width: 1px;
  --border-thin: 1px;
  --border-thick: 2px;

  /* === Depth === */
  --shadow-none: none;
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
  --shadow-xl: none;

  /* === Motion === */
  --transition-fast: 200ms;
  --transition-normal: 250ms;
  --transition-slow: 400ms;
}

/* === Motion System (disabled) === */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

/* Site background treatment: dots (subtle) */
:root {
  --bg-image: radial-gradient(circle, rgba(243, 115, 115, 0.035) 1px, transparent 1px);
  --bg-size: 28px 28px;
}
