/* cloudagentsguide.com tokens: the Kortix token names, retuned for this site.
   Light is the default; dark follows prefers-color-scheme or [data-theme="dark"].
   This is the ONLY file in the site with colour literals. */

:root {
  color-scheme: light;

  /* ground and ink: white paper, near-black type, one teal accent */
  --background: #ffffff;
  --pane: #ffffff;
  --surface: #fbfcfb;
  --foreground: #101413;
  --foreground-strong: #0a0d0c;
  --foreground-weak: #4d5350;

  --card: #f4f7f6;
  --card-foreground: #101413;
  --popover: #ffffff;
  --popover-foreground: #101413;

  --primary: #101413;
  --primary-foreground: #ffffff;
  --secondary: #eef2f1;
  --secondary-foreground: #101413;
  --muted: #eef2f1;
  --muted-foreground: #545b57;
  --accent: #eef2f1;
  --accent-foreground: #101413;
  --destructive: #b42318;
  --destructive-foreground: #ffffff;

  --border: #dde4e1;
  --input: #eef2f1;
  --ring: #009c9a;
  --hover: rgb(16 20 19 / 0.05);
  --active: rgb(16 20 19 / 0.09);

  --sidebar: #f4f7f6;
  --sidebar-foreground: #101413;
  --sidebar-primary: #009c9a;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #eef2f1;
  --sidebar-accent-foreground: #101413;
  --sidebar-row: #f4f7f6;
  --sidebar-row-control: #eef2f1;
  --sidebar-border: #dde4e1;
  --sidebar-ring: #009c9a;

  /* the kit's names, kept so the shared plumbing and status marks still resolve */
  --kortix-base: #009c9a;
  --kortix-base-ink: #00726f;
  --kortix-green: #199338;
  --kortix-red: #f14b4c;
  --kortix-orange: #d18b19;
  --kortix-yellow: #cca300;
  --kortix-blue: #2b91f7;
  --kortix-purple: #ab80d6;

  --chart-1: #ffd230;
  --chart-2: #fe9a00;
  --chart-3: #e17100;
  --chart-4: #bb4d00;
  --chart-5: #973c00;

  /* site additions: the accent as a wash, as text, as a band, and the ink plate */
  --accent-wash: #e9f5f4;
  --accent-line: #bfe4e2;
  --accent-text: #006a68;
  --accent-band: #004f4e;
  --accent-band-fg: #f2fbfa;
  --accent-band-muted: #bfe4e2;
  --ink-plate: #0b1110;
  --ink-plate-fg: #eef4f2;
  --ink-plate-muted: #a6b6b1;
  --ink-plate-line: #24302d;

  --terminal-surface: #0b1110;
  --terminal-fg: #e7ecea;
  --terminal-border: rgb(255 255 255 / 0.12);

  --font-sans: 'Public Sans', ui-sans-serif, -apple-system, 'Segoe UI', 'Helvetica Neue', 'Noto Sans', sans-serif;
  --font-heading: 'Boska', 'Iowan Old Style', 'Palatino Linotype', Georgia, serif;
  --font-mono: 'IBM Plex Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Consolas, 'Liberation Mono', 'Courier New', monospace;
  --font-sans-system: var(--font-sans);
  --font-mono-system: var(--font-mono);

  --tracking-tight: -0.01em;
  --leading-tight: 1.2;
  --leading-snug: 1.35;
  --leading-relaxed: 1.65;

  --radius: 0.25rem;
  --radius-sm: 0.125rem;
  --radius-md: 0.25rem;
  --radius-lg: 0.375rem;
  --radius-xl: 0.5rem;
  --radius-2xl: 0.5rem;

  --spacing: 0.23rem;
  --text-xs: 0.8125rem;
  --text-xs-line-height: calc(1.5 / 0.8125);
  --text-sm: 0.875rem;
  --text-sm-line-height: calc(1.45 / 0.875);
  --text-base: 1rem;
  --text-base-line-height: 1.55;
  --text-lg: 1.125rem;
  --text-lg-line-height: 1.5;
  --text-xl: 1.25rem;
  --text-xl-line-height: 1.4;
  --text-2xl: 1.5rem;
  --text-2xl-line-height: 1.3;
  --text-3xl: 1.875rem;
  --text-3xl-line-height: 1.2;
  --text-4xl: 2.25rem;
  --text-4xl-line-height: 1.12;
  --text-5xl: 3rem;
  --text-5xl-line-height: 1.05;
  --text-6xl: 3.75rem;
  --text-6xl-line-height: 1;

  --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);

  --shadow-frame: none;
  --shadow-card: none;
  --transparent: transparent;
  --mask-solid: #000;
}

:root[data-theme="dark"] {
  color-scheme: dark;

  --background: #0c100f;
  --pane: #0c100f;
  --surface: #101513;
  --foreground: #eef3f1;
  --foreground-strong: #ffffff;
  --foreground-weak: #b3beb9;

  --card: #141a18;
  --card-foreground: #eef3f1;
  --popover: #141a18;
  --popover-foreground: #eef3f1;

  --primary: #eef3f1;
  --primary-foreground: #0c100f;
  --secondary: #1a211f;
  --secondary-foreground: #eef3f1;
  --muted: #1a211f;
  --muted-foreground: #aab7b2;
  --accent: #1a211f;
  --accent-foreground: #eef3f1;
  --destructive: #ff8a80;
  --destructive-foreground: #1a0000;

  --border: #273230;
  --input: #1a211f;
  --ring: #4fd0cb;
  --hover: rgb(255 255 255 / 0.06);
  --active: rgb(255 255 255 / 0.11);

  --kortix-base-ink: #62d6d1;

  --accent-wash: #10211f;
  --accent-line: #1d3f3c;
  --accent-text: #7cded9;
  --accent-band: #0d3331;
  --accent-band-fg: #eafcfa;
  --accent-band-muted: #9fded9;
  --ink-plate: #070a09;
  --ink-plate-fg: #eef4f2;
  --ink-plate-muted: #a6b6b1;
  --ink-plate-line: #1e2624;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;

    --background: #0c100f;
    --pane: #0c100f;
    --surface: #101513;
    --foreground: #eef3f1;
    --foreground-strong: #ffffff;
    --foreground-weak: #b3beb9;

    --card: #141a18;
    --card-foreground: #eef3f1;
    --popover: #141a18;
    --popover-foreground: #eef3f1;

    --primary: #eef3f1;
    --primary-foreground: #0c100f;
    --secondary: #1a211f;
    --secondary-foreground: #eef3f1;
    --muted: #1a211f;
    --muted-foreground: #aab7b2;
    --accent: #1a211f;
    --accent-foreground: #eef3f1;
    --destructive: #ff8a80;
    --destructive-foreground: #1a0000;

    --border: #273230;
    --input: #1a211f;
    --ring: #4fd0cb;
    --hover: rgb(255 255 255 / 0.06);
    --active: rgb(255 255 255 / 0.11);

    --kortix-base-ink: #62d6d1;

    --accent-wash: #10211f;
    --accent-line: #1d3f3c;
    --accent-text: #7cded9;
    --accent-band: #0d3331;
    --accent-band-fg: #eafcfa;
    --accent-band-muted: #9fded9;
    --ink-plate: #070a09;
    --ink-plate-fg: #eef4f2;
    --ink-plate-muted: #a6b6b1;
    --ink-plate-line: #1e2624;
  }
}
