/* Avakode Hub: design tokens (plan §3 «Глубокая тьма без стекла») and the self-hosted faces.
   The tokens are declared on the header/footer (.hub-chrome) and on hub pages (body.hub-page), NOT on :root: on the
   parent's pages (cabinet, /pricing, /docs) they stay inside the new header and footer and recolor nothing else
   (the cabinet gets its tokens in lane 4.7). None of the names is used by the parent's forge.css / foundry.css / palette.
   Fonts (OFL, license files next to them): Bricolage Grotesque 500/700 (headings, brand), Instrument Sans 400/500/600 (text),
   variable latin woff2, one file per family. JetBrains Mono comes from the parent theme (hub pages link its sheet). */

@font-face {
  font-family: 'Bricolage Grotesque';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url(../fonts/bricolage-grotesque/bricolage-grotesque-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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

@font-face {
  font-family: 'Instrument Sans';
  font-style: normal;
  font-weight: 400 600;
  font-display: swap;
  src: url(../fonts/instrument-sans/instrument-sans-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+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

.hub-chrome,
body.hub-page {
  --bg: #07060B;            /* page background */
  --bg-2: #0E0C16;          /* scenes, raised areas */
  --fg: #F3F0FC;            /* main text */
  --fg-2: #A9A3C4;          /* secondary text */
  --muted: #7F79A0;         /* captions; plan value #6E6889 is 3.85:1 on --bg, this is 4.95:1 (§3 says raise it) */
  --signal: #7C5CFC;        /* violet: signal, active, links */
  --signal-hot: #A98BFF;    /* lighter violet: eyebrow, sums, stamps */
  --signal-fill: #7757F8;   /* fill under white text: --signal gives white 4.38:1, this gives 4.66:1 */
  --line: rgba(255,255,255,.09);  /* every hairline */
  --ease: cubic-bezier(.32,.72,0,1);  /* the only motion curve */

  --display: 'Bricolage Grotesque', system-ui, sans-serif;
  --text: 'Instrument Sans', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  --hub-bar: 72px;          /* height of the header bar */
  --hub-gut: 72px;          /* left rail of the hub sections (the board's bus runs here, lane 1.0) */
}

@media (max-width: 960px) {
  .hub-chrome,
  body.hub-page { --hub-gut: 28px; }
}
