/* math: calm analytic blue + teal */
body.theme-math {
  --site-accent: #67d8c6;
  --site-accent-soft: #3ac2ae;
  --site-accent-ink: #defcf6;
}

body.theme-math .site-header {
  background: linear-gradient(90deg, rgba(8, 17, 35, 0.88), rgba(12, 30, 44, 0.78));
  border-bottom-color: rgba(111, 175, 216, 0.24);
}

body.theme-math .brand-link {
  color: #e8f7ff;
}

body.theme-math .nav-link:hover,
body.theme-math .nav-btn:hover {
  background: rgba(90, 162, 198, 0.16);
  text-decoration: none;
}

body.theme-math .site-switcher-trigger {
  border-color: rgba(120, 181, 218, 0.34);
}

body.theme-math .site-switcher-item.is-current {
  background: rgba(110, 178, 214, 0.22);
}

:root[data-theme='light'] body.theme-math {
  --site-accent: #1a9580;
  --site-accent-soft: #28b59c;
  --site-accent-ink: #083f35;
}

:root[data-theme='light'] body.theme-math .site-header {
  background: linear-gradient(90deg, rgba(246, 251, 255, 0.94), rgba(233, 245, 252, 0.90));
  border-bottom-color: rgba(80, 128, 172, 0.25);
}

:root[data-theme='light'] body.theme-math .brand-link {
  color: #0f3966;
}
