/* openaidotsalternative.com tokens.
   The kit's token names, retuned for this site: pure white ground, warm graphite ink, hairlines,
   squared corners, no shadows, one deep-umber accent (#5e1a00, set by the page head).
   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: #fbfaf9;
  --foreground: #171412;
  --foreground-strong: #171412;
  --foreground-weak: #5f5a55;
  --card: #f6f3f0;
  --card-foreground: #171412;
  --popover: #ffffff;
  --popover-foreground: #171412;
  --primary: #171412;
  --primary-foreground: #ffffff;
  --secondary: #f1ede9;
  --secondary-foreground: #171412;
  --muted: #f1ede9;
  --muted-foreground: #5f5a55;
  --accent: #f6f3f0;
  --accent-foreground: #171412;
  --destructive: #b3261e;
  --destructive-foreground: #ffffff;
  --border: #ded8d2;
  --input: #e8e3de;
  --ring: #5e1a00;
  --hover: rgb(23 20 18 / 0.05);
  --active: rgb(23 20 18 / 0.09);
  --sidebar: #f6f3f0;
  --sidebar-foreground: #171412;
  --sidebar-primary: #5e1a00;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #f1ede9;
  --sidebar-accent-foreground: #171412;
  --sidebar-row: #f6f3f0;
  --sidebar-row-control: #f1ede9;
  --sidebar-border: #ded8d2;
  --sidebar-ring: #5e1a00;
  --kortix-base: #5e1a00;
  --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;
  --terminal-surface: #14100e;
  --terminal-fg: #f2ece7;
  --terminal-border: rgb(255 255 255 / 0.12);
  --font-sans: 'Switzer', ui-sans-serif, -apple-system, 'Segoe UI', 'Helvetica Neue', 'Noto Sans', sans-serif;
  --font-mono: 'PT 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.15;
  --leading-snug: 1.375;
  --leading-relaxed: 1.65;
  --radius: 0rem;
  --radius-sm: 0rem;
  --radius-md: 0rem;
  --radius-lg: 0rem;
  --radius-xl: 0rem;
  --radius-2xl: 0rem;
  --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 0 0 0 rgb(0 0 0 / 0);
  --shadow-sm: 0 0 0 0 rgb(0 0 0 / 0);
  --shadow-md: 0 0 0 0 rgb(0 0 0 / 0);
  --shadow-lg: 0 0 0 0 rgb(0 0 0 / 0);
  --shadow-xl: 0 0 0 0 rgb(0 0 0 / 0);
  --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: #0d0b0a;
  --pane: #0d0b0a;
  --surface: #141110;
  --foreground: #f7f4f1;
  --foreground-strong: #ffffff;
  --foreground-weak: #a8a29b;
  --card: #171413;
  --card-foreground: #f7f4f1;
  --popover: #171413;
  --popover-foreground: #f7f4f1;
  --primary: #f7f4f1;
  --primary-foreground: #0d0b0a;
  --secondary: #1d1917;
  --secondary-foreground: #f7f4f1;
  --muted: #1d1917;
  --muted-foreground: #a8a29b;
  --accent: #171413;
  --accent-foreground: #f7f4f1;
  --destructive: #ff6b61;
  --destructive-foreground: #0d0b0a;
  --border: #2a2523;
  --input: #221d1b;
  --hover: rgb(255 255 255 / 0.06);
  --active: rgb(255 255 255 / 0.1);
  --sidebar: #171413;
  --sidebar-foreground: #f7f4f1;
  --sidebar-primary-foreground: #0d0b0a;
  --sidebar-accent: #1d1917;
  --sidebar-accent-foreground: #f7f4f1;
  --sidebar-row: #1d1917;
  --sidebar-row-control: #2a2523;
  --sidebar-border: #221d1b;
  --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;
  --terminal-surface: #14100e;
  --terminal-fg: #f2ece7;
  --terminal-border: rgb(255 255 255 / 0.12);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --background: #0d0b0a;
    --pane: #0d0b0a;
    --surface: #141110;
    --foreground: #f7f4f1;
    --foreground-strong: #ffffff;
    --foreground-weak: #a8a29b;
    --card: #171413;
    --card-foreground: #f7f4f1;
    --popover: #171413;
    --popover-foreground: #f7f4f1;
    --primary: #f7f4f1;
    --primary-foreground: #0d0b0a;
    --secondary: #1d1917;
    --secondary-foreground: #f7f4f1;
    --muted: #1d1917;
    --muted-foreground: #a8a29b;
    --accent: #171413;
    --accent-foreground: #f7f4f1;
    --destructive: #ff6b61;
    --destructive-foreground: #0d0b0a;
    --border: #2a2523;
    --input: #221d1b;
    --hover: rgb(255 255 255 / 0.06);
    --active: rgb(255 255 255 / 0.1);
    --sidebar: #171413;
    --sidebar-foreground: #f7f4f1;
    --sidebar-primary-foreground: #0d0b0a;
    --sidebar-accent: #1d1917;
    --sidebar-accent-foreground: #f7f4f1;
    --sidebar-row: #1d1917;
    --sidebar-row-control: #2a2523;
    --sidebar-border: #221d1b;
    --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;
    --terminal-surface: #14100e;
    --terminal-fg: #f2ece7;
    --terminal-border: rgb(255 255 255 / 0.12);
  }
}

/* Site additions: no shadows, an accent ink that reads on the dark canvas, opaque mask paint. */
:root {
  --kortix-base-ink: var(--kortix-base);
  --transparent: transparent;
  --mask-solid: #000;
  --shadow-frame: 0 0 0 0 rgb(0 0 0 / 0);
  --shadow-card: 0 0 0 0 rgb(0 0 0 / 0);
}
:root[data-theme="dark"] {
  --kortix-base-ink: color-mix(in oklab, var(--kortix-base) 42%, #ffffff);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --kortix-base-ink: color-mix(in oklab, var(--kortix-base) 42%, #ffffff);
  }
}
