/* Shared Nexus presentation for Support, guides, Contact, legal and API pages.
   Page content and illustrations retain their individual imported stylesheets. */
.msp-nexus-page {
  background: #fff;
  color: var(--bs-body-color);
}

.msp-nexus-page .msp-content-header .navbar {
  background: #fff;
}

.msp-nexus-page .msp-content-header .navbar-toggler,
.msp-nexus-page .msp-content-header .msp-nav-current {
  color: var(--msp-primary);
}

#msp-imported-page.msp-nexus-page .msp-page-hero {
  background: #252831;
  color: #fff;
  padding-block: clamp(64px, 7vw, 120px);
}

.msp-nexus-page .msp-page-hero.page-header > .container > .row:first-child {
  justify-content: center;
  text-align: center;
}

.msp-nexus-page .msp-page-title {
  font-family: "Poppins", sans-serif;
  font-size: clamp(2rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.2;
  text-wrap: balance;
  overflow-wrap: break-word;
  word-break: normal !important;
  background: linear-gradient(96deg, var(--msp-light), var(--msp-soft));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.msp-nexus-page .msp-page-hero .lead {
  color: #d6e1e5;
  font-size: clamp(1rem, 1.4vw, 1.125rem);
  line-height: 1.8;
}

.msp-nexus-page .msp-page-hero .bg-circle,
.msp-nexus-page .msp-content-section > .bg-circle,
.msp-nexus-page .msp-content-section > .bg-dark.position-absolute {
  display: none;
}

.msp-nexus-page .msp-content-section {
  color: var(--bs-body-color);
  scroll-margin-top: 110px;
}

#msp-imported-page.msp-nexus-page .contact-us-form.msp-content-section {
  background: var(--msp-surface);
  padding-block: 80px;
}

.msp-nexus-page .msp-content-title {
  font-family: "Poppins", sans-serif;
  font-size: clamp(1.75rem, 3vw, 3rem);
  font-weight: 600;
  line-height: 1.2;
  text-wrap: balance;
  background: var(--msp-gradient);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.msp-nexus-page .msp-page-card,
.msp-nexus-page .register-wrap {
  color: var(--bs-body-color);
  background: #fff;
  border: 1px solid var(--msp-border);
  border-radius: 16px;
  box-shadow: 0 12px 36px rgba(7, 64, 77, 0.06) !important;
}

.msp-nexus-page .msp-page-card :is(h3, h4),
.msp-nexus-page .register-wrap :is(h2, h3, h4) {
  color: var(--msp-dark);
}

.msp-nexus-page .msp-page-card {
  padding: clamp(24px, 2.4vw, 40px) !important;
  transition: border-color 180ms ease, box-shadow 180ms ease;
}

.msp-nexus-page .msp-page-card:hover {
  border-color: var(--msp-primary);
  box-shadow: 0 14px 36px rgba(7, 64, 77, 0.1) !important;
}

.msp-nexus-page .card-support-icons {
  align-self: center;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: var(--msp-soft);
}

/* Paint the gradient across the border as well as the padding, without tiling. */
#msp-imported-page.msp-nexus-page .msp-page-button {
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-color: #fff;
  background-color: var(--msp-dark);
  background-image: var(--msp-gradient);
  background-origin: border-box;
  background-clip: border-box;
  background-repeat: no-repeat;
  color: #fff;
  border-color: transparent;
  border-radius: 50rem;
  max-width: 100%;
  white-space: normal;
  box-shadow: none;
  transition: color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

#msp-imported-page.msp-nexus-page .msp-page-button:is(:hover, :focus-visible, :active) {
  background-color: var(--msp-dark);
  background-image: none;
  color: #fff;
  border-color: var(--msp-dark);
}

#msp-imported-page.msp-nexus-page .msp-page-button:focus-visible {
  outline: 2px solid var(--msp-primary);
  outline-offset: 3px;
}

.msp-nexus-page .support-article-sidebar {
  background: var(--msp-surface);
  border: 1px solid var(--msp-border);
  border-radius: 16px;
}

.msp-nexus-page .support-article-sidebar a,
.msp-nexus-page .msp-content-section .accordion-list a {
  color: var(--msp-dark);
}

.msp-nexus-page .support-article-sidebar a:hover,
.msp-nexus-page .msp-content-section .accordion-list a:hover {
  color: var(--msp-primary) !important;
}

.msp-nexus-page .faq-section .accordion-item {
  border: 1px solid var(--msp-border);
  border-radius: 16px;
  margin-bottom: 12px;
  overflow: hidden;
}

.msp-nexus-page .faq-section .accordion-button {
  color: var(--msp-dark);
  font-family: "Poppins", sans-serif;
}

.msp-nexus-page .faq-section .accordion-button:not(.collapsed) {
  background: var(--msp-soft);
  color: var(--msp-dark);
  box-shadow: none;
}

.msp-nexus-page .feature-tab-list-2 {
  gap: 8px;
}

.msp-nexus-page .feature-tab-list-2 .nav-link {
  border: 1px solid var(--msp-border);
  border-radius: 12px;
  background: #fff;
  color: var(--msp-dark);
  padding: 12px 18px;
}

.msp-nexus-page .feature-tab-list-2 .nav-link.active {
  background: #252831;
  border-color: #252831;
  color: #fff;
}

.msp-nexus-page .blog-details-wrap {
  line-height: 1.8;
}

.msp-nexus-page .blog-details-wrap img {
  max-width: 100%;
  height: auto;
  border-radius: 12px;
}

.msp-nexus-page .blog-details-wrap a {
  color: var(--msp-primary);
  text-underline-offset: 3px;
}

.msp-nexus-page .blog-details-wrap a:hover {
  color: var(--msp-dark);
}

.msp-nexus-page #downloads-list h3 {
  color: var(--msp-dark);
  margin-top: 32px;
}

.msp-nexus-page #downloads-list li {
  padding-block: 6px;
}

.msp-nexus-page .feature-tab-section iframe {
  max-width: 100%;
  width: 100%;
  aspect-ratio: 16 / 9;
  height: auto;
  border-radius: 16px;
}

/* Keep embedded API documentation independent of the surrounding marketing styles. */
#msp-imported-page.msp-nexus-page #swagger-ui {
  margin: 0 0 80px;
  border: 1px solid var(--msp-border);
  border-radius: 16px;
  background: #fff;
}

.msp-nexus-page .msp-error-hero {
  min-height: calc(100svh - 96px) !important;
}

.msp-nexus-page .msp-error-hero .error-404 {
  color: var(--msp-light) !important;
}

@media (max-width: 767.98px) {
  .msp-nexus-page .msp-content-section .pe-5 {
    padding-right: 12px !important;
  }
  .msp-nexus-page .register-wrap {
    padding: 24px 16px !important;
  }
  .msp-nexus-page .feature-tab-list-2 .nav-link {
    padding: 10px 12px;
    font-size: 0.875rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .msp-nexus-page .msp-page-card {
    transition: none;
  }
}

/* Version-specific support routes and notices. */
.msp-nexus-page .msp-support-route-nexus {
  border: 2px solid var(--msp-primary);
}
.msp-nexus-page .msp-support-hub .msp-support-shared {
  color: var(--bs-body-color);
}
.msp-nexus-page .msp-page-hero .lead a {
  color: var(--msp-soft);
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.msp-nexus-page .msp-page-hero .lead a:hover,
.msp-nexus-page .msp-page-hero .lead a:focus-visible {
  color: #fff;
}
.msp-nexus-page .msp-support-route .btn,
.msp-nexus-page #classic-support .btn {
  max-width: 100%;
  white-space: normal;
}
.msp-nexus-page .msp-support-version-note {
  background: var(--msp-surface);
  border-bottom: 1px solid var(--msp-border);
  color: var(--msp-dark);
}
.msp-nexus-page .msp-support-version-note a,
.msp-nexus-page .msp-support-resource-link {
  color: var(--msp-primary);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.msp-nexus-page .msp-support-version-note a:hover,
.msp-nexus-page .msp-support-version-note a:focus-visible,
.msp-nexus-page .msp-support-resource-link:hover,
.msp-nexus-page .msp-support-resource-link:focus-visible {
  color: var(--msp-dark);
}

/* Style the FAQ question links as well as the category navigation. */
.msp-nexus-page .faq-section a:not(.btn) {
  color: var(--msp-primary);
}
.msp-nexus-page .faq-section a:not(.btn):is(:hover, :focus-visible) {
  color: var(--msp-dark) !important;
}
