/*
 * FoxWylie design tokens
 * Source: FoxWylie Brand Kit 1.0 (Brand Guidelines V1.1), 30 Sep 2026.
 * Shared by every FoxWylie app (website, dashboard, expenses, crew, portal).
 */
:root {
  /* Brand palette (from the kit) */
  --fw-ink: #191a1c;
  --fw-orange: #c0562e;
  --fw-white: #ffffff;
  --fw-chalk: #f3efe7;
  --fw-slate: #667177;
  --fw-cobalt: #3f5bea;
  --fw-mist: #ddebfc;
  --fw-tick: #1e7b3c; /* ticked boxes only, screens (Jonny, 27 Nov 2026; docs/design.md) */

  /* Web-only shade, decided 17 Nov 2026.
     Use for buttons, links and small orange text on Chalk or White,
     where #C0562E is too low-contrast. Not part of the print palette. */
  --fw-orange-dark: #a04422;

  /* Roles */
  --fw-color-bg: var(--fw-chalk);
  --fw-color-surface: var(--fw-white);
  --fw-color-text: var(--fw-ink);
  --fw-color-text-muted: var(--fw-slate);
  --fw-color-accent: var(--fw-orange);
  --fw-color-action: var(--fw-orange-dark);
  --fw-color-link: var(--fw-orange-dark);
  --fw-color-info: var(--fw-cobalt);
  --fw-color-info-bg: var(--fw-mist);
  --fw-color-inverse-bg: var(--fw-ink);
  --fw-color-inverse-text: var(--fw-white);

  /* Light glass (docs/design.md section 11; Jonny, 27 Nov 2026). Used by
     glass.css and every app. White and Ink at set strengths, plus the three
     background glows: no new colours. */
  --fw-glass-panel: rgba(255, 255, 255, 0.6);    /* frosted panel */
  --fw-glass-solid: rgba(255, 255, 255, 0.8);    /* dense screens and pages used outdoors */
  --fw-glass-plain: rgba(255, 255, 255, 0.85);   /* no blur (slow or unsupported) */
  --fw-glass-menu: #ffffff;                      /* the phone menu when open: solid so it reads over the screen */
  --fw-glass-tile: rgba(255, 255, 255, 0.6);     /* tiles inside a panel */
  --fw-glass-field: rgba(255, 255, 255, 0.8);    /* form fields */
  --fw-glass-button: rgba(255, 255, 255, 0.7);   /* frosted (not main) buttons */
  --fw-glass-mist: rgba(221, 235, 252, 0.8);     /* notes and tips */
  --fw-glass-edge: rgba(255, 255, 255, 0.95);    /* 1 px panel edge */
  --fw-glass-line: rgba(25, 26, 28, 0.16);       /* thin Ink edge on buttons */
  --fw-glass-field-edge: rgba(25, 26, 28, 0.2);  /* thin Ink edge on fields */
  --fw-glass-rule: rgba(25, 26, 28, 0.1);        /* rules between rows */
  --fw-glass-muted: rgba(25, 26, 28, 0.74);      /* secondary text (Slate fails on glass) */
  --fw-glass-shadow: 0 20px 50px rgba(25, 26, 28, 0.09);
  --fw-glass-blur: blur(24px) saturate(150%);
  --fw-glow-orange: rgba(192, 86, 46, 0.3);
  --fw-glow-mist: rgba(221, 235, 252, 1);
  --fw-glow-cobalt: rgba(63, 91, 234, 0.16);
  --fw-radius-panel: 20px;
  --fw-radius-box: 14px;
  --fw-radius-pill: 999px;

  /* Type */
  --fw-font-heading: "Barlow Semi Condensed", Arial, sans-serif;
  --fw-font-body: "DM Sans", Arial, sans-serif;
  --fw-weight-heading: 700;
  --fw-weight-heading-heavy: 800;
  --fw-weight-body: 400;
  --fw-weight-body-strong: 600;
}
