/* Brain Vision — tokeny (D26). Komponenty jak w systemie UI TriggerPharma (motyw „trigger”,
   shadcn/ui: ../trigger_pharma/ui/motywy/trigger.css, docs/system-ui.md), tło jak scena „mózg”:
   granatowa przestrzeń, na niej jasne karty. Font: Inter (OFL, static/licenses/inter-OFL.txt),
   w stosie za Avenir Next i Segoe UI — dokładnie jak w Pharmie. */

@font-face {
  font-family: "Inter";
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/InterVariable.2bf3d951bf9d.woff2") format("woff2");
}
@font-face {
  font-family: "Inter";
  font-style: italic;
  font-weight: 100 900;
  font-display: swap;
  src: url("../fonts/InterVariable-Italic.8d1dc86da258.woff2") format("woff2");
}

:root {
  color-scheme: light;

  /* typografia (Pharma) */
  --font-sans: "Avenir Next", "Segoe UI", Inter, system-ui, -apple-system, sans-serif;
  --font-mono: ui-monospace, "SF Mono", "Cascadia Mono", Menlo, monospace;

  /* powierzchnie i tekst — motyw „trigger” */
  --background: #f3f6fb;
  --foreground: #11182a;
  --card: #ffffff;
  --popover: #ffffff;
  --secondary: #edf0f5;
  --muted: #edf0f5;
  --muted-foreground: #5b6579;
  --border: #dfe5ef;
  --input: #dfe5ef;
  --input-strong: color-mix(in oklab, var(--foreground) 50%, var(--background));
  --primary: #1769e0;
  --primary-foreground: #ffffff;
  --accent: #eaf2ff;
  --accent-foreground: #0b55c5;
  --ring: #1769e0;
  --destructive: #b63d46;
  --destructive-soft: color-mix(in oklab, var(--destructive) 7%, var(--background));
  --destructive-strong: color-mix(in oklab, var(--destructive) 75%, var(--foreground));
  --success: #247552;
  --success-soft: #e8f6ef;
  --warning: #a4541f;
  --warning-soft: #fff1e6;
  --info: #0b6f73;
  --info-soft: #e6f6f5;
  --star: #f59e0b;
  --overlay: rgb(7 15 33 / 46%);

  /* kształt, cień, ruch — Pharma */
  --radius: 12px;
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius-xl: 16px;
  --radius-dialog: 18px;
  --shadow-xs: 0 1px 2px 0 rgb(0 0 0 / 5%);
  --shadow-sm: 0 6px 20px rgb(25 46 88 / 7%);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 10%), 0 2px 4px -2px rgb(0 0 0 / 10%);
  --shadow-lg: 0 18px 50px rgb(25 46 88 / 10%);
  --shadow-primary: 0 5px 14px color-mix(in oklab, var(--primary) 18%, transparent);
  --shadow-dialog: 0 25px 90px rgb(13 24 52 / 45%);
  --focus: 0 0 0 3px color-mix(in oklab, var(--ring) 50%, transparent);
  --ease: cubic-bezier(.4, 0, .2, 1);
  --ease-out: cubic-bezier(.22, 1, .36, 1);
  --t: 150ms;

  /* przestrzeń (scena „mózg” i tło podstron) — granat Medsolutions */
  --space: #050d20;
  --space-2: #0b1838;
  --space-line: rgb(169 188 220 / 14%);
  --space-text: #f4f8fc;
  --space-muted: #a9bcdc;
  --space-azure: #4fa8f4;
  --space-pink: #e81f76;

  --maxw: 1240px;
  --gutter: clamp(16px, 3vw, 32px);
}
