/* claudetagalternative.com — the site's own palette.

   Token names follow the kit's tokens.css (every name kept, so the shared plumbing and the
   consent banner still resolve). The values are the site's: a white ground in light, a near-black
   one in dark, one ink-indigo accent and a cool neutral scale. Light is the default; dark follows
   prefers-color-scheme, or [data-theme="dark"] forces it. This is the ONLY file with colour
   literals: components and CSS reach colours through var(--...). */

:root {
  color-scheme: light;
  --background: #ffffff;
  --pane: #ffffff;
  --surface: #f6f6f9;
  --foreground: #15161b;
  --foreground-strong: #0b0c11;
  --foreground-weak: #5a5d68;
  --card: #f1f2f6;
  --card-foreground: #15161b;
  --popover: #ffffff;
  --popover-foreground: #15161b;
  --primary: #15161b;
  --primary-foreground: #ffffff;
  --secondary: #eef0f4;
  --secondary-foreground: #15161b;
  --muted: #f1f2f6;
  --muted-foreground: #5a5d68;
  --accent: #eef0f4;
  --accent-foreground: #15161b;
  --destructive: #b42318;
  --destructive-foreground: #ffffff;
  --border: #e5e6ec;
  --input: #eef0f4;
  --ring: #050a61;
  --hover: rgb(11 12 17 / 0.05);
  --active: rgb(11 12 17 / 0.09);
  --sidebar: #f6f6f9;
  --sidebar-foreground: #15161b;
  --sidebar-primary: #050a61;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #eef0f4;
  --sidebar-accent-foreground: #15161b;
  --sidebar-row: #f6f6f9;
  --sidebar-row-control: #eef0f4;
  --sidebar-border: #e5e6ec;
  --sidebar-ring: #050a61;
  --kortix-base: #050a61;
  --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: #f1f2f6;
  --terminal-fg: #15161b;
  --terminal-border: #e5e6ec;
  --font-sans: Assistant, ui-sans-serif, -apple-system, 'Segoe UI', 'Helvetica Neue', 'Noto Sans', sans-serif;
  --font-mono: 'Reddit 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;
  --font-heading: 'Host Grotesk', Assistant, ui-sans-serif, -apple-system, 'Segoe UI', sans-serif;
  --tracking-tight: -0.01em;
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-relaxed: 1.7;
  --radius: 0.9rem;
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
  --radius-2xl: 1.25rem;
  --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(11 12 17 / 0.05);
  --shadow-sm: 0 1px 3px 0 rgb(11 12 17 / 0.07), 0 1px 2px -1px rgb(11 12 17 / 0.07);
  --shadow-md: 0 4px 10px -2px rgb(11 12 17 / 0.08), 0 2px 4px -2px rgb(11 12 17 / 0.06);
  --shadow-lg: 0 12px 28px -8px rgb(11 12 17 / 0.1), 0 4px 10px -4px rgb(11 12 17 / 0.06);
  --shadow-xl: 0 24px 48px -12px rgb(11 12 17 / 0.14), 0 8px 16px -8px rgb(11 12 17 / 0.08);
  --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: #0b0c10;
  --pane: #0d0e13;
  --surface: #14151b;
  --foreground: #f3f3f6;
  --foreground-strong: #ffffff;
  --foreground-weak: #a9adba;
  --card: #191b22;
  --card-foreground: #f3f3f6;
  --popover: #14151b;
  --popover-foreground: #f3f3f6;
  --primary: #f3f3f6;
  --primary-foreground: #0b0c10;
  --secondary: #1b1d25;
  --secondary-foreground: #f3f3f6;
  --muted: #191b22;
  --muted-foreground: #a9adba;
  --accent: #1b1d25;
  --accent-foreground: #f3f3f6;
  --destructive: #ff9d94;
  --destructive-foreground: #0b0c10;
  --border: #272a33;
  --input: #1b1d25;
  --hover: rgb(255 255 255 / 0.06);
  --active: rgb(255 255 255 / 0.1);
  --sidebar: #14151b;
  --sidebar-foreground: #f3f3f6;
  --sidebar-primary-foreground: #0b0c10;
  --sidebar-accent: #1b1d25;
  --sidebar-accent-foreground: #f3f3f6;
  --sidebar-row: #1b1d25;
  --sidebar-row-control: #272a33;
  --sidebar-border: #1f222a;
  --kortix-green: #4ade80;
  --kortix-red: #ff9d94;
  --kortix-orange: #f0b44c;
  --kortix-yellow: #e3c341;
  --kortix-blue: #7fb4ff;
  --kortix-purple: #c4a6f0;
  --chart-1: #ffd230;
  --chart-2: #fe9a00;
  --chart-3: #e17100;
  --chart-4: #bb4d00;
  --chart-5: #973c00;
  --terminal-surface: #14151b;
  --terminal-fg: #f3f3f6;
  --terminal-border: #272a33;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --background: #0b0c10;
    --pane: #0d0e13;
    --surface: #14151b;
    --foreground: #f3f3f6;
    --foreground-strong: #ffffff;
    --foreground-weak: #a9adba;
    --card: #191b22;
    --card-foreground: #f3f3f6;
    --popover: #14151b;
    --popover-foreground: #f3f3f6;
    --primary: #f3f3f6;
    --primary-foreground: #0b0c10;
    --secondary: #1b1d25;
    --secondary-foreground: #f3f3f6;
    --muted: #191b22;
    --muted-foreground: #a9adba;
    --accent: #1b1d25;
    --accent-foreground: #f3f3f6;
    --destructive: #ff9d94;
    --destructive-foreground: #0b0c10;
    --border: #272a33;
    --input: #1b1d25;
    --hover: rgb(255 255 255 / 0.06);
    --active: rgb(255 255 255 / 0.1);
    --sidebar: #14151b;
    --sidebar-foreground: #f3f3f6;
    --sidebar-primary-foreground: #0b0c10;
    --sidebar-accent: #1b1d25;
    --sidebar-accent-foreground: #f3f3f6;
    --sidebar-row: #1b1d25;
    --sidebar-row-control: #272a33;
    --sidebar-border: #1f222a;
    --kortix-green: #4ade80;
    --kortix-red: #ff9d94;
    --kortix-orange: #f0b44c;
    --kortix-yellow: #e3c341;
    --kortix-blue: #7fb4ff;
    --kortix-purple: #c4a6f0;
    --chart-1: #ffd230;
    --chart-2: #fe9a00;
    --chart-3: #e17100;
    --chart-4: #bb4d00;
    --chart-5: #973c00;
    --terminal-surface: #14151b;
    --terminal-fg: #f3f3f6;
    --terminal-border: #272a33;
  }
}

/* Site additions (not in the kit). */
:root {
  /* The accent readable on the page ground. Light: the accent itself. Dark: mixed toward white. */
  --kortix-base-ink: var(--kortix-base);
  /* `transparent` as a variable: the CSS minifier rewrites the bare keyword to the literal #0000. */
  --transparent: transparent;
  /* Opaque paint for CSS masks. Only its alpha matters. */
  --mask-solid: #000;
  /* The two surfaces the design allows: the floating bar, the hero plate. */
  --shadow-frame: 0 30px 60px -30px rgb(11 12 17 / 0.28);
  --shadow-card: 0 12px 32px -18px rgb(11 12 17 / 0.2);
  --shadow-float: 0 1px 2px 0 rgb(11 12 17 / 0.06), 0 12px 32px -18px rgb(11 12 17 / 0.24);
  /* The accent as a wash: card headers, chips, the rule on the current nav item. */
  --tint: color-mix(in oklab, var(--kortix-base) 6%, var(--background));
  --tint-strong: color-mix(in oklab, var(--kortix-base) 12%, var(--background));
  --tint-line: color-mix(in oklab, var(--kortix-base) 26%, var(--background));
  /* The bar's translucent ground. */
  --glass: color-mix(in oklab, var(--background) 86%, transparent);
  /* A removed line in a diff, and its added twin. */
  --diff-add-bg: color-mix(in oklab, var(--kortix-green) 14%, var(--background));
  --diff-del-bg: color-mix(in oklab, var(--kortix-red) 14%, var(--background));
  --divider: color-mix(in oklab, var(--border) 70%, var(--background));
}
:root[data-theme="dark"] {
  --kortix-base-ink: color-mix(in oklab, var(--kortix-base) 32%, #ffffff);
  --shadow-frame: 0 30px 60px -30px rgb(0 0 0 / 0.7);
  --shadow-card: 0 12px 32px -18px rgb(0 0 0 / 0.6);
  --shadow-float: 0 1px 2px 0 rgb(0 0 0 / 0.5), 0 12px 32px -18px rgb(0 0 0 / 0.7);
  --tint: color-mix(in oklab, var(--kortix-base) 22%, var(--background));
  --tint-strong: color-mix(in oklab, var(--kortix-base) 34%, var(--background));
  --tint-line: color-mix(in oklab, var(--kortix-base) 55%, var(--background));
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --kortix-base-ink: color-mix(in oklab, var(--kortix-base) 32%, #ffffff);
    --shadow-frame: 0 30px 60px -30px rgb(0 0 0 / 0.7);
    --shadow-card: 0 12px 32px -18px rgb(0 0 0 / 0.6);
    --shadow-float: 0 1px 2px 0 rgb(0 0 0 / 0.5), 0 12px 32px -18px rgb(0 0 0 / 0.7);
    --tint: color-mix(in oklab, var(--kortix-base) 22%, var(--background));
    --tint-strong: color-mix(in oklab, var(--kortix-base) 34%, var(--background));
    --tint-line: color-mix(in oklab, var(--kortix-base) 55%, var(--background));
  }
}
