/* agenticenterpriseguide.com — the only file with colour literals.
   Names follow the Kortix token set (every name the starter's tokens.css declares stays declared here);
   the values are this site's own palette: an olive accent on a white page, warm-grey surfaces,
   near-square corners, hairline rules. Light is the default; dark follows prefers-color-scheme, or
   [data-theme="dark"] / [data-theme="light"]. */

:root {
  color-scheme: light;
  --background: #ffffff;
  --pane: #ffffff;
  --surface: #faf9f5;
  --foreground: #191c14;
  --foreground-strong: #191c14;
  --foreground-weak: #5f6455;
  --card: #f4f2ea;
  --card-foreground: #191c14;
  --popover: #ffffff;
  --popover-foreground: #191c14;
  --primary: #191c14;
  --primary-foreground: #ffffff;
  --secondary: #efece2;
  --secondary-foreground: #191c14;
  --muted: #efece2;
  --muted-foreground: #5b6052;
  --accent: #f1efe6;
  --accent-foreground: #191c14;
  --destructive: #b3261e;
  --destructive-foreground: #ffffff;
  --border: #dbd8ca;
  --input: #efece2;
  --ring: #2e4006;
  --hover: rgb(25 28 20 / 0.05);
  --active: rgb(25 28 20 / 0.08);
  --sidebar: #f4f2ea;
  --sidebar-foreground: #191c14;
  --sidebar-primary: #2e4006;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #efece2;
  --sidebar-accent-foreground: #191c14;
  --sidebar-row: #f4f2ea;
  --sidebar-row-control: #efece2;
  --sidebar-border: #dbd8ca;
  --sidebar-ring: #2e4006;
  --kortix-base: #2e4006;
  --kortix-green: #3f6b2f;
  --kortix-red: #a3342a;
  --kortix-orange: #8a5a12;
  --kortix-yellow: #7a6410;
  --kortix-blue: #2c5069;
  --kortix-purple: #5a4470;
  --chart-1: #8a5a12;
  --chart-2: #3f6b2f;
  --chart-3: #2c5069;
  --chart-4: #5a4470;
  --chart-5: #7a6410;
  --terminal-surface: #14160f;
  --terminal-fg: #e8e9e0;
  --terminal-border: rgb(255 255 255 / 0.12);
  --font-sans: Roobert, ui-sans-serif, -apple-system, 'Segoe UI', 'Helvetica Neue', 'Noto Sans', sans-serif;
  --font-mono: 'Roobert 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.01em;
  --leading-tight: 1.2;
  --leading-snug: 1.38;
  --leading-relaxed: 1.65;
  --radius: 2px;
  --radius-sm: 1px;
  --radius-md: 2px;
  --radius-lg: 3px;
  --radius-xl: 4px;
  --radius-2xl: 6px;
  --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.35 / 0.875);
  --text-md: 0.9375rem;
  --text-md-line-height: calc(1.4 / 0.9375);
  --text-base: 1rem;
  --text-base-line-height: calc(1.6 / 1);
  --text-lg: 1.125rem;
  --text-lg-line-height: calc(1.6 / 1.125);
  --text-xl: 1.25rem;
  --text-xl-line-height: calc(1.45 / 1.25);
  --text-2xl: 1.5rem;
  --text-2xl-line-height: calc(1.3 / 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.12 / 2.25);
  --text-5xl: 3rem;
  --text-5xl-line-height: 1.05;
  --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 1px 1px 0 rgb(25 28 20 / 0.05);
  --shadow-sm: 0 1px 2px 0 rgb(25 28 20 / 0.06);
  --shadow-md: 0 2px 6px -2px rgb(25 28 20 / 0.1);
  --shadow-lg: 0 8px 20px -12px rgb(25 28 20 / 0.16);
  --shadow-xl: 0 16px 36px -18px rgb(25 28 20 / 0.2);
  --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);

  /* this site's own surfaces */
  --ch-tab: #e8ecda;
  --ch-tab-ink: #2e4006;
  --ch-on-accent: #ffffff;
  --ch-accent-hover: #3b520a;
  --ch-band: #1a2109;
  --ch-band-fg: #f3f5ea;
  --ch-band-rule: rgb(255 255 255 / 0.16);
  --ch-band-soft: #aab397;
  --ch-plate: #f7f6f0;
  --ch-plate-line: #e2dfd1;
  --transparent: transparent;
  --mask-solid: #000;
  --shadow-frame: 0 18px 44px -26px rgb(25 28 20 / 0.35);
  --shadow-card: 0 1px 0 0 rgb(25 28 20 / 0.04);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --background: #0b0c0a;
  --pane: #0d0e0b;
  --surface: #131410;
  --foreground: #f3f4ec;
  --foreground-strong: #ffffff;
  --foreground-weak: #a2a698;
  --card: #171910;
  --card-foreground: #f3f4ec;
  --popover: #171910;
  --popover-foreground: #f3f4ec;
  --primary: #f3f4ec;
  --primary-foreground: #0b0c0a;
  --secondary: #20231a;
  --secondary-foreground: #f3f4ec;
  --muted: #1f2218;
  --muted-foreground: #a9ad9e;
  --accent: #191c12;
  --accent-foreground: #f3f4ec;
  --destructive: #ff8a80;
  --destructive-foreground: #0b0c0a;
  --border: #2c3025;
  --input: #20231a;
  --hover: rgb(255 255 255 / 0.06);
  --active: rgb(255 255 255 / 0.1);
  --sidebar: #171910;
  --sidebar-foreground: #f3f4ec;
  --sidebar-primary: #3f5a12;
  --kortix-base: #3f5a12;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #20231a;
  --sidebar-accent-foreground: #f3f4ec;
  --sidebar-row: #20231a;
  --sidebar-row-control: #2c3025;
  --sidebar-border: #2c3025;
  --terminal-surface: #0f1109;
  --terminal-fg: #e8e9e0;
  --terminal-border: rgb(255 255 255 / 0.12);
  --border: #2c3025;
  --ch-tab: #232a15;
  --ch-tab-ink: #cfd8b4;
  --ch-on-accent: #ffffff;
  --ch-accent-hover: #4d6d18;
  --ch-band: #10140a;
  --ch-band-fg: #f3f5ea;
  --ch-band-rule: rgb(255 255 255 / 0.18);
  --ch-band-soft: #9aa385;
  --ch-plate: #14160f;
  --ch-plate-line: #2c3025;
  --shadow-frame: 0 18px 44px -26px rgb(0 0 0 / 0.8);
  --shadow-card: 0 1px 0 0 rgb(255 255 255 / 0.03);
  --kortix-base-ink: #b9c99b;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --background: #0b0c0a;
    --pane: #0d0e0b;
    --surface: #131410;
    --foreground: #f3f4ec;
    --foreground-strong: #ffffff;
    --foreground-weak: #a2a698;
    --card: #171910;
    --card-foreground: #f3f4ec;
    --popover: #171910;
    --popover-foreground: #f3f4ec;
    --primary: #f3f4ec;
    --primary-foreground: #0b0c0a;
    --secondary: #20231a;
    --secondary-foreground: #f3f4ec;
    --muted: #1f2218;
    --muted-foreground: #a9ad9e;
    --accent: #191c12;
    --accent-foreground: #f3f4ec;
    --destructive: #ff8a80;
    --destructive-foreground: #0b0c0a;
    --border: #2c3025;
    --input: #20231a;
    --hover: rgb(255 255 255 / 0.06);
    --active: rgb(255 255 255 / 0.1);
    --sidebar: #171910;
    --sidebar-foreground: #f3f4ec;
    --sidebar-primary: #3f5a12;
    --kortix-base: #3f5a12;
    --sidebar-accent: #20231a;
    --sidebar-accent-foreground: #f3f4ec;
    --sidebar-row: #20231a;
    --sidebar-row-control: #2c3025;
    --sidebar-border: #2c3025;
    --ch-tab: #232a15;
    --ch-tab-ink: #cfd8b4;
    --ch-on-accent: #ffffff;
    --ch-accent-hover: #4d6d18;
    --ch-band: #10140a;
    --ch-band-fg: #f3f5ea;
    --ch-band-rule: rgb(255 255 255 / 0.18);
    --ch-band-soft: #9aa385;
    --ch-plate: #14160f;
    --ch-plate-line: #2c3025;
    --shadow-frame: 0 18px 44px -26px rgb(0 0 0 / 0.8);
    --shadow-card: 0 1px 0 0 rgb(255 255 255 / 0.03);
    --kortix-base-ink: #b9c99b;
  }
}

:root {
  /* The accent as a glyph or link on the page ground (dark overrides it above). */
  --kortix-base-ink: var(--kortix-base);
}
