/* ============================================
   WHAT THIS FILE DOES (plain English):
   The public site's copy of Bridger's colors and fonts. The numbers come from
   apps/mobile/global.css and the font names come from
   apps/mobile/tailwind.config.js. Do not invent a new palette or a system font
   on bridger.social. If the app tokens change, change them here in the same edit.
   ============================================ */

@font-face {
  font-family: FeloniaPixel;
  src: url("/fonts/FeloniaPixel.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --canvas: 250 248 242;
  --surface: 255 255 255;
  --ink: 28 27 22;
  --ink-soft: 74 72 63;
  --ink-mute: 138 135 123;
  --ink-line: 228 226 218;
  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root {
    --canvas: 14 14 14;
    --surface: 26 26 27;
    --ink: 242 240 234;
    --ink-soft: 198 196 188;
    --ink-mute: 168 166 158;
    --ink-line: 55 55 56;
    color-scheme: dark;
  }
}

body {
  margin: 0;
  background: rgb(var(--canvas));
  color: rgb(var(--ink));
  font-family: "Plus Jakarta Sans", system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

h1, h2 {
  font-family: FeloniaPixel, "Courier New", monospace;
  font-weight: normal;
  letter-spacing: 0;
  color: rgb(var(--ink));
  -webkit-font-smoothing: none;
  -moz-osx-font-smoothing: unset;
}

a { color: rgb(var(--ink)); }
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid rgb(var(--ink));
  outline-offset: 3px;
}
