/*
 * Generated by tools/brand from tools/brand/config.go.
 * Do not edit. Edit the config and run `go -C tools/brand run .`.
 *
 * The public token sheet. Embedded into skald-web by internal/assets.
 *
 * Values are carried verbatim from fireball-website's own
 * site/src/styles/tokens.css so the blog reads as a continuation of the
 * marketing site rather than a near miss. The radius and shadow scales in
 * particular are that site's, not a fresh set: a 16px card next to a 12px
 * card is the kind of difference nobody names and everybody feels.
 */

:root {
  /* Accent. The brand ink. Does not change between themes. */
  --accent: #DA291C;
  --accent-hover: #9B1D14;
  --accent-glow: rgba(218, 41, 28, 0.45);

  /* Secondary accents. Signalling only, never a second brand colour. */
  --blue: #0088CB;
  --green: #10B981;

  /* Grounds, hairlines and text. Light. */
  --bg: #F5F5F4;
  --surface: #FFFFFF;
  --border: #E6E8EB;
  --text: #171A1F;
  --text-muted: #5A5D52;
  --accent-text: #9B1D14;

  /* Radius. */
  --radius-pill: 999px;
  --radius-card: 16px;
  --radius-input: 8px;

  /* Shadows. Flat, not glassy. */
  --shadow-card: 0 1px 2px rgba(23, 26, 31, 0.05), 0 1px 3px rgba(23, 26, 31, 0.07);
  --shadow-card-hover: 0 14px 34px -10px rgba(23, 26, 31, 0.18), 0 4px 8px -4px rgba(23, 26, 31, 0.07);
  --shadow-nav: 0 1px 2px rgba(23, 26, 31, 0.05), 0 1px 3px rgba(23, 26, 31, 0.07);

  /* Type. Nunito Sans is self-hosted; see web/internal/assets/files/fonts.
     It is fireballz.ai's body face, carried over so the blog reads as the
     same company rather than a near miss. Self-hosted for the same reason
     Fira Sans below is: the marketing site pulls both from Google and
     @fontsource, and a blog that phones a third party for a font leaks
     every reader's IP to do it. */
  --font-main: 'Nunito Sans', 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Fira Sans', ui-sans-serif, system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, Menlo, monospace;

  color-scheme: light;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
  --bg: #0B1E2D;
  --surface: #141E2A;
  --border: rgba(255, 255, 255, 0.08);
  --text: #FFFFFF;
  --text-muted: #B0B8C4;
  --accent-text: #E97F77;
  color-scheme: dark;
  }
}

:root[data-theme="dark"] {
  --bg: #0B1E2D;
  --surface: #141E2A;
  --border: rgba(255, 255, 255, 0.08);
  --text: #FFFFFF;
  --text-muted: #B0B8C4;
  --accent-text: #E97F77;
  color-scheme: dark;
}
