/* Opt-in for the legacy primary buttons on these public pages. */
:is(.seo-hero .seo-actions, .api-doc-actions) > .btn.btn-primary {
	background-color: var(--hs-primary);
	/* The pointer handler adds an inline white gradient. */
	background-blend-mode: darken;
	border-color: var(--hs-primary);
	color: #fff;
}

:is(.seo-hero .seo-actions, .api-doc-actions) > .btn.btn-primary:is(:hover, :focus, :active) {
	background-color: var(--hs-primary-hover);
	border-color: var(--hs-primary-hover);
}

/* Keep the separate shared sheen from lightening the text background. */
:is(.seo-hero .seo-actions, .api-doc-actions) > .btn.btn-primary::after {
	opacity: 0;
}
