@font-face {
  font-family: Martian Grotesk;
  src: url("/assets/fonts/MartianGrotesk-StdRg.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Space Grotesk";
  src: url("/assets/fonts/space-grotesk.woff2") format("woff2");
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}
@font-face {
  font-family: "Founders Grotesk text Regular";
  src: url("/assets/fonts/FoundersGroteskTextWeb-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}
:root {
  color-scheme: dark;
  /* Formula palette: edit these tokens to recolor the entire theme. */
   --bg: #080808;
    --surface: #212121;
    --border: #151718;
  --text: #F1F3F5;
  --text-muted: #A9B1BA;
  --accent: #c4ff00; /* #14ffe9 */
  --top: #ff42d3; /* #ff42d3 */
  --premium: #c4ff00; /* #c4ff00 */
  --success: #66EAA8;
  --danger: #D86464;
  --accent-soft: #314149;
  --accent-line: #577100; /* 3A5B67 */
  --accent-foreground: #171C22;
  --top-soft: #413445;
  --top-line: #613D5E;
  --top-foreground: #ffffff;
  --premium-soft: #3D4538;
  --premium-line: #586441;
  --premium-foreground: #171C22;
  --success-soft: #314641;
  --success-line: #3B6655;
  --success-foreground: #171C22;
  --danger-soft: #403439;
  --danger-line: #5E3E41;
  --danger-foreground: #171C22;

  /* Formula typography: body text, headings and the header logo. */
  --font-sans: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  --font-emoji: "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  --font-body: var(--font-sans), var(--font-emoji);
  --font-heading: "Martian Grotesk", var(--font-body);
  --font-brand: "Space Grotesk", ui-sans-serif, system-ui, sans-serif, var(--font-emoji);

  /* Compatibility aliases for existing Formula components. */
  --font-display: var(--font-body);
  --font-card-title: var(--font-heading);
  --bg-soft: var(--surface);
  --bg-card: var(--surface);
  --bg-card-2: color-mix(in srgb, var(--surface) 92%, var(--text));
  --bg-secondary: var(--surface);
  --text-dim: var(--text-muted);
  --line: var(--border);
  --red: var(--danger);
  --accent-2: color-mix(in srgb, var(--accent) 75%, var(--text));
  --accent-bg: var(--accent-soft);
  --accent-glow: var(--accent-line);
  --shadow: none;
  --radius-xl: 24px;
  --radius-lg: 18px;
  --radius-md: 14px;
  --radius-sm: 10px;
}
