/*
 * OTX2 brand, taken from the live site rather than guessed.
 *
 * Every value here was read off https://www.otx2.com on 2026-08-09: the theme's
 * own CSS custom properties for the colours, and the computed font stack for
 * the face. The portal previously used #01123E, a navy sampled from an early
 * mockup that the real identity does not contain.
 *
 * WHAT THE IDENTITY ACTUALLY IS: near-black and white, essentially monochrome,
 * set in Assistant. The blue is real but the site spends it sparingly, so this
 * file keeps it as an accent for state and never as a surface.
 *
 * The face is SELF HOSTED. Linking fonts.googleapis.com would put a third party
 * in the render path of a page a coach opens on a phone at a tournament, and a
 * font that fails to arrive silently falls back, which is how a brand quietly
 * stops being applied. Two subsets, latin and latin-ext: the Hebrew subset
 * Google also serves is 11kb nobody here reads.
 *
 * Assistant ships as a VARIABLE font, so one file covers 200 to 800 and the
 * weight range below is what makes that work. Declaring separate 400 and 700
 * faces against the same file would download it twice.
 */

@font-face {
  font-family: "Assistant";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/brand/assistant-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+2074, U+20AC,
                 U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: "Assistant";
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
  src: url("/brand/assistant-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;
}

:root {
  /* The face. Assistant first, then the platform's own UI face, so a coach on a
     slow connection reads something sensible rather than nothing. */
  --otx-face: "Assistant", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
              "Helvetica Neue", Arial, sans-serif;
  --otx-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;

  /* The darks, straight off the theme. --otx-black is the ground the wordmark
     was drawn for; --otx-slate is the raised surface on top of it. */
  --otx-black:  #121212;
  --otx-slate:  #242833;
  --otx-navy:   #172351;
  --otx-line:   #2F3442;

  /* The blue. Real, and used sparingly: it marks the live thing on a screen and
     nothing else. */
  --otx-blue:   #334FB4;
  --otx-blue-lt:#4A67D4;

  --otx-white:  #FFFFFF;
  --otx-paper:  #F3F3F3;

  /* State. Separate from the accent on purpose, so "this is selected" and "this
     is late" can never be confused with one another. */
  --otx-good:   #1E7A4B;
  --otx-wait:   #A56A00;
  --otx-late:   #B3261E;
}
