/* Salus's own look: colors, fonts, and a few styles of its own.
   It loads after the template's styles.css, so anything here wins.
   Updating from the template never changes this file.
   See docs/design-system.md for every setting you can change here. */

/* Poppins, the closest open-license match to the logo's lettering
   (a geometric sans with a two-story "a"). Self-hosted, SIL Open Font License. */
@font-face { font-family: "Poppins"; src: url("/fonts/poppins-regular-latin.woff") format("woff"); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/poppins-italic-latin.woff") format("woff"); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/poppins-medium-latin.woff") format("woff"); font-weight: 500; font-style: normal; font-display: swap; }
@font-face { font-family: "Poppins"; src: url("/fonts/poppins-bold-latin.woff") format("woff"); font-weight: 600 700; font-style: normal; font-display: swap; }

:root {
  /* The three main colors */
  --primary: #102538;     /* Salus navy, from the logo */
  --accent: #4d6b79;      /* Salus slate, a deeper shade of the logo's divider line */
  --background: #fff;

  /* Deliberate choices that differ from what the template works out */
  --gray: #f5f0e7;        /* warm sand for alternating bands, instead of a cool gray */
  /* A muted gold that warms up the navy and slate:
     --highlight for lines and edges only (too light for text on white),
     --highlight-text for small text on white or sand,
     --highlight-on-primary for small text and lines on navy bands. */
  --highlight: #b8893e;
  --highlight-text: #86642a;
  --highlight-on-primary: #d9b56e;
  --kicker: var(--highlight-text);
  --kicker-on-primary: var(--highlight-on-primary);
  /* Navy footer with the white logo and a gold line on top */
  --footer-bg: var(--primary);
  --footer-text: var(--white);
  --footer-rule: 4px solid var(--highlight);
  --footer-logo-width: 200px;

  --font-body: "Poppins", system-ui, sans-serif;
  --font-heading: "Poppins", system-ui, sans-serif;
}

/* Gold top edges on rows of numbers (the stats block). */
.stats li { border-top-color: var(--highlight); }
.section--primary .stats li { border-top-color: var(--highlight-on-primary); }
