:root {
  /* Brand Primary Colors - Concept 2: Midnight Ink & Slate */
  --color-primary: #0F172A;       /* Midnight Ink */
  --color-primary-dark: #070D18;  /* Deepest obsidian navy for contrast / footer */
  --color-primary-light: #1E293B; /* Slate navy hover */
  --color-primary-soft: #F1F5F9;  /* Soft slate tint */

  /* Accent & CTA Colors - Concept 2: Precision Cobalt & Solar Amber */
  --color-accent: #2563EB;        /* Precision Cobalt */
  --color-accent-dark: #1D4ED8;   /* Cobalt hover state */
  --color-accent-light: #EFF6FF;  /* Soft cobalt pill background */
  --color-accent-border: #BFDBFE; /* Light cobalt border */
  --color-amber: #F59E0B;         /* Solar Amber - Human Oversight */
  --color-amber-dark: #D97706;    /* Amber hover */
  --color-amber-light: #FFFBEB;   /* Amber pill background */
  --color-amber-border: #FDE68A;  /* Amber border */

  /* Neutral Background Surfaces */
  --color-bg-body: #FFFFFF;
  --color-bg-surface: #F8FAFC;    /* Studio soft slate surface */
  --color-bg-card: #FFFFFF;       /* Substantial card white */
  --color-bg-muted: #F1F5F9;      /* Secondary pill / code background */
  --color-bg-dark: #0F172A;       /* Contrast dark section */

  /* Borders & Dividers */
  --color-border-subtle: #E2E8F0; /* Hairline border */
  --color-border-medium: #CBD5E1; /* Interactive hover border */
  --color-border-active: #0F172A; /* Active/focused state */

  /* Text & Typography Colors */
  --color-text-main: #0F172A;     /* High contrast deep midnight ink */
  --color-text-muted: #475569;    /* Secondary editorial slate */
  --color-text-light: #64748B;    /* Subtle caption / timestamp */
  --color-text-inverted: #FFFFFF; /* On dark navy */
  --color-text-accent: #2563EB;   /* Cobalt accent text */

  /* Subtle Logo Highlight Colors (for node badges / tags only) */
  --color-tag-amber: #D96938;
  --color-tag-amber-bg: #FCF1EC;
  --color-tag-teal: #1F9694;
  --color-tag-teal-bg: #E8F7F7;
  --color-tag-iris: #585CE5;
  --color-tag-iris-bg: #EEEEFD;

  /* Typography Scale */
  --font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  --font-family-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;

  /* Line Heights */
  --line-height-tight: 1.15;
  --line-height-heading: 1.25;
  --line-height-body: 1.7;

  /* Spacing */
  --space-1: 0.25rem;  /* 4px */
  --space-2: 0.5rem;   /* 8px */
  --space-3: 0.75rem;  /* 12px */
  --space-4: 1rem;     /* 16px */
  --space-5: 1.25rem;  /* 20px */
  --space-6: 1.5rem;   /* 24px */
  --space-8: 2rem;     /* 32px */
  --space-10: 2.5rem;  /* 40px */
  --space-12: 3rem;    /* 48px */
  --space-16: 4rem;    /* 64px */
  --space-20: 5rem;    /* 80px */
  --space-24: 6rem;    /* 96px */

  /* Layout Containers */
  --container-max-width: 1180px;
  --container-narrow: 840px;
  --container-padding: 1.5rem;

  /* Shadows (Calm & Substantial) */
  --shadow-subtle: 0 4px 12px rgba(32, 69, 98, 0.04);
  --shadow-card: 0 8px 24px rgba(32, 69, 98, 0.06);
  --shadow-hover: 0 16px 36px rgba(32, 69, 98, 0.1);
  --shadow-elevated: 0 20px 48px rgba(32, 69, 98, 0.14);

  /* Border Radii */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 150ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 250ms cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: 400ms cubic-bezier(0.4, 0, 0.2, 1);

  /* Z-Indices */
  --z-header: 1000;
  --z-modal: 1100;
  --z-toast: 1200;
}

/* Mobile & Narrow Viewport Padding (Including Galaxy Flip 7: ~360px - 412px, Cover: ~300px) */
@media (max-width: 640px) {
  :root {
    --container-padding: 1.25rem;
  }
}

@media (max-width: 420px) {
  :root {
    --container-padding: 1rem;
  }
}

@media (max-width: 340px) {
  :root {
    --container-padding: 0.75rem;
  }
}

