/* Homepage successor: existing copy, rotator, illustration and runtime remain. */
body.home-positive .mp section.mp-hero[data-nss-home-successor="20261001-r2"] {
  background: linear-gradient(135deg, #fff 34%, #f4f7ff 100%) !important;
  color: #10233f;
}
body.home-positive .mp section.mp-hero[data-nss-home-successor="20261001-r2"] > .container {
  max-width: 1240px;
}
body.home-positive .mp section.mp-hero[data-nss-home-successor="20261001-r2"] .mp-hero__inner {
  grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr) !important;
  align-items: start;
  gap: 40px !important;
}
body.home-positive .mp section.mp-hero[data-nss-home-successor="20261001-r2"] .mp-hero__title {
  color: #10233f !important;
  font-size: clamp(38px, 4.4vw, 62px) !important;
  line-height: 1.08 !important;
  letter-spacing: -.045em !important;
  max-width: 620px !important;
}
body.home-positive .mp section.mp-hero[data-nss-home-successor="20261001-r2"] .mp-kicker {
  max-width: 100%;
  white-space: normal;
  overflow-wrap: anywhere;
  color: #2456d9 !important;
  border-color: #d6e1f2 !important;
  background: #edf3ff !important;
}
body.home-positive .mp section.mp-hero[data-nss-home-successor="20261001-r2"] .mp-hero__actions .mp-btn--primary {
  background: #2456d9 !important;
  box-shadow: 0 10px 24px #2456d91a !important;
}
body.home-positive .mp section.mp-hero[data-nss-home-successor="20261001-r2"] .mp-hero__actions .mp-btn {
  white-space: normal;
  overflow-wrap: anywhere;
}
body.home-positive .mp section.mp-hero[data-nss-home-successor="20261001-r2"] .mp-hero__actions a:focus-visible {
  outline: 3px solid #2456d9;
  outline-offset: 5px;
}
body.home-positive .mp section.mp-hero[data-nss-home-successor="20261001-r2"] .nss-home-package {
  min-width: 0;
  align-self: start;
}
body.home-positive .mp section.mp-hero[data-nss-home-successor="20261001-r2"] .nss-home-package .package-panel {
  background: #10233f;
  border: 1px solid #10233f;
  color: #fff;
  box-shadow: 0 22px 70px #10233f12;
  padding: 28px;
}
body.home-positive .mp section.mp-hero[data-nss-home-successor="20261001-r2"] .nss-home-package .panel-top,
body.home-positive .mp section.mp-hero[data-nss-home-successor="20261001-r2"] .nss-home-package .panel-base {
  border-color: #ffffff30;
}
body.home-positive .mp section.mp-hero[data-nss-home-successor="20261001-r2"] .nss-home-package .panel-top strong,
body.home-positive .mp section.mp-hero[data-nss-home-successor="20261001-r2"] .nss-home-package .composition strong,
body.home-positive .mp section.mp-hero[data-nss-home-successor="20261001-r2"] .nss-home-package .panel-base strong {
  color: #fff;
  -webkit-text-fill-color: #fff;
}
body.home-positive .mp section.mp-hero[data-nss-home-successor="20261001-r2"] .nss-home-package .composition small,
body.home-positive .mp section.mp-hero[data-nss-home-successor="20261001-r2"] .nss-home-package .panel-base span {
  color: #d9e4f7;
  -webkit-text-fill-color: #d9e4f7;
}
body.home-positive .mp section.mp-hero[data-nss-home-successor="20261001-r2"] .nss-home-package .step-no {
  color: #d9e4f7;
  border-color: #ffffff30;
}
body.home-positive .mp section.mp-hero[data-nss-home-successor="20261001-r2"] .nss-home-package .quiet-link {
  color: #fff;
  -webkit-text-fill-color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
}
body.home-positive .mp section.mp-hero[data-nss-home-successor="20261001-r2"] .nss-home-package a:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 5px;
}
body.home-positive .mp section.mp-hero[data-nss-home-successor="20261001-r2"] .nss-scene-wrap {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 580px;
  margin: 0 auto;
}
@media (max-width: 960px) {
  body.home-positive .mp section.mp-hero[data-nss-home-successor="20261001-r2"] .mp-hero__inner {
    grid-template-columns: minmax(0, 1fr) !important;
    gap: 30px !important;
  }
  body.home-positive .mp section.mp-hero[data-nss-home-successor="20261001-r2"] .nss-home-package {
    width: 100%;
    max-width: 620px;
    margin-inline: auto;
  }
}
@media (max-width: 480px) {
  body.home-positive .mp section.mp-hero[data-nss-home-successor="20261001-r2"] .mp-hero__title {
    font-size: clamp(32px, 8.8vw, 42px) !important;
  }
  body.home-positive .mp section.mp-hero[data-nss-home-successor="20261001-r2"] .nss-home-package .package-panel {
    padding: 24px;
    border-radius: 22px;
  }
  body.home-positive .mp section.mp-hero[data-nss-home-successor="20261001-r2"] .nss-home-package .panel-top,
  body.home-positive .mp section.mp-hero[data-nss-home-successor="20261001-r2"] .nss-home-package .panel-base {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  body.home-positive .mp section.mp-hero[data-nss-home-successor="20261001-r2"] .nss-home-package *,
  body.home-positive .mp section.mp-hero[data-nss-home-successor="20261001-r2"] .nss-home-package *::before,
  body.home-positive .mp section.mp-hero[data-nss-home-successor="20261001-r2"] .nss-home-package *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }
}

/* R2: keep native named controls functional while freeing reading gutters. */
body.home-positive:has(section.mp-hero[data-nss-home-successor="20261001-r2"]) .vya-root:not(.vya-open):not(:hover):not(:focus-within) .vya-cue {
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
body.home-positive:has(section.mp-hero[data-nss-home-successor="20261001-r2"]) .nss-mbtn-l1 {
  width: 44px !important;
  height: 44px !important;
  min-width: 44px !important;
  min-height: 44px !important;
  max-width: 44px !important;
  padding: 0 !important;
  gap: 0 !important;
  justify-content: center !important;
  font-size: 0 !important;
  line-height: 0 !important;
  left: 4px !important;
  bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
}
@media (max-width: 1023px) {
  body.home-positive:has(section.mp-hero[data-nss-home-successor="20261001-r2"]) .vya-root:not(.vya-open) {
    right: 4px !important;
    left: auto !important;
    bottom: calc(16px + env(safe-area-inset-bottom, 0px)) !important;
    width: 44px !important;
    height: 44px !important;
  }
  body.home-positive:has(section.mp-hero[data-nss-home-successor="20261001-r2"]) .vya-root:not(.vya-open) .vya-launch {
    width: 44px !important;
    height: 44px !important;
  }
  body.home-positive:has(section.mp-hero[data-nss-home-successor="20261001-r2"]) section.mp-hero[data-nss-home-successor="20261001-r2"] > .container {
    padding-left: 56px !important;
    padding-right: 56px !important;
  }
  body.home-positive:has(section.mp-hero[data-nss-home-successor="20261001-r2"]) #nss-gis-services .wrap {
    width: calc(100% - 112px) !important;
  }
  body.home-positive:has(section.mp-hero[data-nss-home-successor="20261001-r2"]) #nss-gis-services .grid-3 {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  }
}
@media (max-width: 760px) {
  body.home-positive:has(section.mp-hero[data-nss-home-successor="20261001-r2"]) #nss-gis-services .grid-3 {
    grid-template-columns: minmax(0, 1fr) !important;
  }
}
