/*
 * The typefaces a freelancer can choose for their invoices.
 *
 * These are served by the app rather than relied on being present. Without
 * that, the preview in Settings and the on-screen invoice would fall back to
 * whatever happens to be on the viewer's computer, while the PDF used the
 * real font - so what somebody previewed would not be what their client
 * received. That gap is exactly what this project keeps promising not to have.
 *
 * All five are open licensed (SIL Open Font License), so serving them is
 * fine. Only Regular and Bold are shipped; nothing here needs more weights,
 * and each extra face is another half a megabyte on every first page load.
 *
 * The PDF renderer reads these same files, so screen and paper draw from one
 * source.
 */

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Regular.f67b0de33a24.otf") format("opentype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Inter";
  src: url("../fonts/Inter-Bold.df74d4424f1b.otf") format("opentype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Regular.a4fbd104aa60.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Montserrat";
  src: url("../fonts/Montserrat-Bold.e4c353fde058.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("../fonts/Lato-Regular.3b9b99039cc0.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Lato";
  src: url("../fonts/Lato-Bold.eb9532033c2a.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Carlito";
  src: url("../fonts/Carlito-Regular.f474e3f5ae87.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Carlito";
  src: url("../fonts/Carlito-Bold.b32e68890464.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Serif";
  src: url("../fonts/NotoSerif-Regular.9a05e54d7afd.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "Noto Serif";
  src: url("../fonts/NotoSerif-Bold.8a830234b8a0.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}
