/* BlockSign Design System 1.0 */
:root {
  /* Marke (in beiden Modi identisch) */
  --brand-blue: #0081FF;
  --brand-deep: #2457F5;
  --brand-ink: #010110;
  --brand-gradient: linear-gradient(135deg, #0081FF 0%, #2457F5 100%);

  /* Flächen & Text – Light */
  --background: #F8F9FC;
  --foreground: #010110;
  --card: #FFFFFF;
  --sidebar: #FFFFFF;
  --popover: #FFFFFF;
  --muted: #F1F3F8;
  --muted-foreground: #70707D;
  --secondary: #F1F3F8;
  --accent: #EEF4FF;
  --accent-strong: #E2ECFF;
  --accent-foreground: #0B3FEA;
  --border: #E3E5ED;
  --input: #D6D8E1;
  --ring: #0081FF;

  /* Aktion */
  --primary: #010110;
  --primary-foreground: #FFFFFF;
  --destructive: #DB2A24;
  --destructive-foreground: #FFFFFF;

  /* Semantik */
  --human: #2455F5;   /* Mensch / Freigabe durch Personen */
  --machine: #0F7CB3; /* KI-Agent / automatisiert */
  --ok: #238B57;
  --warn: #CB720B;

  /* Interaktions-Overlays (werden über Flächen gelegt) */
  --elevate-1: rgba(0,0,0,.03);
  --elevate-2: rgba(0,0,0,.08);
  --scrim: rgba(1,1,16,.45);
  --button-outline: rgba(0,0,0,.10);

  /* Typografie */
  --font-sans: "Inter", "Inter Display", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: "JetBrains Mono", ui-monospace, Menlo, monospace;

  /* Radien */
  --radius-sm: 8px;
  --radius-md: 10px;
  --radius: 12px;     /* Standard: Karten, Inputs, Dialoge */
  --radius-xl: 16px;
  --radius-pill: 999px; /* Buttons, Badges, Toggles */

  /* Abstände: 4px-Raster */
  --s-1: 4px; --s-2: 8px; --s-3: 12px; --s-4: 16px; --s-5: 20px;
  --s-6: 24px; --s-8: 32px; --s-10: 40px; --s-12: 48px; --s-16: 64px; --s-24: 96px;

  /* Schatten: bewusst fast flach – Tiefe entsteht über Rahmen */
  --shadow-pop: 0 18px 40px -24px rgba(1,1,16,.28);
  --shadow-modal: 0 30px 80px -30px rgba(1,1,16,.45);

  /* Bewegung */
  --ease: cubic-bezier(.2,.7,.2,1);
  --dur-fast: 150ms;
  --dur: 220ms;
}
.dark {
  --background: #090911;
  --foreground: #F1F3F8;
  --card: #101019;
  --sidebar: #0B0B13;
  --popover: #101019;
  --muted: #1A1A23;
  --muted-foreground: #9898A4;
  --secondary: #1C1C26;
  --accent: #171E36;
  --accent-strong: #1E2848;
  --accent-foreground: #85BAFF;
  --border: #23232F;
  --input: #31313F;
  --ring: #3D9BFF;
  --primary: #F5F6FA;
  --primary-foreground: #010110;
  --destructive: #E14C47;
  --human: #6699FF;
  --machine: #44BCE4;
  --ok: #53C68C;
  --warn: #F5AB3D;
  --elevate-1: rgba(255,255,255,.04);
  --elevate-2: rgba(255,255,255,.09);
  --scrim: rgba(0,0,0,.6);
  --button-outline: rgba(255,255,255,.10);
}
