/* agenticworkflowguide.com — the site's own palette and scale.
   This is the ONLY file with colour literals. Light is the default; dark follows
   prefers-color-scheme, or [data-theme="dark"] forces it. Every token name the starter's
   globals.css maps into Tailwind is kept, so the shared plumbing still resolves.
   The accent (#35156b) arrives from the page head as --kortix-base / --ring. */

:root {
  color-scheme: light;
  --background: #ffffff;
  --pane: #ffffff;
  --surface: #f7f6f9;
  --foreground: #191320;
  --foreground-strong: #191320;
  --foreground-weak: #6a6273;
  --card: #f7f6f9;
  --card-foreground: #191320;
  --popover: #ffffff;
  --popover-foreground: #191320;
  --primary: #191320;
  --primary-foreground: #ffffff;
  --secondary: #f1eff4;
  --secondary-foreground: #191320;
  --muted: #f1eff4;
  --muted-foreground: #5f5867;
  --accent: #f1eff4;
  --accent-foreground: #191320;
  --destructive: #b3241f;
  --destructive-foreground: #ffffff;
  --border: #e2dfe7;
  --input: #e2dfe7;
  --ring: #35156b;
  --hover: rgb(25 19 32 / 0.045);
  --active: rgb(25 19 32 / 0.08);
  --sidebar: #f7f6f9;
  --sidebar-foreground: #191320;
  --sidebar-primary: #35156b;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #f1eff4;
  --sidebar-accent-foreground: #191320;
  --sidebar-row: #f7f6f9;
  --sidebar-row-control: #f1eff4;
  --sidebar-border: #e2dfe7;
  --sidebar-ring: #35156b;
  --kortix-base: #35156b;
  --kortix-green: #17733b;
  --kortix-red: #b3241f;
  --kortix-orange: #8a5a00;
  --kortix-yellow: #6f5b00;
  --kortix-blue: #1d4f8c;
  --kortix-purple: #5b3f9e;
  --chart-1: #35156b;
  --chart-2: #5f4a8c;
  --chart-3: #8a7ab0;
  --chart-4: #b6abcc;
  --chart-5: #d9d3e4;
  --terminal-surface: #141019;
  --terminal-fg: #ece8f2;
  --terminal-border: #2c2438;

  --font-sans: 'Manrope', ui-sans-serif, -apple-system, 'Segoe UI', 'Helvetica Neue', 'Noto Sans', sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
  --font-sans-system: 'Manrope', ui-sans-serif, -apple-system, 'Segoe UI', 'Helvetica Neue', 'Noto Sans', sans-serif;
  --font-mono-system: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;

  --tracking-tight: -0.02em;
  --leading-tight: 1.22;
  --leading-snug: 1.38;
  --leading-relaxed: 1.66;
  --radius: 2px;
  --radius-sm: 2px;
  --radius-md: 2px;
  --radius-lg: 3px;
  --radius-xl: 3px;
  --radius-2xl: 4px;
  --spacing: 0.23rem;
  --text-xs: 0.8125rem;
  --text-xs-line-height: calc(1.35 / 0.8125);
  --text-sm: 0.875rem;
  --text-sm-line-height: calc(1.4 / 0.875);
  --text-md: 0.9375rem;
  --text-md-line-height: calc(1.5 / 0.9375);
  --text-base: 1rem;
  --text-base-line-height: calc(1.55 / 1);
  --text-lg: 1.125rem;
  --text-lg-line-height: calc(1.6 / 1.125);
  --text-xl: 1.25rem;
  --text-xl-line-height: calc(1.55 / 1.25);
  --text-2xl: 1.5rem;
  --text-2xl-line-height: calc(1.35 / 1.5);
  --text-3xl: 1.875rem;
  --text-3xl-line-height: calc(1.25 / 1.875);
  --text-4xl: 2.25rem;
  --text-4xl-line-height: calc(1.15 / 2.25);
  --text-5xl: 3rem;
  --text-5xl-line-height: 1.08;
  --text-6xl: 3.75rem;
  --text-6xl-line-height: 1.04;
  --text-7xl: 4.5rem;
  --text-7xl-line-height: 1;
  --text-8xl: 6rem;
  --text-8xl-line-height: 1;

  --shadow-xs: none;
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
  --shadow-xl: none;
  --shadow-card: none;
  --shadow-frame: 0 24px 48px -32px rgb(25 19 32 / 0.45);

  --duration-fast: 110ms;
  --duration-normal: 160ms;
  --duration-moderate: 220ms;
  --duration-slow: 320ms;
  --duration-slower: 520ms;
  --ease-default: cubic-bezier(0.2, 0, 0, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.4, 0, 0.2, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);

  /* Site additions. */
  --kortix-base-ink: #35156b;
  --transparent: transparent;
  --mask-solid: #000;
  /* The accent as a wash behind a cell or a plate. */
  --accent-wash: rgb(53 21 107 / 0.055);
  --accent-wash-strong: rgb(53 21 107 / 0.1);
  /* The dark specimen pane (hero exhibit, code plates). */
  --specimen: #141019;
  --specimen-fg: #efecf4;
  --specimen-muted: #a79fb4;
  --specimen-border: #2c2438;
}

:root[data-theme='dark'] {
  color-scheme: dark;
  --background: #0c0a10;
  --pane: #0f0c14;
  --surface: #151119;
  --foreground: #f6f3f9;
  --foreground-strong: #ffffff;
  --foreground-weak: #a8a0b4;
  --card: #151119;
  --card-foreground: #f6f3f9;
  --popover: #151119;
  --popover-foreground: #f6f3f9;
  --primary: #f6f3f9;
  --primary-foreground: #100c16;
  --secondary: #1d1824;
  --secondary-foreground: #f6f3f9;
  --muted: #1d1824;
  --muted-foreground: #aea6ba;
  --accent: #1d1824;
  --accent-foreground: #f6f3f9;
  --destructive: #ff7a74;
  --destructive-foreground: #100c16;
  --border: #2a2433;
  --input: #2a2433;
  --hover: rgb(255 255 255 / 0.06);
  --active: rgb(255 255 255 / 0.1);
  --sidebar: #151119;
  --sidebar-foreground: #f6f3f9;
  --sidebar-primary: #8f74d8;
  --sidebar-primary-foreground: #100c16;
  --sidebar-accent: #1d1824;
  --sidebar-accent-foreground: #f6f3f9;
  --sidebar-row: #1d1824;
  --sidebar-row-control: #2a2433;
  --sidebar-border: #2a2433;
  --sidebar-ring: #8f74d8;
  --kortix-green: #4fbf79;
  --kortix-red: #ff7a74;
  --kortix-orange: #d9a24a;
  --kortix-yellow: #cfb44e;
  --kortix-blue: #6ea8ee;
  --kortix-purple: #a58ce0;
  --chart-1: #8f74d8;
  --chart-2: #b3a0e6;
  --chart-3: #cdc0ee;
  --chart-4: #e0d8f4;
  --chart-5: #f0ebf9;
  --terminal-surface: #141019;
  --terminal-fg: #ece8f2;
  --terminal-border: #2c2438;
  --kortix-base-ink: #a58ce0;
  --shadow-frame: 0 24px 48px -32px rgb(0 0 0 / 0.8);
  --accent-wash: rgb(140 112 214 / 0.12);
  --accent-wash-strong: rgb(140 112 214 / 0.2);
  --specimen: #17121f;
  --specimen-fg: #efecf4;
  --specimen-muted: #a79fb4;
  --specimen-border: #352c43;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme='light']) {
    color-scheme: dark;
    --background: #0c0a10;
    --pane: #0f0c14;
    --surface: #151119;
    --foreground: #f6f3f9;
    --foreground-strong: #ffffff;
    --foreground-weak: #a8a0b4;
    --card: #151119;
    --card-foreground: #f6f3f9;
    --popover: #151119;
    --popover-foreground: #f6f3f9;
    --primary: #f6f3f9;
    --primary-foreground: #100c16;
    --secondary: #1d1824;
    --secondary-foreground: #f6f3f9;
    --muted: #1d1824;
    --muted-foreground: #aea6ba;
    --accent: #1d1824;
    --accent-foreground: #f6f3f9;
    --destructive: #ff7a74;
    --destructive-foreground: #100c16;
    --border: #2a2433;
    --input: #2a2433;
    --hover: rgb(255 255 255 / 0.06);
    --active: rgb(255 255 255 / 0.1);
    --sidebar: #151119;
    --sidebar-foreground: #f6f3f9;
    --sidebar-primary: #8f74d8;
    --sidebar-primary-foreground: #100c16;
    --sidebar-accent: #1d1824;
    --sidebar-accent-foreground: #f6f3f9;
    --sidebar-row: #1d1824;
    --sidebar-row-control: #2a2433;
    --sidebar-border: #2a2433;
    --sidebar-ring: #8f74d8;
    --kortix-green: #4fbf79;
    --kortix-red: #ff7a74;
    --kortix-orange: #d9a24a;
    --kortix-yellow: #cfb44e;
    --kortix-blue: #6ea8ee;
    --kortix-purple: #a58ce0;
    --chart-1: #8f74d8;
    --chart-2: #b3a0e6;
    --chart-3: #cdc0ee;
    --chart-4: #e0d8f4;
    --chart-5: #f0ebf9;
    --terminal-surface: #141019;
    --terminal-fg: #ece8f2;
    --terminal-border: #2c2438;
    --kortix-base-ink: #a58ce0;
    --shadow-frame: 0 24px 48px -32px rgb(0 0 0 / 0.8);
    --accent-wash: rgb(140 112 214 / 0.12);
    --accent-wash-strong: rgb(140 112 214 / 0.2);
    --specimen: #17121f;
    --specimen-fg: #efecf4;
    --specimen-muted: #a79fb4;
    --specimen-border: #352c43;
  }
}
