/* Phoenix AI Solutions: final brand tokens.
   Source: 00-hq/projects/2026-10-ai-brand-identity/board/board.css (:root, round 3) and rules.css (.rp tokens),
   decisions in branding/README.md (12 Oct 2026). Final values only: the board's A/B/C switches are gone.
   Dark pages and panels: put data-theme="dark" on any ancestor; the brand files read it. */

/* Stand-in fonts sized to the brand fonts, so lines wrap the same before and after the web fonts arrive (no jump on load).
   size-adjust = brand width / Arial width, measured 14 Oct 2026 on one English paragraph; ascent and descent from the brand fonts. */
@font-face { font-family: "Wix Text Fallback"; font-weight: 400; src: local("Arial"), local("ArialMT"), local("Helvetica"); size-adjust: 102.8%; ascent-override: 98.2%; descent-override: 24.3%; line-gap-override: 0%; }
@font-face { font-family: "Wix Text Fallback"; font-weight: 500; src: local("Arial"), local("ArialMT"), local("Helvetica"); size-adjust: 104%; ascent-override: 97.1%; descent-override: 24%; line-gap-override: 0%; }
@font-face { font-family: "Wix Text Fallback"; font-weight: 600 700; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"); size-adjust: 98.6%; ascent-override: 102.4%; descent-override: 25.4%; line-gap-override: 0%; }
@font-face { font-family: "Wix Display Fallback"; font-weight: 400 500; src: local("Arial"), local("ArialMT"), local("Helvetica"); size-adjust: 103.7%; ascent-override: 97.4%; descent-override: 24.1%; line-gap-override: 0%; }
@font-face { font-family: "Wix Display Fallback"; font-weight: 600; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"); size-adjust: 100%; ascent-override: 102.4%; descent-override: 25.4%; line-gap-override: 0%; }
@font-face { font-family: "Wix Display Fallback"; font-weight: 700; src: local("Arial Bold"), local("Arial-BoldMT"), local("Helvetica Bold"); size-adjust: 99.9%; ascent-override: 101.1%; descent-override: 25%; line-gap-override: 0%; }
@font-face { font-family: "Plex Mono Fallback"; font-weight: 400 700; src: local("Courier New"), local("CourierNewPSMT"), local("Courier"); size-adjust: 100%; ascent-override: 103%; descent-override: 28%; line-gap-override: 0%; }

:root {
  /* neutrals */
  --ink: #1d1d1f;
  --ink-2: #6e6e73;
  --paper: #ffffff;
  --grey: #f5f5f7;
  --line: #e3e3e8;
  --black: #000000;
  --tile: #111114;          /* the black of every app tile */
  --on-dark: #f5f5f7;
  --on-dark-2: #a1a1a6;

  /* dark surfaces used by the Apps menu and product pages (rules.css) */
  --dark-1: #0e0e10;
  --dark-2: #161618;
  --dark-3: #202023;
  --dark-line: #2a2a2e;
  --on-dark-3: #8a8a90;

  /* the one action colour: indigo, for every button and link; links on dark sections use --blue-dark */
  --blue: #3b4fd8;
  --blue-hover: #3242b8;
  --blue-dark: #8b97ff;

  /* WhatsApp button only (dark green text on it), and the error colour (never alone: icon + words) */
  --wa: #25d366;
  --wa-ink: #0b6b34;
  --red: #d92d20;

  /* Category colours, exactly as board.css defines them.
     Plain = the tile's coloured side. -dark = text on black. -light = text on white (4.5 to 1 or better).
     -2 = the second app of the same kind: a darker shade of the same hue, never a new hue (Phoenix Post). */
  --mk-mkt:   #4f9d2d; --mk-mkt-dark:   #6fd04a; --mk-mkt-light:   #2c7a14;   /* Marketing, green: Reach */
  --mk-mkt-2: #2b7421; --mk-mkt-2-dark: #4f9d2d; --mk-mkt-2-light: #1f5a10;   /* Marketing, darker green: Post */
  --mk-ops:   #f0a020; --mk-ops-dark:   #f0a020; --mk-ops-light:   #a35f00;   /* Operations, yellow: Score */
  --mk-ops-2: #c97d00; --mk-ops-2-dark: #c97d00; --mk-ops-2-light: #7d4900;   /* Operations, darker yellow */
  --mk-int:   #ff5a36; --mk-int-dark:   #ff7a5c; --mk-int-light:   #c9300f;   /* Team tools, red */
  --mk-int-2: #d4401f; --mk-int-2-dark: #e0553a; --mk-int-2-light: #9a2209;   /* Team tools, darker red */

  /* Colour families for backgrounds, diagrams and app cards (approved by the owner 13 Oct 2026; see /system/colours/).
     Per family: main (shapes), wash (backgrounds), soft (fills), text (on white), dark (text on black). Main, text and dark equal the category colours above. */
  --c-ind: #3b4fd8; --c-ind-wash: #eef0fe; --c-ind-soft: #d5daff; --c-ind-text: #3b4fd8; --c-ind-dark: #8b97ff;
  --c-mkt: #4f9d2d; --c-mkt-wash: #eef8e8; --c-mkt-soft: #cfeabf; --c-mkt-text: #2c7a14; --c-mkt-dark: #6fd04a;
  --c-mk2: #2b7421; --c-mk2-wash: #e8f1e5; --c-mk2-soft: #bfd9b6; --c-mk2-text: #1f5a10; --c-mk2-dark: #4f9d2d;
  --c-ops: #f0a020; --c-ops-wash: #fff5e0; --c-ops-soft: #ffe0a6; --c-ops-text: #a35f00; --c-ops-dark: #f0a020;
  --c-int: #ff5a36; --c-int-wash: #fff0eb; --c-int-soft: #ffd2c4; --c-int-text: #c9300f; --c-int-dark: #ff7a5c;

  /* type: Wix Madefor Display for headlines and the logo word, Text for body, Plex Mono for every number and code */
  --font-display: "Wix Madefor Display", "Wix Display Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-text: "Wix Madefor Text", "Wix Text Fallback", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: "IBM Plex Mono", "Plex Mono Fallback", ui-monospace, Consolas, monospace;
  --h-weight: 600;          /* headlines */
  --logo-weight: 500;       /* the word "Phoenix" and app names; letter-spacing 0 */
}
