/* companyosguide.com — "The Working Reference" palette.
   The starter's token names, retuned: a warm near-black on a white page, warm hairlines, and one
   deep burnt-umber accent (#8a3207, registered). 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: #ffffff;
  --pane: #ffffff;
  --surface: #fbf9f6;
  --foreground: #1a1613;
  --foreground-strong: #110e0c;
  --foreground-weak: #625850;
  --card: #f7f3ee;
  --card-foreground: #1a1613;
  --popover: #ffffff;
  --popover-foreground: #1a1613;
  --primary: #1a1613;
  --primary-foreground: #ffffff;
  --secondary: #f2ede6;
  --secondary-foreground: #1a1613;
  --muted: #f5f1ea;
  --muted-foreground: #625850;
  --accent: #f6f0e8;
  --accent-foreground: #1a1613;
  --destructive: #a3170f;
  --destructive-foreground: #fafafa;
  --border: #e4dcd2;
  --input: #efe9e1;
  --ring: #8a3207;
  --hover: rgb(26 22 19 / 0.05);
  --active: rgb(26 22 19 / 0.08);
  --sidebar: #f7f3ee;
  --sidebar-foreground: #1a1613;
  --sidebar-primary: #8a3207;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #f2ede6;
  --sidebar-accent-foreground: #1a1613;
  --sidebar-row: #f7f3ee;
  --sidebar-row-control: #efe9e1;
  --sidebar-border: #e4dcd2;
  --sidebar-ring: #8a3207;
  --kortix-base: #8a3207;
  --kortix-green: #1d7a3c;
  --kortix-red: #b3261e;
  --kortix-orange: #a86410;
  --kortix-yellow: #8a6a00;
  --kortix-blue: #2a5e91;
  --kortix-purple: #6f4a8e;
  --chart-1: #d9b382;
  --chart-2: #c08a51;
  --chart-3: #a5622c;
  --chart-4: #8a3207;
  --chart-5: #5e2305;
  --terminal-surface: #141110;
  --terminal-fg: #f0eae2;
  --terminal-border: rgb(255 255 255 / 0.12);
  --font-sans: 'Instrument Sans', 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: 'Instrument Sans', ui-sans-serif, -apple-system, 'Segoe UI', 'Helvetica Neue', 'Noto Sans', sans-serif;
  --font-mono-system: 'IBM Plex Mono', ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
  --tracking-tight: -0.012em;
  --leading-tight: 1.14;
  --leading-snug: 1.4;
  --leading-relaxed: 1.65;
  --radius: 0.375rem;
  --radius-sm: calc(var(--radius) - 2px);
  --radius-md: var(--radius);
  --radius-lg: 0.5rem;
  --radius-xl: 0.75rem;
  --radius-2xl: 1rem;
  --spacing: 0.23rem;
  --text-xs: 0.8125rem;
  --text-xs-line-height: 1.5;
  --text-sm: 0.875rem;
  --text-sm-line-height: 1.45;
  --text-md: 0.9375rem;
  --text-md-line-height: 1.6;
  --text-base: 1rem;
  --text-base-line-height: 1.6;
  --text-lg: 1.125rem;
  --text-lg-line-height: 1.6;
  --text-xl: 1.25rem;
  --text-xl-line-height: 1.45;
  --text-2xl: 1.5rem;
  --text-2xl-line-height: 1.25;
  --text-3xl: 1.875rem;
  --text-3xl-line-height: 1.18;
  --text-4xl: 2.25rem;
  --text-4xl-line-height: 1.12;
  --text-5xl: 3rem;
  --text-5xl-line-height: 1.04;
  --text-6xl: 3.75rem;
  --text-6xl-line-height: 1.02;
  --text-7xl: 4.5rem;
  --text-7xl-line-height: 1;
  --text-8xl: 6rem;
  --text-8xl-line-height: 1;
  --shadow-xs: 0 1px 1px 0 rgb(26 22 19 / 0.04);
  --shadow-sm: 0 1px 2px 0 rgb(26 22 19 / 0.05);
  --shadow-md: 0 3px 8px -2px rgb(26 22 19 / 0.06);
  --shadow-lg: 0 10px 24px -10px rgb(26 22 19 / 0.12);
  --shadow-xl: 0 22px 48px -20px rgb(26 22 19 / 0.18);
  --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: #0d0b0a;
  --pane: #0e0c0b;
  --surface: #141110;
  --foreground: #f7f3ee;
  --foreground-strong: #ffffff;
  --foreground-weak: #a89d92;
  --card: #1a1614;
  --card-foreground: #f7f3ee;
  --popover: #1a1614;
  --popover-foreground: #f7f3ee;
  --primary: #f7f3ee;
  --primary-foreground: #0d0b0a;
  --secondary: #221d19;
  --secondary-foreground: #f7f3ee;
  --muted: #221d19;
  --muted-foreground: #a89d92;
  --accent: #1f1a17;
  --accent-foreground: #f7f3ee;
  --destructive: #e8756c;
  --destructive-foreground: #fafafa;
  --border: #2c2521;
  --input: #241f1b;
  --hover: rgb(255 255 255 / 0.06);
  --active: rgb(255 255 255 / 0.1);
  --sidebar: #141110;
  --sidebar-foreground: #f7f3ee;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #221d19;
  --sidebar-accent-foreground: #f7f3ee;
  --sidebar-row: #1a1614;
  --sidebar-row-control: #241f1b;
  --sidebar-border: #241f1b;
  --kortix-green: #57b877;
  --kortix-red: #e8756c;
  --kortix-orange: #d8a45c;
  --kortix-yellow: #c9ae55;
  --kortix-blue: #7cabdc;
  --kortix-purple: #b291cd;
  --chart-1: #d9b382;
  --chart-2: #c08a51;
  --chart-3: #a5622c;
  --chart-4: #8a3207;
  --chart-5: #5e2305;
  --terminal-surface: #141110;
  --terminal-fg: #f0eae2;
  --terminal-border: rgb(255 255 255 / 0.12);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --background: #0d0b0a;
    --pane: #0e0c0b;
    --surface: #141110;
    --foreground: #f7f3ee;
    --foreground-strong: #ffffff;
    --foreground-weak: #a89d92;
    --card: #1a1614;
    --card-foreground: #f7f3ee;
    --popover: #1a1614;
    --popover-foreground: #f7f3ee;
    --primary: #f7f3ee;
    --primary-foreground: #0d0b0a;
    --secondary: #221d19;
    --secondary-foreground: #f7f3ee;
    --muted: #221d19;
    --muted-foreground: #a89d92;
    --accent: #1f1a17;
    --accent-foreground: #f7f3ee;
    --destructive: #e8756c;
    --destructive-foreground: #fafafa;
    --border: #2c2521;
    --input: #241f1b;
    --hover: rgb(255 255 255 / 0.06);
    --active: rgb(255 255 255 / 0.1);
    --sidebar: #141110;
    --sidebar-foreground: #f7f3ee;
    --sidebar-primary-foreground: #ffffff;
    --sidebar-accent: #221d19;
    --sidebar-accent-foreground: #f7f3ee;
    --sidebar-row: #1a1614;
    --sidebar-row-control: #241f1b;
    --sidebar-border: #241f1b;
    --kortix-green: #57b877;
    --kortix-red: #e8756c;
    --kortix-orange: #d8a45c;
    --kortix-yellow: #c9ae55;
    --kortix-blue: #7cabdc;
    --kortix-purple: #b291cd;
    --terminal-surface: #141110;
    --terminal-fg: #f0eae2;
    --terminal-border: rgb(255 255 255 / 0.12);
  }
}

/* Site additions (same names as the starter, retuned). */
:root {
  --kortix-base-ink: var(--kortix-base);
  --transparent: transparent;
  --mask-solid: #000;
  --shadow-frame: 0 26px 50px -30px rgb(26 22 19 / 0.35);
  --shadow-card: 0 14px 34px -24px rgb(26 22 19 / 0.3);
}
:root[data-theme="dark"] {
  --kortix-base-ink: color-mix(in oklab, var(--kortix-base) 38%, #ffffff);
  --shadow-frame: 0 26px 50px -26px rgb(0 0 0 / 0.8);
  --shadow-card: 0 14px 34px -22px rgb(0 0 0 / 0.75);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --kortix-base-ink: color-mix(in oklab, var(--kortix-base) 38%, #ffffff);
    --shadow-frame: 0 26px 50px -26px rgb(0 0 0 / 0.8);
    --shadow-card: 0 14px 34px -22px rgb(0 0 0 / 0.75);
  }
}
