/* Tokens for privateaiforcompanies.com.
   The kit's token names, kept whole; the values are this site's own: a warm-neutral
   white ground, an ink-green plate, hairlines instead of shadows, and one accent
   (#006600) that only marks a rule, a link or the Kortix lane.
   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: #10160f;
  --pane-foreground: #eef1e9;
  --pane-muted: #a9b3a3;
  --surface: #f5f6f2;
  --foreground: #12160f;
  --foreground-strong: #0b0e09;
  --foreground-weak: #5b6157;
  --card: #f5f6f2;
  --card-foreground: #12160f;
  --popover: #ffffff;
  --popover-foreground: #12160f;
  --primary: #12160f;
  --primary-foreground: #ffffff;
  --secondary: #eef0e9;
  --secondary-foreground: #12160f;
  --muted: #f1f2ec;
  --muted-foreground: #565c52;
  --accent: #f1f2ec;
  --accent-foreground: #12160f;
  --destructive: #b3261e;
  --destructive-foreground: #ffffff;
  --border: #dfe2d8;
  --input: #e4e7dd;
  --ring: #006600;
  --hover: rgb(18 22 15 / 0.05);
  --active: rgb(18 22 15 / 0.09);
  --sidebar: #f5f6f2;
  --sidebar-foreground: #12160f;
  --sidebar-primary: #006600;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #eef0e9;
  --sidebar-accent-foreground: #12160f;
  --sidebar-row: #f5f6f2;
  --sidebar-row-control: #eef0e9;
  --sidebar-border: #dfe2d8;
  --sidebar-ring: #006600;
  --kortix-base: #006600;
  --kortix-green: #199338;
  --kortix-red: #f14b4c;
  --kortix-orange: #d18b19;
  --kortix-yellow: #cca300;
  --kortix-blue: #2b91f7;
  --kortix-purple: #ab80d6;
  --chart-1: #a3b58c;
  --chart-2: #7d9463;
  --chart-3: #5c7444;
  --chart-4: #3f5529;
  --chart-5: #24380f;
  --terminal-surface: #0c110b;
  --terminal-fg: #e8eee2;
  --terminal-border: rgb(255 255 255 / 0.12);
  --font-sans: 'Hanken Grotesk', 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: 'Hanken Grotesk', 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.12;
  --leading-snug: 1.35;
  --leading-relaxed: 1.7;
  --radius: 2px;
  --radius-sm: 1px;
  --radius-md: 2px;
  --radius-lg: 2px;
  --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.45 / 0.875);
  --text-md: 0.9375rem;
  --text-md-line-height: calc(1.5 / 0.9375);
  --text-base: 1rem;
  --text-base-line-height: calc(1.6 / 1);
  --text-lg: 1.0625rem;
  --text-lg-line-height: calc(1.65 / 1.0625);
  --text-xl: 1.25rem;
  --text-xl-line-height: calc(1.4 / 1.25);
  --text-2xl: 1.5rem;
  --text-2xl-line-height: calc(1.25 / 1.5);
  --text-3xl: 1.875rem;
  --text-3xl-line-height: calc(1.18 / 1.875);
  --text-4xl: 2.25rem;
  --text-4xl-line-height: calc(1.12 / 2.25);
  --text-5xl: 3rem;
  --text-5xl-line-height: 1.06;
  --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: 1;
  --shadow-xs: none;
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
  --shadow-xl: none;
  --duration-fast: 120ms;
  --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.16, 0.72, 0.24, 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: #0c0f0b;
  --pane: #080b07;
  --pane-foreground: #eef1e9;
  --pane-muted: #9aa494;
  --surface: #151a12;
  --foreground: #f2f5ec;
  --foreground-strong: #ffffff;
  --foreground-weak: #a8b0a2;
  --card: #151a12;
  --card-foreground: #f2f5ec;
  --popover: #12160f;
  --popover-foreground: #f2f5ec;
  --primary: #f2f5ec;
  --primary-foreground: #0c0f0b;
  --secondary: #1b2117;
  --secondary-foreground: #f2f5ec;
  --muted: #1b2117;
  --muted-foreground: #a8b0a2;
  --accent: #1b2117;
  --accent-foreground: #f2f5ec;
  --destructive: #ff8a80;
  --destructive-foreground: #0c0f0b;
  --border: #2a3027;
  --input: #232a1f;
  --hover: rgb(255 255 255 / 0.06);
  --active: rgb(255 255 255 / 0.1);
  --sidebar: #151a12;
  --sidebar-foreground: #f2f5ec;
  --sidebar-accent: #1b2117;
  --sidebar-accent-foreground: #f2f5ec;
  --sidebar-row: #1b2117;
  --sidebar-row-control: #232a1f;
  --sidebar-border: #2a3027;
  --terminal-surface: #080b07;
  --terminal-fg: #eef1e9;
  --terminal-border: rgb(255 255 255 / 0.12);
  --chart-1: #b7c9a0;
  --chart-2: #93a97a;
  --chart-3: #718b56;
  --chart-4: #526d38;
  --chart-5: #354c20;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --background: #0c0f0b;
    --pane: #080b07;
    --pane-foreground: #eef1e9;
    --pane-muted: #9aa494;
    --surface: #151a12;
    --foreground: #f2f5ec;
    --foreground-strong: #ffffff;
    --foreground-weak: #a8b0a2;
    --card: #151a12;
    --card-foreground: #f2f5ec;
    --popover: #12160f;
    --popover-foreground: #f2f5ec;
    --primary: #f2f5ec;
    --primary-foreground: #0c0f0b;
    --secondary: #1b2117;
    --secondary-foreground: #f2f5ec;
    --muted: #1b2117;
    --muted-foreground: #a8b0a2;
    --accent: #1b2117;
    --accent-foreground: #f2f5ec;
    --destructive: #ff8a80;
    --destructive-foreground: #0c0f0b;
    --border: #2a3027;
    --input: #232a1f;
    --hover: rgb(255 255 255 / 0.06);
    --active: rgb(255 255 255 / 0.1);
    --sidebar: #151a12;
    --sidebar-foreground: #f2f5ec;
    --sidebar-accent: #1b2117;
    --sidebar-accent-foreground: #f2f5ec;
    --sidebar-row: #1b2117;
    --sidebar-row-control: #232a1f;
    --sidebar-border: #2a3027;
    --terminal-surface: #080b07;
    --terminal-fg: #eef1e9;
    --terminal-border: rgb(255 255 255 / 0.12);
    --chart-1: #b7c9a0;
    --chart-2: #93a97a;
    --chart-3: #718b56;
    --chart-4: #526d38;
    --chart-5: #354c20;
  }
}

/* Site additions (not in the kit). */
:root {
  /* The accent as a glyph or link on the page ground: the accent itself on white,
     mixed toward the ink on the dark canvas so a dark accent still reads. */
  --kortix-base-ink: var(--kortix-base);
  /* The Kortix lane's wash: the accent at a whisper, so the lane reads without a colour block. */
  --lane-wash: color-mix(in oklab, var(--kortix-base) 6%, var(--background));
  --lane-rule: color-mix(in oklab, var(--kortix-base) 42%, var(--border));
  --transparent: transparent;
  --mask-solid: #000;
  --shadow-frame: none;
  --shadow-card: none;
}
:root[data-theme="dark"] {
  --kortix-base-ink: color-mix(in oklab, var(--kortix-base) 48%, #ffffff);
  --lane-wash: color-mix(in oklab, var(--kortix-base) 16%, var(--background));
  --lane-rule: color-mix(in oklab, var(--kortix-base) 55%, #ffffff);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --kortix-base-ink: color-mix(in oklab, var(--kortix-base) 48%, #ffffff);
    --lane-wash: color-mix(in oklab, var(--kortix-base) 16%, var(--background));
    --lane-rule: color-mix(in oklab, var(--kortix-base) 55%, #ffffff);
  }
}
