.site-footer {
  margin-top: 64px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 48px 0 22px;
  background: linear-gradient(180deg, #0d1019, #080910);
  color: #868b9a;
  font: 12px/1.5 Manrope, sans-serif;
}

.site-footer .shell {
  width: min(1120px, calc(100% - 40px));
  margin: 0 auto;
}

.site-footer .footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 0.7fr 1.15fr 1fr;
  gap: 42px;
}

.site-footer .footer-brand,
.site-footer .footer-links,
.site-footer .footer-note {
  min-width: 0;
}

.site-footer .footer-brand .brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  max-width: none;
  overflow: visible;
  white-space: normal;
  color: #fff;
  font: 700 17px/1.2 Manrope, sans-serif;
  text-decoration: none;
}

.site-footer .brand-mark {
  display: inline-grid;
  width: 28px;
  height: 28px;
  place-items: center;
  background: transparent;
  border: 1px solid #80f5d0;
  border-radius: 50%;
  color: #80f5d0;
  font-size: 16px;
}

.site-footer .footer-brand p,
.site-footer .footer-note p {
  max-width: 280px;
  margin: 12px 0 0;
  color: #868b9a;
  line-height: 1.65;
}

.site-footer .footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.site-footer .footer-links strong,
.site-footer .footer-note strong {
  margin-bottom: 4px;
  color: #fff;
  font-size: 13px;
}

.site-footer .footer-links a {
  color: #a9afbe;
  text-decoration: none;
}

.site-footer .footer-links a:hover,
.site-footer .footer-links a:focus-visible {
  color: #80f5d0;
}

.site-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin-top: 35px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (max-width: 780px) {
  .site-footer .shell {
    width: min(100% - 36px, 1120px);
  }

  .site-footer .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
  }

  .site-footer .footer-bottom {
    flex-direction: column;
    gap: 8px;
  }
}

@media (max-width: 480px) {
  .site-footer .shell {
    width: calc(100% - 28px);
  }

  .site-footer .footer-grid {
    grid-template-columns: 1fr;
  }
}
