/* The theme button keeps a fixed hit area while its sun/moon and sparkles move. */
.site-header .nav-actions .theme-toggle{position:relative;overflow:visible;isolation:isolate}
.theme-toggle-icon{display:inline-flex;align-items:center;justify-content:center;pointer-events:none}
.theme-toggle-halo{position:absolute;left:50%;top:50%;width:26px;height:26px;margin:-13px;border:1px solid currentColor;border-radius:50%;opacity:0;pointer-events:none}
.theme-toggle-spark{position:absolute;left:calc(50% - 4px);top:calc(50% - 5px);font:10px/1 sans-serif;opacity:0;pointer-events:none}
.theme-toggle[data-mode=light] :is(.theme-toggle-halo,.theme-toggle-spark){color:#b66c27}
.theme-toggle[data-mode=dark] :is(.theme-toggle-halo,.theme-toggle-spark){color:#a6c9f8}
@media(prefers-reduced-motion:no-preference){
 html.nx-theme-transition :is(body,.site-header,.editorial-hero h1,.editorial-hero-copy>p,.editorial-hero .eyebrow){transition:background-color 500ms ease,color 500ms ease,border-color 500ms ease}
}
/* Shared theme semantics: dark sections keep light ink in either page theme. */
:root{--on-dark:#f7f3eb;--accent:#9c542f;--primary:#9c542f;--green:#9c542f}
:is(button,input,select,textarea){font-family:var(--font)}
html[data-theme=dark] input::placeholder,
html[data-theme=dark] textarea::placeholder{color:var(--muted);opacity:1}
html[data-theme=dark] .pill,
html[data-theme=dark] .module-option,
html[data-theme=dark] .directory-tags>span{background:var(--soft);color:var(--ink);border-color:var(--line);font-family:var(--font)}
html[data-theme=dark] .price-card,
html[data-theme=dark] .plan-card,
html[data-theme=dark] .plan-card.recommended,
html[data-theme=dark] .price-filters,
html[data-theme=dark] .pricing-cta,
html[data-theme=dark] .contact-editorial-form,
html[data-theme=dark] .about-final{background:var(--surface);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] .breadcrumbs,
html[data-theme=dark] .eyebrow,
html[data-theme=dark] .saved-filter,
html[data-theme=dark] .heading-facts,
html[data-theme=dark] .review-date,
html[data-theme=dark] .range-labels,
html[data-theme=dark] .price-results-meta,
html[data-theme=dark] .price-terms,
html[data-theme=dark] .plan-unit,
html[data-theme=dark] .plan-note,
html[data-theme=dark] .estimate-caption,
html[data-theme=dark] .estimate-source,
html[data-theme=dark] .matching-link,
html[data-theme=dark] .methodology,
html[data-theme=dark] .price-card-description,
html[data-theme=dark] .price-facts,
html[data-theme=dark] .cost-guide-grid p,
html[data-theme=dark] .licensing-grid p,
html[data-theme=dark] .licensing-grid small,
html[data-theme=dark] .faq-section details p,
html[data-theme=dark] .price-summary p,
html[data-theme=dark] .vendor-cost-grid p,
html[data-theme=dark] .proposal-panel p,
html[data-theme=dark] .proposal-steps,
html[data-theme=dark] .fine-print,
html[data-theme=dark] .research-rate,
html[data-theme=dark] .research-facts dt,
html[data-theme=dark] .price-basis,
html[data-theme=dark] .catalog-price small{color:var(--muted)}
html[data-theme=dark] .form-field label,
html[data-theme=dark] .estimate-users label,
html[data-theme=dark] .estimate-modules legend,
html[data-theme=dark] .estimate-modules label,
html[data-theme=dark] .faq-section summary,
html[data-theme=dark] .research-search label{color:var(--ink)}
html[data-theme=dark] .budget-estimator>p,
html[data-theme=dark] .price-summary>span,
html[data-theme=dark] .vendor-pricing-heading h1>span,
html[data-theme=dark] .licensing-grid small,
html[data-theme=dark] .panel>small,
html[data-theme=dark] #research-count,
html[data-theme=dark] #reset-filters{color:var(--muted)}
html[data-theme=dark] .research-actions>a:not(.button),
html[data-theme=dark] .research-card-link,
html[data-theme=dark] .research-card>a>span,
html[data-theme=dark] .research-aside a:not(.button),
html[data-theme=dark] .research-checks a:not(.button),
html[data-theme=dark] .source-link,
html[data-theme=dark] .section-tabs a{color:var(--accent)}
html[data-theme=dark] .research-rate a{color:inherit}
html[data-theme=dark] .pricing-tier-tabs button,
html[data-theme=dark] .directory-filter-row button,
html[data-theme=dark] .directory-view button{color:var(--ink);border-color:var(--line)}
html[data-theme=dark] .directory-search,
html[data-theme=dark] .directory-glyph,
html[data-theme=dark] .directory-view button[aria-pressed=true],
html[data-theme=dark] .builder-subnav a.is-active,
html[data-theme=dark] .save-button.saved,
html[data-theme=dark] .save-button:hover{background:var(--soft);color:var(--accent);border-color:var(--line)}
html[data-theme=dark] .directory-meta>p,
html[data-theme=dark] .directory-row p{color:var(--muted)}
html[data-theme=dark] .directory-filter-row button[aria-pressed=true],
html[data-theme=dark] .directory-search button,
html[data-theme=dark] .pricing-tier-tabs button.active{background:#a65c36;border-color:#a65c36;color:#fff}
html[data-theme=dark] .directory-filter-row button[aria-pressed=true]:hover,
html[data-theme=dark] .directory-search button:hover,
html[data-theme=dark] .button.dark:hover,
html[data-theme=dark] .builder-primary:hover{background:#814222;border-color:#814222;color:#fff}
html[data-theme=dark] .builder-option:hover,
html[data-theme=dark] .module-option:has(input:checked){background:var(--soft);color:var(--ink)}
html[data-theme=dark] .contact-required-note,
html[data-theme=dark] .contact-editorial-form .form-field>small,
html[data-theme=dark] .contact-editorial-form .contact-consent,
html[data-theme=dark] .contact-privacy-link,
html[data-theme=dark] .contact-editorial-form .contact-delivery-note{color:var(--muted)}


html[data-theme=dark] .estimator-output,



html[data-theme=dark] .proposal-panel,



html[data-theme=dark] .cost-guide-grid article,



html[data-theme=dark] .pricing-callout{background:var(--surface);color:var(--ink);border-color:var(--line)}
html[data-theme=dark] .pricing-heading h1 span,
html[data-theme=dark] .pricing-heading .eyebrow span,
html[data-theme=dark] .panel-heading p,
html[data-theme=dark] .methodology summary,
html[data-theme=dark] .methodology p,
html[data-theme=dark] .price-results-meta>span,
html[data-theme=dark] .price-value,
html[data-theme=dark] .price-value small,
html[data-theme=dark] .price-facts dt,
html[data-theme=dark] .price-facts dd,
html[data-theme=dark] .pricing-section>div>p,
html[data-theme=dark] .price-summary>span,
html[data-theme=dark] .plan-type,
html[data-theme=dark] .plan-price,
html[data-theme=dark] .plan-price span,
html[data-theme=dark] .price-filters>.text-button{color:var(--muted)}
html[data-theme=dark] .plan-card li{color:var(--ink)}
html[data-theme=dark] .research-card h2 a>span{color:var(--accent)}
html[data-theme=dark] .estimate-label,
html[data-theme=dark] .estimate-label>span,
html[data-theme=dark] .budget-breakdown small,
html[data-theme=dark] .proposal-panel p{color:var(--muted)}
html[data-theme=dark] .estimate-total,
html[data-theme=dark] .estimate-total span,
html[data-theme=dark] .budget-breakdown span,
html[data-theme=dark] .budget-breakdown strong,
html[data-theme=dark] .year-one,
html[data-theme=dark] .year-one strong,
html[data-theme=dark] .year-one span,
html[data-theme=dark] .price-summary strong>span{color:var(--ink)}
html[data-theme=dark] .price-summary strong small,
html[data-theme=dark] .plan-price small,
html[data-theme=dark] .pricing-callout p{color:var(--muted)}

/* The same components also keep readable ink in the light theme. */
.investment-page .editorial-footer{background:var(--paper);color:var(--ink)}
.builder-final-cta h3{color:var(--on-dark)}
.locale-chevron,.price-basis,.contact-required-note,.contact-editorial-form .form-field>small,.contact-privacy-link,.contact-editorial-form .contact-delivery-note{color:var(--muted)}
.contact-editorial-form{background:var(--surface)}
html:not([data-theme=dark]) .builder-step-number,
html:not([data-theme=dark]) .builder-soft,
html:not([data-theme=dark]) .builder-subnav a.is-active{color:var(--accent-hover)}

.investment-page .editorial-footer a{color:inherit}
html[data-theme=dark] #compare-tray .text-button,
html[data-theme=dark] .site-header .services-eyebrow{color:var(--muted)}
html[data-theme=dark] .site-header .services-mega button.services-pillar-tab.selected,
html[data-theme=dark] .site-header .services-mega button.services-pillar-tab:hover{background:var(--soft);color:var(--ink);border-color:var(--accent)}
html[data-theme=dark] dialog .article p,
html[data-theme=dark] dialog .article li{color:var(--muted)}
html[data-theme=dark] dialog .close-button{color:var(--ink)}
html[data-theme=dark] .locale-dropdown strong,
html[data-theme=dark] .locale-dropdown label{color:var(--ink)}
html[data-theme=dark] .locale-dropdown p,
html[data-theme=dark] .detail-note{color:var(--muted)}
html[data-theme=dark] .locale-close,
html[data-theme=dark] .compare-table th,
html[data-theme=dark] .compare-table td:first-child{background:var(--soft);color:var(--ink);border-color:var(--line)}
.locale-dropdown p,.locale-close{color:var(--muted)}
#compare-tray .text-button{color:var(--on-dark)}
.locale-disclosure,.locale-disclosure span{color:var(--muted)}

/* Dropdown navigation shares one type scale in every theme and interaction state. */
#navigation .services-mega a{font-family:var(--font);font-style:normal;letter-spacing:0}
#navigation .services-mega .services-mega-heading h3,
#navigation .services-mega .directory-menu-rail h3{font:600 20px/1.35 var(--font);letter-spacing:0;color:var(--ink)}
#navigation .services-mega .services-column-heading h4{font:600 16px/1.4 var(--font);letter-spacing:0;color:var(--ink)}
#navigation .services-mega .services-column-heading>.editorial-icon{width:25px;height:28px;flex-shrink:0}
#navigation .services-mega .services-column-links>a,
#navigation .services-mega .service-family-links>a,
#navigation .services-mega .service-product-links>a,
#navigation .services-mega .solution-menu-row>a,
#navigation .services-mega .services-mobile-accordion a{font:400 14px/1.6 var(--font);letter-spacing:0;color:var(--ink);background:transparent;border-color:var(--line);border-radius:4px}
#navigation .services-mega .services-column-links>a>span,
#navigation .services-mega .solution-menu-row>a>span{color:inherit}
#navigation .services-mega a:hover,
#navigation .services-mega a:focus-visible,
#navigation .services-mega a[aria-current=page]{background:var(--soft);color:var(--accent)}
#navigation .services-mega a[aria-current=page]{box-shadow:inset 2px 0 var(--accent)}
#navigation .services-mega a:focus-visible{outline:2px solid var(--accent);outline-offset:-2px}
