@import "tailwindcss";

/* Notion · https://uidesignmd.com/design-md/notion/DESIGN.md
 * Reference canvas: light. Alternate surfaces and contrast adjustments are derived.
 * Reference license: https://uidesignmd.com/design-md-license.txt
 * Load licensed brand fonts separately. */
:root {
  --background: #FFFFFF;
  --foreground: #1A1A1A;
  --card: #F6F5F4;
  --card-foreground: #1A1A1A;
  --popover: #F6F5F4;
  --popover-foreground: #1A1A1A;
  --primary: #5645D4;
  --primary-foreground: #FFFFFF;
  --secondary: #FAFAF9;
  --secondary-foreground: #1A1A1A;
  --muted: #FAFAF9;
  --muted-foreground: #74726F;
  --background-muted-foreground: #777672;
  --card-muted-foreground: #716F6C;
  --accent: #DADADC;
  --accent-foreground: #1A1A1A;
  --destructive: #E03131;
  --destructive-foreground: #000000;
  --border: #E5E3DF;
  --input: #908E8A;
  --ring: #5645D4;
  --brand-primary: #5645D4;
  --brand-accent: #0A1530;
  --chart-1: #5645D4;
  --chart-2: #0A1530;
  --chart-3: #1AA437;
  --chart-4: #DD5B00;
  --chart-5: #E03131;
  --sidebar: #F6F5F4;
  --sidebar-foreground: #1A1A1A;
  --sidebar-primary: #5645D4;
  --sidebar-primary-foreground: #FFFFFF;
  --sidebar-accent: #DADADC;
  --sidebar-accent-foreground: #1A1A1A;
  --sidebar-border: #E5E3DF;
  --sidebar-ring: #5645D4;
  --font-body: "Notion Sans", "Inter Variable", system-ui, sans-serif;
  --font-heading: "Notion Sans", "Inter Variable", system-ui, sans-serif;
  --font-code: "JetBrains Mono Variable", ui-monospace, monospace;
  --radius: 8px;
}

.dark, [data-theme="dark"] {
  --background: #1F1F21;
  --foreground: #FFFFFF;
  --card: #2F2F31;
  --card-foreground: #FFFFFF;
  --popover: #2F2F31;
  --popover-foreground: #FFFFFF;
  --secondary: #353537;
  --secondary-foreground: #FFFFFF;
  --muted: #353537;
  --muted-foreground: #A4A097;
  --background-muted-foreground: #A4A097;
  --card-muted-foreground: #A4A097;
  --accent: #282A31;
  --accent-foreground: #FFFFFF;
  --border: #525254;
  --input: #78787A;
  --ring: #7668DC;
  --chart-1: #7668DC;
  --chart-2: #737A89;
  --chart-3: #1AAE39;
  --chart-5: #E13535;
  --sidebar: #2F2F31;
  --sidebar-foreground: #FFFFFF;
  --sidebar-accent: #282A31;
  --sidebar-accent-foreground: #FFFFFF;
  --sidebar-border: #525254;
  --sidebar-ring: #7668DC;
}

@theme inline {
  --color-background: var(--background);
  --color-foreground: var(--foreground);
  --color-card: var(--card);
  --color-card-foreground: var(--card-foreground);
  --color-popover: var(--popover);
  --color-popover-foreground: var(--popover-foreground);
  --color-primary: var(--primary);
  --color-primary-foreground: var(--primary-foreground);
  --color-secondary: var(--secondary);
  --color-secondary-foreground: var(--secondary-foreground);
  --color-muted: var(--muted);
  --color-muted-foreground: var(--muted-foreground);
  --color-background-muted-foreground: var(--background-muted-foreground);
  --color-card-muted-foreground: var(--card-muted-foreground);
  --color-accent: var(--accent);
  --color-accent-foreground: var(--accent-foreground);
  --color-destructive: var(--destructive);
  --color-destructive-foreground: var(--destructive-foreground);
  --color-border: var(--border);
  --color-input: var(--input);
  --color-ring: var(--ring);
  --color-brand-primary: var(--brand-primary);
  --color-brand-accent: var(--brand-accent);
  --color-chart-1: var(--chart-1);
  --color-chart-2: var(--chart-2);
  --color-chart-3: var(--chart-3);
  --color-chart-4: var(--chart-4);
  --color-chart-5: var(--chart-5);
  --color-sidebar: var(--sidebar);
  --color-sidebar-foreground: var(--sidebar-foreground);
  --color-sidebar-primary: var(--sidebar-primary);
  --color-sidebar-primary-foreground: var(--sidebar-primary-foreground);
  --color-sidebar-accent: var(--sidebar-accent);
  --color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
  --color-sidebar-border: var(--sidebar-border);
  --color-sidebar-ring: var(--sidebar-ring);
  --font-sans: var(--font-body);
  --font-display: var(--font-heading);
  --font-mono: var(--font-code);
  --radius-sm: calc(var(--radius) * .6);
  --radius-md: calc(var(--radius) * .8);
  --radius-lg: var(--radius);
  --radius-xl: calc(var(--radius) * 1.4);
}
