/* Design tokens (brief F2): the only file with colour codes. Measured from the reference screenshot (near-black,
   teal) and the company logo (cyan → violet). Every other stylesheet, template and script uses var(--…). */

/* ---------------------------------------------------------------- fonts (local files, OFL) */
@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/inter-latin-wght-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: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/inter-latin-ext-wght-normal.woff2") format("woff2-variations"),
       url("../fonts/inter-latin-ext-wght-normal.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: "Bebas Neue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/bebas-neue-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: "Bebas Neue";
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url("../fonts/bebas-neue-latin-ext-400-normal.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 {
  color-scheme: dark;

  /* ---------------------------------------------------------------- background and surfaces */
  --bg: #020304;
  --bg-veil: rgba(2, 3, 4, .86);              /* the sticky bars over the page */
  --glow-teal: rgba(61, 203, 190, .11);       /* the faint light at the top of the page */
  --glow-violet: rgba(91, 63, 160, .16);
  --surface: #0B121A;                         /* cards */
  --surface-2: #0F1820;                       /* inputs, bubbles, inner panels */
  --surface-3: #15212B;                       /* hover */
  --border: rgba(255, 255, 255, .08);
  --border-strong: rgba(255, 255, 255, .16);
  --skeleton-a: rgba(255, 255, 255, .04);
  --skeleton-b: rgba(255, 255, 255, .09);

  /* ---------------------------------------------------------------- accent */
  --teal: #3DCBBE;
  --teal-hover: #63D8CD;
  --teal-soft: rgba(61, 203, 190, .12);
  --teal-line: rgba(61, 203, 190, .38);
  --on-teal: #020304;                          /* dark text on the teal button */

  /* ---------------------------------------------------------------- the logo's gradient (logo, hero line 2, thin lines) */
  --grad-from: #01BDD8;
  --grad-to: #5B3FA0;
  --grad: linear-gradient(90deg, var(--grad-from), var(--grad-to));
  /* the hero's second line: the logo's colours, its violet lifted so large text keeps ≥ 3:1 on --bg */
  --grad-text: linear-gradient(92deg, #01BDD8 8%, #7C63C9 96%);
  --banner-bg: linear-gradient(100deg, rgba(61, 203, 190, .24) 0%, rgba(61, 203, 190, .07) 55%,
                                       rgba(91, 63, 160, .18) 100%);

  /* ---------------------------------------------------------------- text */
  --text: #F2F5F7;
  --text-2: #9AA7B2;

  /* ---------------------------------------------------------------- status (always with an icon and a word) */
  --critical: #F87171;
  --critical-soft: rgba(248, 113, 113, .12);
  --critical-line: rgba(248, 113, 113, .42);
  --important: #FBBF24;
  --important-soft: rgba(251, 191, 36, .12);
  --important-line: rgba(251, 191, 36, .40);
  --ok: #3DCBBE;
  --ok-soft: rgba(61, 203, 190, .12);
  --idle: #94A3B8;
  --idle-soft: rgba(148, 163, 184, .12);
  --idle-line: rgba(148, 163, 184, .34);

  /* ---------------------------------------------------------------- map */
  --map-tiles: invert(1) hue-rotate(180deg) brightness(.92) contrast(.86) saturate(.5);
  --map-veil: rgba(11, 18, 26, .86);

  /* ---------------------------------------------------------------- shape */
  --radius-card: 16px;
  --radius-input: 12px;
  --radius-sm: 8px;
  --radius-pill: 999px;
  --line: 1px;

  /* ---------------------------------------------------------------- spacing: a 4 / 8 px step */
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-5: 20px;
  --space-6: 24px;
  --space-8: 32px;
  --space-10: 40px;
  --space-12: 48px;
  --space-16: 64px;

  /* ---------------------------------------------------------------- type */
  --font-display: "Bebas Neue", "Oswald", "Arial Narrow", sans-serif;
  --font-text: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --size-xs: 12px;
  --size-sm: 13px;
  --size-md: 15px;
  --size-lg: 18px;

  /* ---------------------------------------------------------------- layout */
  --container: 1200px;
  --gutter: 16px;
  --topbar-h: 64px;
  --tabbar-h: 64px;
  --icon: 20px;
}
