/*
 * @file NL Academy brand CSS served by the CDN (the --theme-* variables + self-hosted @font-face faces).
 * @description Brand artifact loaded by every NL Academy browser surface. The `@font-face` and `--theme-*`
 * blocks between the `GENERATED:*` markers are DERIVED from the `brand/theme.yaml` beside this file — this
 * environment's own authored brand: edit it there and run `pnpm --filter @apps/theming generate:brand`; the
 * drift check (brand-generation.test.ts) fails if these regions go stale. Everything OUTSIDE the markers is
 * hand-owned. The `@font-face` region declares the self-hosted Montserrat variable face once per weight the shell
 * sets; its `fonts/…` URLs resolve beside this file. The hand-owned `:root` lines carry tokens only: the resting
 * border of the text inputs, which the shell would otherwise paint in the deep green secondary.
 */

/* GENERATED:brand-fonts — do not edit by hand; run `pnpm --filter @apps/theming generate:brand` */
/* Montserrat 400 normal */
@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url("fonts/montserrat-latin-variable.woff2") format("woff2");
}

/* Montserrat 500 normal */
@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 500;
    font-display: swap;
    src: url("fonts/montserrat-latin-variable.woff2") format("woff2");
}

/* Montserrat 600 normal */
@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url("fonts/montserrat-latin-variable.woff2") format("woff2");
}

/* Montserrat 700 normal */
@font-face {
    font-family: "Montserrat";
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url("fonts/montserrat-latin-variable.woff2") format("woff2");
}
/* GENERATED:brand-fonts:end */

:root {
    /* GENERATED:brand-vars — do not edit by hand; run `pnpm --filter @apps/theming generate:brand` */
    --theme-font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --theme-serif-font: "Montserrat", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    --theme-primary: #1d8367;
    --theme-primary-hover: #176952;
    --theme-primary-light: #8ec1b3;
    --theme-primary-light-shadow: rgba(29, 131, 103, 0.6);
    --theme-primary-extra-light: #e4f0ed;
    --theme-secondary: #003f1c;
    --theme-secondary-soft: #ccd9d2;
    --theme-secondary-light: #668c77;
    --theme-secondary-light-shadow: rgba(0, 63, 28, 0.6);
    --theme-secondary-shadow: rgba(0, 63, 28, 0.79);
    --theme-secondary-extra-light: #e0e8e4;
    --theme-background: #fafdfc;
    --theme-surface: #ffffff;
    --theme-surface-muted: #f1f1f1;
    --theme-border: #e7e7e7;
    --theme-text: #181b24;
    --theme-text-muted: #5d5f66;
    --theme-text-strong: #003f1c;
    --theme-text-inverse: #ffffff;
    --theme-shadow: rgba(29, 131, 103, 0.18);
    --theme-subtle-shadow: rgba(0, 63, 28, 0.25);
    --theme-subtle-border: #c7d5cd;
    --theme-success: #15803d;
    --theme-error: #b91c1c;
    --theme-warning: #9a3412;
    --theme-rail: #ffffff;
    --theme-rail-text: #003f1c;
    --theme-rail-active: #b6d543;
    --theme-rail-active-text: #003f1c;
    /* GENERATED:brand-vars:end */

    /* Text inputs rest on the site's light green tint; focus and error keep the primary and the red. */
    --app-input-border: #8ec1b3;
}
