:root {
    --brand-blue-1: #009ee2;
    --brand-red: #cc1719;
    --brand-blue-2: #164193;
    --brand-gray: #9c9b9b;

    --font-family-heading: "Source Sans 3", "Segoe UI", sans-serif;
    --font-family-body: "Source Sans 3", "Segoe UI", sans-serif;

    --color-primary: var(--brand-blue-2);
    --color-on-primary: #ffffff;
    --color-surface: #ffffff;
    --color-surface-raised: #e9edf3;
    --color-table-stripe: #f8f3e9;
    --color-secondary-button-background: #ffffff;
    --color-secondary-button-border: #aeb9c8;
    --color-text: #18202c;
    --color-text-muted: #566477;
    --color-heading: var(--brand-blue-2);
    --color-border: #cbd3df;
    --color-link: var(--brand-blue-2);
    --color-focus: var(--brand-blue-1);
    --color-danger: var(--brand-red);
    --color-success: #18794e;
}

:root[data-theme="dark"] {
    --color-primary: var(--brand-blue-1);
    --color-on-primary: #071725;
    --color-surface: #0b1220;
    --color-surface-raised: #131d2e;
    --color-table-stripe: color-mix(in srgb, var(--color-primary) 5%, var(--color-surface));
    --color-secondary-button-background: var(--color-surface-raised);
    --color-secondary-button-border: var(--color-border);
    --color-text: #f5f7fb;
    --color-text-muted: #b5c0d0;
    --color-heading: #ffffff;
    --color-border: #52627c;
    --color-link: var(--brand-blue-1);
    --color-focus: var(--brand-blue-1);
    --color-danger: var(--brand-red);
    --color-success: #5fd19a;
}

@media (prefers-color-scheme: dark) {
    :root:not([data-theme]) {
        --color-primary: var(--brand-blue-1);
        --color-on-primary: #071725;
        --color-surface: #0b1220;
        --color-surface-raised: #131d2e;
        --color-table-stripe: color-mix(in srgb, var(--color-primary) 5%, var(--color-surface));
        --color-secondary-button-background: var(--color-surface-raised);
        --color-secondary-button-border: var(--color-border);
        --color-text: #f5f7fb;
        --color-text-muted: #b5c0d0;
        --color-heading: #ffffff;
        --color-border: #52627c;
        --color-link: var(--brand-blue-1);
        --color-focus: var(--brand-blue-1);
        --color-danger: var(--brand-red);
        --color-success: #5fd19a;
    }
}
