:root {
  --ifm-color-primary: #6d28d9;
  --ifm-color-primary-dark: #5b21b6;
  --ifm-color-primary-darker: #4c1d95;
  --ifm-color-primary-darkest: #3b0764;
  --ifm-color-primary-light: #7c3aed;
  --ifm-color-primary-lighter: #8b5cf6;
  --ifm-color-primary-lightest: #a78bfa;
  --ifm-code-font-size: 95%;
  --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.1);
}

[data-theme="dark"] {
  --ifm-color-primary: #a78bfa;
  --ifm-color-primary-dark: #8b5cf6;
  --ifm-color-primary-darker: #7c3aed;
  --ifm-color-primary-darkest: #6d28d9;
  --ifm-color-primary-light: #c4b5fd;
  --ifm-color-primary-lighter: #ddd6fe;
  --ifm-color-primary-lightest: #ede9fe;
  --docusaurus-highlighted-code-line-bg: rgba(0, 0, 0, 0.3);
}

/* Clean typography */
article h1 {
  font-size: 2rem;
}

/* Mermaid diagram sizing */
.mermaid {
  text-align: center;
}
