/* aiagentsforbusinessguide.com — the site's own palette, retuned from the Kortix token names.
   This is the ONLY file with colour literals. Light is the default; dark follows
   prefers-color-scheme, or [data-theme="dark"] forces it. */

:root {
  color-scheme: light;
  --background: #ffffff;
  --pane: #ffffff;
  --surface: #f5f6fb;
  --foreground: #17171f;
  --foreground-strong: #101018;
  --foreground-weak: #585866;
  --card: #eceef7;
  --card-foreground: #17171f;
  --popover: #ffffff;
  --popover-foreground: #17171f;
  --primary: #17171f;
  --primary-foreground: #ffffff;
  --secondary: #eceef7;
  --secondary-foreground: #17171f;
  --muted: #eceef7;
  --muted-foreground: #585866;
  --accent: #eceef7;
  --accent-foreground: #17171f;
  --destructive: #b3261e;
  --destructive-foreground: #ffffff;
  --border: #e1e3ee;
  --input: #e1e3ee;
  --ring: #150791;
  --hover: rgb(21 7 145 / 0.05);
  --active: rgb(21 7 145 / 0.09);
  --sidebar: #f5f6fb;
  --sidebar-foreground: #17171f;
  --sidebar-primary: #150791;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #eceef7;
  --sidebar-accent-foreground: #17171f;
  --sidebar-row: #eceef7;
  --sidebar-row-control: #e1e3ee;
  --sidebar-border: #e1e3ee;
  --sidebar-ring: #150791;
  --kortix-base: #150791;
  --kortix-green: #199338;
  --kortix-red: #f14b4c;
  --kortix-orange: #d18b19;
  --kortix-yellow: #cca300;
  --kortix-blue: #2b91f7;
  --kortix-purple: #ab80d6;
  --chart-1: #a6a8ff;
  --chart-2: #7c7ff0;
  --chart-3: #5656d8;
  --chart-4: #2f2ab3;
  --chart-5: #150791;
  --terminal-surface: #0c0c16;
  --terminal-fg: #e9e9f2;
  --terminal-border: rgb(255 255 255 / 0.1);
  --font-sans: 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: 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: 0.75rem;
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
  --radius-2xl: 1rem;
  --spacing: 0.23rem;
  --text-xs: 0.8125rem;
  --text-xs-line-height: calc(1.45 / 0.8125);
  --text-sm: 0.875rem;
  --text-sm-line-height: calc(1.45 / 0.875);
  --text-md: 0.9375rem;
  --text-md-line-height: calc(1.55 / 0.9375);
  --text-base: 1rem;
  --text-base-line-height: calc(1.65 / 1);
  --text-lg: 1.125rem;
  --text-lg-line-height: calc(1.7 / 1.125);
  --text-xl: 1.25rem;
  --text-xl-line-height: calc(1.6 / 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.2 / 1.875);
  --text-4xl: 2.25rem;
  --text-4xl-line-height: calc(1.1 / 2.25);
  --text-5xl: 3rem;
  --text-5xl-line-height: 1.03;
  --text-6xl: 3.75rem;
  --text-6xl-line-height: 1.02;
  --text-7xl: 4.5rem;
  --text-7xl-line-height: 1;
  --text-8xl: 6rem;
  --text-8xl-line-height: 0.98;
  --shadow-xs: 0 1px 2px 0 rgb(16 16 24 / 0.05);
  --shadow-sm: 0 1px 3px 0 rgb(16 16 24 / 0.08), 0 1px 2px -1px rgb(16 16 24 / 0.08);
  --shadow-md: 0 8px 20px -12px rgb(16 16 24 / 0.18);
  --shadow-lg: 0 18px 40px -24px rgb(16 16 24 / 0.24);
  --shadow-xl: 0 28px 60px -30px rgb(16 16 24 / 0.3);
  --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);

  /* The site's own additions. */
  --kortix-base-ink: var(--kortix-base);
  --on-accent: #ffffff;
  --accent-wash: color-mix(in oklab, var(--kortix-base) 6%, var(--background));
  --accent-line: color-mix(in oklab, var(--kortix-base) 28%, var(--background));
  --ink-frame: #0c0c16;
  --on-ink: #e9e9f2;
  --ink-hairline: #2a2a3d;
  --transparent: transparent;
  --mask-solid: #000;
  --shadow-frame: 0 30px 70px -40px rgb(16 16 24 / 0.35);
  --shadow-card: 0 12px 30px -22px rgb(16 16 24 / 0.28);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --background: #0a0a12;
  --pane: #0d0d17;
  --surface: #12121b;
  --foreground: #f4f4f8;
  --foreground-strong: #ffffff;
  --foreground-weak: #a8a8ba;
  --card: #191925;
  --card-foreground: #f4f4f8;
  --popover: #14141f;
  --popover-foreground: #f4f4f8;
  --primary: #f4f4f8;
  --primary-foreground: #0a0a12;
  --secondary: #191925;
  --secondary-foreground: #f4f4f8;
  --muted: #191925;
  --muted-foreground: #a8a8ba;
  --accent: #191925;
  --accent-foreground: #f4f4f8;
  --destructive: #ff6467;
  --destructive-foreground: #ffffff;
  --border: #272736;
  --input: #272736;
  --hover: rgb(255 255 255 / 0.06);
  --active: rgb(255 255 255 / 0.1);
  --sidebar: #12121b;
  --sidebar-foreground: #f4f4f8;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #191925;
  --sidebar-accent-foreground: #f4f4f8;
  --sidebar-row: #191925;
  --sidebar-row-control: #272736;
  --sidebar-border: #272736;
  --kortix-green: #4bbf68;
  --kortix-red: #ff7a7b;
  --kortix-orange: #e0a24b;
  --kortix-yellow: #d9b53c;
  --kortix-blue: #62aef9;
  --kortix-purple: #c2a4e4;
  --chart-1: #c5c6ff;
  --chart-2: #9a9cf5;
  --chart-3: #7375e2;
  --chart-4: #4c48c7;
  --chart-5: #2b1fae;
  --terminal-surface: #0c0c16;
  --terminal-fg: #e9e9f2;
  --terminal-border: rgb(255 255 255 / 0.12);
  --kortix-base-ink: color-mix(in oklab, var(--kortix-base) 42%, #ffffff);
  --accent-wash: color-mix(in oklab, var(--kortix-base) 22%, var(--background));
  --accent-line: color-mix(in oklab, var(--kortix-base) 45%, var(--background));
  --ink-frame: #08080f;
  --on-ink: #e9e9f2;
  --ink-hairline: #23233a;
  --shadow-frame: 0 30px 70px -40px rgb(0 0 0 / 0.8);
  --shadow-card: 0 12px 30px -22px rgb(0 0 0 / 0.7);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --background: #0a0a12;
    --pane: #0d0d17;
    --surface: #12121b;
    --foreground: #f4f4f8;
    --foreground-strong: #ffffff;
    --foreground-weak: #a8a8ba;
    --card: #191925;
    --card-foreground: #f4f4f8;
    --popover: #14141f;
    --popover-foreground: #f4f4f8;
    --primary: #f4f4f8;
    --primary-foreground: #0a0a12;
    --secondary: #191925;
    --secondary-foreground: #f4f4f8;
    --muted: #191925;
    --muted-foreground: #a8a8ba;
    --accent: #191925;
    --accent-foreground: #f4f4f8;
    --destructive: #ff6467;
    --destructive-foreground: #ffffff;
    --border: #272736;
    --input: #272736;
    --hover: rgb(255 255 255 / 0.06);
    --active: rgb(255 255 255 / 0.1);
    --sidebar: #12121b;
    --sidebar-foreground: #f4f4f8;
    --sidebar-primary-foreground: #ffffff;
    --sidebar-accent: #191925;
    --sidebar-accent-foreground: #f4f4f8;
    --sidebar-row: #191925;
    --sidebar-row-control: #272736;
    --sidebar-border: #272736;
    --kortix-green: #4bbf68;
    --kortix-red: #ff7a7b;
    --kortix-orange: #e0a24b;
    --kortix-yellow: #d9b53c;
    --kortix-blue: #62aef9;
    --kortix-purple: #c2a4e4;
    --chart-1: #c5c6ff;
    --chart-2: #9a9cf5;
    --chart-3: #7375e2;
    --chart-4: #4c48c7;
    --chart-5: #2b1fae;
    --terminal-surface: #0c0c16;
    --terminal-fg: #e9e9f2;
    --terminal-border: rgb(255 255 255 / 0.12);
    --kortix-base-ink: color-mix(in oklab, var(--kortix-base) 42%, #ffffff);
    --accent-wash: color-mix(in oklab, var(--kortix-base) 22%, var(--background));
    --accent-line: color-mix(in oklab, var(--kortix-base) 45%, var(--background));
    --ink-frame: #08080f;
    --on-ink: #e9e9f2;
    --ink-hairline: #23233a;
    --shadow-frame: 0 30px 70px -40px rgb(0 0 0 / 0.8);
    --shadow-card: 0 12px 30px -22px rgb(0 0 0 / 0.7);
  }
}
