.nx-footer {
  --nx-footer-bg: #10151c;
  --nx-footer-panel: #161d26;
  --nx-footer-text: #f3f6fa;
  --nx-footer-muted: #aeb8c6;
  --nx-footer-line: #2d3744;
  --nx-footer-accent: #b9d1ff;
  width: 100%;
  display: block;
  justify-content: initial;
  flex-wrap: nowrap;
  margin: clamp(48px, 7vw, 92px) auto 0;
  padding: 0;
  background:
    radial-gradient(circle at 12% 0%, #1d314d 0, transparent 31%),
    var(--nx-footer-bg);
  color: var(--nx-footer-text);
  border-radius: 26px;
  overflow: clip;
  isolation: isolate;
}

.nx-footer *,
.nx-footer *::before,
.nx-footer *::after {
  box-sizing: border-box;
}

.nx-footer__inner {
  width: min(100%, 1480px);
  margin-inline: auto;
  padding: clamp(40px, 5vw, 70px) clamp(22px, 4.5vw, 68px) 0;
}

.nx-footer__lead {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(280px, 1.3fr) auto;
  align-items: start;
  gap: clamp(22px, 4vw, 58px);
  padding-bottom: clamp(34px, 4.5vw, 58px);
  border-bottom: 1px solid var(--nx-footer-line);
}

.nx-footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  width: fit-content;
  min-height: 44px;
  color: var(--nx-footer-text);
  font-size: clamp(25px, 2.6vw, 35px);
  font-weight: 750;
  letter-spacing: -.045em;
  line-height: 1;
  text-decoration: none;
}

.nx-footer__brand svg {
  width: 34px;
  height: 34px;
  flex: none;
}

.nx-footer__brand > span > span {
  color: var(--nx-footer-accent);
  font-weight: 430;
}

.nx-footer__lead > p {
  max-width: 42ch;
  margin: 2px 0 0;
  color: var(--nx-footer-muted);
  font-size: clamp(14px, 1.35vw, 17px);
  line-height: 1.75;
}

.nx-footer__cta {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  min-width: 184px;
  min-height: 50px;
  padding: 0 18px;
  border: 1px solid #4b5a6d;
  border-radius: 999px;
  background: #1a222c;
  color: #fff;
  font-size: 13px;
  font-weight: 650;
  text-decoration: none;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}

.nx-footer__cta svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.nx-footer__cta:hover {
  border-color: #8298b5;
  background: #243142;
  transform: translateY(-2px);
}

.nx-footer__links {
  display: grid;
  grid-template-columns: .85fr .95fr 1fr 1.45fr;
  gap: clamp(24px, 4vw, 58px);
  padding: clamp(36px, 4.5vw, 58px) 0;
}

.nx-footer nav,
.nx-footer__company {
  min-width: 0;
  align-content: start;
}

.nx-footer h2 {
  margin: 0 0 18px;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .11em;
  line-height: 1.5;
  text-transform: uppercase;
}

.nx-footer nav {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.nx-footer nav > a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--nx-footer-muted);
  font-size: 14px;
  line-height: 1.45;
  text-decoration: none;
  overflow-wrap: anywhere;
  transition: color .18s ease, transform .18s ease;
}

.nx-footer nav > a:hover {
  color: #fff;
  transform: translateX(3px);
}

.nx-footer__company {
  padding: 22px;
  border: 1px solid var(--nx-footer-line);
  border-radius: 16px;
  background: var(--nx-footer-panel);
  background: color-mix(in srgb, var(--nx-footer-panel) 84%, transparent);
}

.nx-footer__company > p {
  margin: 0;
  color: var(--nx-footer-muted);
  font-size: 13px;
  line-height: 1.8;
}

.nx-footer__company > p strong {
  color: #fff;
  font-weight: 650;
}

.nx-footer__company dl {
  display: grid;
  gap: 15px;
  margin: 22px 0 0;
}

.nx-footer__company dl > div {
  min-width: 0;
}

.nx-footer__company dt {
  margin-bottom: 4px;
  color: #8190a2;
  font-size: 11px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.nx-footer__company dd {
  min-width: 0;
  margin: 0;
  color: #dce3ec;
  font-size: 13px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.nx-footer__company address {
  font-style: normal;
}

.nx-footer__company a {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  color: #dce3ec;
  text-decoration: none;
  transition: color .18s ease;
}

.nx-footer__company a:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.nx-footer__bottom {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 22px;
  min-height: 82px;
  border-top: 1px solid var(--nx-footer-line);
  color: #8f9bab;
  font-size: 11px;
  line-height: 1.7;
}

.nx-footer__bottom p {
  margin: 0;
}

.nx-footer__bottom p:nth-child(2) {
  text-align: center;
}

.nx-footer__bottom button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  background: transparent;
  color: #c5cfdb;
  font: inherit;
  cursor: pointer;
}

.nx-footer__bottom button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.nx-footer a:focus-visible,
.nx-footer button:focus-visible {
  outline: 2px solid #b9d1ff;
  outline-offset: 4px;
}

@media (max-width: 1100px) {
  .nx-footer__lead {
    grid-template-columns: minmax(210px, .8fr) minmax(0, 1.4fr);
  }

  .nx-footer__cta {
    grid-column: 1 / -1;
    width: fit-content;
    min-width: 176px;
  }

  .nx-footer__links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .nx-footer__company {
    grid-column: 1 / -1;
  }

  .nx-footer__company dl {
    grid-template-columns: 1.15fr 1fr .8fr;
    gap: 24px;
  }
}

@media (max-width: 720px) {
  .nx-footer {
    margin-top: 48px;
    border-radius: 20px;
  }

  .nx-footer__inner {
    padding-inline: 22px;
  }

  .nx-footer__lead {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .nx-footer__lead > p {
    max-width: none;
  }

  .nx-footer__cta {
    grid-column: auto;
  }

  .nx-footer__links {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .nx-footer__company {
    grid-column: auto;
  }

  .nx-footer__company dl {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .nx-footer__bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 20px;
    padding: 22px 0;
  }

  .nx-footer__bottom p:nth-child(2) {
    order: 3;
    width: 100%;
    text-align: left;
  }

  .nx-footer__bottom button {
    margin-left: auto;
  }
}

@media (max-width: 390px) {
  .nx-footer__inner {
    padding-inline: 18px;
  }

  .nx-footer__company {
    padding: 19px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nx-footer *,
  .nx-footer *::before,
  .nx-footer *::after {
    transition: none !important;
  }
}
