/* Shared link palette, including visited links. Never use browser blue/purple. */
:root { --listio-link-color: #46751b; }
:where(.dark, .cta, .note, .service-cta, .process-step, .guarantee-section,
  .urval-summary, .listio-builder-preview, .commercial-footer, .listio-footer,
  .footer, .site-footer, footer) { --listio-link-color: #ffffff; }
/* Light surfaces nested inside dark sections need their own contrast. */
:where(.b2b-form, .inline-form-shell, .listio-inline-form, .offer-card,
  .b2b-card, .b2b-service, .listio-builder, .listio-specific-link,
  .urval-section, .card, .resource-card, .callout, .toc) {
  --listio-link-color: #46751b;
}
html body a:any-link {
  color: var(--listio-link-color, #46751b) !important;
  text-decoration-color: currentColor;
}
html body a:any-link:hover { text-decoration-color: currentColor; }
/* Dark button-shaped links keep white text. */
html body a:is(.nav-cta, .listio-offer, .button, .btn-dark,
  .b2b-button.primary, .urval-button.dark),
html body .article-service-cta a { --listio-link-color: #ffffff; }
/* White and lime buttons use a dark Listio green for legibility. */
html body a:is(.button.secondary, .btn-primary, .btn-lime,
  .urval-button.primary),
html body .service-cta a.button,
html body .cta a { --listio-link-color: #315918; }
