/* aisalesagentsguide.com — "The Send-Gate Docket" tokens.
   The kit's token names, unchanged; the values are this site's own warm paper neutrals with one
   brass accent. 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: #faf7f0;
  --surface: #faf7f0;
  --foreground: #1a1712;
  --foreground-strong: #0e0c09;
  --foreground-weak: #5c564a;
  --card: #f4efe3;
  --card-foreground: #1a1712;
  --popover: #fffdf8;
  --popover-foreground: #1a1712;
  --primary: #1a1712;
  --primary-foreground: #fffdf8;
  --secondary: #f1ebdd;
  --secondary-foreground: #1a1712;
  --muted: #f1ebdd;
  --muted-foreground: #5c564a;
  --accent: #f1ebdd;
  --accent-foreground: #1a1712;
  --destructive: #b3261e;
  --destructive-foreground: #fffdf8;
  --border: #e3ddcf;
  --input: #d9d2c2;
  --ring: #6f4e00;
  --hover: rgb(26 23 18 / 0.05);
  --active: rgb(26 23 18 / 0.08);
  --sidebar: #f4efe3;
  --sidebar-foreground: #1a1712;
  --sidebar-primary: #6f4e00;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #ece6d7;
  --sidebar-accent-foreground: #1a1712;
  --sidebar-row: #f4efe3;
  --sidebar-row-control: #ece6d7;
  --sidebar-border: #e3ddcf;
  --sidebar-ring: #6f4e00;
  --kortix-base: #6f4e00;
  --kortix-green: #199338;
  --kortix-red: #f14b4c;
  --kortix-orange: #d18b19;
  --kortix-yellow: #cca300;
  --kortix-blue: #2b91f7;
  --kortix-purple: #ab80d6;
  --chart-1: #d9b98a;
  --chart-2: #b8935a;
  --chart-3: #9a7433;
  --chart-4: #7d5a17;
  --chart-5: #6f4e00;
  --terminal-surface: #14110c;
  --terminal-fg: #ece6d7;
  --terminal-border: rgb(255 255 255 / 0.12);

  --font-sans: Karla, ui-sans-serif, -apple-system, 'Segoe UI', 'Helvetica Neue', 'Noto Sans', sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace;
  --font-sans-system: Karla, 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.01em;
  --leading-tight: 1.2;
  --leading-snug: 1.375;
  --leading-relaxed: 1.625;

  /* The docket is squared: 2px is the largest corner on the site. */
  --radius: 0.125rem;
  --radius-sm: 0.0625rem;
  --radius-md: 0.125rem;
  --radius-lg: 0.125rem;
  --radius-xl: 0.125rem;
  --radius-2xl: 0.1875rem;

  --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.05;
  --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(26 23 18 / 0.04);
  --shadow-sm: 0 1px 2px 0 rgb(26 23 18 / 0.05);
  --shadow-md: 0 2px 4px -1px rgb(26 23 18 / 0.06);
  --shadow-lg: 0 6px 16px -6px rgb(26 23 18 / 0.1);
  --shadow-xl: 0 14px 32px -14px rgb(26 23 18 / 0.14);

  --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: #0b0a08;
  --pane: #14120e;
  --surface: #14120e;
  --foreground: #f5f1e7;
  --foreground-strong: #fffdf8;
  --foreground-weak: #a9a194;
  --card: #1b1812;
  --card-foreground: #f5f1e7;
  --popover: #1b1812;
  --popover-foreground: #f5f1e7;
  --primary: #f5f1e7;
  --primary-foreground: #0b0a08;
  --secondary: #1b1812;
  --secondary-foreground: #f5f1e7;
  --muted: #1b1812;
  --muted-foreground: #aaa294;
  --accent: #1b1812;
  --accent-foreground: #f5f1e7;
  --destructive: #ff8f86;
  --destructive-foreground: #0b0a08;
  --border: #2b261d;
  --input: #3a3327;
  --hover: rgb(245 241 231 / 0.07);
  --active: rgb(245 241 231 / 0.11);
  --sidebar: #14120e;
  --sidebar-foreground: #f5f1e7;
  --sidebar-primary-foreground: #0b0a08;
  --sidebar-accent: #1b1812;
  --sidebar-accent-foreground: #f5f1e7;
  --sidebar-row: #1b1812;
  --sidebar-row-control: #2b261d;
  --sidebar-border: #241f18;
  --kortix-green: #199338;
  --kortix-red: #f14b4c;
  --kortix-orange: #d18b19;
  --kortix-yellow: #cca300;
  --kortix-blue: #2b91f7;
  --kortix-purple: #ab80d6;
  --chart-1: #d9b98a;
  --chart-2: #b8935a;
  --chart-3: #9a7433;
  --chart-4: #7d5a17;
  --chart-5: #e2c99b;
  --terminal-surface: #14110c;
  --terminal-fg: #ece6d7;
  --terminal-border: rgb(255 255 255 / 0.12);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --background: #0b0a08;
    --pane: #14120e;
    --surface: #14120e;
    --foreground: #f5f1e7;
    --foreground-strong: #fffdf8;
    --foreground-weak: #a9a194;
    --card: #1b1812;
    --card-foreground: #f5f1e7;
    --popover: #1b1812;
    --popover-foreground: #f5f1e7;
    --primary: #f5f1e7;
    --primary-foreground: #0b0a08;
    --secondary: #1b1812;
    --secondary-foreground: #f5f1e7;
    --muted: #1b1812;
    --muted-foreground: #aaa294;
    --accent: #1b1812;
    --accent-foreground: #f5f1e7;
    --destructive: #ff8f86;
    --destructive-foreground: #0b0a08;
    --border: #2b261d;
    --input: #3a3327;
    --hover: rgb(245 241 231 / 0.07);
    --active: rgb(245 241 231 / 0.11);
    --sidebar: #14120e;
    --sidebar-foreground: #f5f1e7;
    --sidebar-primary-foreground: #0b0a08;
    --sidebar-accent: #1b1812;
    --sidebar-accent-foreground: #f5f1e7;
    --sidebar-row: #1b1812;
    --sidebar-row-control: #2b261d;
    --sidebar-border: #241f18;
    --kortix-green: #199338;
    --kortix-red: #f14b4c;
    --kortix-orange: #d18b19;
    --kortix-yellow: #cca300;
    --kortix-blue: #2b91f7;
    --kortix-purple: #ab80d6;
    --chart-1: #d9b98a;
    --chart-2: #b8935a;
    --chart-3: #9a7433;
    --chart-4: #7d5a17;
    --chart-5: #e2c99b;
    --terminal-surface: #14110c;
    --terminal-fg: #ece6d7;
    --terminal-border: rgb(255 255 255 / 0.12);
  }
}

/* Site additions (not in the kit). */
:root {
  --kortix-base-ink: var(--kortix-base);
  --transparent: transparent;
  --mask-solid: #000;
  --shadow-frame: 0 18px 40px -24px rgb(26 23 18 / 0.28);
  --shadow-card: 0 1px 0 0 rgb(26 23 18 / 0.03);
}
:root[data-theme="dark"] {
  --kortix-base-ink: color-mix(in oklab, var(--kortix-base) 40%, #ffffff);
  --shadow-frame: 0 18px 40px -24px rgb(0 0 0 / 0.8);
  --shadow-card: 0 1px 0 0 rgb(0 0 0 / 0.4);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --kortix-base-ink: color-mix(in oklab, var(--kortix-base) 40%, #ffffff);
    --shadow-frame: 0 18px 40px -24px rgb(0 0 0 / 0.8);
    --shadow-card: 0 1px 0 0 rgb(0 0 0 / 0.4);
  }
}
