/* Shared footer theme for the homepage and all platform pages. */
body .site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 26px 40px;
  padding: 34px max(40px, calc((100vw - 1184px) / 2));
  background: radial-gradient(ellipse at 45% 130%, #164c364d, transparent 70%), #030b08;
  border-top: 1px solid #91b9b029;
  color: #a7aaaf;
}
body .footer-top { gap: 24px; margin: 0; }
body .footer-logo {
  height: 30px;
  filter: none;
}
body .copyright { color: #a7aaaf; font-size: 12px; letter-spacing: 0; }
body .footer-bottom { flex: 1; justify-content: flex-end; gap: 28px; }
body .footer-links { gap: 20px; }
body :is(.footer-link, .footer-link-btn) { color: #a7aaaf; font-size: 12px; }
body :is(.footer-link:hover, .footer-link-btn:hover) { color: #ffe1bb; }
body .footer-dropdown-content {
  background: #0c1b16f5;
  border-color: #91b9b055;
  box-shadow: 0 14px 40px #0005, inset 0 1px 0 #d3fff41a;
}
body .footer-dropdown-content a { color: #ffe1bb; }
body .site-footer .footer-dropdown-content a:is(:hover, :focus-visible) {
  color: #152017;
  background: linear-gradient(120deg, #ffe5c4e0, #f4cea0d6);
  box-shadow: inset 0 1px 0 #fff4e270;
}
body .site-footer :is(a, button):focus-visible { outline: 2px solid #ffe1bb; outline-offset: 4px; }
@media (max-width: 1000px) {
  body .site-footer { padding: 28px 6.7vw; gap: 24px; }
  body .footer-top { flex-wrap: wrap; gap: 12px 20px; }
  body .footer-bottom { flex-basis: 100%; justify-content: space-between; align-items: center; gap: 20px; }
  body .footer-links { gap: 16px 20px; }
  body .copyright { font-size: 11px; }
}


/* Align the footer's visual edges and text baselines. */
body .footer-logo { margin-left: -4px; }
body .footer-links { align-items: baseline; }
@media (max-width: 1000px) {
  body .footer-top {
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
  }
  body .footer-bottom { justify-content: flex-start; }
}
@media (max-width: 520px) {
  body .footer-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px 24px;
    width: 100%;
    align-items: baseline;
  }
}
