/* Every colour and type family torque paints, consumed by the screens and the
   printed documents alike (ADR-0003); what each role is for is ADR-0010's. */
@font-face {
  font-family: "Archivo";
  src: url("fonts/Archivo.ttf") format("truetype");
  font-weight: 100 900;
  font-stretch: 62% 125%;
  font-display: swap;
}

:root {
  --type-text: "Archivo", -apple-system, "Segoe UI", Roboto, Helvetica, sans-serif;
  --type-mono: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;

  --ink: #101418;
  --ink-soft: #39434f;
  --muted: #5a6472;

  --paper: #ffffff;
  --ground: #f6f7f9;
  --band: #eceef1;

  /* A card's edge, a row's separator, a control's edge, a decorative rule. */
  --line: #e4e7ec;
  --hairline: #dfe3e9;
  --edge: #7b8593;
  --rule: #9aa3ae;

  --teal: #107f70;
  --teal-pressed: #0c6156;
  --teal-on-dark: #14a390;
  --select-tint: #e6f4f1;
  --dim-on-dark: #a9b2be;

  --high: #b3261e;
  --high-strong: #a3221a;
  --high-tint: #fdecea;
  --high-bar: #c8342a;
  --high-wash: #fdf6f5;

  --medium: #a4600a;
  --medium-strong: #8a5008;
  --medium-tint: #fdf3e0;
  --medium-bar: #c58318;
  --medium-wash: #fdfaf3;

  --placeholder: #c9cfd7;
  --placeholder-ink: #26303a;
}

/* The pairs ADR-0010 holds to a ratio, proven by checks/palette.test.ts:
   text 4.5:1 on what it is painted on, --edge 3:1 on what it borders. */
/* contrast 4.5: --ink --ink-soft --muted on --paper --ground --band --select-tint --high-tint --medium-tint --high-wash --medium-wash */
/* contrast 4.5: --teal on --paper --ground */
/* contrast 4.5: --paper on --teal --teal-pressed --high --high-strong --ink */
/* contrast 4.5: --teal-on-dark --dim-on-dark on --ink */
/* contrast 4.5: --high --high-strong --medium-strong on --select-tint --high-tint --medium-tint --high-wash --medium-wash */
/* contrast 4.5: --medium on --paper --ground --high-wash --medium-wash */
/* contrast 4.5: --high --high-strong on --paper */
/* contrast 3: --edge on --paper --ground */
