/* Design tokens: self-hosted fonts and colour/type custom properties.
   Loaded first by every page (landing and legal). */

/* Assistant, hosted here. The old chain went to googleapis for the
   stylesheet and then to gstatic for the file: two external requests
   in series, each with its own DNS and TLS, all blocking first paint. */
/* hebrew */
@font-face {
    font-family: 'Assistant';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/fonts/assistant-400-hebrew.woff2) format('woff2');
    unicode-range: U+05D0-05EA, U+05F3-05F4, U+200E-200F, U+20AA, U+FB2A-FB4F;
}
/* latin */
@font-face {
    font-family: 'Assistant';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url(/fonts/assistant-400-latin.woff2) format('woff2');
    unicode-range: U+0020-007E, U+00A0, U+00AB, U+00BB, U+2013-2014, U+2018-201D;
}
/* hebrew */
@font-face {
    font-family: 'Assistant';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(/fonts/assistant-600-hebrew.woff2) format('woff2');
    unicode-range: U+05D0-05EA, U+05F3-05F4, U+200E-200F, U+20AA, U+FB2A-FB4F;
}
/* latin */
@font-face {
    font-family: 'Assistant';
    font-style: normal;
    font-weight: 600;
    font-display: swap;
    src: url(/fonts/assistant-600-latin.woff2) format('woff2');
    unicode-range: U+0020-007E, U+00A0, U+00AB, U+00BB, U+2013-2014, U+2018-201D;
}
/* hebrew */
@font-face {
    font-family: 'Assistant';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(/fonts/assistant-700-hebrew.woff2) format('woff2');
    unicode-range: U+05D0-05EA, U+05F3-05F4, U+200E-200F, U+20AA, U+FB2A-FB4F;
}
/* latin */
@font-face {
    font-family: 'Assistant';
    font-style: normal;
    font-weight: 700;
    font-display: swap;
    src: url(/fonts/assistant-700-latin.woff2) format('woff2');
    unicode-range: U+0020-007E, U+00A0, U+00AB, U+00BB, U+2013-2014, U+2018-201D;
}
/* hebrew */
@font-face {
    font-family: 'Assistant';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url(/fonts/assistant-800-hebrew.woff2) format('woff2');
    unicode-range: U+05D0-05EA, U+05F3-05F4, U+200E-200F, U+20AA, U+FB2A-FB4F;
}
/* latin */
@font-face {
    font-family: 'Assistant';
    font-style: normal;
    font-weight: 800;
    font-display: swap;
    src: url(/fonts/assistant-800-latin.woff2) format('woff2');
    unicode-range: U+0020-007E, U+00A0, U+00AB, U+00BB, U+2013-2014, U+2018-201D;
}

:root {
    /* ---- Olive palette (Otzma LaNefesh), from the old nefesh.css.
       Every pairing below was checked against WCAG 2.1 AA. ---- */
    --olive-black: #1C220C;   /* countdown band, footer bar   white on it 16.4:1 */
    --olive-deep: #2B3410;    /* section gradient start       white on it 13.1:1 */
    --olive: #3F4E1B;         /* main colour, also headings   white on it  9.1:1 */
    --olive-mid: #4E6126;     /* gradient end                 white on it  6.9:1 */

    /* Two button shades, not one. A dark olive button on a dark olive
       section disappears, so on dark the button is light with dark text,
       and on light the button is dark with white text. */
    --cta-on-dark: #93AE4C;   /* olive-black text on it 6.5:1 */
    --cta-on-dark-h: #A4BE5E;
    --cta-on-light: #4E6126;  /* white text on it 6.9:1 */
    --cta-on-light-h: #3F4E1B;

    /* Accents. Sand is the IDF's second colour after olive. */
    --olive-lite: #93AE4C;    /* highlights and dots on dark */
    --sand: #D6C89A;
    --sand-lite: #F0EBDC;     /* light section background */

    /* ---- Neutrals ---- */
    --ink: #1F1F1F;
    --grey: #666666;
    --line: #E3E3E3;
    --track: #EDEDED;
    --white: #FFFFFF;

    /* ---- Template names the skeleton rules still read. The old page
       remapped them inside .lp and #donate; here the whole page is one
       palette so the mapping lives on :root. ---- */
    --crimson: var(--olive);
    --coral: var(--cta-on-light);
    --maroon: var(--olive);
    --purple: var(--olive-mid);
    --pink: var(--cta-on-light);
    --pink-d: var(--cta-on-light-h);

    --radius: 20px;
    --font: "Assistant", "Heebo", "Rubik", system-ui, -apple-system, "Segoe UI", Arial, sans-serif;
}
