/* Tally's fonts, and the tokens only planner.css and activity.css read: the
 * phases, the night surface, the second surface and the mono font. The
 * interface tokens are on :root in app.css (DESIGN.md). Bringing planner.css
 * and activity.css under DESIGN.md's rules is follow-up work.
 * Fonts are self-hosted (the CSP allows no other origin): Archivo with its
 * width axis, IBM Plex Mono 400 and 500, latin only. Licence: fonts/OFL.txt. */
@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  src: url("../fonts/archivo-latin-wdth.de2f1fe81758.woff2") format("woff2-variations");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("../fonts/ibm-plex-mono-latin-400.79936b18df9f.woff2") format("woff2");
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 500;
  src: url("../fonts/ibm-plex-mono-latin-500.b1c8a895f5fd.woff2") format("woff2");
}

:root {
  --surface-2: #E9EBF2;
  --accent-soft: #E3E8FF;
  --ok: #2F7A57;

  /* Phases: the same in both themes, and on the phone */
  --work: #1F3FD8;
  --rest: #BFE3CF;
  --ready: #F7C948;
  --switch: #FF6A3D;
  --round: #2F7A57;
  --night: #12142A;

  --f-mono: "IBM Plex Mono", ui-monospace, Menlo, monospace;
}

@media (prefers-color-scheme: dark) {
  :root { --surface-2: #1D2140; --accent-soft: #232A55; --ok: #8FD3B0; }
}
