/* Marketing site palette « Brume menthe » (D-306, docs/UI-CHARTER.md §13.2). The site's own colours: the portal keeps
   its tokens (fuselift-tokens.css, which this site still loads for the Figtree and JetBrains Mono faces). This file and
   fuselift-tokens.css are the only places of the site where a colour value is written; site.css uses the names below.

   Mint ground, deep teal bands, green for the action with dark ink on it (white on this green fails contrast), soft
   two-light relief shadows. The dark values apply when the visitor's system asks for them. Contrast pairs are in
   §13.2 of the charter. */

:root {
  color-scheme: light dark;

  --b-bg: #eaf4ee;          /* page ground */
  --b-paper: #f2f3f7;       /* raised surfaces, cards */
  --b-chip: #ffffff;        /* chips, pills, keys */
  --b-dialog: #ffffff;      /* pictures of the agent's own dialogs: the same in both themes */
  --b-dialog-ink: #1f1c1d;
  --b-dialog-line: #c3bfc0;
  --b-dialog-accent: #006b26;
  --b-ink: #1f1c1d;         /* text, 15:1 on paper */
  --b-ink-2: #3a3f47;       /* secondary text, 9.6:1 on paper */
  --b-line: #c3bfc0;        /* hairlines */

  --b-deep: #0a282d;        /* the teal bands */
  --b-deep-2: #123a40;      /* a card on a band */
  --b-deep-line: #23474d;
  --b-on-deep: #f2f3f7;     /* text on a band, 14:1 */
  --b-on-deep-2: #c9d6d8;   /* secondary text on a band, 8.3:1 */
  --b-mint: #9ef0af;        /* labels and numbers on a band, 11:1 */

  --b-go: #3db663;          /* the action: ink on it, 6.5:1 */
  --b-go-hover: #4cc774;
  --b-on-go: #1f1c1d;
  --b-go-ring: rgba(61, 182, 99, 0.2);
  --b-focus: rgba(0, 131, 55, 0.55);
  --b-green-ink: #006b26;   /* green text and links on paper, 6:1 */
  --b-green-title: #008337; /* the green word of a large title (4.4:1: large text only) */
  --b-ok-tint: #c7ffd4;
  --b-ok-ink: #004812;

  --b-grid: rgba(10, 40, 45, 0.045);
  --b-glow: rgba(61, 182, 99, 0.5);
  --b-glow-2: rgba(61, 182, 99, 0.12);

  --b-relief: 6px 6px 16px rgba(160, 166, 186, 0.35), -6px -6px 16px rgba(255, 255, 255, 0.9);
  --b-relief-lg: 12px 12px 28px rgba(160, 166, 186, 0.42), -12px -12px 28px rgba(255, 255, 255, 0.95);
  --b-lift: 0 4px 14px -6px rgba(10, 40, 45, 0.25);
  --b-float: 0 20px 44px -20px rgba(10, 40, 45, 0.35), 0 0 0 1px rgba(10, 40, 45, 0.05);
  --b-drop: 0 40px 70px -30px rgba(10, 40, 45, 0.5);

  --b-display: "Outfit Variable", "Figtree Variable", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root {
    --b-bg: #0e1f22;
    --b-paper: #142b2f;
    --b-chip: #1b373c;
    --b-ink: #eef3f1;
    --b-ink-2: #b9c8c6;
    --b-line: #2e4b50;

    --b-deep: #071619;
    --b-deep-2: #10292d;
    --b-deep-line: #23474d;
    --b-on-deep: #eef3f1;
    --b-on-deep-2: #b9c8c6;
    --b-mint: #9ef0af;

    --b-go: #3db663;
    --b-go-hover: #4cc774;
    --b-on-go: #0b1a1c;
    --b-go-ring: rgba(61, 182, 99, 0.25);
    --b-focus: rgba(122, 217, 145, 0.7);
    --b-green-ink: #7ad991;
    --b-green-title: #7ad991;
    --b-ok-tint: #1c4a2c;
    --b-ok-ink: #b6ffc5;

    --b-grid: rgba(158, 240, 175, 0.05);
    --b-glow: rgba(61, 182, 99, 0.35);
    --b-glow-2: rgba(61, 182, 99, 0.08);

    --b-relief: 6px 6px 16px rgba(0, 0, 0, 0.45), -6px -6px 16px rgba(255, 255, 255, 0.025);
    --b-relief-lg: 12px 12px 28px rgba(0, 0, 0, 0.5), -12px -12px 28px rgba(255, 255, 255, 0.03);
    --b-lift: 0 4px 14px -6px rgba(0, 0, 0, 0.6);
    --b-float: 0 20px 44px -20px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(255, 255, 255, 0.06);
    --b-drop: 0 40px 70px -30px rgba(0, 0, 0, 0.8);
  }
}

@font-face {
  font-family: "Outfit Variable";
  font-style: normal;
  font-display: swap;
  font-weight: 100 900;
  src: url("./outfit-latin-wght-normal.woff2") format("woff2-variations");
}
