/* ==========================================================================
   StatOnline.Ru — дизайн-токены reg.ru 2026
   Значения сняты с живого www.reg.ru (ds-tokens 4.x) и приведены к CSS vars.
   ========================================================================== */

/* --- Шрифты --------------------------------------------------------------- */
@font-face {
    font-family: 'Geologica';
    src: url('/fonts/regru/Geologica-Light.woff2') format('woff2');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Geologica';
    src: url('/fonts/regru/Geologica-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('/fonts/regru/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('/fonts/regru/Inter-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}
@font-face {
    font-family: 'Inter';
    src: url('/fonts/regru/Inter-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* --- Токены --------------------------------------------------------------- */
:root {
    /* Бренд */
    --rg-green-main: #1ede7b;
    --rg-green-hover: #1ac16b;
    --rg-green-dark: #149955;
    --rg-green-text: #0f7a45;
    --rg-green-light: #d2f8e5;
    --rg-green-lightest: #e8fcf2;

    /* Текст */
    --rg-ink: #191b1e;
    --rg-ink-2: #2b2f33;
    --rg-ink-3: #707a8a;
    --rg-ink-4: #cbcdd6;

    /* Линии и фоны */
    --rg-line: #dfe3e8;
    --rg-line-soft: #f2f4f7;
    --rg-bg: #ffffff;
    --rg-bg-2: #f9fafc;
    --rg-bg-3: #f2f4f7;
    --rg-footer: #181818;

    /* Служебные */
    --rg-yellow: #ffd11a;
    --rg-yellow-light: #fff4ba;
    --rg-red: #ff2d50;
    --rg-red-dark: #d00000;

    /* Радиусы */
    --rg-r4: 4px;
    --rg-r8: 8px;
    --rg-r12: 12px;
    --rg-r16: 16px;
    --rg-r24: 24px;
    --rg-r40: 40px;
    --rg-r60: 60px;
    --rg-radius-card: 16px;
    --rg-radius-control: 12px;
    --rg-radius-button: 10px;

    /* Тени */
    --rg-shadow-card: 0 4px 24px rgba(25, 27, 30, .06);
    --rg-shadow-popup: 0 24px 64px rgba(25, 27, 30, .16);
    --rg-shadow-header: 0 8px 32px rgba(25, 27, 30, .07);

    /* Типографика */
    --rg-font: 'Inter', Arial, 'Helvetica Neue', Helvetica, sans-serif;
    --rg-font-head: 'Geologica', 'Inter', Arial, 'Helvetica Neue', Helvetica, sans-serif;

    /* Движение */
    --rg-ease: cubic-bezier(.45, 0, .55, 1);
    --rg-ease-in: cubic-bezier(.81, 0, .04, 1);
    --rg-dur: .2s;
    --rg-dur-fast: .1s;

    /* Сетка */
    --rg-container: 1328px;
    --rg-sidebar: 280px;
    --rg-sidebar-gap: 24px;
}
