/*
 * Ascent Partners / Simon Mak — canonical design tokens.
 * Source of truth: www.simonmak.com (simonmak-website/client/src/index.css).
 * Teal brand: oklch(0.42 0.10 195). Light by default; auto dark via
 * prefers-color-scheme, with an explicit [data-theme="dark"] override.
 */
:root {
  color-scheme: light;
  --radius: 0.375rem;

  --primary: oklch(0.42 0.1 195);
  --primary-foreground: oklch(0.99 0.005 90);
  --primary-light: oklch(0.52 0.1 195);
  --primary-dark: oklch(0.32 0.1 195);

  --background: oklch(1 0 0);
  --foreground: oklch(0.15 0.01 285);
  --card: oklch(1 0 0);
  --card-foreground: oklch(0.15 0.01 285);
  --secondary: oklch(0.97 0.005 195);
  --secondary-foreground: oklch(0.32 0.1 195);
  --muted: oklch(0.97 0.005 195);
  --muted-foreground: oklch(0.45 0.01 285);
  --accent: oklch(0.92 0.02 195);
  --accent-foreground: oklch(0.32 0.1 195);
  --destructive: oklch(0.577 0.245 27.325);
  --border: oklch(0.92 0.005 195);
  --input: oklch(0.92 0.005 195);
  --ring: oklch(0.42 0.1 195);

  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --font-mono: ui-monospace, SFMono-Regular, "SF Mono", Menlo, Consolas, monospace;
  --font-display: "Inter", system-ui, sans-serif;
}

@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    color-scheme: dark;
    --primary: oklch(0.52 0.1 195);
    --primary-foreground: oklch(0.99 0.005 90);
    --background: oklch(0.12 0.01 285);
    --foreground: oklch(0.95 0.005 90);
    --card: oklch(0.15 0.01 285);
    --card-foreground: oklch(0.95 0.005 90);
    --secondary: oklch(0.2 0.01 285);
    --secondary-foreground: oklch(0.85 0.005 90);
    --muted: oklch(0.22 0.01 285);
    --muted-foreground: oklch(0.7 0.005 90);
    --accent: oklch(0.25 0.05 195);
    --accent-foreground: oklch(0.95 0.005 90);
    --destructive: oklch(0.704 0.191 22.216);
    --border: oklch(0.25 0.01 285);
    --input: oklch(0.25 0.01 285);
    --ring: oklch(0.52 0.1 195);
  }
}

[data-theme="dark"] {
  color-scheme: dark;
  --primary: oklch(0.52 0.1 195);
  --primary-foreground: oklch(0.99 0.005 90);
  --background: oklch(0.12 0.01 285);
  --foreground: oklch(0.95 0.005 90);
  --card: oklch(0.15 0.01 285);
  --card-foreground: oklch(0.95 0.005 90);
  --secondary: oklch(0.2 0.01 285);
  --secondary-foreground: oklch(0.85 0.005 90);
  --muted: oklch(0.22 0.01 285);
  --muted-foreground: oklch(0.7 0.005 90);
  --accent: oklch(0.25 0.05 195);
  --accent-foreground: oklch(0.95 0.005 90);
  --border: oklch(0.25 0.01 285);
  --input: oklch(0.25 0.01 285);
  --ring: oklch(0.52 0.1 195);
}
