/* harnessengineeringguide.com — the test-bench palette.
   Retuned from the keyword-site starter's tokens.css (same token names, one site's values).
   Light ground is white, dark ground is near-black; the accent is deep pine ink #0f3d3e.
   The starter's notes still apply:
   - the email-only variables are dropped;
   - --kortix-base and --ring are declared once on :root (they are theme-invariant), so the per-site
     accent override in the page head (:root { --kortix-base; --ring }) wins in light and dark;
   - the "Site starter additions" block at the end.
   This is the ONLY file with colour literals. Light is the default; dark follows prefers-color-scheme,
   or [data-theme="dark"] forces it. */

/* GENERATED from visual-system.json by .agents/skills/kortix-brand/scripts/generate-tokens.ts. Do not edit.
   Portable Kortix tokens for HTML, email, OG images and decks outside apps/web.
   Light is the default. Dark follows prefers-color-scheme, or [data-theme="dark"] to force it.
   Pair with fonts.css. Names match the app tokens (--background, --foreground, --kortix-green ...). */

:root {
  color-scheme: light;
  --background: #ffffff;
  --pane: #ffffff;
  --surface: #f7f9f8;
  --foreground: #141a1a;
  --foreground-strong: #0d1212;
  --foreground-weak: #4d5a59;
  --card: #f2f5f4;
  --card-foreground: #141a1a;
  --popover: #ffffff;
  --popover-foreground: #141a1a;
  --primary: #141a1a;
  --primary-foreground: #ffffff;
  --secondary: #eef1f0;
  --secondary-foreground: #141a1a;
  --muted: #edf1f0;
  --muted-foreground: #4d5a59;
  --accent: #eef1f0;
  --accent-foreground: #141a1a;
  --destructive: #b3261e;
  --destructive-foreground: #ffffff;
  --border: #dfe5e3;
  --input: #eef1f0;
  --ring: #0f3d3e;
  --hover: rgb(15 61 62 / 0.06);
  --active: rgb(15 61 62 / 0.1);
  --sidebar: #f2f5f4;
  --sidebar-foreground: #141a1a;
  --sidebar-primary: #0f3d3e;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #eef1f0;
  --sidebar-accent-foreground: #141a1a;
  --sidebar-row: #f2f5f4;
  --sidebar-row-control: #eef1f0;
  --sidebar-border: #dfe5e3;
  --sidebar-ring: #0f3d3e;
  --kortix-base: #0f3d3e;
  --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: #0b1212;
  --terminal-fg: #eef3f1;
  --terminal-border: rgb(255 255 255 / 0.12);
  --font-sans: 'Barlow', ui-sans-serif, -apple-system, 'Segoe UI', 'Helvetica Neue', 'Noto Sans', sans-serif;
  --font-mono: 'Sometype 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.012em;
  --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: 4px;
  --radius-2xl: 6px;
  --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 1px 0 rgb(0 0 0 / 0.04);
  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 2px 4px 0 rgb(0 0 0 / 0.06);
  --shadow-lg: 0 4px 10px 0 rgb(0 0 0 / 0.07);
  --shadow-xl: 0 8px 24px 0 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: #0c1212;
  --pane: #0d1414;
  --surface: #131b1b;
  --foreground: #f2f5f4;
  --foreground-strong: #ffffff;
  --foreground-weak: #a6b3b1;
  --card: #151d1d;
  --card-foreground: #f2f5f4;
  --popover: #151d1d;
  --popover-foreground: #f2f5f4;
  --primary: #f2f5f4;
  --primary-foreground: #0b1111;
  --secondary: #1b2424;
  --secondary-foreground: #f2f5f4;
  --muted: #1b2424;
  --muted-foreground: #a6b3b1;
  --accent: #151d1d;
  --accent-foreground: #f2f5f4;
  --destructive: #ff6b63;
  --destructive-foreground: #0b1111;
  --border: #26302f;
  --input: #1b2424;
  --hover: rgb(242 245 244 / 0.07);
  --active: rgb(242 245 244 / 0.11);
  --sidebar: #151d1d;
  --sidebar-foreground: #f2f5f4;
  --sidebar-primary-foreground: #f2f5f4;
  --sidebar-accent: #1b2424;
  --sidebar-accent-foreground: #f2f5f4;
  --sidebar-row: #1b2424;
  --sidebar-row-control: #26302f;
  --sidebar-border: #1e2827;
  --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: #0b1212;
  --terminal-fg: #eef3f1;
  --terminal-border: rgb(255 255 255 / 0.12);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --background: #0c1212;
    --pane: #0d1414;
    --surface: #131b1b;
    --foreground: #f2f5f4;
    --foreground-strong: #ffffff;
    --foreground-weak: #a6b3b1;
    --card: #151d1d;
    --card-foreground: #f2f5f4;
    --popover: #151d1d;
    --popover-foreground: #f2f5f4;
    --primary: #f2f5f4;
    --primary-foreground: #0b1111;
    --secondary: #1b2424;
    --secondary-foreground: #f2f5f4;
    --muted: #1b2424;
    --muted-foreground: #a6b3b1;
    --accent: #151d1d;
    --accent-foreground: #f2f5f4;
    --destructive: #ff6b63;
    --destructive-foreground: #0b1111;
    --border: #26302f;
    --input: #1b2424;
    --hover: rgb(242 245 244 / 0.07);
    --active: rgb(242 245 244 / 0.11);
    --sidebar: #151d1d;
    --sidebar-foreground: #f2f5f4;
    --sidebar-primary-foreground: #f2f5f4;
    --sidebar-accent: #1b2424;
    --sidebar-accent-foreground: #f2f5f4;
    --sidebar-row: #1b2424;
    --sidebar-row-control: #26302f;
    --sidebar-border: #1e2827;
    --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: #0b1212;
    --terminal-fg: #eef3f1;
    --terminal-border: rgb(255 255 255 / 0.12);
  }
}


/* ── This site's own tokens (bench) ─────────────────────────────────────── */
:root {
  /* The dark instrument pane: the hero's product plate and code plates. */
  --site-plate-ink: #101a1a;
  --site-plate-fg: #eef3f1;
  --site-plate-muted: #9fb0ae;
  --site-plate-line: #24302f;
  /* The pale accent wash: the Kortix lane, the open-source band, inline marks. */
  --site-wash: #e9f1ef;
  --site-wash-strong: #d5e5e0;
  --site-mark-bg: #0f3d3e;
  --site-mark-fg: #ffffff;
}
:root[data-theme="dark"] {
  --site-plate-ink: #070d0d;
  --site-plate-fg: #eef3f1;
  --site-plate-muted: #9fb0ae;
  --site-plate-line: #1d2828;
  --site-wash: #142423;
  --site-wash-strong: #1c3231;
  --site-mark-bg: #235a57;
  --site-mark-fg: #ffffff;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --site-plate-ink: #070d0d;
    --site-plate-fg: #eef3f1;
    --site-plate-muted: #9fb0ae;
    --site-plate-line: #1d2828;
    --site-wash: #142423;
    --site-wash-strong: #1c3231;
    --site-mark-bg: #235a57;
    --site-mark-fg: #ffffff;
  }
}

/* Site starter additions (not in the kit). */
:root {
  /* The accent as a glyph or link on the page ground. Light: the accent itself.
     Dark: the accent mixed toward the ink, so a dark accent still reads on the dark canvas. */
  --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;
  /* Large framed previews (the marketing column allows shadow-2xl on large previews). */
  --shadow-frame: 0 1px 0 0 rgb(0 0 0 / 0.04);
  --shadow-card: 0 1px 0 0 rgb(0 0 0 / 0.04);
}
:root[data-theme="dark"] {
  --kortix-base-ink: color-mix(in oklab, var(--kortix-base) 45%, #ffffff);
  --shadow-frame: 0 25px 50px -12px rgb(0 0 0 / 0.6);
  --shadow-card: 0 10px 30px -12px rgb(0 0 0 / 0.5);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --kortix-base-ink: color-mix(in oklab, var(--kortix-base) 45%, #ffffff);
    --shadow-frame: 0 25px 50px -12px rgb(0 0 0 / 0.6);
    --shadow-card: 0 10px 30px -12px rgb(0 0 0 / 0.5);
  }
}
