/* Only comparison templates with the legacy hero palette load this sheet.
   It covers every signup primary in the page body: hero, intermediate and closing CTAs. */
:is(.hub-page, .wpsc-page, [class$="-compare-page"]) .btn.btn-primary {
	background-color: var(--hs-primary);
	/* The pointer handler adds a white inline gradient. Keep the fill darker. */
	background-blend-mode: darken;
	border-color: var(--hs-primary);
	color: #fff;
}

:is(.hub-page, .wpsc-page, [class$="-compare-page"]) .btn.btn-primary:is(:hover, :focus, :active) {
	background-color: var(--hs-primary-hover);
	border-color: var(--hs-primary-hover);
}

/* Keep the shared button highlight from lightening the label background. */
:is(.hub-page, .wpsc-page, [class$="-compare-page"]) .btn.btn-primary::after {
	opacity: 0;
}
