/* Golos Text (OFL) — локальные файлы, без внешнего CDN */
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/golos-text-cyrillic.woff2') format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/golos-text-cyrillic-ext.woff2') format('woff2');
  unicode-range: U+0460-052F, U+1C80-1C8A, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/golos-text-latin.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, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Golos Text';
  font-style: normal;
  font-weight: 400 900;
  font-display: swap;
  src: url('/assets/fonts/golos-text-latin-ext.woff2') format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C4, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
/* ЛогоДневник · Design tokens
 * Подключать до прикладных стилей: cabinet-theme.css, landing.css, install.css.
 * Новые компоненты используют только --ds-*; старые стили постепенно переводятся.
 */
:root {
  /* Поверхности и текст */
  --ds-bg: #f6f3ed;
  --ds-surface: #ffffff;
  --ds-surface-soft: #fbf8f2;
  --ds-surface-muted: #f1ece3;
  --ds-ink: #1e2b26;
  --ds-ink-2: #3e4b45;
  --ds-muted: #5f6f68;
  --ds-muted-invert: #d8e4de;

  /* Бренд и статусы */
  --ds-brand: #175a4a;
  --ds-brand-strong: #10483b;
  --ds-brand-soft: #e7f0ec;
  --ds-brand-line: #cbded6;
  --ds-accent: #b46f45;
  --ds-accent-soft: #f7e9dd;
  --ds-danger: #b23a32;
  --ds-danger-soft: #fbecea;
  --ds-warning: #94651d;
  --ds-warning-soft: #fbf1d9;
  --ds-success: #2f6b45;
  --ds-success-soft: #eaf4ed;
  --ds-focus: #2f7d68;
  --ds-border: #e2ddd4;
  --ds-border-strong: #cfc6b8;
  --ds-overlay: rgba(22, 32, 28, .42);

  /* Типографика */
  --ds-font-display: "Golos Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --ds-font-ui: "Golos Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
  --ds-text-xs: 12px;
  --ds-text-sm: 14px;
  --ds-text-md: 16px;
  --ds-text-lg: 18px;
  --ds-text-xl: 24px;
  --ds-text-2xl: 32px;
  --ds-text-3xl: 40px;
  --ds-leading-tight: 1.2;
  --ds-leading-normal: 1.45;
  --ds-leading-relaxed: 1.6;
  --ds-weight-regular: 400;
  --ds-weight-medium: 500;
  --ds-weight-semibold: 600;
  --ds-weight-bold: 700;

  /* Spacing: шаг 4px */
  --ds-s-1: 4px;
  --ds-s-2: 8px;
  --ds-s-3: 12px;
  --ds-s-4: 16px;
  --ds-s-5: 24px;
  --ds-s-6: 32px;
  --ds-s-7: 48px;
  --ds-s-8: 64px;

  /* Радиусы */
  --ds-radius-sm: 8px;
  --ds-radius-md: 12px;
  --ds-radius-lg: 16px;
  --ds-radius-pill: 999px;

  /* Тени */
  --ds-shadow-1: 0 1px 2px rgba(30, 43, 38, .06);
  --ds-shadow-2: 0 12px 32px rgba(30, 43, 38, .12);
  --ds-shadow-3: 0 24px 60px rgba(30, 43, 38, .18);

  /* Сетка и слои */
  --ds-container: 1120px;
  --ds-container-wide: 1280px;
  --ds-gutter: 16px;
  --ds-z-header: 100;
  --ds-z-overlay: 1000;
  --ds-z-toast: 1200;

  /* Движение */
  --ds-duration-fast: 120ms;
  --ds-duration-base: 180ms;
  --ds-duration-slow: 240ms;
  --ds-ease-out: cubic-bezier(.2, .8, .2, 1);
}

@media (prefers-reduced-motion: reduce) {
  :root {
    --ds-duration-fast: 1ms;
    --ds-duration-base: 1ms;
    --ds-duration-slow: 1ms;
  }
}
