/* Lattice Energy Works — brand token overrides (white-label P1 tokensCssPath).
   Loaded AFTER index.css via the vite index.html transform, so only the
   brand-hue tokens are restated; structure, radii, and status colors keep the
   civic register. Palette derived from the Lattice wordmark: charcoal #202020
   + sage-green family centered on #709060 (hue ~105). Interactive tokens sit
   darker than the logo green for AA contrast on white.
   Dark mode is deliberately not retuned (matches the base register's stance). */

@font-face {
  font-family: "Open Sans";
  font-style: normal;
  font-weight: 400 700;
  font-display: swap;
  src: url("/brands/lattice/fonts/OpenSans-var-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;
}

/* :root:root — the brand link is injected BEFORE the bundle's index.css, so
   the override needs higher specificity than the base :root block, not later
   position. */
:root:root {
  --font-sans: "Open Sans", system-ui, sans-serif;

  /* Brand hue: 105 (sage). Interactive green ~#3e5a36 — ≥4.5:1 on white. */
  --primary: 105 26% 30%;
  --primary-foreground: 0 0% 100%;
  --ring: 105 26% 30%;

  --sidebar-primary: 105 26% 30%;
  --sidebar-primary-foreground: 0 0% 100%;
  --sidebar-ring: 105 26% 30%;
  --sidebar-accent: 105 30% 94%;

  --accent-tint: 105 30% 94%;
  --accent-line: 105 22% 80%;
  --accent-dark: 105 28% 30%;

  --authority: 106 30% 16%;
  --authority-foreground: 0 0% 100%;
  --authority-muted: 105 18% 80%;
}
