/* openclaw-alternative.com — "plaintext" palette.
   The site's own neutrals and surfaces (a cool pine-tinted paper with pine ink) around its one
   accent (#0f5132). Same token names as the Kortix kit's tokens.css; the values are the 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. */

:root {
  color-scheme: light;
  /* paper */
  --background: #e9efe9;
  --pane: #f3f7f3;
  --surface: #dbe5dd;
  --foreground: #121814;
  --foreground-strong: #121814;
  --foreground-weak: #55635a;
  --card: #dbe5dd;
  --card-foreground: #121814;
  --popover: #f3f7f3;
  --popover-foreground: #121814;
  --primary: #121814;
  --primary-foreground: #eef4ef;
  --secondary: #dbe5dd;
  --secondary-foreground: #121814;
  --muted: #dbe5dd;
  --muted-foreground: #55635a;
  --accent: #dbe5dd;
  --accent-foreground: #121814;
  --destructive: #b02f22;
  --destructive-foreground: #fafafa;
  --border: #c4d0c6;
  --input: #dbe5dd;
  --ring: #0f5132;
  --hover: rgb(0 0 0 / 0.045);
  --active: rgb(0 0 0 / 0.075);
  --sidebar: #dbe5dd;
  --sidebar-foreground: #121814;
  --sidebar-primary: #0f5132;
  --sidebar-primary-foreground: #eef4ef;
  --sidebar-accent: #cedacf;
  --sidebar-accent-foreground: #121814;
  --sidebar-row: #dbe5dd;
  --sidebar-row-control: #cedacf;
  --sidebar-border: #c4d0c6;
  --sidebar-ring: #0f5132;
  --kortix-base: #0f5132;
  --kortix-green: #199338;
  --kortix-red: #f14b4c;
  --kortix-orange: #d18b19;
  --kortix-yellow: #cca300;
  --kortix-blue: #2b91f7;
  --kortix-purple: #ab80d6;
  --chart-1: #0f5132;
  --chart-2: #2e7d5b;
  --chart-3: #55635a;
  --chart-4: #8aa392;
  --chart-5: #c4d0c6;
  --terminal-surface: #0d1410;
  --terminal-fg: #d7e4da;
  --terminal-border: rgb(255 255 255 / 0.12);
  /* type: the site's own pairing, self-hosted (see globals.css @font-face) */
  --font-heading: 'Sora', ui-sans-serif, -apple-system, 'Segoe UI', 'Helvetica Neue', 'Noto Sans', sans-serif;
  --font-body: 'Manrope', ui-sans-serif, -apple-system, 'Segoe UI', 'Helvetica Neue', 'Noto Sans', sans-serif;
  --font-mono-face: 'Spline Sans Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
  --font-sans: var(--font-body);
  --font-mono: var(--font-mono-face);
  --font-sans-system: var(--font-body);
  --font-mono-system: var(--font-mono-face);
  --tracking-tight: -0.02em;
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-relaxed: 1.6;
  --radius: 0.25rem;
  --radius-sm: calc(var(--radius) - 4px);
  --radius-md: calc(var(--radius) - 2px);
  --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.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: #0b110d;
  --pane: #0f1611;
  --surface: #141c16;
  --foreground: #eaf1ec;
  --foreground-strong: #eaf1ec;
  --foreground-weak: #93a198;
  --card: #141c16;
  --card-foreground: #eaf1ec;
  --popover: #121a14;
  --popover-foreground: #eaf1ec;
  --primary: #eaf1ec;
  --primary-foreground: #0b110d;
  --secondary: #17201a;
  --secondary-foreground: #eaf1ec;
  --muted: #17201a;
  --muted-foreground: #93a198;
  --accent: #141c16;
  --accent-foreground: #eaf1ec;
  --destructive: #ff6467;
  --destructive-foreground: #fafafa;
  --border: #253128;
  --input: #17201a;
  --hover: rgb(255 255 255 / 0.06);
  --active: rgb(255 255 255 / 0.1);
  --sidebar: #141c16;
  --sidebar-foreground: #eaf1ec;
  --sidebar-primary-foreground: #eaf1ec;
  --sidebar-accent: #17201a;
  --sidebar-accent-foreground: #eaf1ec;
  --sidebar-row: #17201a;
  --sidebar-row-control: #253128;
  --sidebar-border: #1c251e;
  --kortix-green: #199338;
  --kortix-red: #f14b4c;
  --kortix-orange: #d18b19;
  --kortix-yellow: #cca300;
  --kortix-blue: #2b91f7;
  --kortix-purple: #ab80d6;
  --chart-1: #0f5132;
  --chart-2: #2e7d5b;
  --chart-3: #93a198;
  --chart-4: #55635a;
  --chart-5: #253128;
  --terminal-surface: #0a100c;
  --terminal-fg: #d7e4da;
  --terminal-border: rgb(255 255 255 / 0.12);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --background: #0b110d;
    --pane: #0f1611;
    --surface: #141c16;
    --foreground: #eaf1ec;
    --foreground-strong: #eaf1ec;
    --foreground-weak: #93a198;
    --card: #141c16;
    --card-foreground: #eaf1ec;
    --popover: #121a14;
    --popover-foreground: #eaf1ec;
    --primary: #eaf1ec;
    --primary-foreground: #0b110d;
    --secondary: #17201a;
    --secondary-foreground: #eaf1ec;
    --muted: #17201a;
    --muted-foreground: #93a198;
    --accent: #141c16;
    --accent-foreground: #eaf1ec;
    --destructive: #ff6467;
    --destructive-foreground: #fafafa;
    --border: #253128;
    --input: #17201a;
    --hover: rgb(255 255 255 / 0.06);
    --active: rgb(255 255 255 / 0.1);
    --sidebar: #141c16;
    --sidebar-foreground: #eaf1ec;
    --sidebar-primary-foreground: #eaf1ec;
    --sidebar-accent: #17201a;
    --sidebar-accent-foreground: #eaf1ec;
    --sidebar-row: #17201a;
    --sidebar-row-control: #253128;
    --sidebar-border: #1c251e;
    --kortix-green: #199338;
    --kortix-red: #f14b4c;
    --kortix-orange: #d18b19;
    --kortix-yellow: #cca300;
    --kortix-blue: #2b91f7;
    --kortix-purple: #ab80d6;
    --chart-1: #0f5132;
    --chart-2: #2e7d5b;
    --chart-3: #93a198;
    --chart-4: #55635a;
    --chart-5: #253128;
    --terminal-surface: #0a100c;
    --terminal-fg: #d7e4da;
    --terminal-border: rgb(255 255 255 / 0.12);
  }
}

/* Site starter additions (kept names). */
:root {
  --kortix-base-ink: var(--kortix-base);
  --transparent: transparent;
  --mask-solid: #000;
  --shadow-frame: 0 24px 48px -18px rgb(9 40 25 / 0.35);
  --shadow-card: 0 2px 0 0 rgb(9 40 25 / 0.06), 0 14px 30px -20px rgb(9 40 25 / 0.25);
  /* the terminal pane's own ink, so a figure never needs a literal in a component */
  --trace-surface: #0d1410;
  --trace-fg: #d7e4da;
  --trace-dim: #8fa99a;
  --trace-border: rgb(255 255 255 / 0.14);
  --trace-accent: #7fd1a5;
}
:root[data-theme="dark"] {
  --kortix-base-ink: color-mix(in oklab, var(--kortix-base) 62%, #ffffff);
  --shadow-frame: 0 24px 48px -18px rgb(0 0 0 / 0.7);
  --shadow-card: 0 1px 0 0 rgb(255 255 255 / 0.04), 0 16px 34px -22px rgb(0 0 0 / 0.7);
  --trace-surface: #0a100c;
  --trace-fg: #d7e4da;
  --trace-dim: #8fa99a;
  --trace-border: rgb(255 255 255 / 0.14);
  --trace-accent: #8ad9b0;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --kortix-base-ink: color-mix(in oklab, var(--kortix-base) 62%, #ffffff);
    --shadow-frame: 0 24px 48px -18px rgb(0 0 0 / 0.7);
    --shadow-card: 0 1px 0 0 rgb(255 255 255 / 0.04), 0 16px 34px -22px rgb(0 0 0 / 0.7);
    --trace-surface: #0a100c;
    --trace-fg: #d7e4da;
    --trace-dim: #8fa99a;
    --trace-border: rgb(255 255 255 / 0.14);
    --trace-accent: #8ad9b0;
  }
}
