/* Tokens for openhands-alternative.com — "chalk survey": a pale chalk grey-green ground, a dark
   olive-grey ink and one deep olive accent; dark mode is the same sheet at night. Token NAMES are
   the kit's (skills/kortix-brand/references/visual/tokens.css); the values are this site's own.
   This is the ONLY file with colour literals. Light is the default; dark follows
   prefers-color-scheme, or [data-theme="dark"] forces it. The accent itself is overridden in the
   page head (:root { --kortix-base; --ring }). */

:root {
  color-scheme: light;
  --background: #e7e9e2;
  --pane: #eef0e9;
  --surface: #f4f5f0;
  --foreground: #3a4030;
  --foreground-strong: #262b20;
  --foreground-weak: #565c4c;
  --card: #f4f5f0;
  --card-foreground: #262b20;
  --popover: #f7f8f3;
  --popover-foreground: #262b20;
  --primary: #262b20;
  --primary-foreground: #f4f5f0;
  --secondary: #dfe2d8;
  --secondary-foreground: #262b20;
  --muted: #dfe2d8;
  --muted-foreground: #565c4c;
  --accent: #dfe2d8;
  --accent-foreground: #262b20;
  --destructive: #a33a2c;
  --destructive-foreground: #f7f8f3;
  --border: #c6cabf;
  --input: #dfe2d8;
  --ring: #4a6400;
  --hover: rgb(38 43 32 / 0.06);
  --active: rgb(38 43 32 / 0.1);
  --sidebar: #eef0e9;
  --sidebar-foreground: #262b20;
  --sidebar-primary: #4a6400;
  --sidebar-primary-foreground: #f4f5f0;
  --sidebar-accent: #dfe2d8;
  --sidebar-accent-foreground: #262b20;
  --sidebar-row: #eef0e9;
  --sidebar-row-control: #dfe2d8;
  --sidebar-border: #c6cabf;
  --sidebar-ring: #4a6400;
  --kortix-base: #4a6400;
  /* The pinned (recommended) column's tint, and the accent as a painted mark on this ground. */
  --pinned-tint: color-mix(in oklab, var(--kortix-base) 9%, var(--surface));
  --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: #17190f;
  --terminal-fg: #e3e6da;
  --terminal-border: rgb(255 255 255 / 0.12);
  --font-sans: Saira, ui-sans-serif, -apple-system, 'Segoe UI', 'Helvetica Neue', 'Noto Sans', sans-serif;
  --font-mono: 'Overpass 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.022em;
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-relaxed: 1.625;
  --radius: 2px;
  --radius-sm: 2px;
  --radius-md: 2px;
  --radius-lg: 2px;
  --radius-xl: 3px;
  --radius-2xl: 4px;
  --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: none;
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
  --shadow-xl: none;
  --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: #14150f;
  --pane: #191b14;
  --surface: #202219;
  --foreground: #dfe2d6;
  --foreground-strong: #f2f4ea;
  --foreground-weak: #9ba192;
  --card: #202219;
  --card-foreground: #f2f4ea;
  --popover: #202219;
  --popover-foreground: #f2f4ea;
  --primary: #eef0e6;
  --primary-foreground: #14150f;
  --secondary: #262919;
  --secondary-foreground: #f2f4ea;
  --muted: #262919;
  --muted-foreground: #9ba192;
  --accent: #262919;
  --accent-foreground: #f2f4ea;
  --destructive: #d9705f;
  --destructive-foreground: #14150f;
  --border: #34372b;
  --input: #262919;
  --hover: rgb(242 244 234 / 0.07);
  --active: rgb(242 244 234 / 0.12);
  --sidebar: #191b14;
  --sidebar-foreground: #f2f4ea;
  --sidebar-primary-foreground: #14150f;
  --sidebar-accent: #262919;
  --sidebar-accent-foreground: #f2f4ea;
  --sidebar-row: #202219;
  --sidebar-row-control: #262919;
  --sidebar-border: #2b2e23;
  --sidebar-ring: #b8c98a;
  --pinned-tint: color-mix(in oklab, var(--kortix-base-ink) 12%, var(--surface));
  --kortix-green: #4fbf72;
  --kortix-red: #f2706a;
  --kortix-orange: #e0a53f;
  --kortix-yellow: #d9b93c;
  --kortix-blue: #63aef9;
  --kortix-purple: #c4a3e6;
  --chart-1: #ffd230;
  --chart-2: #fe9a00;
  --chart-3: #e17100;
  --chart-4: #bb4d00;
  --chart-5: #973c00;
  --terminal-surface: #101208;
  --terminal-fg: #e3e6da;
  --terminal-border: rgb(255 255 255 / 0.14);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --background: #14150f;
    --pane: #191b14;
    --surface: #202219;
    --foreground: #dfe2d6;
    --foreground-strong: #f2f4ea;
    --foreground-weak: #9ba192;
    --card: #202219;
    --card-foreground: #f2f4ea;
    --popover: #202219;
    --popover-foreground: #f2f4ea;
    --primary: #eef0e6;
    --primary-foreground: #14150f;
    --secondary: #262919;
    --secondary-foreground: #f2f4ea;
    --muted: #262919;
    --muted-foreground: #9ba192;
    --accent: #262919;
    --accent-foreground: #f2f4ea;
    --destructive: #d9705f;
    --destructive-foreground: #14150f;
    --border: #34372b;
    --input: #262919;
    --hover: rgb(242 244 234 / 0.07);
    --active: rgb(242 244 234 / 0.12);
    --sidebar: #191b14;
    --sidebar-foreground: #f2f4ea;
    --sidebar-primary-foreground: #14150f;
    --sidebar-accent: #262919;
    --sidebar-accent-foreground: #f2f4ea;
    --sidebar-row: #202219;
    --sidebar-row-control: #262919;
    --sidebar-border: #2b2e23;
    --sidebar-ring: #b8c98a;
    --pinned-tint: color-mix(in oklab, var(--kortix-base-ink) 12%, var(--surface));
    --kortix-green: #4fbf72;
    --kortix-red: #f2706a;
    --kortix-orange: #e0a53f;
    --kortix-yellow: #d9b93c;
    --kortix-blue: #63aef9;
    --kortix-purple: #c4a3e6;
    --chart-1: #ffd230;
    --chart-2: #fe9a00;
    --chart-3: #e17100;
    --chart-4: #bb4d00;
    --chart-5: #973c00;
    --terminal-surface: #101208;
    --terminal-fg: #e3e6da;
    --terminal-border: rgb(255 255 255 / 0.14);
  }
}

/* This site's own additions (the starter's block, retuned). */
:root {
  /* The accent as a glyph or link on the page ground. Light: the accent itself.
     Dark: the accent mixed toward white, so a dark olive still reads on the dark canvas. */
  --kortix-base-ink: var(--kortix-base);
  /* `transparent` as a variable: the CSS minifier rewrites the bare keyword to a literal. */
  --transparent: transparent;
  /* Opaque paint for CSS masks. Only its alpha matters. */
  --mask-solid: #000;
  /* The sheet is flat: no shadows anywhere. */
  --shadow-frame: none;
  --shadow-card: none;
  /* The entry rule weight. */
  --rule-strong: 2px;
  --margin-track: 13rem;
}
:root[data-theme="dark"] {
  --kortix-base-ink: color-mix(in oklab, var(--kortix-base) 52%, #ffffff);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --kortix-base-ink: color-mix(in oklab, var(--kortix-base) 52%, #ffffff);
  }
}
