/* Shared copy palette. Practice keeps its existing text colors. */
html[data-site-theme] main > .page:not(#page-practice) :is(h1, h2, h3, h4, h5, h6):not([class*="accent"]):not([class*="eyebrow"]):not([class*="kicker"]) {
  color: #ece8e1 !important;
}

html[data-site-theme] .privacy-page :is(h1, h2, h3, h4, h5, h6),
html[data-site-theme] .terms-page :is(h1, h2, h3, h4, h5, h6),
html[data-site-theme] .refund-page :is(h1, h2, h3, h4, h5, h6) {
  color: #ece8e1 !important;
}

html[data-site-theme] main > .page:not(#page-practice) :is(p, li, blockquote, figcaption):not([class*="accent"]):not([class*="eyebrow"]):not([class*="kicker"]) {
  color: #c9c3c8 !important;
}

html[data-site-theme] main > .page:not(#page-practice) :is(p, li, blockquote, figcaption)[class*="note"],
html[data-site-theme] main > .page:not(#page-practice) :is(p, li, blockquote, figcaption)[class*="hint"],
html[data-site-theme] main > .page:not(#page-practice) :is(p, li, blockquote, figcaption)[class*="caption"],
html[data-site-theme] main > .page:not(#page-practice) :is(.fine-print, .footer-version, .hero-footnote),
html[data-site-theme] .privacy-page :is(.privacy-footer),
html[data-site-theme] .terms-page :is(.terms-footer),
html[data-site-theme] .refund-page :is(.refund-footer) {
  color: #8b93a1 !important;
}

html[data-site-theme] .privacy-page :is(p, li, blockquote, figcaption),
html[data-site-theme] .terms-page :is(p, li, blockquote, figcaption),
html[data-site-theme] .refund-page :is(p, li, blockquote, figcaption) {
  color: #c9c3c8 !important;
}

html[data-site-theme] :is(.privacy-updated, .terms-updated, .refund-updated, .privacy-footer, .terms-footer, .refund-footer) {
  color: #8b93a1 !important;
}

/* Keep primary actions dark across themes, with the active theme as an underline. */
html[data-site-theme] .button-primary:not(:disabled) {
  border-color: var(--header-hud-edge) !important;
  background: var(--header-hud-surface) !important;
  color: var(--header-hud-accent) !important;
  box-shadow: inset 0 -2px var(--header-hud-accent), 0 0 12px var(--header-hud-glow) !important;
}

html[data-site-theme] #page-home :is(.hero-actions .button-primary, .home-crosshair-cta, .home-flash-cta, .home-donation-cta):not(:disabled) {
  border-color: var(--header-hud-edge) !important;
  background: var(--header-hud-surface) !important;
  color: var(--header-hud-accent) !important;
  box-shadow: inset 0 -2px var(--header-hud-accent), 0 0 12px var(--header-hud-glow) !important;
}

html[data-site-theme] #page-practice .button-primary:not(:disabled) {
  border-color: var(--header-hud-edge) !important;
  background: var(--header-hud-surface) !important;
  color: var(--header-hud-accent) !important;
  box-shadow: inset 0 -2px var(--header-hud-accent), 0 0 12px var(--header-hud-glow) !important;
}

html[data-site-theme] .button-primary:not(:disabled):hover {
  border-color: var(--header-hud-accent) !important;
  background: var(--header-hud-surface-hover) !important;
  color: var(--header-hud-accent) !important;
}

html[data-site-theme] #page-home :is(.hero-actions .button-primary, .home-crosshair-cta, .home-flash-cta, .home-donation-cta):not(:disabled):hover {
  border-color: var(--header-hud-accent) !important;
  background: var(--header-hud-surface-hover) !important;
  color: var(--header-hud-accent) !important;
}

html[data-site-theme] #page-practice .button-primary:not(:disabled):hover {
  border-color: var(--header-hud-accent) !important;
  background: var(--header-hud-surface-hover) !important;
  color: var(--header-hud-accent) !important;
}
