/* Explicit contexts, never browser color guessing. Light is the locked default. */
main[data-theme-palette][data-theme-surface="deep"] {
  --theme-ink: #ffffff;
  --theme-muted: #d9ebe2;
  --theme-interactive-primary: var(--theme-mist);
  --theme-primary-text: var(--theme-foundation);
  --theme-hero-field: var(--theme-surface-dark);
  --theme-focus: #ffffff;
  --gray-900: #ffffff;
  background: var(--theme-surface-dark);
}
main[data-theme-palette][data-theme-surface="mid"] {
  --theme-ink: #101812;
  --theme-muted: #101812;
  --theme-interactive-primary: var(--theme-foundation);
  --theme-hero-field: var(--theme-surface-mid);
  --theme-focus: #101812;
  background: var(--theme-surface-mid);
}
main[data-theme-palette]:is([data-theme-surface="deep"], [data-theme-surface="mid"]) > section { background: var(--theme-hero-field); }
main[data-theme-palette]:is([data-theme-surface="deep"], [data-theme-surface="mid"]) :focus-visible { outline-color: var(--theme-focus); }
main[data-theme-palette]:is([data-theme-surface="deep"], [data-theme-surface="mid"]) .button-primary { color: var(--theme-primary-text); }
main[data-theme-palette]:not([data-theme-domain-owned]) .contact-form {
  --theme-ink: #151a18;
  --theme-muted: #646f6b;
  --black: #151a18;
  --gray-900: #263e36;
  --gray-700: #646f6b;
  --gray-600: #646f6b;
  --green: var(--theme-light-primary);
  --theme-primary-text: #ffffff;
  --theme-focus: var(--theme-light-primary);
}
