@import "tailwindcss";

/* Mercury · https://uidesignmd.com/design-md/mercury/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: #FBFCFD;
  --foreground: #28253B;
  --card: #FFFFFF;
  --card-foreground: #28253B;
  --popover: #FFFFFF;
  --popover-foreground: #28253B;
  --primary: #5266EB;
  --primary-foreground: #FFFFFF;
  --secondary: #ECEDEF;
  --secondary-foreground: #28253B;
  --muted: #ECEDEF;
  --muted-foreground: #554E7B;
  --background-muted-foreground: #554E7B;
  --card-muted-foreground: #554E7B;
  --accent: #FFFFFF;
  --accent-foreground: #28253B;
  --destructive: #C52239;
  --destructive-foreground: #FFFFFF;
  --border: #DADADE;
  --input: #95939E;
  --ring: #5266EB;
  --brand-primary: #5266EB;
  --brand-accent: #FFFFFF;
  --chart-1: #5266EB;
  --chart-2: #94929D;
  --chart-3: #8A91C8;
  --chart-4: #94939E;
  --chart-5: #414CA5;
  --sidebar: #FFFFFF;
  --sidebar-foreground: #28253B;
  --sidebar-primary: #5266EB;
  --sidebar-primary-foreground: #FFFFFF;
  --sidebar-accent: #FFFFFF;
  --sidebar-accent-foreground: #28253B;
  --sidebar-border: #DADADE;
  --sidebar-ring: #5266EB;
  --font-body: "arcadiaDisplay", "arcadia", "Inter Variable", system-ui, sans-serif;
  --font-heading: "arcadiaDisplay", "arcadia", "Inter Variable", system-ui, sans-serif;
  --font-code: "JetBrains Mono Variable", ui-monospace, monospace;
  --radius: 32px;
}

.dark, [data-theme="dark"] {
  --background: #1F1F21;
  --foreground: #EDEDF3;
  --card: #2D2D30;
  --card-foreground: #EDEDF3;
  --popover: #2D2D30;
  --popover-foreground: #EDEDF3;
  --secondary: #343436;
  --secondary-foreground: #EDEDF3;
  --muted: #343436;
  --muted-foreground: #ACACB1;
  --background-muted-foreground: #A5A5AA;
  --card-muted-foreground: #AAAAAF;
  --accent: #575759;
  --accent-foreground: #EDEDF3;
  --destructive: #FB7185;
  --destructive-foreground: #000000;
  --border: #4E4E51;
  --input: #76767A;
  --ring: #5569EB;
  --chart-1: #5569EB;
  --chart-2: #FFFFFF;
  --chart-3: #A9B3F5;
  --chart-4: #F8F8FA;
  --chart-5: #909CEE;
  --sidebar: #2D2D30;
  --sidebar-foreground: #EDEDF3;
  --sidebar-accent: #575759;
  --sidebar-accent-foreground: #EDEDF3;
  --sidebar-border: #4E4E51;
  --sidebar-ring: #5569EB;
}

@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);
}
