/* Tokens for gumloopalternative.com — the Cutover Sheet.
   Derived from the Kortix keyword-site starter tokens (skills/kortix-brand/references/visual/
   tokens.css). Every token NAME is kept; the values are retuned to this site's own palette: a
   pale cool lilac-grey paper, a plum-black ink and a deep aubergine accent (#3d073f). 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: #f5f4f8;
  --pane: #ffffff;
  --surface: #f0eef4;
  --foreground: #1b1721;
  --foreground-strong: #1b1721;
  --foreground-weak: #6a6472;
  --card: #efeef3;
  --card-foreground: #1b1721;
  --popover: #ffffff;
  --popover-foreground: #1b1721;
  --primary: #1b1721;
  --primary-foreground: #f5f4f8;
  --secondary: #e8e6ee;
  --secondary-foreground: #1b1721;
  --muted: #e8e6ee;
  --muted-foreground: #625d6b;
  --accent: #efeef3;
  --accent-foreground: #1b1721;
  --destructive: #e7000b;
  --destructive-foreground: #fafafa;
  --border: #ddd9e3;
  --input: #e8e6ee;
  --ring: #3d073f;
  --hover: rgb(27 23 33 / 0.05);
  --active: rgb(27 23 33 / 0.08);
  --sidebar: #efeef3;
  --sidebar-foreground: #1b1721;
  --sidebar-primary: #3d073f;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #e8e6ee;
  --sidebar-accent-foreground: #1b1721;
  --sidebar-row: #efeef3;
  --sidebar-row-control: #e8e6ee;
  --sidebar-border: #ddd9e3;
  --sidebar-ring: #3d073f;
  --kortix-base: #3d073f;
  --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: #17131c;
  --terminal-fg: #efeaf3;
  --terminal-border: rgb(255 255 255 / 0.12);
  --font-sans: Figtree, ui-sans-serif, -apple-system, 'Segoe UI', 'Helvetica Neue', 'Noto Sans', sans-serif;
  --font-mono: 'IBM Plex 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.375rem;
  --radius-sm: calc(var(--radius) - 3px);
  --radius-md: calc(var(--radius) - 1px);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) + 4px);
  --radius-2xl: 1rem;
  --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.04);
  --shadow-sm: 0 1px 3px 0 rgb(0 0 0 / 0.08), 0 1px 2px -1px rgb(0 0 0 / 0.08);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.08), 0 2px 4px -2px rgb(0 0 0 / 0.08);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.08), 0 4px 6px -4px rgb(0 0 0 / 0.08);
  --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.08), 0 8px 10px -6px rgb(0 0 0 / 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: #121016;
  --pane: #16131b;
  --surface: #1b1822;
  --foreground: #f3f1f6;
  --foreground-strong: #f3f1f6;
  --foreground-weak: #a39daa;
  --card: #1b1822;
  --card-foreground: #f3f1f6;
  --popover: #1b1822;
  --popover-foreground: #f3f1f6;
  --primary: #f3f1f6;
  --primary-foreground: #121016;
  --secondary: #262230;
  --secondary-foreground: #f3f1f6;
  --muted: #262230;
  --muted-foreground: #a39daa;
  --accent: #1b1822;
  --accent-foreground: #f3f1f6;
  --destructive: #ff6467;
  --destructive-foreground: #fafafa;
  --border: #2e2a38;
  --input: #262230;
  --hover: rgb(255 255 255 / 0.06);
  --active: rgb(255 255 255 / 0.1);
  --sidebar: #1b1822;
  --sidebar-foreground: #f3f1f6;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #262230;
  --sidebar-accent-foreground: #f3f1f6;
  --sidebar-row: #262230;
  --sidebar-row-control: #2e2a38;
  --sidebar-border: #241f2b;
  --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: #17131c;
  --terminal-fg: #efeaf3;
  --terminal-border: rgb(255 255 255 / 0.12);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --background: #121016;
    --pane: #16131b;
    --surface: #1b1822;
    --foreground: #f3f1f6;
    --foreground-strong: #f3f1f6;
    --foreground-weak: #a39daa;
    --card: #1b1822;
    --card-foreground: #f3f1f6;
    --popover: #1b1822;
    --popover-foreground: #f3f1f6;
    --primary: #f3f1f6;
    --primary-foreground: #121016;
    --secondary: #262230;
    --secondary-foreground: #f3f1f6;
    --muted: #262230;
    --muted-foreground: #a39daa;
    --accent: #1b1822;
    --accent-foreground: #f3f1f6;
    --destructive: #ff6467;
    --destructive-foreground: #fafafa;
    --border: #2e2a38;
    --input: #262230;
    --hover: rgb(255 255 255 / 0.06);
    --active: rgb(255 255 255 / 0.1);
    --sidebar: #1b1822;
    --sidebar-foreground: #f3f1f6;
    --sidebar-primary-foreground: #ffffff;
    --sidebar-accent: #262230;
    --sidebar-accent-foreground: #f3f1f6;
    --sidebar-row: #262230;
    --sidebar-row-control: #2e2a38;
    --sidebar-border: #241f2b;
    --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: #17131c;
    --terminal-fg: #efeaf3;
    --terminal-border: rgb(255 255 255 / 0.12);
  }
}

/* Site starter additions (not in the kit). */
:root {
  --kortix-base-ink: var(--kortix-base);
  --transparent: transparent;
  --mask-solid: #000;
  --shadow-frame: 0 18px 40px -18px rgb(27 23 33 / 0.28);
  --shadow-card: 0 8px 24px -14px rgb(27 23 33 / 0.22);
}
:root[data-theme="dark"] {
  --kortix-base-ink: color-mix(in oklab, var(--kortix-base) 42%, #ffffff);
  --shadow-frame: 0 22px 48px -20px 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) 42%, #ffffff);
    --shadow-frame: 0 22px 48px -20px rgb(0 0 0 / 0.7);
    --shadow-card: 0 10px 28px -16px rgb(0 0 0 / 0.6);
  }
}
