/* ==============================================================================
   Дизайн-система и токены бюро «Сенкевич»
   ============================================================================== */

@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/gilroy-regular.woff2') format('woff2');
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'Gilroy';
  src: url('../fonts/gilroy-medium.woff2') format('woff2');
  font-style: normal;
  font-weight: 500 900;
  font-display: swap;
}

:root {
  --font-body: 'Gilroy', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Gilroy', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

  /* Типографическая шкала */
  --text-xs: clamp(.75rem, .72rem + .15vw, .8125rem);
  --text-sm: clamp(.875rem, .83rem + .2vw, .9375rem);
  --text-base: clamp(1rem, .95rem + .2vw, 1.0625rem);
  --text-lg: clamp(1.125rem, 1rem + .5vw, 1.375rem);
  --text-xl: clamp(1.375rem, 1.1rem + 1vw, 1.875rem);

  /* Отступы */
  --space-1: .25rem;
  --space-2: .5rem;
  --space-3: .75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;

  /* Палитра бюро */
  --color-bg: #fafaf7;
  --color-surface: #ffffff;
  --color-text: #29312f;
  --color-text-muted: #66716d;
  --color-border: #abb5ae;
  --color-primary: #375b48;
  --color-error: #a03335;

  /* Радиусы */
  --radius-sm: 0;
  --radius-md: 0;
  --radius-full: 0;
}
