/* crewai-alternative.com — The Bench Reference tokens.
   Same token NAMES as the Kortix starter tokens (skills/growth-loop/site-starter/public/tokens.css),
   retuned to this site's own palette: a cool bone-sage ground, a near-black green-cast ink, flat
   surfaces and a deep olive-green accent. Light is the default; dark follows prefers-color-scheme,
   or [data-theme="dark"] forces it. This is the ONLY file with colour literals. */

:root {
  color-scheme: light;
  --background: #eef1e6;
  --pane: #f6f8f0;
  --surface: #f6f8f0;
  --foreground: #171a16;
  --foreground-strong: #171a16;
  --foreground-weak: #5c6257;
  --card: #e7ebdc;
  --card-foreground: #171a16;
  --popover: #f6f8f0;
  --popover-foreground: #171a16;
  --primary: #171a16;
  --primary-foreground: #f3f5ec;
  --secondary: #e3e7d8;
  --secondary-foreground: #171a16;
  --muted: #e3e7d8;
  --muted-foreground: #5c6257;
  --accent: #e7ebdc;
  --accent-foreground: #171a16;
  --destructive: #b3261e;
  --destructive-foreground: #fafafa;
  --border: #ccd3c2;
  --input: #e3e7d8;
  --ring: #507400;
  --hover: rgb(23 26 22 / 0.05);
  --active: rgb(23 26 22 / 0.09);
  --sidebar: #e7ebdc;
  --sidebar-foreground: #171a16;
  --sidebar-primary: #507400;
  --sidebar-primary-foreground: #f3f5ec;
  --sidebar-accent: #e3e7d8;
  --sidebar-accent-foreground: #171a16;
  --sidebar-row: #e7ebdc;
  --sidebar-row-control: #e3e7d8;
  --sidebar-border: #ccd3c2;
  --sidebar-ring: #507400;
  --kortix-base: #507400;
  --kortix-green: #3f6b1f;
  --kortix-red: #b3261e;
  --kortix-orange: #a5611a;
  --kortix-yellow: #94721a;
  --kortix-blue: #2b5c8a;
  --kortix-purple: #6b4a9a;
  --chart-1: #507400;
  --chart-2: #6f8f2a;
  --chart-3: #94721a;
  --chart-4: #a5611a;
  --chart-5: #7a5a2b;
  --terminal-surface: #14170f;
  --terminal-fg: #e5e9dc;
  --terminal-border: rgb(255 255 255 / 0.1);
  --font-sans: 'Source Sans 3', ui-sans-serif, -apple-system, 'Segoe UI', 'Helvetica Neue', 'Noto Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
  --font-sans-system: 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.2;
  --leading-snug: 1.375;
  --leading-relaxed: 1.65;
  --radius: 4px;
  --radius-sm: 2px;
  --radius-md: 2px;
  --radius-lg: 4px;
  --radius-xl: 6px;
  --radius-2xl: 10px;
  --spacing: 0.23rem;
  --text-xs: 0.8125rem;
  --text-xs-line-height: calc(1 / 0.8125);
  --text-sm: 0.875rem;
  --text-sm-line-height: calc(1.25 / 0.875);
  --text-md: 0.9rem;
  --text-md-line-height: calc(1.375 / 0.9375);
  --text-base: 1rem;
  --text-base-line-height: calc(1.5 / 1);
  --text-lg: 1.125rem;
  --text-lg-line-height: calc(1.75 / 1.125);
  --text-xl: 1.25rem;
  --text-xl-line-height: calc(1.75 / 1.25);
  --text-2xl: 1.5rem;
  --text-2xl-line-height: calc(2 / 1.5);
  --text-3xl: 1.875rem;
  --text-3xl-line-height: calc(2.25 / 1.875);
  --text-4xl: 2.25rem;
  --text-4xl-line-height: calc(2.5 / 2.25);
  --text-5xl: 3rem;
  --text-5xl-line-height: 1.04;
  --text-6xl: 3.75rem;
  --text-6xl-line-height: 1;
  --text-7xl: 4.5rem;
  --text-7xl-line-height: 1;
  --text-8xl: 6rem;
  --text-8xl-line-height: 1;
  --shadow-xs: 0 0 #0000;
  --shadow-sm: 0 0 #0000;
  --shadow-md: 0 0 #0000;
  --shadow-lg: 0 0 #0000;
  --shadow-xl: 0 0 #0000;
  --duration-fast: 100ms;
  --duration-normal: 150ms;
  --duration-moderate: 200ms;
  --duration-slow: 300ms;
  --duration-slower: 500ms;
  --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);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --background: #12150f;
  --pane: #14170f;
  --surface: #161a11;
  --foreground: #e9ece1;
  --foreground-strong: #ffffff;
  --foreground-weak: #9aa091;
  --card: #1d2218;
  --card-foreground: #e9ece1;
  --popover: #1a1e16;
  --popover-foreground: #e9ece1;
  --primary: #e9ece1;
  --primary-foreground: #12150f;
  --secondary: #232a1d;
  --secondary-foreground: #e9ece1;
  --muted: #232a1d;
  --muted-foreground: #9aa091;
  --accent: #1d2218;
  --accent-foreground: #e9ece1;
  --destructive: #f2857c;
  --destructive-foreground: #12150f;
  --border: #2f3628;
  --input: #232a1d;
  --hover: rgb(233 236 225 / 0.06);
  --active: rgb(233 236 225 / 0.1);
  --sidebar: #1d2218;
  --sidebar-foreground: #e9ece1;
  --sidebar-primary-foreground: #12150f;
  --sidebar-accent: #232a1d;
  --sidebar-accent-foreground: #e9ece1;
  --sidebar-row: #232a1d;
  --sidebar-row-control: #2f3628;
  --sidebar-border: #262c1f;
  --kortix-green: #7fae4a;
  --kortix-red: #f2857c;
  --kortix-orange: #d59a52;
  --kortix-yellow: #cbb057;
  --kortix-blue: #7ba7d6;
  --kortix-purple: #ab8fda;
  --chart-1: #9dc25a;
  --chart-2: #7fae4a;
  --chart-3: #cbb057;
  --chart-4: #d59a52;
  --chart-5: #b79a63;
  --terminal-surface: #14170f;
  --terminal-border: rgb(255 255 255 / 0.1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --background: #12150f;
    --pane: #14170f;
    --surface: #161a11;
    --foreground: #e9ece1;
    --foreground-strong: #ffffff;
    --foreground-weak: #9aa091;
    --card: #1d2218;
    --card-foreground: #e9ece1;
    --popover: #1a1e16;
    --popover-foreground: #e9ece1;
    --primary: #e9ece1;
    --primary-foreground: #12150f;
    --secondary: #232a1d;
    --secondary-foreground: #e9ece1;
    --muted: #232a1d;
    --muted-foreground: #9aa091;
    --accent: #1d2218;
    --accent-foreground: #e9ece1;
    --destructive: #f2857c;
    --destructive-foreground: #12150f;
    --border: #2f3628;
    --input: #232a1d;
    --hover: rgb(233 236 225 / 0.06);
    --active: rgb(233 236 225 / 0.1);
    --sidebar: #1d2218;
    --sidebar-foreground: #e9ece1;
    --sidebar-primary-foreground: #12150f;
    --sidebar-accent: #232a1d;
    --sidebar-accent-foreground: #e9ece1;
    --sidebar-row: #232a1d;
    --sidebar-row-control: #2f3628;
    --sidebar-border: #262c1f;
    --kortix-green: #7fae4a;
    --kortix-red: #f2857c;
    --kortix-orange: #d59a52;
    --kortix-yellow: #cbb057;
    --kortix-blue: #7ba7d6;
    --kortix-purple: #ab8fda;
    --chart-1: #9dc25a;
    --chart-2: #7fae4a;
    --chart-3: #cbb057;
    --chart-4: #d59a52;
    --chart-5: #b79a63;
    --terminal-surface: #14170f;
    --terminal-border: rgb(255 255 255 / 0.1);
  }
}

/* Site additions (not in the kit). */
:root {
  --kortix-base-ink: var(--kortix-base);
  --transparent: transparent;
  --mask-solid: #000;
  --shadow-frame: 0 0 #0000;
  --shadow-card: 0 0 #0000;
}
:root[data-theme="dark"] {
  --kortix-base-ink: color-mix(in oklab, var(--kortix-base) 42%, #ffffff);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --kortix-base-ink: color-mix(in oklab, var(--kortix-base) 42%, #ffffff);
  }
}
