.nx-header,
.nx-footer {
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  color: #191b24;
  text-align: left;
  line-height: 1.5;
}
.nx-header *,
.nx-footer * {
  box-sizing: border-box;
}
.nx-header a,
.nx-footer a {
  text-decoration: none;
  color: inherit;
}
.nx-header {
  position: sticky;
  top: 0;
  z-index: 100;
  border-bottom: 1px solid #e5e7eb;
  background: #fff;
}
.nx-bar {
  width: min(1440px, calc(100% - 48px));
  min-height: 72px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nx-brand {
  display: inline-flex;
  flex-shrink: 0;
  align-items: center;
}
.nx-brand img {
  display: block;
  width: 188px;
  height: auto;
  max-width: 100%;
}
.nx-desktop {
  display: flex;
  align-items: center;
  gap: 24px;
}
.nx-desktop > a,
.nx-dropdown > summary {
  display: flex;
  align-items: center;
  min-height: 71px;
  font-size: 16px;
  font-weight: 600;
  white-space: nowrap;
  cursor: pointer;
  color: #30323d;
  list-style: none;
}
.nx-header summary::-webkit-details-marker {
  display: none;
}
.nx-dropdown > summary::after {
  content: "⌄";
  margin-left: 6px;
  font-size: 14px;
}
.nx-dropdown[open] > summary,
.nx-header a:hover {
  color: #563ec8;
}
.nx-dropdown {
  position: relative;
}
.nx-panel {
  position: fixed;
  top: 72px;
  left: 50%;
  transform: translateX(-50%);
  width: min(720px, calc(100vw - 32px));
  max-height: calc(100vh - 88px);
  overflow: auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  padding: 16px;
  border: 1px solid #e0e1e8;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 18px 45px #0f172a1f;
}
.nx-panel section {
  padding: 0 12px;
  min-width: 0;
}
.nx-panel section + section {
  border-left: 1px solid #e5e7ed;
}
.nx-panel h2,
.nx-mobile-panel h2 {
  font-family: inherit;
  font-size: 12px;
  font-weight: 750;
  margin: 4px 0 8px;
  padding: 0 10px;
  border-left: 3px solid #7852ef;
}
.nx-panel h3,
.nx-mobile-panel h3 {
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  margin: 14px 0 6px;
  padding: 6px 10px;
  color: #646878;
}
.nx-panel a,
.nx-mobile-panel section a {
  display: grid;
  gap: 2px;
  padding: 10px 12px;
  border-radius: 10px;
}
.nx-panel a:hover {
  background: #f5f6f8;
}
.nx-panel strong,
.nx-mobile-panel strong {
  font-size: 15px;
  font-weight: 750;
}
.nx-panel span,
.nx-mobile-panel span {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.55;
  color: #646878;
}
.nx-actions {
  flex-shrink: 0;
}
.nx-actions .header-cta {
  white-space: nowrap;
}
.nx-mobile {
  display: none;
}
.nx-footer {
  padding: 76px max(24px, calc((100% - 1280px) / 2)) 30px;
  background: #fafafd;
  border-top: 1px solid #e3e3ec;
}
.nx-lead {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 24px 48px;
  margin-bottom: 66px;
}
.nx-lead p {
  max-width: 480px;
  margin: 0;
  color: #656575;
  font-size: 13.5px;
  line-height: 1.72;
}
.nx-footer nav {
  display: grid;
  grid-template-columns: 1fr 1.15fr 1.25fr 1.2fr 1fr;
  gap: 32px;
}
.nx-footer nav section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 13px;
  min-width: 0;
}
.nx-footer h2 {
  font-family: inherit;
  margin: 0 0 8px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.nx-footer nav a {
  font-size: 14px;
  color: #656572;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.nx-footer a:hover {
  color: #563ec8;
}
.nx-bottom {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-top: 66px;
  padding-top: 28px;
  border-top: 1px solid #e3e3ec;
  color: #83838f;
  font-size: 11px;
  flex-wrap: wrap;
}
.nx-bottom > a:last-child {
  margin-left: auto;
}
@media (max-width: 1080px) {
  .nx-desktop {
    gap: 16px;
  }
  .nx-footer nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 1100px) {
  .nx-desktop {
    display: none;
  }
  .nx-mobile {
    display: block;
  }
  .nx-mobile > summary {
    cursor: pointer;
    font-size: 15px;
    font-weight: 600;
    list-style: none;
  }
  .nx-mobile-panel {
    position: absolute;
    top: 100%;
    left: 16px;
    right: 16px;
    max-height: calc(100vh - 88px);
    overflow: auto;
    border: 1px solid #e3e3ec;
    border-radius: 16px;
    background: white;
    padding: 16px;
    box-shadow: 0 18px 45px #0f172a1f;
  }
  .nx-mobile-panel summary,
  .nx-mobile-panel > a {
    display: block;
    padding: 12px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
  }
  .nx-mobile-panel section {
    padding: 12px;
  }
  .nx-footer nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 540px) {
  .nx-bar {
    width: calc(100% - 32px);
    gap: 12px;
  }
  .nx-brand img {
    width: 150px;
  }
  .nx-actions .header-cta {
    font-size: 12px;
    padding: 8px 10px;
  }
  .nx-footer {
    padding: 48px 20px 24px;
  }
  .nx-footer nav {
    gap: 28px 20px;
  }
  .nx-footer nav a {
    min-height: 36px;
    display: flex;
    align-items: center;
  }
  .nx-bottom {
    gap: 12px;
  }
  .nx-bottom > a:last-child {
    margin-left: 0;
  }
}
@media (max-width: 360px) {
  .nx-bar {
    gap: 8px;
  }
  .nx-brand img {
    width: 120px;
  }
  .nx-actions .header-cta {
    padding: 8px;
    font-size: 11px;
  }
}
