/*
 * Kelo — the site's own two faces, served from this server.
 *
 * Why not Google Fonts: every visitor's browser tells fonts.gstatic.com their IP address before a
 * single word of the page is painted. On a site whose argument is that a Finnish company's data
 * stays in Finland, handing every reader's address to a third party on the way in is an odd way
 * to open.
 *
 * What these are: Fraunces and Source Sans 3, both under the SIL Open Font License 1.1 — the
 * licences sit beside this file. Both have been changed: cut to one weight per file, the axes the
 * site does not use fixed in place, and the character set trimmed to latin and latin-ext plus the
 * euro. Source Sans reserves the name "Source" and the OFL does not allow a changed font to keep a
 * reserved name, so they are renamed here, and Fraunces is renamed alongside it so the pair reads
 * as one family. They are the same two faces the program carries, which is the point: the program
 * and the site it is sold from are set in the same face.
 *
 * One file per weight, and every weight the stylesheets ask for — 400, 500, 600 and 700 for the
 * body face, 400 and 600 for the headings. This is not fussiness. A browser asked for a weight the
 * family does not have takes the nearest one and fakes the rest by smearing each letter sideways
 * without giving it any more room, so bold text closes up and letters run into each other. That is
 * what happened when this shipped as one variable file that stopped at 600, while <strong> asks
 * for 700.
 *
 * A page downloads only the weights it actually uses; the rest are never fetched.
 *
 * IF YOU REPLACE ONE OF THESE FILES, RENAME IT. The server sends them with a one-year
 * Cache-Control and `immutable`, which is a promise to the browser that the file at this address
 * will not change. A returning visitor will not ask again for up to a year, and nothing anywhere
 * will tell them -- or you -- that they are reading the old one. The ?ver= on this stylesheet does
 * not help: it versions this file, not the addresses inside it. So KeloSans-400.woff2 becomes
 * KeloSans-400-v2.woff2, and the src below changes with it. The rule itself is in
 * docs/palvelinasetukset.md.
 */

@font-face {
  font-family: "Kelo Sans";
  src: url("KeloSans-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Kelo Sans";
  src: url("KeloSans-500.woff2") format("woff2");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Kelo Sans";
  src: url("KeloSans-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Kelo Sans";
  src: url("KeloSans-700.woff2") format("woff2");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Kelo Serif";
  src: url("KeloSerif-400.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Kelo Serif";
  src: url("KeloSerif-600.woff2") format("woff2");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}
