/*
 * Vexor brand palette for Material for MkDocs.
 * Mirrors the front-door site's dark, near-black + electric-indigo palette
 * (see /home/davidb/vexor-site/index.html — vexornode.xyz) so the two properties
 * read as one brand, styled the way docs.anza.xyz and www.anza.xyz share a look
 * while remaining structurally separate sites.
 *
 * `theme.font: false` in mkdocs.yml stops Material from injecting a Google Fonts
 * <link> at request time; the system-font stack below matches that choice and the
 * front site's own stack (self-contained, no runtime external requests).
 */

:root,
[data-md-color-scheme="default"] {
  --md-primary-fg-color:        #14171F;
  --md-primary-fg-color--light: #262B38;
  --md-primary-fg-color--dark:  #0A0C10;
  --md-primary-bg-color:        #EDEFF3;
  --md-primary-bg-color--light: #EDEFF3;

  --md-accent-fg-color:              #3F6FE0;
  --md-accent-fg-color--transparent: #3F6FE01a;
  --md-accent-bg-color:              #FFFFFF;

  --md-typeset-a-color: #3355C7;
}

[data-md-color-scheme="slate"] {
  --md-primary-fg-color:        #0A0C10;
  --md-primary-fg-color--light: #171B24;
  --md-primary-fg-color--dark:  #05060A;
  --md-primary-bg-color:        #EDEFF3;
  --md-primary-bg-color--light: #EDEFF3;

  --md-accent-fg-color:              #5B8CFF;
  --md-accent-fg-color--transparent: #5B8CFF1a;
  --md-accent-bg-color:              #0A0C10;

  --md-default-bg-color:          #0A0C10;
  --md-default-bg-color--light:   #0D1016;
  --md-default-bg-color--lighter: #12151C;
  --md-default-bg-color--lightest:#171B24;
  --md-default-fg-color:          #EDEFF3;
  --md-default-fg-color--light:   #C7CBD4cc;
  --md-default-fg-color--lighter: #8C93A399;
  --md-default-fg-color--lightest:#5C627433;

  --md-typeset-color:   #EDEFF3;
  --md-typeset-a-color: #5B8CFF;

  --md-code-bg-color: #12151C;
  --md-code-fg-color: #C7CBD4;
  --md-code-hl-color:  #5B8CFF33;

  --md-footer-bg-color:       #0A0C10;
  --md-footer-bg-color--dark: #05060A;
  --md-footer-fg-color:       #EDEFF3;
  --md-footer-fg-color--light:#8C93A3;

  --md-admonition-fg-color: var(--md-default-fg-color);
  --md-admonition-bg-color: var(--md-default-bg-color--lighter);
}

/* System-font stack everywhere (no runtime font fetch), matching the front site. */
body,
input {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial,
               sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
}

.md-typeset code,
.md-typeset kbd,
.md-typeset pre {
  font-family: ui-monospace, "SF Mono", SFMono-Regular, Menlo, Consolas,
               "Liberation Mono", monospace;
}

/* The external "vexornode.xyz ↗" nav tab reads as a return-to-front-site link, not
   another docs section — give it a subtle accent treatment so it's visually distinct
   from the in-docs tabs beside it. */
.md-tabs__link[href^="https://vexornode.xyz"] {
  color: var(--md-accent-fg-color);
  opacity: 1;
}
