/* Symmy brand, shared by /portal and the admin: the typefaces, the palette
   and the page they sit on.
   Headings: PP Formula Extended Bold, Symmy's display face from the brand
   manual (the same file The Last Tool serves). Text: Archivo (SIL OFL,
   fonts/OFL.txt) in place of Symmy's Saans — one variable file. */

@font-face {
  font-family: "PP Formula Extended";
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url("fonts/PPFormulaExtended-Bold.otf") format("opentype");
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("fonts/archivo-latin-ext.woff2") format("woff2");
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
    U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,
    U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

@font-face {
  font-family: "Archivo";
  font-style: normal;
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
  src: url("fonts/archivo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
    U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,
    U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  /* symmy.com's three brand colours */
  --ink: #022b26;
  --signal: #3452f8;
  --mint: #3bd895;
  /* around them */
  --ink-2: #0c3d36;
  --signal-deep: #2238c9;
  --signal-wash: #eef1ff;
  --mint-deep: #11804f;
  --mint-wash: #e6f9f0;
  --paper: #f6f8fb;
  --surface: #ffffff;
  --line: #e2e7ee;
  --line-strong: #cbd3de;
  --text: #102522;
  --slate: #5a6b7b;
  --danger: #c4321f;
  --danger-wash: #fdeeec;
  --amber: #9a5b00;
  --amber-wash: #fdf3e2;

  --font: "Archivo", "Segoe UI", system-ui, -apple-system, sans-serif;
  --font-head: "PP Formula Extended", "Archivo", "Segoe UI", system-ui, sans-serif;
  --mono: ui-monospace, "SFMono-Regular", "JetBrains Mono", Menlo, Consolas, monospace;
}

/* Loaded before each surface's own styles (ui.css, admin.css): the
   typeface, tabular figures, and symmy.com's faint dot grid. */
body {
  font-family: var(--font);
  font-variant-numeric: tabular-nums;
  background-color: var(--paper);
  background-image: radial-gradient(circle at 1px 1px, #d9e0ea 1px, transparent 0);
  background-size: 24px 24px;
}
