.ps-global-footer,
.ps-global-footer *,
.ps-mobile-actions,
.ps-mobile-actions * {
  box-sizing: border-box;
}

.ps-global-footer {
  position: relative;
  z-index: 2;
  color: #dceafb;
  background:
    radial-gradient(circle at 8% 12%, rgba(20, 122, 243, 0.22), transparent 27%),
    linear-gradient(145deg, #052f62, #031c3c 72%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.ps-footer-shell {
  width: min(1200px, calc(100% - 40px));
  margin-inline: auto;
}

.ps-footer-grid {
  display: grid;
  grid-template-columns: 1.45fr repeat(4, 0.8fr) 1.25fr;
  padding: 62px 0 42px;
  gap: 34px 24px;
}

.ps-footer-brand p,
.ps-footer-connect p {
  margin: 18px 0;
  color: #a9bed8;
  font-size: 13px;
  line-height: 1.7;
}

.ps-global-footer .ps-brand-copy strong {
  color: #fff;
}

.ps-global-footer .ps-brand-copy small {
  color: #a9bed8;
}

.ps-social-links {
  display: flex;
  gap: 8px;
}

.ps-social-links a {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(213, 232, 253, 0.2);
  border-radius: 9px;
  color: #dceafb;
  background: rgba(255, 255, 255, 0.055);
  font-size: 11px;
  font-weight: 850;
  text-decoration: none;
  transition: 160ms ease;
}

.ps-social-links a:hover {
  color: #fff;
  border-color: rgba(124, 188, 255, 0.62);
  background: rgba(20, 122, 243, 0.24);
  transform: translateY(-2px);
}

.ps-footer-column,
.ps-footer-connect {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.ps-footer-column h2,
.ps-footer-connect h2 {
  margin: 3px 0 10px;
  color: #fff;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
}

.ps-footer-column a,
.ps-footer-column > span,
.ps-footer-connect > a:not(.ps-footer-cta) {
  color: #a9bed8;
  font-size: 12px;
  line-height: 1.45;
  text-decoration: none;
}

.ps-footer-column > span[aria-disabled="true"] {
  opacity: 0.66;
}

.ps-footer-column a:hover,
.ps-footer-connect > a:not(.ps-footer-cta):hover {
  color: #fff;
}

.ps-footer-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  margin-bottom: 6px;
  padding: 10px 15px;
  border-radius: 10px;
  color: #fff;
  background: linear-gradient(135deg, #147af3, #0a5ec5);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.16);
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
}

.ps-footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 70px;
  border-top: 1px solid rgba(219, 236, 255, 0.13);
  color: #8fa8c5;
  gap: 20px;
  font-size: 11.5px;
}

.ps-footer-bottom > span:last-child {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ps-footer-bottom i {
  width: 1px;
  height: 13px;
  background: rgba(219, 236, 255, 0.22);
}

.ps-footer-bottom a {
  color: #a9bed8;
  text-decoration: none;
}

.ps-footer-bottom a:hover {
  color: #fff;
}

.ps-global-footer :focus-visible,
.ps-mobile-actions :focus-visible {
  outline: 3px solid rgba(121, 190, 255, 0.55);
  outline-offset: 2px;
}

.ps-mobile-actions {
  position: fixed;
  z-index: 12000;
  right: 0;
  bottom: 0;
  left: 0;
  display: none;
  grid-template-columns: repeat(3, 1fr);
  width: 100%;
  max-width: 100vw;
  min-height: 64px;
  overflow: hidden;
  padding-bottom: env(safe-area-inset-bottom);
  border-top: 1px solid #dce6f0;
  background: rgba(255, 255, 255, 0.98);
  box-shadow: 0 -4px 18px rgba(6, 47, 99, 0.11);
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  backdrop-filter: blur(16px);
}

.ps-mobile-actions a {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
  overflow: hidden;
  gap: 6px;
  color: #294a6d;
  font-size: 12px;
  font-weight: 850;
  text-decoration: none;
  white-space: nowrap;
}

.ps-mobile-actions a + a {
  border-left: 1px solid #e1e9f1;
}

.ps-mobile-actions a:nth-child(2) {
  color: #14764b;
}

.ps-mobile-actions a:last-child {
  color: #fff;
  background: linear-gradient(135deg, #147af3, #075bc1);
}

@media (max-width: 1050px) {
  .ps-footer-grid {
    grid-template-columns: 1.45fr repeat(3, 1fr);
  }

  .ps-footer-connect {
    grid-column: span 2;
  }
}

@media (max-width: 760px) {
  .ps-footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding-top: 48px;
  }

  .ps-footer-brand,
  .ps-footer-connect {
    grid-column: 1 / -1;
  }

  .ps-footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    padding: 18px 0;
  }

  .ps-mobile-actions {
    display: grid;
  }
}

@media (max-width: 460px) {
  .ps-footer-shell {
    width: calc(100% - 30px);
  }

  .ps-footer-grid {
    gap: 30px 18px;
  }
}
