@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-400-cyrillic.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-400-latin.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2013-2014, U+2018-201D, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-600-cyrillic.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-600-latin.woff2') format('woff2');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2013-2014, U+2018-201D, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-700-cyrillic.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Inter';
  src: url('/assets/fonts/inter-700-latin.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2013-2014, U+2018-201D, U+20AC, U+20BD, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --color-brand: #1C1A59;
  --color-brand-hover: #2A2775;
  --color-brand-active: #141240;
  --color-brand-subtle: #EEEEF6;
  --color-vk-sky: #4DA6FF;
  --color-vk-sky-hover: #7DC0FF;
  --color-max: #471AFF;
  --color-max-hover: #6E1AFF;
  --color-max-on-dark: #00BFFF;

  --color-accent: #F6E817;
  --color-accent-hover: #FFF04D;
  --color-accent-active: #DCCF00;
  --color-on-accent: #1C1A59;

  --color-bg: #FFFFFF;
  --color-bg-muted: #F5F7FB;
  --color-bg-inverse: #1C1A59;
  --color-surface: #FFFFFF;

  --color-text: #16181D;
  --color-text-muted: #5B6270;
  --color-text-inverse: #FFFFFF;
  --color-text-on-dark-muted: #C3C6D9;

  --color-border: #E2E6EF;
  --color-border-strong: #C4CAD8;

  --color-danger: #BD0019;
  --color-danger-bg: #FDECEE;
  --color-map-pin: #FC3F1D;
  --color-success: #0F7B4F;
  --color-success-bg: #E8F5EF;
  --color-warning: #A66A00;
  --color-warning-bg: #FFF6E5;

  --color-focus: #1C1A59;
  --color-overlay: rgba(22, 24, 29, 0.6);
  --shadow-focus: 0 0 0 3px rgba(28, 26, 89, 0.15);

  --font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;

  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: clamp(1.0625rem, 0.4vw + 1rem, 1.125rem);
  --text-xl: clamp(1.25rem, 0.6vw + 1.1rem, 1.375rem);
  --text-2xl: clamp(1.5rem, 1.2vw + 1.2rem, 1.875rem);
  --text-3xl: clamp(1.75rem, 2vw + 1.3rem, 2.5rem);
  --text-4xl: clamp(2rem, 3vw + 1.4rem, 3rem);

  --leading-tight: 1.15;
  --leading-snug: 1.35;
  --leading-normal: 1.6;
  --leading-relaxed: 1.75;

  --weight-regular: 400;
  --weight-semibold: 600;
  --weight-bold: 700;

  --tracking-tight: -0.02em;
  --tracking-normal: 0;
  --tracking-wide: 0.06em;

  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.5rem;
  --space-6: 2rem;
  --space-7: 2.5rem;
  --space-8: 3rem;
  --space-9: 4rem;
  --space-10: 5rem;

  --section-padding: clamp(var(--space-7), 5vw, var(--space-10));

  --container-max: 1400px;
  --container-narrow: 760px;
  --container-gutter: clamp(1rem, 4vw, 2rem);
  --grid-gap: var(--space-5);

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-pill: 999px;

  --shadow-sm: 0 1px 2px rgba(22, 24, 29, 0.06);
  --shadow-md: 0 4px 12px rgba(22, 24, 29, 0.08);
  --shadow-lg: 0 12px 32px rgba(28, 26, 89, 0.12);

  --border-width: 1px;

  --duration-fast: 120ms;
  --duration-base: 200ms;
  --duration-slow: 320ms;
  --ease-out: cubic-bezier(0.2, 0.8, 0.3, 1);

  --control-height: var(--space-8);
  --control-height-compact: var(--space-7);
  --control-height-large: 3.5rem;
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
