.site-footer {
  margin-top: 0;
  background: var(--color-purple);
  color: var(--color-white);
}

.site-footer__inner {
  width: min(var(--container), calc(100% - 48px));
  margin-inline: auto;
  padding-top: 40px;
  padding-bottom: 24px;
}

.site-footer__top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}

.site-footer__col {
  min-width: 0;
}

.site-footer__legacy {
  min-width: 0;
}

.site-footerbottom {
  margin-top: 28px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.site-footer a {
  color: var(--color-white);
  text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
  text-decoration: underline;
}

.site-footer p,
.site-footer ul,
.site-footer ol {
  margin: 0;
}

.site-footer ul {
  list-style: none;
  padding: 0;
}

.site-footer li + li {
  margin-top: 8px;
}

.site-footer h2,
.site-footer h3,
.site-footer h4,
.site-footer h5,
.site-footer h6 {
  margin: 0 0 12px;
  color: var(--color-white);
  font-size: 1.125rem;
  line-height: 1.2;
  font-weight: 700;
}

.site-footer img {
  display: block;
  max-width: 100%;
  height: auto;
}

@media (max-width: 900px) {
  .site-footer__top {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

@media (max-width: 640px) {
  .site-footer__inner {
    width: min(var(--container), calc(100% - 32px));
    padding-top: 32px;
    padding-bottom: 20px;
  }

  .site-footerbottom {
    margin-top: 24px;
    padding-top: 16px;
  }
}