/**
 * @file theme.css
 * shadcn/ui-compatible theme variables for ByteTheme / tg_theme.
 *
 * Truth Guardians palette (hex):
 * - #1C3242  (navy)
 * - #1D384A  (navy-2)
 * - #E8E8E8  (light neutral)
 * - #F79421  (orange)
 * - #F8B917  (yellow)
 *
 * Notes:
 * - Off-white background (calm/clean).
 * - Blues are primary/foreground.
 * - Warm colors are accents/highlights (CTAs, badges), not large backgrounds.
 */

:root {
  /* ========= Surfaces + text ========= */
  --background: oklch(0.985 0 0);                /* off-white */
  --foreground: oklch(0.307 0.040 241.359);      /* ~ #1C3242 */

  --card: oklch(1 0 0);                          /* white */
  --card-foreground: oklch(0.307 0.040 241.359); /* ~ #1C3242 */

  /* ========= Brand (calm/confident) ========= */
  --primary: oklch(0.328 0.046 239.444);         /* ~ #1D384A */
  --primary-foreground: oklch(1 0 0);            /* white */

  /* ========= Secondary / muted UI surfaces ========= */
  --secondary: oklch(0.931 0 0);                 /* ~ #E8E8E8 */
  --secondary-foreground: oklch(0.307 0.040 241.359);

  --muted: oklch(0.931 0 0);                     /* ~ #E8E8E8 */
  --muted-foreground: oklch(0.555 0.027 234.824);/* derived cool gray text */

  /*
   * Accent: gentle warm tint derived from your flame colors.
   * Use for hovers, selected states, subtle highlights (not full sections).
   */
  --accent: oklch(0.963 0.040 88.196);           /* ~ warm off-white tint */
  --accent-foreground: oklch(0.307 0.040 241.359);

  /* ========= Destructive ========= */
  --destructive: oklch(0.6368 0.2078 25.3313);   /* keep */
  --destructive-foreground: oklch(1 0 0);

  /* ========= Borders / inputs ========= */
  --border: oklch(0.870 0 0);                    /* slightly darker than #E8E8E8 */
  --input: oklch(0.870 0 0);

  /* ========= Typography ========= */
  --font-sans: "Roboto", "Helvetica Neue", Arial, Helvetica, sans-serif;
  --font-serif: ui-serif, Georgia, Cambria, "Times New Roman", Times, serif;
  --font-mono: "Fira Mono", "Menlo", "Consolas", "Liberation Mono", monospace;

  /* ========= Radius ========= */
  --radius: 0.5rem;

  /* ========= Shadows ========= */
  --shadow-x: 0;
  --shadow-y: 1px;
  --shadow-blur: 3px;
  --shadow-spread: 0px;
  --shadow-opacity: 0.1;
  --shadow-color: oklch(0 0 0);
  --shadow-2xs: 0 1px 3px 0px hsl(0 0% 0% / 0.05);
  --shadow-xs: 0 1px 3px 0px hsl(0 0% 0% / 0.05);
  --shadow-sm: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 1px 2px -1px hsl(0 0% 0% / 0.1);
  --shadow: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 1px 2px -1px hsl(0 0% 0% / 0.1);
  --shadow-md: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 2px 4px -1px hsl(0 0% 0% / 0.1);
  --shadow-lg: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 4px 6px -1px hsl(0 0% 0% / 0.1);
  --shadow-xl: 0 1px 3px 0px hsl(0 0% 0% / 0.1), 0 8px 10px -1px hsl(0 0% 0% / 0.1);
  --shadow-2xl: 0 1px 3px 0px hsl(0 0% 0% / 0.25);

  /* ========= Optional: explicit brand tokens (use in custom CSS if needed) ========= */
  --brand-navy: oklch(0.307 0.040 241.359);      /* #1C3242 */
  --brand-navy-2: oklch(0.328 0.046 239.444);    /* #1D384A */
  --brand-orange: oklch(0.754 0.164 62.441);     /* #F79421 */
  --brand-yellow: oklch(0.822 0.165 83.094);     /* #F8B917 */
}

footer[role="contentinfo"] {
  background-color: var(--primary);
  color: var(--background);
}
