/* =====================================================================
   mFunnel brand theme, shared by every lead magnet and the admin.
   Source: mFunnel Colour Sheet and Typography Sheet (November 2026).
   Change a value here and every tool follows. Nothing else holds colours or fonts.
   ===================================================================== */
:root {
  /* ---- Brand palette (proportions in a layout: 50% White, 25% Green, 13% Ink, 8% Lime, 4% Yellow) */
  --mf-green: #008055;        /* Primary: buttons, links, chat header, ticks. White text only. */
  --mf-lime: #B0CA20;         /* Secondary: selected chips, highlights. Ink text only. */
  --mf-yellow: #F1E111;       /* Accent: one attention element per screen. Ink text only. */
  --mf-ink: #070E0D;          /* Headings, body text, dark cards. */
  --mf-white: #FFFFFF;

  /* ---- Supporting shades derived from the palette */
  --mf-green-hover: #00694A;  /* hover and pressed states */
  --mf-green-deep: #005C3D;   /* text on green tint */
  --mf-green-tint: #E6F2EC;   /* visitor bubbles, selected cards */
  --mf-lime-tint: #F2F6DC;    /* soft highlight panels */
  --mf-muted: #4A5553;        /* secondary text, timestamps */
  --mf-surface: #F4F6F5;      /* chat wallpaper, form backgrounds */
  --mf-border: #DDE3E1;       /* card and input borders */
  --mf-focus: rgba(0, 128, 85, 0.35);

  /* ---- Functional colours: only for scores and errors */
  --mf-red: #B3261E;          --mf-red-tint: #FBE3E0;    --mf-red-ink: #8A1C14;
  --mf-amber: #B45309;        --mf-amber-tint: #FCEFD2;  --mf-amber-ink: #6B3F00;

  /* ---- Score bands: brand first, then the functional colours */
  --band-excellent: var(--mf-green);  --band-excellent-bg: var(--mf-green-tint); --band-excellent-text: var(--mf-green-deep);
  --band-solid: var(--mf-lime);       --band-solid-bg: var(--mf-lime-tint);      --band-solid-text: #3B4A1A;
  --band-weak: var(--mf-amber);       --band-weak-bg: var(--mf-amber-tint);      --band-weak-text: var(--mf-amber-ink);
  --band-failing: var(--mf-red);      --band-failing-bg: var(--mf-red-tint);     --band-failing-text: var(--mf-red-ink);

  /* ---- Type: Arial family. Arial Black for titles, Arial for everything else; free Google alternatives where Arial isn't installed. */
  --font-title: "Arial Black", "Archivo Black", Arial, sans-serif;          /* hero and result headlines */
  --font-subtitle: Arial, Arimo, Helvetica, sans-serif;                   /* headings, weight 700 */
  --font-text: Arial, Arimo, Helvetica, sans-serif;                       /* body, chat, forms (Arial: easier to read than Arial Narrow) */
  --font-base: Arial, Arimo, Helvetica, sans-serif;                       /* the sheet's base stack */

  /* ---- Shape */
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 18px;
  --radius-pill: 999px;
  --shadow: 0 10px 30px rgba(7, 14, 13, 0.08);
  --shadow-soft: 0 1px 2px rgba(7, 14, 13, 0.10);
}
