/* ============================================================
   Skip to main content
   ============================================================ */

/* ============================================================
   Accessibility mode
   ============================================================ */

[data-a11y="active"] {
  --blue-500: #006EF5;
}

/* Remove alpha from text colors */
[data-a11y="active"] .testimonial-div .attribution,
[data-a11y="active"] .feature-description,
[data-a11y="active"] #state-attribution .supporting-text2,
[data-a11y="active"] #state-attribution .text2,
[data-a11y="active"] #state-intelligence .supporting-text2,
[data-a11y="active"] #state-stagnation .supporting-text2,
[data-a11y="active"] #state-stagnation .text2,
[data-a11y="active"] #state-activation .supporting-text2,
[data-a11y="active"] #state-activation .second-automated-recovery,
[data-a11y="active"] #state-realization .supporting-text2,
[data-a11y="active"] #state-realization .text6,
[data-a11y="active"] #state-realization .text7,
[data-a11y="active"] #stagnation-column-info .text,
[data-a11y="active"] #menu-footer-nav .menu-item-has-children,
[data-a11y="active"] .footer-copyright,
[data-a11y="active"] .footer-legal-links a,
[data-a11y="active"] .binarym-cycling-cards .cycling-card__copy p,
[data-a11y="active"] .operations-card .info-card-text,
[data-a11y="active"] .detail-label,
[data-a11y="active"] .stats-operator,
[data-a11y="active"] .formula-result-label,
[data-a11y="active"] .social-nav .nav-link,
[data-a11y="active"] #menu-footer-nav .menu-item-has-children a,
[data-a11y="active"] .footer-bottom-copyright {
  color: #ffffff;
}

[data-a11y="active"] .row.g-4 .footer-stat-sublabel {
  color: #f5f5f9;
}

[data-a11y="active"] .metric-label,
[data-a11y="active"] .small-metric-label,
[data-a11y="active"] .card-description {
  color: #00183b;
}

[data-a11y="active"] .mega-menu__heading,
[data-a11y="active"] #navbarNav li.nav-item:nth-child(2) .dropdown-menu.show .dropdown-item:nth-child(1),
[data-a11y="active"] #navbarNav li.nav-item:nth-child(2) .dropdown-menu.show .dropdown-item:nth-child(6),
[data-a11y="active"] .navbar-nav li.nav-item:nth-child(4) .dropdown-menu.show .dropdown-item:nth-child(4) {
  color: #0f143b;
}

[data-a11y="active"] .gradient-border-text p,
[data-a11y="active"] .gallery-with-icons_copy p {
  color: #00183b;
}

[data-a11y="active"] #site-footer ul#menu-footer-nav > li > a:first-child,
[data-a11y="active"] .footer-contact-info > div p:first-child {
  color: #ffffff !important;
}

/* Gray text → #222 */
[data-a11y="active"] html > body header .mega-menu__col.product-roadmap li.mega-menu__item strong,
[data-a11y="active"] html > body header .mega-menu__col.product-roadmap li.mega-menu__item span,
[data-a11y="active"] html > body header .mega-menu__heading,
[data-a11y="active"] html > body header .mmi-desc,
[data-a11y="active"] html > body.blog main#site-main > .full-container.blog-post .blog-post-content .blog-subhead h2,
[data-a11y="active"] html > body.blog main#site-main > .full-container.blog-post .blog-post-content .post-meta .post-meta-box,
[data-a11y="active"] html > body.blog main#site-main > .full-container.blog-post .blog-post-content .filter-btn,
[data-a11y="active"] html > body.single.single-post .beachhead-content li,
[data-a11y="active"] html > body main .hero h3.hero-subhead,
[data-a11y="active"] h4 span.sub-sub,
[data-a11y="active"] html > body main .solutions-role-left p,
[data-a11y="active"] html > body main .strategic-alignment p.sa-subheading,
[data-a11y="active"] #leftright-not-a-science-project + div.strategic-alignment .sa-st-heading,
[data-a11y="active"] #accessibility-page-content p,
[data-a11y="active"] #accessibility-page-content .left-right-block-column + .left-right-block-column .left-right-content p,
[data-a11y="active"] #relo-explainer-cycling-cards dl.relo-definitions dd,
[data-a11y="active"] html > body main .integrations-feature__body p,
[data-a11y="active"] .hs-form .hs-form-booleancheckbox-display {
  color: #222;
}

/* Gray text → #222 (style.css) */
[data-a11y="active"] .text-grey,
[data-a11y="active"] .wp-caption p.wp-caption-text,
[data-a11y="active"] .gradient-border-text p b,
[data-a11y="active"] .operational-reality-cards .header-left,
[data-a11y="active"] .operational-reality-cards .stat-label,
[data-a11y="active"] .bento-widgets .number-2,
[data-a11y="active"] .bento-widgets .text-6,
[data-a11y="active"] .left_right_accordion .accordion-button::after,
[data-a11y="active"] .color-scheme-dark .gallery-with-icons_copy p,
[data-a11y="active"] span.sa-bullet-text,
[data-a11y="active"] .robust-hero p,
[data-a11y="active"] .section-label td,
[data-a11y="active"] .pricing-footnote,
[data-a11y="active"] #plus-sign .gallery-box-icon::after,
[data-a11y="active"] .not-found-hero__subtitle,
[data-a11y="active"] .not-found-hero__path,
[data-a11y="active"] #revenue-activation-formula .stats-label {
  color: #222;
}

/* ============================================================
   Visually hidden nav labels (screen-reader text only)
   ============================================================ */

.mega-menu__col.help-center-col-2 a.mega-menu__heading-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.skip-to-main:focus {
  position: fixed;
  top: 0.75rem;
  left: 0.75rem;
  z-index: 99999;
  padding: 0.5rem 1rem;
  background: #0f143b;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 4px;
  text-decoration: none;
  outline: 3px solid #147cff;
  outline-offset: 2px;
}
