/* Shared corporate theme. Product imagery and the image viewer keep their own canvas. */
:root { color-scheme: light; }
html[data-theme="dark"] { color-scheme: dark; }
body:is(.site-home-corrientes,.site-page-interior) .corrientes-theme { position:relative; display:grid; place-items:center; flex-shrink:0; width:44px; height:44px; padding:0; border:1px solid rgb(255 255 255 / .55); border-radius:50%; background:transparent; color:#fff; cursor:pointer; touch-action:manipulation; }
.corrientes-theme svg { width:21px; height:21px; grid-area:1 / 1; }
.corrientes-theme .edu-theme-sun { display:none; }
html[data-theme="dark"] .corrientes-theme .edu-theme-sun { display:block; }
html[data-theme="dark"] .corrientes-theme .edu-theme-moon { display:none; }
.corrientes-theme:focus-visible { outline:2px solid #fff; outline-offset:4px; }
@media(hover:hover) { .corrientes-theme:hover { background:rgb(255 255 255 / .15); } }

html[data-theme="dark"] body.site-page-interior {
  --bg:#0b101a; --ink:#edf2fa; --ink-2:#b6c3d9; --muted:#b6c3d9;
  --line:#2b3950; --bg-light:#0b101a; --bg-gray:#121c2b; --bg-soft:#182640;
  --text-main:#edf2fa; --text-muted:#b6c3d9; --dark-surface:#121c2b;
  background:var(--bg); color:var(--ink);
}
html[data-theme="dark"] body.site-page-interior :is(.page-interior-main,.products.product-lp-value,.product-lp-showcase.showcase,.product-lp-stats-band.stats,.contact-page-section,.legal-placeholder) { background:var(--bg); color:var(--ink); }
html[data-theme="dark"] body.site-page-interior .page-hero { background:var(--bg) !important; }
html[data-theme="dark"] body.site-page-interior :is(.page-body-section,.doc-section) { background:var(--bg); color:var(--ink); }
html[data-theme="dark"] body.site-page-interior .gradient-text-inline { background:none; color:#a8b7ff; -webkit-text-fill-color:currentColor; }
html[data-theme="dark"] body.site-page-interior :is(.page-hero__title,.section-title,.bento-item h3,.showcase-feature h4,.stat-pill-number,.product-lp-metric-val,.contact-page-heading,.contact-page-office-title) { color:var(--ink); }
html[data-theme="dark"] body.site-page-interior :is(.section-desc,.page-hero__lead,.section-tag,.product-lp-kicker,.stat-pill-label,.stat-sub,.contact-page-office-meta,.contact-page-hint) { color:var(--muted); }
html[data-theme="dark"] body.site-page-interior :is(.bento-item--product,.stat-pill,.contact-page-form-card,.contact-page-office) { background:var(--dark-surface); border-color:var(--line); box-shadow:none; }
html[data-theme="dark"] body.site-page-interior .bento-item--product:is(:hover,:focus-within) { background:#182640; border-color:#768bcc; box-shadow:none; }
html[data-theme="dark"] body.site-page-interior :is(.bento-item--product > p,.edu-benefit-detail p,.showcase-feature p) { color:#b6c3d9; }
html[data-theme="dark"] body.site-page-interior .bento-item--product :is(.bento-icon,.bento-tag) { background:#21304b; color:#c2ceff; }
html[data-theme="dark"] body.site-page-interior :is(.edu-benefit-detail,.product-lp-metrics-grid,.product-lp-stats-band .stat-card + .stat-card) { border-color:var(--line); }
html[data-theme="dark"] body.site-page-interior .edu-benefit-detail summary { color:#b8c8ff; }
html[data-theme="dark"] body.site-page-interior .product-lp-stats-band .stat-card { background:transparent; box-shadow:none; }
html[data-theme="dark"] body.site-page-interior .product-lp-stats-band .stat-label { color:#c6d4f1; }
html[data-theme="dark"] body.site-page-interior :is(.edu-product-site-link,.page-hero__field-hint,.page-hero__motion-toggle) { color:#b8c8ff; }
html[data-theme="dark"] body.site-page-interior .page-hero__actions .btn-ghost { color:#edf2fa; border-color:#9baaca; background:transparent; }

/* The second level and menus share the selected mode; the blue main bar remains branded. */
html[data-theme="dark"] .edu-page-nav { background:#111a29; color:#edf2fa; border-color:#2b3950; }
html[data-theme="dark"] .edu-page-nav__identity { color:#edf2fa; }
html[data-theme="dark"] .edu-page-nav__icon { color:color-mix(in srgb,var(--menu-icon-ink,#3949ab) 55%,white); }
html[data-theme="dark"] .edu-page-nav__rail a { color:#b6c3d9; }
html[data-theme="dark"] .edu-page-nav__rail a:is(:hover,[aria-current]) { color:#d7e0ff; }
html[data-theme="dark"] .edu-page-nav__marker { background:#a8b7ff; }
html[data-theme="dark"] body:is(.site-home-corrientes,.site-page-interior) .nav-dropdown { background:#121c2b; border-color:#34435c; }
html[data-theme="dark"] body:is(.site-home-corrientes,.site-page-interior) .nav-dropdown__link { color:#edf2fa; }
html[data-theme="dark"] body:is(.site-home-corrientes,.site-page-interior) .nav-dropdown__sub { color:#b6c3d9; }
html[data-theme="dark"] body:is(.site-home-corrientes,.site-page-interior) .nav-dropdown__link:is(:hover,:focus-visible,[aria-current]) { background:#233454; color:#fff; }
@media(max-width:1200px) {
  html[data-theme="dark"] body:is(.site-home-corrientes,.site-page-interior) .nav-links.open { background:#121c2b; border-color:#34435c; }
  html[data-theme="dark"] body:is(.site-home-corrientes,.site-page-interior) .nav-links.open > li > a:not(.nav-cta),
  html[data-theme="dark"] body:is(.site-home-corrientes,.site-page-interior) .nav-links.open .nav-dropdown-toggle { color:#edf2fa; }
}

html[data-theme="dark"] body.site-page-interior .edu-image-story { background:#111a29; }
html[data-theme="dark"] body.site-page-interior .edu-image-story :is(h2,h3) { color:#edf2fa; }
html[data-theme="dark"] body.site-page-interior .edu-image-story :is(.edu-image-story__intro > p,figcaption > span) { color:#b6c3d9; }
html[data-theme="dark"] body.site-page-interior .page-interior-main .edu-image-story__index a:not(.btn) { color:#b6c3d9; }
html[data-theme="dark"] body.site-page-interior .page-interior-main .edu-image-story__index a[aria-current="step"] { color:#c2ceff; }
html[data-theme="dark"] .edu-image-story__index li { border-color:#34435c; }

/* Blue's dedicated story, forms and contact fallback. Preserve video/photograph colors. */
html[data-theme="dark"] body.site-page-interior .tboard-story__contact { background:#172342; color:#edf2fa; }
html[data-theme="dark"] body.site-page-interior .tboard-story__contact :is(h2,h3,p,li) { color:#edf2fa; }
html[data-theme="dark"] body.site-page-interior .tboard-story__contact a { color:#c2ceff; }
html[data-theme="dark"] body.site-page-interior .tboard-story { --tboard-blue:#a8c7ff; }
html[data-theme="dark"] body.site-page-interior .tboard-story__software { --software-surface:#121e31; --ink:#edf2fa; --ink-2:#b6c3d9; }
html[data-theme="dark"] body.site-page-interior .tboard-story__step-number { background:#21304b; color:#dbe5ff; border-color:#526079; }
html[data-theme="dark"] body.site-page-interior .is-scroll-story .is-current .tboard-story__step-number { background:#a8c7ff; color:#172342; }
html[data-theme="dark"] body.site-page-interior .is-scroll-story .is-complete .tboard-story__step-number { background:#1e3551; color:#c4d9ff; }
html[data-theme="dark"] body.site-page-interior .tboard-story__software .tboard-film__play > svg { color:#172342; }
html[data-theme="dark"] body.site-page-interior .page-hero__brand-logo { background:#fff; padding:8px; border-radius:8px; }
html[data-theme="dark"] body.site-page-interior :is(.tboard-kit,.tboard-story__testimonials,.tboard-story__faq) { background:var(--bg); }
html[data-theme="dark"] body.site-page-interior :is(.tboard-story__form,.edu-scheduler-fallback) { background:#121c2b; border-color:#34435c; color:#edf2fa; }
html[data-theme="dark"] body.site-page-interior .edu-scheduler-fallback :is(h3,p) { color:#edf2fa; }
html[data-theme="dark"] body.site-page-interior .edu-scheduler-fallback__actions a:not(.btn-brand) { background:#233454; color:#d7e0ff; }
html[data-theme="dark"] body.site-page-interior :is(input:not([type="checkbox"]):not([type="radio"]):not([type="range"]),textarea,select) { background:#101827; color:#edf2fa; border-color:#526079; }
html[data-theme="dark"] body.site-page-interior :is(input,textarea)::placeholder { color:#a5b5ce; }
html[data-theme="dark"] body.site-page-interior :is(.contact-page-email-link,.contact-page-office-meta a,.legal-placeholder a) { color:#c2ceff; }
html[data-theme="dark"] body.site-page-interior :is(.contact-page-form-title,.lead-form-success-title) { color:#edf2fa; }
html[data-theme="dark"] body:is(.site-home-corrientes,.site-page-interior) .lead-form-label { color:#edf2fa; }
html[data-theme="dark"] body:is(.site-home-corrientes,.site-page-interior) .edu-scheduler-fallback { background:#121c2b; border-color:#34435c; color:#edf2fa; }
html[data-theme="dark"] body:is(.site-home-corrientes,.site-page-interior) .edu-scheduler-fallback :is(h3,p) { color:#edf2fa; }
html[data-theme="dark"] body:is(.site-home-corrientes,.site-page-interior) .edu-scheduler-fallback__actions a:not(.btn-brand) { background:#233454; color:#d7e0ff; }
html[data-theme="dark"] body:is(.site-home-corrientes,.site-page-interior) .iti :is(.iti__country-container,.iti__selected-country-primary,.iti__dropdown-content,.iti__country-list) { background:#121c2b; color:#edf2fa; }
html[data-theme="dark"] body.site-page-interior .legal-placeholder__section p { color:#b6c3d9; }

html[data-theme="dark"] body:is(.site-home-corrientes,.site-page-interior) .site-footer { background:#101827; color:#edf2fa; border-color:#34435c; }
html[data-theme="dark"] body:is(.site-home-corrientes,.site-page-interior) .footer-brand p { color:#b6c3d9; }
html[data-theme="dark"] body:is(.site-home-corrientes,.site-page-interior) :is(.footer-col h4,.footer-col__link,.footer-legal a) { color:#d7e0ff; }
html[data-theme="dark"] body:is(.site-home-corrientes,.site-page-interior) :is(.footer-bottom,.edu-footer-description) { color:#b6c3d9; }
html[data-theme="dark"] body:is(.site-home-corrientes,.site-page-interior) :is(.footer-legal,.footer-bottom) { border-color:#34435c; }
html[data-theme="dark"] body:is(.site-home-corrientes,.site-page-interior) .footer-logo { background:#fff; border-radius:8px; padding:10px 12px; width:fit-content; }
html[data-theme="dark"] body:is(.site-home-corrientes,.site-page-interior) .footer-brand .footer-logo img { filter:none; }
@media(prefers-reduced-motion:reduce) { body.site-home-corrientes { transition:none; } }
