/* Interface tokens: the designer's guide v3 (ops/design/vertice-html-css/, #114).
   Names and values as in the guide, so a change from the designer lands here only.
   Client pages (storefront journey, client area) override --primary with the exhibitor's
   color (layouts/storefront.html); the app is always GOMO OOH.
   Here in assets/ and not in frontend/ because it is also served on its own: the landing
   loads it with landing.css instead of app.css (#127, ADR 0038). */

@font-face {
  font-family: "DM Sans";
  src: url("../fonts/dm-sans-latin-wght.7c87a648293f.woff2") format("woff2");
  font-weight: 100 1000;
  font-display: swap;
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope-latin-wght.938c6e8019b6.woff2") format("woff2");
  font-weight: 200 800;
  font-display: swap;
}

:root {
  --background: oklch(100% 0 0);
  --card: oklch(100% 0 0);
  --foreground: oklch(29% 0.007 160);
  /* The GOMO OOH colors (ops/design/padrao-design-cores.jpeg): green #00cc00, lime
     #99ff00, gray #706f6f; they replace the guide's greens. Neither green holds white text
     (2.2:1 and 1.3:1), so text on them is the dark --foreground (6.5:1, 11.2:1), and green
     as text on a light background is --primary-text, the same hue darker (5.6:1 on white,
     4.9:1 on --secondary). WCAG AA: 4.5:1 for text. */
  --primary: #00cc00;
  --primary-foreground: oklch(29% 0.007 160);
  --primary-text: #17780f;
  --primary-text-foreground: #ffffff; /* text on --primary-text (5.6:1) */
  --brand-lime: #99ff00;
  --secondary: #ccff80; /* the lime, 50% */
  --secondary-foreground: var(--primary-text);
  --soft-green: #f7ffeb; /* the lime, 8% */
  --muted: oklch(96.5% 0.002 160);
  --muted-foreground: #706f6f; /* 5.0:1 on white, 4.5:1 on --muted */
  --accent: #f0ffd9; /* the lime, 15% */
  --border: oklch(91% 0.005 160);
  --canvas: oklch(98.2% 0.002 160);
  --overlay: oklch(22% 0.007 160 / 0.45);
  --shadow-float: 0 8px 30px oklch(29% 0.007 160 / 0.08);

  --danger: oklch(0.55 0.19 27);
  --danger-bg: oklch(0.95 0.025 27);
  --danger-border: oklch(0.8 0.09 27);
  --danger-foreground: oklch(0.4 0.13 27);
  --warning: oklch(0.5 0.11 75);
  --warning-bg: oklch(0.95 0.05 90);
  --warning-border: oklch(0.82 0.1 85);
  --warning-foreground: oklch(0.42 0.1 70);
  --info: oklch(0.45 0.08 230);
  --info-bg: oklch(0.95 0.02 230);
  --info-border: oklch(0.82 0.05 230);
  --info-foreground: oklch(0.38 0.07 230);

  /* Map pins (#117, #121): the same colors in every storefront, whatever the exhibitor color;
     maps.js reads them for the pins. */
  --pin-available: #99ff00;
  --pin-selected: #00cc00;
  --pin-unavailable: #ed3808;
}
