/* onpremaiguide.com — The Layer Map.
   The only file with colour literals. One deep magenta accent on a neutral white ground,
   squared plates, hairlines instead of cards. Every token name the starter's components and
   globals.css expect is kept; the values are this site's own. Light is the default; dark
   follows prefers-color-scheme, or [data-theme="dark"]. */

:root {
  color-scheme: light;
  --background: #ffffff;
  --pane: #ffffff;
  --surface: #f7f4f7;
  --foreground: #191420;
  --foreground-strong: #191420;
  --foreground-weak: #564f5d;
  --card: #f2eef3;
  --card-foreground: #191420;
  --popover: #ffffff;
  --popover-foreground: #191420;
  --primary: #191420;
  --primary-foreground: #ffffff;
  --secondary: #f2eef3;
  --secondary-foreground: #191420;
  --muted: #f2eef3;
  --muted-foreground: #564f5d;
  --accent: #fdf0f8;
  --accent-foreground: #191420;
  --destructive: #f14b4c;
  --destructive-foreground: #ffffff;
  --border: #e3dde6;
  --input: #e3dde6;
  --ring: #bd0f89;
  --hover: rgb(25 20 32 / 0.045);
  --active: rgb(25 20 32 / 0.08);
  --sidebar: #f7f4f7;
  --sidebar-foreground: #191420;
  --sidebar-primary: #bd0f89;
  --sidebar-primary-foreground: #ffffff;
  --sidebar-accent: #f2eef3;
  --sidebar-accent-foreground: #191420;
  --sidebar-row: #f2eef3;
  --sidebar-row-control: #e3dde6;
  --sidebar-border: #e3dde6;
  --sidebar-ring: #bd0f89;
  --kortix-base: #bd0f89;
  --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: #17131a;
  --terminal-fg: #f1ecf2;
  --terminal-border: rgb(255 255 255 / 0.1);
  --font-sans: 'Be Vietnam Pro', 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: 'Be Vietnam Pro', 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;
  --font-display: 'Sentient', Georgia, 'Times New Roman', serif;
  --tracking-tight: -0.015em;
  --leading-tight: 1.14;
  --leading-snug: 1.375;
  --leading-relaxed: 1.65;
  --radius: 2px;
  --radius-sm: 2px;
  --radius-md: 2px;
  --radius-lg: 3px;
  --radius-xl: 4px;
  --radius-2xl: 6px;
  --spacing: 0.25rem;
  --text-xs: 0.8125rem;
  --text-xs-line-height: 1.45;
  --text-sm: 0.9375rem;
  --text-sm-line-height: 1.5;
  --text-base: 1.0625rem;
  --text-base-line-height: 1.65;
  --text-lg: 1.1875rem;
  --text-lg-line-height: 1.55;
  --text-xl: 1.375rem;
  --text-xl-line-height: 1.35;
  --text-2xl: 1.625rem;
  --text-2xl-line-height: 1.24;
  --text-3xl: 2rem;
  --text-3xl-line-height: 1.18;
  --text-4xl: 2.5rem;
  --text-4xl-line-height: 1.1;
  --text-5xl: 3.25rem;
  --text-5xl-line-height: 1.04;
  --text-6xl: 4rem;
  --text-6xl-line-height: 1;
  --text-7xl: 4.75rem;
  --text-7xl-line-height: 1;
  --text-8xl: 6rem;
  --text-8xl-line-height: 1;
  --shadow-xs: 0 1px 2px 0 rgb(25 20 32 / 0.06);
  --shadow-sm: 0 1px 3px 0 rgb(25 20 32 / 0.08);
  --shadow-md: 0 4px 10px -4px rgb(25 20 32 / 0.1);
  --shadow-lg: 0 14px 30px -16px rgb(25 20 32 / 0.16);
  --shadow-xl: 0 24px 44px -24px rgb(25 20 32 / 0.2);
  --duration-fast: 120ms;
  --duration-normal: 180ms;
  --duration-moderate: 240ms;
  --duration-slow: 400ms;
  --duration-slower: 620ms;
  --ease-default: cubic-bezier(0.2, 0, 0, 1);
  --ease-out: cubic-bezier(0, 0, 0.2, 1);
  --ease-in-out: cubic-bezier(0.2, 0, 0, 1);
  --ease-in: cubic-bezier(0.4, 0, 1, 1);
}

:root[data-theme="dark"] {
  color-scheme: dark;
  --background: #0c0a0d;
  --pane: #0e0b10;
  --surface: #151217;
  --foreground: #f6f2f7;
  --foreground-strong: #ffffff;
  --foreground-weak: #aaa2b0;
  --card: #1b171e;
  --card-foreground: #f6f2f7;
  --popover: #151217;
  --popover-foreground: #f6f2f7;
  --primary: #f6f2f7;
  --primary-foreground: #0c0a0d;
  --secondary: #1b171e;
  --secondary-foreground: #f6f2f7;
  --muted: #1b171e;
  --muted-foreground: #aaa2b0;
  --accent: #241020;
  --accent-foreground: #f6f2f7;
  --destructive: #ff6467;
  --destructive-foreground: #0c0a0d;
  --border: #2a2530;
  --input: #2a2530;
  --ring: #bd0f89;
  --hover: rgb(246 242 247 / 0.06);
  --active: rgb(246 242 247 / 0.1);
  --sidebar: #151217;
  --sidebar-foreground: #f6f2f7;
  --sidebar-primary: #bd0f89;
  --sidebar-primary-foreground: #0c0a0d;
  --sidebar-accent: #1b171e;
  --sidebar-accent-foreground: #f6f2f7;
  --sidebar-row: #1b171e;
  --sidebar-row-control: #2a2530;
  --sidebar-border: #2a2530;
  --sidebar-ring: #bd0f89;
  --terminal-surface: #151217;
  --terminal-fg: #f1ecf2;
  --terminal-border: rgb(255 255 255 / 0.12);
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --background: #0c0a0d;
    --pane: #0e0b10;
    --surface: #151217;
    --foreground: #f6f2f7;
    --foreground-strong: #ffffff;
    --foreground-weak: #aaa2b0;
    --card: #1b171e;
    --card-foreground: #f6f2f7;
    --popover: #151217;
    --popover-foreground: #f6f2f7;
    --primary: #f6f2f7;
    --primary-foreground: #0c0a0d;
    --secondary: #1b171e;
    --secondary-foreground: #f6f2f7;
    --muted: #1b171e;
    --muted-foreground: #aaa2b0;
    --accent: #241020;
    --accent-foreground: #f6f2f7;
    --destructive: #ff6467;
    --destructive-foreground: #0c0a0d;
    --border: #2a2530;
    --input: #2a2530;
    --ring: #bd0f89;
    --hover: rgb(246 242 247 / 0.06);
    --active: rgb(246 242 247 / 0.1);
    --sidebar: #151217;
    --sidebar-foreground: #f6f2f7;
    --sidebar-primary: #bd0f89;
    --sidebar-primary-foreground: #0c0a0d;
    --sidebar-accent: #1b171e;
    --sidebar-accent-foreground: #f6f2f7;
    --sidebar-row: #1b171e;
    --sidebar-row-control: #2a2530;
    --sidebar-border: #2a2530;
    --sidebar-ring: #bd0f89;
    --terminal-surface: #151217;
    --terminal-fg: #f1ecf2;
    --terminal-border: rgb(255 255 255 / 0.12);
  }
}

/* Site additions. */
:root {
  /* the accent as ink on the page ground: light uses the accent itself,
     dark mixes it toward the ink so a deep accent stays legible */
  --kortix-base-ink: var(--kortix-base);
  /* the wash behind the recommended column/row */
  --wash: #fbe8f3;
  --transparent: transparent;
  --mask-solid: #000;
  --shadow-frame: 0 28px 60px -34px rgb(25 20 32 / 0.34);
  --shadow-card: 0 10px 24px -18px rgb(25 20 32 / 0.28);
}
:root[data-theme="dark"] {
  --kortix-base-ink: color-mix(in oklab, var(--kortix-base) 42%, #ffffff);
  --wash: #241020;
  --shadow-frame: 0 28px 60px -30px rgb(0 0 0 / 0.8);
  --shadow-card: 0 10px 24px -16px rgb(0 0 0 / 0.7);
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --kortix-base-ink: color-mix(in oklab, var(--kortix-base) 42%, #ffffff);
    --wash: #241020;
    --shadow-frame: 0 28px 60px -30px rgb(0 0 0 / 0.8);
    --shadow-card: 0 10px 24px -16px rgb(0 0 0 / 0.7);
  }
}
