/* langflowalternative.com tokens — the site's own palette (The Switchboard Grid).
   Names match the Kortix kit's tokens.css so every component keeps working; the values are this
   site's own: a cool steel-blue canvas with a deep cobalt accent, in light and dark. 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: #dae6f6;
  --pane: #e6eef9;
  --surface: #e9f0fa;
  --foreground: #10161f;
  --foreground-strong: #10161f;
  --foreground-weak: #47536a;
  --card: #ffffff;
  --card-foreground: #10161f;
  --popover: #ffffff;
  --popover-foreground: #10161f;
  --primary: #10161f;
  --primary-foreground: #f4f7fa;
  --secondary: #dbe5f3;
  --secondary-foreground: #10161f;
  --muted: #dde7f4;
  --muted-foreground: #47536a;
  --accent: #d3dff0;
  --accent-foreground: #10161f;
  --destructive: #e7000b;
  --destructive-foreground: #fafafa;
  --border: #b9c7d9;
  --input: #dbe5f3;
  --ring: #006bd4;
  --hover: rgb(16 22 31 / 0.05);
  --active: rgb(16 22 31 / 0.09);
  --sidebar: #ffffff;
  --sidebar-foreground: #10161f;
  --sidebar-primary: #006bd4;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #dbe5f3;
  --sidebar-accent-foreground: #10161f;
  --sidebar-row: #ffffff;
  --sidebar-row-control: #dbe5f3;
  --sidebar-border: #b9c7d9;
  --sidebar-ring: #006bd4;
  --kortix-base: #006bd4;
  --kortix-green: #199338;
  --kortix-red: #f14b4c;
  --kortix-orange: #d18b19;
  --kortix-yellow: #cca300;
  --kortix-blue: #2b91f7;
  --kortix-purple: #ab80d6;
  --chart-1: #006bd4;
  --chart-2: #0a4f96;
  --chart-3: #7aa6d6;
  --chart-4: #244a72;
  --chart-5: #b9cee4;
  --terminal-surface: #0c1420;
  --terminal-fg: #e5e5e5;
  --terminal-border: rgb(255 255 255 / 0.1);
  --font-sans: Outfit, ui-sans-serif, -apple-system, 'Segoe UI', 'Helvetica Neue', 'Noto Sans', sans-serif;
  --font-mono: 'JetBrains Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Monaco, Consolas, 'Liberation Mono', 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', 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) - 2px);
  --radius-md: var(--radius);
  --radius-lg: calc(var(--radius) + 2px);
  --radius-xl: calc(var(--radius) + 6px);
  --radius-2xl: 0.75rem;
  --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: #0b1119;
  --pane: #0f1720;
  --surface: #111a24;
  --foreground: #e8eef4;
  --foreground-strong: #f2f6fa;
  --foreground-weak: #9fb0c0;
  --card: #141d28;
  --card-foreground: #e8eef4;
  --popover: #141d28;
  --popover-foreground: #e8eef4;
  --primary: #e8eef4;
  --primary-foreground: #0b1119;
  --secondary: #1a232e;
  --secondary-foreground: #e8eef4;
  --muted: #1a232e;
  --muted-foreground: #9fb0c0;
  --accent: #141d28;
  --accent-foreground: #e8eef4;
  --destructive: #ff6467;
  --destructive-foreground: #fafafa;
  --border: #26323f;
  --input: #1a232e;
  --hover: rgb(255 255 255 / 0.06);
  --active: rgb(255 255 255 / 0.1);
  --sidebar: #141d28;
  --sidebar-foreground: #e8eef4;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #1a232e;
  --sidebar-accent-foreground: #e8eef4;
  --sidebar-row: #1a232e;
  --sidebar-row-control: #26323f;
  --sidebar-border: #1a232e;
  --kortix-green: #199338;
  --kortix-red: #f14b4c;
  --kortix-orange: #d18b19;
  --kortix-yellow: #cca300;
  --kortix-blue: #2b91f7;
  --kortix-purple: #ab80d6;
  --chart-1: #4d9bf0;
  --chart-2: #7aa6d6;
  --chart-3: #0a4f96;
  --chart-4: #b9cee4;
  --chart-5: #244a72;
  --terminal-surface: #0c1420;
  --terminal-fg: #e5e5e5;
  --terminal-border: rgb(255 255 255 / 0.1);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --background: #0b1119;
    --pane: #0f1720;
    --surface: #111a24;
    --foreground: #e8eef4;
    --foreground-strong: #f2f6fa;
    --foreground-weak: #9fb0c0;
    --card: #141d28;
    --card-foreground: #e8eef4;
    --popover: #141d28;
    --popover-foreground: #e8eef4;
    --primary: #e8eef4;
    --primary-foreground: #0b1119;
    --secondary: #1a232e;
    --secondary-foreground: #e8eef4;
    --muted: #1a232e;
    --muted-foreground: #9fb0c0;
    --accent: #141d28;
    --accent-foreground: #e8eef4;
    --destructive: #ff6467;
    --destructive-foreground: #fafafa;
    --border: #26323f;
    --input: #1a232e;
    --hover: rgb(255 255 255 / 0.06);
    --active: rgb(255 255 255 / 0.1);
    --sidebar: #141d28;
    --sidebar-foreground: #e8eef4;
    --sidebar-primary-foreground: #ffffff;
    --sidebar-accent: #1a232e;
    --sidebar-accent-foreground: #e8eef4;
    --sidebar-row: #1a232e;
    --sidebar-row-control: #26323f;
    --sidebar-border: #1a232e;
    --kortix-green: #199338;
    --kortix-red: #f14b4c;
    --kortix-orange: #d18b19;
    --kortix-yellow: #cca300;
    --kortix-blue: #2b91f7;
    --kortix-purple: #ab80d6;
    --chart-1: #4d9bf0;
    --chart-2: #7aa6d6;
    --chart-3: #0a4f96;
    --chart-4: #b9cee4;
    --chart-5: #244a72;
    --terminal-surface: #0c1420;
    --terminal-fg: #e5e5e5;
    --terminal-border: rgb(255 255 255 / 0.1);
  }
}

/* Site additions (not in the kit): the accent ink, the deep ink band, and the mask/shadow helpers. */
:root {
  /* The accent as a glyph or label on the page ground: a darker cobalt so it clears 4.5:1 on the
     steel canvas. Dark mode mixes it toward white. */
  --kortix-base-ink: #0a4f96;
  /* The deep ink band (the closing CTA). Stays dark in both themes. */
  --ink: #0c1420;
  --on-ink: #eef3f8;
  --on-ink-muted: #a7b4c4;
  /* `transparent` as a variable: the minifier rewrites the bare keyword to the literal #0000. */
  --transparent: transparent;
  /* Opaque paint for CSS masks. Only its alpha matters. */
  --mask-solid: #000;
  --shadow-frame: 0 22px 44px -20px rgb(12 20 32 / 0.28);
  --shadow-card: 0 12px 28px -18px rgb(12 20 32 / 0.24);
  --shadow-float: 0 18px 40px -22px rgb(12 20 32 / 0.45);
}
:root[data-theme="dark"] {
  --kortix-base-ink: color-mix(in oklab, var(--kortix-base) 52%, #ffffff);
  --ink: #0a1119;
  --on-ink: #eef3f8;
  --on-ink-muted: #9fb0c0;
  --shadow-frame: 0 22px 44px -20px rgb(0 0 0 / 0.6);
  --shadow-card: 0 12px 28px -18px rgb(0 0 0 / 0.55);
  --shadow-float: 0 18px 40px -22px rgb(0 0 0 / 0.7);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --kortix-base-ink: color-mix(in oklab, var(--kortix-base) 52%, #ffffff);
    --ink: #0a1119;
    --on-ink: #eef3f8;
    --on-ink-muted: #9fb0c0;
    --shadow-frame: 0 22px 44px -20px rgb(0 0 0 / 0.6);
    --shadow-card: 0 12px 28px -18px rgb(0 0 0 / 0.55);
    --shadow-float: 0 18px 40px -22px rgb(0 0 0 / 0.7);
  }
}
