/* =========================================
   ГЛОБАЛЬНЫЕ СТИЛИ
   ========================================= */

/* --- Локальные шрифты Geist --- */
@font-face {
  font-family: 'Geist';
  src: url('../fonts/Geist Regular.ttf') format('truetype');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geist';
  src: url('../fonts/Geist Medium Regular.ttf') format('truetype');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Geist';
  src: url('../fonts/Geist SemiBold Regular.ttf') format('truetype');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

/* --- Сброс отступов и box-sizing --- */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* --- Переменные (дизайн-токены) --- */
:root {
  --color-primary: #2F80ED;
  --color-text: #ffffff;
  --color-bg: #150027;
  --font-main: 'Geist', sans-serif;
  --max-width: 1700px;
}

/* --- Базовые настройки body --- */
body {
  font-family: var(--font-main);
  font-weight: 400;
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  position: relative;       /* на случай абсолютных элементов в будущем */
}

/* --- Универсальный контейнер --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}