/* chatgptworkalternative.com tokens — The Ownership Boundary.
   Own the neutrals: a cool fog-grey ground with a faint green cast and an ink panel,
   around one deep petrol-teal accent. Every colour literal in the site lives here; the
   components and globals.css use var(--…) only. Token names match the Kortix starter
   (public/tokens.css), so the shared globals.css mapping and the deploy's checks hold.
   Light is the default; dark follows prefers-color-scheme, or [data-theme="dark"]. */

:root {
  color-scheme: light;
  --background: #e8eeec;
  --pane: #0b1413;
  --surface: #dde6e3;
  --foreground: #0d1817;
  --foreground-strong: #061010;
  --foreground-weak: #5f6d69;
  --card: #d6e0dd;
  --card-foreground: #0d1817;
  --popover: #eef3f1;
  --popover-foreground: #0d1817;
  --primary: #0d1817;
  --primary-foreground: #e8eeec;
  --secondary: #d5dfdc;
  --secondary-foreground: #0d1817;
  --muted: #d6e0dd;
  --muted-foreground: #55635f;
  --accent: #d6e0dd;
  --accent-foreground: #0d1817;
  --destructive: #b3261e;
  --destructive-foreground: #fbf9f8;
  --border: #c2cec9;
  --input: #d5dfdc;
  --ring: #0e7490;
  --hover: rgb(20 24 26 / 0.05);
  --active: rgb(20 24 26 / 0.09);
  --sidebar: #dde6e3;
  --sidebar-foreground: #0d1817;
  --sidebar-primary: #0e7490;
  --sidebar-primary-foreground: #e8eeec;
  --sidebar-accent: #d6e0dd;
  --sidebar-accent-foreground: #0d1817;
  --sidebar-row: #d6e0dd;
  --sidebar-row-control: #d5dfdc;
  --sidebar-border: #c2cec9;
  --sidebar-ring: #0e7490;
  --kortix-base: #0e7490;
  --kortix-green: #2f7d3a;
  --kortix-red: #c0392b;
  --kortix-orange: #b06a12;
  --kortix-yellow: #9a7a00;
  --kortix-blue: #2b6fb0;
  --kortix-purple: #7a5aa8;
  --chart-1: #0e7490;
  --chart-2: #2f7d3a;
  --chart-3: #b06a12;
  --chart-4: #7a5aa8;
  --chart-5: #2b6fb0;
  --terminal-surface: #0b1413;
  --terminal-fg: #dfe7e3;
  --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: 'Red Hat 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.025em;
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-relaxed: 1.625;
  --radius: 0;
  --radius-sm: 0;
  --radius-md: 0;
  --radius-lg: 0;
  --radius-xl: 0;
  --radius-2xl: 0;
  --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;
  --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 2px 0 rgb(0 0 0 / 0.05);
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.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);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --background: #0c1211;
  --pane: #060909;
  --surface: #121918;
  --foreground: #eef2f0;
  --foreground-strong: #ffffff;
  --foreground-weak: #9aa5a1;
  --card: #161d1c;
  --card-foreground: #eef2f0;
  --popover: #161d1c;
  --popover-foreground: #eef2f0;
  --primary: #eef2f0;
  --primary-foreground: #0c1211;
  --secondary: #1c2523;
  --secondary-foreground: #eef2f0;
  --muted: #1c2523;
  --muted-foreground: #9aa5a1;
  --accent: #161d1c;
  --accent-foreground: #eef2f0;
  --destructive: #ff6b61;
  --destructive-foreground: #fbf9f8;
  --border: #26302e;
  --input: #1c2523;
  --hover: rgb(255 255 255 / 0.06);
  --active: rgb(255 255 255 / 0.1);
  --sidebar: #121918;
  --sidebar-foreground: #eef2f0;
  --sidebar-primary-foreground: #0c1211;
  --sidebar-accent: #1c2523;
  --sidebar-accent-foreground: #eef2f0;
  --sidebar-row: #1c2523;
  --sidebar-row-control: #26302e;
  --sidebar-border: #1a211f;
  --kortix-green: #4fae62;
  --kortix-red: #f0675a;
  --kortix-orange: #d79033;
  --kortix-yellow: #c9a72a;
  --kortix-blue: #5aa0e0;
  --kortix-purple: #a58ad0;
  --chart-1: #2bb6d6;
  --chart-2: #4fae62;
  --chart-3: #d79033;
  --chart-4: #a58ad0;
  --chart-5: #5aa0e0;
  --terminal-surface: #060909;
  --terminal-fg: #dfe7e3;
  --terminal-border: rgb(255 255 255 / 0.12);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --background: #0c1211;
    --pane: #060909;
    --surface: #121918;
    --foreground: #eef2f0;
    --foreground-strong: #ffffff;
    --foreground-weak: #9aa5a1;
    --card: #161d1c;
    --card-foreground: #eef2f0;
    --popover: #161d1c;
    --popover-foreground: #eef2f0;
    --primary: #eef2f0;
    --primary-foreground: #0c1211;
    --secondary: #1c2523;
    --secondary-foreground: #eef2f0;
    --muted: #1c2523;
    --muted-foreground: #9aa5a1;
    --accent: #161d1c;
    --accent-foreground: #eef2f0;
    --destructive: #ff6b61;
    --destructive-foreground: #fbf9f8;
    --border: #26302e;
    --input: #1c2523;
    --hover: rgb(255 255 255 / 0.06);
    --active: rgb(255 255 255 / 0.1);
    --sidebar: #121918;
    --sidebar-foreground: #eef2f0;
    --sidebar-primary-foreground: #0c1211;
    --sidebar-accent: #1c2523;
    --sidebar-accent-foreground: #eef2f0;
    --sidebar-row: #1c2523;
    --sidebar-row-control: #26302e;
    --sidebar-border: #1a211f;
    --kortix-green: #4fae62;
    --kortix-red: #f0675a;
    --kortix-orange: #d79033;
    --kortix-yellow: #c9a72a;
    --kortix-blue: #5aa0e0;
    --kortix-purple: #a58ad0;
    --chart-1: #2bb6d6;
    --chart-2: #4fae62;
    --chart-3: #d79033;
    --chart-4: #a58ad0;
    --chart-5: #5aa0e0;
    --terminal-surface: #060909;
    --terminal-fg: #dfe7e3;
    --terminal-border: rgb(255 255 255 / 0.12);
  }
}

/* Site additions (not in the kit). */
:root {
  --kortix-base-ink: var(--kortix-base);
  --transparent: transparent;
  --mask-solid: #000;
  --shadow-frame: 0 18px 40px -18px rgb(0 0 0 / 0.35);
  --shadow-card: 0 10px 28px -16px rgb(0 0 0 / 0.28);
}
:root[data-theme="dark"] {
  --kortix-base-ink: color-mix(in oklab, var(--kortix-base) 55%, #ffffff);
  --shadow-frame: 0 18px 40px -18px rgb(0 0 0 / 0.7);
  --shadow-card: 0 10px 28px -16px rgb(0 0 0 / 0.6);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --kortix-base-ink: color-mix(in oklab, var(--kortix-base) 55%, #ffffff);
    --shadow-frame: 0 18px 40px -18px rgb(0 0 0 / 0.7);
    --shadow-card: 0 10px 28px -16px rgb(0 0 0 / 0.6);
  }
}
