/* Brand palette — matches eidos-global.com (Salient theme).
 *
 *   Primary:  #366c39   (deep brand green)
 *   Accent:   #2AC4EA   (cyan, used for hovers / interactive states)
 *
 * Material's `custom` keyword in mkdocs.yml tells the theme to look here
 * for the actual hex values rather than substituting a built-in palette.
 */

:root,
[data-md-color-scheme="default"] {
  --md-primary-fg-color:        #366c39;
  --md-primary-fg-color--light: #5a9a5e;
  --md-primary-fg-color--dark:  #1f4521;
  --md-primary-bg-color:        #ffffff;
  --md-primary-bg-color--light: #ffffffb3;

  --md-accent-fg-color:         #2AC4EA;
  --md-accent-fg-color--transparent: #2AC4EA1a;
  --md-accent-bg-color:         #ffffff;
  --md-accent-bg-color--light:  #ffffffb3;

  --md-typeset-a-color:         #1f4521;
}

[data-md-color-scheme="slate"] {
  --md-primary-fg-color:        #5a9a5e;
  --md-primary-fg-color--light: #7fb583;
  --md-primary-fg-color--dark:  #366c39;

  --md-accent-fg-color:         #5fd7f5;
  --md-accent-fg-color--transparent: #5fd7f51a;

  --md-typeset-a-color:         #5a9a5e;
}

/* Code blocks: keep the chrome neutral so the green primary stays
 * the only strong colour on the page. */
:root {
  --md-code-bg-color: #f6f7f6;
}

[data-md-color-scheme="slate"] {
  --md-code-bg-color: #1f231f;
}
