/**
 * DMScan theme — variables and base font (loaded in <head>).
 * Kaalu korrigeerimised: static/css/theme-weights.css
 */

:root {
    /* Fonts */
    --font-sans: "Google Sans", sans-serif;
    --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;

    /*
     * Google Sans looks heavier than Inter at the same number.
     * Tune weights in theme-weights.css via these variables.
     */
    --fw-normal: 400;
    --fw-medium: 400;
    --fw-semibold: 500;
    --fw-bold: 600;

    /* Brand */
    --color-brand-50: #f0f4ff;
    --color-brand-100: #e0eaff;
    --color-brand-200: #c7d2fe;
    --color-brand-500: #635bff;
    --color-brand-600: #4f46e5;
    --color-brand-700: #3730a3;

    /* Surfaces */
    --color-bg: #f3f6fa;
    --color-surface: #ffffff;
    --color-border: #e3e8ef;
    --color-border-soft: #f0f4f8;

    /* Text */
    --color-text: #0a2540;
    --color-text-muted: #697386;
    --color-text-subtle: #8898aa;

    /* Login gradient */
    --login-gradient: radial-gradient(circle at top left, #dbe8ff, #eef2ff 35%, #f8fafc 70%);
}

html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-synthesis: none;
    font-synthesis-weight: none;
}

html,
body {
    font-family: var(--font-sans);
    font-weight: var(--fw-normal);
    background: linear-gradient(180deg, #f0f4fa 0%, var(--color-bg) 120px, var(--color-bg) 100%);
}

button,
input,
select,
textarea {
    font-family: inherit;
    font-synthesis: none;
    font-synthesis-weight: none;
}

.font-sans {
    font-family: var(--font-sans) !important;
}

.font-mono {
    font-family: var(--font-mono) !important;
}
