.site-footer {
  display: grid;
  grid-template-columns: minmax(220px, 1.7fr) repeat(3, minmax(120px, 1fr));
  gap: 46px;
  padding: 68px max(var(--gutter), calc((100% - var(--max)) / 2 + var(--gutter))) 34px;
  border-top: 1px solid rgba(180,151,255,.22);
  color: #a4a7b4;
  background:
    linear-gradient(118deg, rgba(32, 200, 255, 0.055), transparent 32%),
    linear-gradient(238deg, rgba(255, 178, 31, 0.055), rgba(245, 45, 184, 0.05) 30%, transparent 54%),
    #04050f;
  font-family: var(--font-body);
  font-size: .82rem;
}

.site-footer__brand,
.site-footer nav { display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }

.site-footer .brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  width: max-content;
  margin-bottom: 8px;
  color: #fffdf9;
  font: 800 1.4rem/1 var(--font-display);
  text-decoration: none;
}

.site-footer .brand-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  box-shadow: 0 0 32px rgba(163, 131, 255, 0.4);
}

.site-footer p { max-width: 350px; margin: 0; }
.site-footer b { margin-bottom: 6px; color: #fffdf9; }
.site-footer a:not(.brand) { color: inherit; text-decoration: none; }
.site-footer a:hover { color: #fffdf9; }
.site-footer .app-store-button {
  margin-top: 4px;
  color: #fffdf9;
}
.site-footer .footer-note {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px 24px;
  max-width: none;
  margin-top: 18px;
  padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.13);
  color: #676b78;
}

@media (max-width: 860px) {
  .site-footer { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 38px 24px; }
  .site-footer__brand { grid-column: 1 / -1; }
}

@media (max-width: 520px) {
  .site-footer { grid-template-columns: 1fr; }
  .site-footer__brand { grid-column: auto; }
}
