.px-footer {
  position: relative;
  margin: 7rem 0 0;
  padding: 0;
  overflow: hidden;
  border: 0;
  background:
    radial-gradient(55rem 28rem at 8% 0%, rgba(23, 108, 255, 0.18), transparent 64%),
    radial-gradient(48rem 24rem at 92% 8%, rgba(113, 60, 255, 0.16), transparent 62%),
    #0D1119;
  color: #F5F7FC;
  font-size: 1rem;
}

.px-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image: linear-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 4rem 4rem;
  -webkit-mask-image: linear-gradient(to bottom, #000, transparent 72%);
  mask-image: linear-gradient(to bottom, #000, transparent 72%);
}

.px-footer__inner {
  position: relative;
  width: min(calc(100% - 3rem), 105rem);
  margin-inline: auto;
  padding: 5rem 0 2rem;
}

.px-footer__top {
  display: grid;
  grid-template-columns: minmax(18rem, 1.15fr) minmax(30rem, 1fr);
  gap: clamp(4rem, 10vw, 10rem);
  align-items: start;
}

.px-footer__brand { max-width: 32rem; }
.px-footer__logo {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  gap: var(--brand-lockup-footer-gap);
  border-radius: 0.75rem;
  color: inherit;
  text-decoration: none;
  line-height: 0;
}

.px-footer__logo > span:first-child {
  width: auto;
  height: var(--brand-lockup-footer-icon-height);
  aspect-ratio: 1 / 1;
  flex: none;
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.px-footer__logo > span:first-child img { width: 100%; height: 100%; object-fit: contain; display: block; transform: none; }
.px-footer__logo > span:last-child { position: relative; width: auto; height: var(--brand-lockup-footer-wordmark-height); aspect-ratio: 1848 / 252; flex: none; display: grid; place-items: center; overflow: visible; border-radius: 0; background: transparent; }
.px-footer__logo > span:last-child img {
  position: static;
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: brightness(0) invert(1);
}

.px-footer__brand p {
  max-width: 46ch;
  margin: 1.6rem 0 1.75rem;
  color: #B5BFCE;
  font-size: 1rem;
  line-height: 1.7;
}

.px-footer__nav {
  position: static;
  top: auto;
  z-index: auto;
  height: auto;
  padding: 0;
  border: 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(8rem, 1fr));
  gap: 2rem;
  background: transparent;
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
}
.px-footer__nav > div { display: grid; align-content: start; gap: 0.25rem; }
.px-footer__nav h2 {
  margin: 0 0 0.9rem;
  color: #FFFFFF;
  font-size: var(--type-caption);
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.3;
  text-transform: uppercase;
}

.px-footer__nav a {
  min-height: 2.75rem;
  display: inline-flex;
  align-items: center;
  color: #B5BFCE;
  font-size: var(--type-caption);
  font-weight: 500;
  line-height: 1.4;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.px-footer__nav a:hover { color: #FFFFFF; transform: translateX(0.2rem); }
.px-footer__bottom {
  margin-top: 4rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(222, 228, 241, 0.13);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  color: #929EAF;
  font-size: var(--type-caption);
  line-height: 1.5;
}

.px-footer__status { display: inline-flex; align-items: center; gap: 0.45rem; }
.px-footer__status i { width: 0.45rem; height: 0.45rem; border-radius: 50%; background: #36C99A; box-shadow: 0 0 0 0.24rem rgba(54, 201, 154, 0.12); }

@media (max-width: 900px) {
  .px-footer__top { grid-template-columns: 1fr; gap: 3.5rem; }
  .px-footer__brand { max-width: 38rem; }
}

@media (max-width: 560px) {
  .px-footer { margin-top: 3rem; }
  .px-footer__inner { width: min(calc(100% - 2rem), 105rem); padding: 1.75rem 0 1rem; }
  .px-footer__top { gap: 1.25rem; }
  .px-footer__brand p { margin: 0.75rem 0 0.875rem; font-size: 0.875rem; line-height: 1.45; }
  .px-footer__nav { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.25rem 1rem; }
  .px-footer__nav > div:last-child { grid-column: 1 / -1; }
  .px-footer__nav > div { gap: 0; }
  .px-footer__nav h2 { margin-bottom: 0.2rem; }
  .px-footer__nav a { min-height: 1.75rem; }
  .px-footer__bottom { margin-top: 1rem; padding-top: 0.875rem; gap: 0.375rem; align-items: flex-start; flex-direction: column; }
}

@media (min-width: 901px) {
  .px-footer {
    margin-top: 90px;
    font-size: var(--type-caption);
    background:
      radial-gradient(704px 358px at 8% 0%, rgba(23, 108, 255, 0.18), transparent 64%),
      radial-gradient(614px 307px at 92% 8%, rgba(113, 60, 255, 0.16), transparent 62%),
      #0D1119;
  }
  .px-footer::before { background-size: 51px 51px; }
  .px-footer__inner { width: min(calc(100% - 38px), 1344px); padding: 64px 0 26px; }
  .px-footer__top {
    grid-template-columns: minmax(230px, 1.15fr) minmax(384px, 1fr);
    gap: clamp(51px, 8vw, 128px);
  }
  .px-footer__brand { max-width: 410px; }
  .px-footer__brand p { margin: 20px 0 22px; font-size: var(--type-caption); }
  .px-footer__nav { grid-template-columns: repeat(3, minmax(102px, 1fr)); gap: 26px; }
  .px-footer__nav h2 { margin-bottom: 12px; }
  .px-footer__logo, .px-footer__nav a { min-height: 35px; }
  .px-footer__bottom { margin-top: 51px; padding-top: 19px; gap: 13px; }
}

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