/* Design tokens, direction A "ink and stone" (docs/gates.md, gate 2).
   Source: design/directions/base.css + a.css, brand values taken from the live site.
   The only file allowed to hold raw colours (tests/static). */

@font-face {
  font-family: "RTC Display";
  src: url("../fonts/RTCDisplay-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
/* Self-hosted IBM Plex Sans Arabic. The files are not in the repo yet: see
   static/fonts/FONTS-TO-ADD.txt. Until then the system-ui fallback renders. */
@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("../fonts/IBMPlexSansArabic-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("../fonts/IBMPlexSansArabic-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "IBM Plex Sans Arabic";
  src: url("../fonts/IBMPlexSansArabic-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}

:root {
  --ink: #14110E;
  --ink-2: #1E1A15;
  --stone: #F5F2ED;
  --stone-2: #E9E3D8;
  --gold: #EEB255;
  --gold-hi: #F7CD8C;
  --bronze: #7A4E11;
  --paper: #FFFFFF;
  --text: #1E1A15;
  --muted: #5E564B;
  --line: #D9D1C3;
  --danger: #A32B1B;
  --ok: #2F6B3A;
  --field: #857B6E;
  /* Rail (dark side panel) */
  --on-ink: #FFFFFF;
  --rail-text: #E9E3D8;
  --rail-muted: #A79E90;
  --rail-line: #2E2820;
  --rail-step-border: #4A4135;

  --font: "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-display: "RTC Display", var(--font);
}
