/* Tokens for candidatesourcingguide.com — the Kortix token NAMES, retuned to this site's desk
   palette: warm off-white paper, warm ink, one deep violet accent (#710eaa) set by the config.
   The accent override (:root{--kortix-base;--ring}) in the page head wins in both themes.
   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: #fbfaf8;
  --pane: #ffffff;
  --surface: #f7f4ef;
  --foreground: #1b1714;
  --foreground-strong: #1b1714;
  --foreground-weak: #6a6159;
  --card: #f4f0ea;
  --card-foreground: #1b1714;
  --popover: #ffffff;
  --popover-foreground: #1b1714;
  --primary: #1b1714;
  --primary-foreground: #fbfaf8;
  --secondary: #efe9e2;
  --secondary-foreground: #1b1714;
  --muted: #f1ece5;
  --muted-foreground: #5f574f;
  --accent: #f3ece3;
  --accent-foreground: #1b1714;
  --destructive: #a3231f;
  --destructive-foreground: #fbfaf8;
  --border: #e2dad0;
  --input: #ece6de;
  --ring: #0099ff;
  --hover: rgb(27 23 20 / 0.04);
  --active: rgb(27 23 20 / 0.07);
  --sidebar: #f4f0ea;
  --sidebar-foreground: #1b1714;
  --sidebar-primary: #710eaa;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #efe9e2;
  --sidebar-accent-foreground: #1b1714;
  --sidebar-row: #f4f0ea;
  --sidebar-row-control: #ece6de;
  --sidebar-border: #e2dad0;
  --sidebar-ring: #710eaa;
  --kortix-base: #710eaa;
  --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: #17121a;
  --terminal-fg: #efe9f3;
  --terminal-border: rgb(255 255 255 / 0.12);
  --font-sans: Roobert, ui-sans-serif, -apple-system, 'Segoe UI', 'Helvetica Neue', 'Noto Sans', sans-serif;
  --font-mono: 'Roobert 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.025em;
  --leading-tight: 1.25;
  --leading-snug: 1.375;
  --leading-relaxed: 1.625;
  --radius: 2px;
  --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: #0d0b09;
  --pane: #100e0c;
  --surface: #141110;
  --foreground: #f7f3ee;
  --foreground-strong: #f7f3ee;
  --foreground-weak: #9c9289;
  --card: #161312;
  --card-foreground: #f7f3ee;
  --popover: #161312;
  --popover-foreground: #f7f3ee;
  --primary: #f7f3ee;
  --primary-foreground: #0d0b09;
  --secondary: #1d1917;
  --secondary-foreground: #f7f3ee;
  --muted: #1d1917;
  --muted-foreground: #a89e94;
  --accent: #1d1917;
  --accent-foreground: #f7f3ee;
  --destructive: #f2736e;
  --destructive-foreground: #0d0b09;
  --border: #2b2521;
  --input: #1d1917;
  --hover: rgb(255 255 255 / 0.06);
  --active: rgb(255 255 255 / 0.1);
  --sidebar: #161312;
  --sidebar-foreground: #f7f3ee;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #1d1917;
  --sidebar-accent-foreground: #f7f3ee;
  --sidebar-row: #1d1917;
  --sidebar-row-control: #262120;
  --sidebar-border: #1f1b18;
  --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: #141012;
  --terminal-fg: #efe9f3;
  --terminal-border: rgb(255 255 255 / 0.12);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --background: #0d0b09;
    --pane: #100e0c;
    --surface: #141110;
    --foreground: #f7f3ee;
    --foreground-strong: #f7f3ee;
    --foreground-weak: #9c9289;
    --card: #161312;
    --card-foreground: #f7f3ee;
    --popover: #161312;
    --popover-foreground: #f7f3ee;
    --primary: #f7f3ee;
    --primary-foreground: #0d0b09;
    --secondary: #1d1917;
    --secondary-foreground: #f7f3ee;
    --muted: #1d1917;
    --muted-foreground: #a89e94;
    --accent: #1d1917;
    --accent-foreground: #f7f3ee;
    --destructive: #f2736e;
    --destructive-foreground: #0d0b09;
    --border: #2b2521;
    --input: #1d1917;
    --hover: rgb(255 255 255 / 0.06);
    --active: rgb(255 255 255 / 0.1);
    --sidebar: #161312;
    --sidebar-foreground: #f7f3ee;
    --sidebar-primary-foreground: #ffffff;
    --sidebar-accent: #1d1917;
    --sidebar-accent-foreground: #f7f3ee;
    --sidebar-row: #1d1917;
    --sidebar-row-control: #262120;
    --sidebar-border: #1f1b18;
    --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: #141012;
    --terminal-fg: #efe9f3;
    --terminal-border: rgb(255 255 255 / 0.12);
  }
}

/* Site starter additions (not in the kit). */
:root {
  /* The accent as a glyph or link on the page ground. Light: the accent itself (#710eaa, 8.6:1 on
     the paper). Dark: a light mauve at the same hue, so 13px labels, yes-marks, list markers and
     the status dots read on #0d0b09; --kortix-base stays #710eaa for solid squares and rules. */
  --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 18px 40px -20px rgb(27 23 20 / 0.22);
  --shadow-card: 0 8px 24px -16px rgb(27 23 20 / 0.18);
}

/* Dark: the accent as a glyph reads as a light mauve of the same hue; the solid accent stays
   #710eaa for filled tiles and rules. */
:root[data-theme="dark"] {
  --kortix-base-ink: #c4a0e0;
  --shadow-frame: 0 18px 40px -20px rgb(0 0 0 / 0.6);
  --shadow-card: 0 8px 24px -16px rgb(0 0 0 / 0.5);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --kortix-base-ink: #c4a0e0;
    --shadow-frame: 0 18px 40px -20px rgb(0 0 0 / 0.6);
    --shadow-card: 0 8px 24px -16px rgb(0 0 0 / 0.5);
  }
}
