@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/vendor/onest/onest-cyrillic-wght-normal.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}

@font-face {
  font-family: 'Onest';
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url('/vendor/onest/onest-latin-wght-normal.woff2') format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+20AC, U+2122,
    U+2191, U+2193, U+2212, U+2215;
}

:root {
  /* Мастерская: мокрый сланец, кость, патина на бронзе */
  --slate-950: #15181b;
  --slate-900: #1b1f23;
  --slate-800: #23282d;
  --slate-700: #2d3339;
  --slate-600: #3b424a;
  --slate-500: #555e68;
  --bone: #ebe6dc;
  --bone-dim: #a3a7a6;
  --bone-faint: #6f7577;
  --patina: #5cc4ae;
  --patina-deep: #2f8f7d;
  --patina-wash: rgba(92, 196, 174, 0.14);
  --bronze: #cf9a62;
  --danger: #e2766a;
  --clay: #b8a593;

  --font: 'Onest', 'Segoe UI', system-ui, sans-serif;
  --text-xs: 0.6875rem;
  --text-sm: 0.8125rem;
  --text-md: 0.9375rem;
  --text-lg: 1.25rem;

  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --panel-shadow: 0 12px 32px rgba(8, 10, 12, 0.45);
  --focus-ring: 0 0 0 2px var(--slate-900), 0 0 0 4px var(--patina);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
  margin: 0;
}

body {
  overflow: hidden;
  background: var(--slate-900);
  color: var(--bone);
  font: 400 var(--text-sm) / 1.45 var(--font);
  -webkit-font-smoothing: antialiased;
  overscroll-behavior: none;
}

#root {
  height: 100%;
}

button,
input {
  font: inherit;
  color: inherit;
}

button {
  cursor: pointer;
}

:focus {
  outline: none;
}

:focus-visible {
  box-shadow: var(--focus-ring);
}

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