/* ═══════════════════════════════════════════════════════════════
   OLYMP Design Tokens — ADR-0017 (FROZEN)
   Единственный источник истины для всех UI-слоёв.
   ═══════════════════════════════════════════════════════════════ */

/* ── Fonts ── */

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Regular.woff2') format('woff2');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Medium.woff2') format('woff2');
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-SemiBold.woff2') format('woff2');
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: 'Inter';
    src: url('../fonts/Inter-Bold.woff2') format('woff2');
    font-weight: 700;
    font-style: normal;
    font-display: swap;
}

:root {
    /* ── Typography ── */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;

    --text-xs:   12px;
    --text-sm:   14px;
    --text-base: 16px;
    --text-lg:   18px;
    --text-xl:   24px;
    --text-2xl:  32px;
    --text-3xl:  48px;
    --text-4xl:  64px;

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

    --lh-body:   1.5;
    --lh-heading: 1.2;

    /* ── Color: Primary (wordmark OLYMP) ── */
    --color-primary:         #1A3A6E;
    --color-primary-hover:   #244B8A;
    --color-primary-pressed: #122A52;

    /* ── Color: Secondary (mountains) ── */
    --color-secondary:      #2BA8A0;
    --color-secondary-soft: #7DCEC7;

    /* ── Color: Accent (sun) ── */
    --color-accent:       #F5C842;
    --color-accent-hover: #E0B530;

    /* ── Color: Surfaces ── */
    --color-bg:        #FFFFFF;
    --color-surface:   #F7F8FA;
    --color-surface-2: #EEF1F5;
    --color-border:    #DCE0E6;

    /* ── Color: Text ── */
    --color-text:        #1A1F2E;
    --color-text-muted:  #5A6373;
    --color-text-subtle: #8A93A3;

    /* ── Color: Semantic ── */
    --color-success: #2E9E6A;
    --color-warning: #D9962B;
    --color-error:   #D04545;
    --color-info:    #2E7DD9;

    /* ── Spacing (4px grid) ── */
    --space-1:  4px;
    --space-2:  8px;
    --space-3:  12px;
    --space-4:  16px;
    --space-6:  24px;
    --space-8:  32px;
    --space-12: 48px;
    --space-16: 64px;
    --space-24: 96px;

    /* ── Border Radius ── */
    --radius-sm:   4px;
    --radius-md:   8px;
    --radius-lg:  12px;
    --radius-xl:  16px;
    --radius-pill: 999px;

    /* ── Shadows ── */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
    --shadow-md: 0 4px 8px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --shadow-xl: 0 16px 48px rgba(0,0,0,0.16);

    /* ── Transitions ── */
    --transition-fast:   150ms ease;
    --transition-normal: 250ms ease;
    --transition-slow:   400ms ease;
}
