/* Final contrast safeguards for public marketing pages. */
body:not(.cms-page):not(.page-zenius-landing) {
    --site-polish-muted: #5b554f;
}

/* Shared light callouts previously inherited text colours from their dark design. */
body:not(.home-page):not(.cms-page):not(.page-zenius-landing) .newsletter-preview {
    color: var(--site-polish-heading, #171310);
}

body:not(.home-page):not(.cms-page):not(.page-zenius-landing) .newsletter-preview h2 {
    color: var(--site-polish-heading, #171310);
}

body:not(.home-page):not(.cms-page):not(.page-zenius-landing) .newsletter-preview p:not(.kicker) {
    color: var(--site-polish-muted, #5b554f);
}

/* Keep small labels legible over accessory and editorial imagery. */
body.accessories-page:not(.page-zenius-landing) .accessories-catalog-layout .accessory-card .value-eyebrow,
body.blog-page:not(.page-zenius-landing) .blog-grid .blog-card .meta,
body.blog-detail-page:not(.page-zenius-landing) .blog-grid .blog-card .meta {
    background: #fffdf8;
    color: #8f214f;
}

/* Why Nespresso Professional: restore explicit light/dark pairings after shared card polish. */
.why-pro-lockup-panel {
    color: var(--site-polish-heading, #171310);
}

.why-pro-lockup-panel .why-pro-lockup-text {
    color: #472426;
}

.why-pro-cta h2 {
    color: var(--nespresso-foam-white, #f6f1ea);
}

.why-pro-cta .kicker {
    color: var(--nespresso-light-yellow, #f8e59a);
}

.why-pro-cta p:not(.kicker) {
    color: var(--nespresso-foam-white, #f6f1ea);
}

.why-pro-hero .lead {
    color: var(--nespresso-foam-white, #f6f1ea);
}

/* Dark partnership panel labels need a light foreground, not the light-surface accent. */
body.home-page .partnership-lockup-note span {
    border-color: rgba(246, 241, 234, 0.24);
    background: rgba(246, 241, 234, 0.08);
    color: var(--nespresso-light-yellow, #f8e59a);
}

/* Do not fade the enquiry hero to a light surface underneath its light copy. */
body:not(.page-zenius-landing) .enquiry-hero-section::after {
    background: linear-gradient(180deg, rgba(13, 10, 9, 0), rgba(13, 10, 9, 0.96));
}

body:not(.page-zenius-landing) .enquiry-hero .lead,
body:not(.page-zenius-landing) .enquiry-hero-points span {
    color: var(--nespresso-foam-white, #f6f1ea);
}

body:not(.page-zenius-landing) .enquiry-hero-points span {
    border-color: rgba(246, 241, 234, 0.32);
    background: rgba(13, 10, 9, 0.38);
}

/* Opaque copy and number badges retain AA contrast on the berry-gradient benefit card. */
body.business-club-page:not(.page-zenius-landing) .club-benefit-card:first-child p,
body.business-club-page:not(.page-zenius-landing) .club-benefit-card:nth-child(4) p {
    color: var(--nespresso-foam-white, #f6f1ea);
}

body.business-club-page:not(.page-zenius-landing) .club-benefit-card:first-child::after,
body.business-club-page:not(.page-zenius-landing) .club-benefit-card:nth-child(4)::after {
    background: rgba(13, 10, 9, 0.42);
    color: var(--nespresso-foam-white, #f6f1ea);
}
