/* Lobby Watch: tokens. Fonts, palette, type scale, spacing, layout sizes (design.md sections 2, 3, 4). */

/* IBM Plex, self-hosted, SIL OFL 1.1 (see ../fonts/OFL-IBM-Plex.txt). Latin subset only: anything outside
   the range (✫ ❤ ✪, CJK) falls through to the system fonts in --sans / --mono. */
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin-400-normal.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;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: italic;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin-400-italic.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;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin-500-normal.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;
}
@font-face {
  font-family: "IBM Plex Sans";
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url("../fonts/ibm-plex-sans-latin-600-normal.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;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-latin-400-normal.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;
}
@font-face {
  font-family: "IBM Plex Mono";
  font-style: normal;
  font-weight: 500;
  font-display: swap;
  src: url("../fonts/ibm-plex-mono-latin-500-normal.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 {
  color-scheme: dark;

  /* Surfaces */
  --bg: #111213;
  --surface: #161719;
  --raised: #1c1d20;
  --sel: #212326;
  --sunken: #0c0d0e;
  --well-hover: #141517;

  /* Lines */
  --rule: #26282b;
  --rule-strong: #34363a;
  --line-control: #6e7176;
  --link-line: #55575c;

  /* Text */
  --text: #e4e2dd;
  --text-2: #a9a69f;
  --text-3: #8c8982;

  /* Marks and states. The accent is never a text colour. */
  --accent: #7ab48c;
  --warn: #d9a54a;
  --err: #e5675c;
  --err-rule: #5a2b27;

  /* Controls */
  --btn-hover: #232528;
  --btn-active: #2a2c30;
  --primary-hover: #f0eee9;
  --selection: #2a3f30;

  /* Families */
  --sans: "IBM Plex Sans", system-ui, "Segoe UI", Roboto, sans-serif;
  --mono: "IBM Plex Mono", ui-monospace, Consolas, "Cascadia Mono", monospace;

  /* Type scale: the only six sizes (size / line-height) */
  --fs-meta: 12px;  --lh-meta: 16px;
  --fs-dense: 13px; --lh-dense: 20px;
  --fs-ui: 14px;    --lh-ui: 20px;
  --fs-lede: 16px;  --lh-lede: 24px;
  --fs-h1: 18px;    --lh-h1: 24px;
  --fs-name: 24px;  --lh-name: 30px;

  /* Spacing: 4 8 12 16 24 32 48 */
  --s1: 4px;
  --s2: 8px;
  --s3: 12px;
  --s4: 16px;
  --s5: 24px;
  --s6: 32px;
  --s7: 48px;

  /* Layout */
  --gutter: 24px;
  --topbar-h: 48px;
  --statusbar-h: 24px;
}

@media (max-width: 719.98px) {
  :root {
    --gutter: 16px;
    --topbar-h: 80px;
  }
}
