.site-footer,
.site-footer * {
  box-sizing: border-box;
}

.site-footer {
  width: 100%;
  overflow: hidden;
  background:
    radial-gradient(circle at 8% 0%, rgba(45, 140, 255, .13), transparent 34%),
    #0d1b2a;
  color: #fff;
  font-family: Manrope, Arial, Helvetica, sans-serif;
}

.site-footer__inner,
.site-footer__bottom {
  width: min(1160px, calc(100% - 40px));
  margin: 0 auto;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(260px, 1.4fr) minmax(190px, .8fr) minmax(140px, .55fr);
  gap: 54px;
  padding: 54px 0 40px;
}

.site-footer__brand {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 16px;
}

.site-footer__brand-link {
  width: fit-content;
  display: inline-flex;
  align-items: baseline;
  color: #fff;
  line-height: 1;
  text-decoration: none;
}

.site-footer__brand-wordmark {
  display: inline-flex;
  align-items: baseline;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 28px;
  font-weight: 900;
  letter-spacing: 0;
  white-space: nowrap;
}

.site-footer__brand-main {
  color: #fff;
}

.site-footer__brand-accent {
  color: #12aef7;
}

.site-footer__brand p {
  max-width: 320px;
  margin: 0;
  color: rgba(255, 255, 255, .78);
  font-size: 14px;
  font-weight: 550;
  line-height: 1.75;
}

.site-footer__column {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 10px;
}

.site-footer__column h3 {
  margin: 0 0 6px;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
}

.site-footer__column a,
.site-footer__bottom a {
  color: rgba(255, 255, 255, .76);
  font-size: 13px;
  font-weight: 650;
  line-height: 1.25;
  text-decoration: none;
}

.site-footer__column a:hover,
.site-footer__column a:focus-visible,
.site-footer__bottom a:hover,
.site-footer__bottom a:focus-visible {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 5px;
  outline: none;
}

.site-footer__social {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 0;
}

.site-footer .site-footer__social-link {
  width: 34px;
  height: 34px;
  max-width: 34px;
  max-height: 34px;
  flex: 0 0 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: #fff;
  color: #0d1b2a;
  text-decoration: none;
  transition: transform .18s ease, background-color .18s ease, color .18s ease;
}

.site-footer .site-footer__social-link:hover,
.site-footer .site-footer__social-link:focus-visible {
  color: #061b3a;
  background: #eaf7ff;
  transform: translateY(-2px);
  outline: none;
}

.site-footer .site-footer__social-link:focus-visible {
  box-shadow: 0 0 0 3px rgba(45, 140, 255, .36);
}

.site-footer__social-icon {
  width: 18px;
  height: 18px;
  max-width: 18px;
  max-height: 18px;
  flex: 0 0 18px;
  fill: currentColor;
  object-fit: contain;
}

.site-footer__social-icon path {
  fill: currentColor;
}

.site-footer__bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .62);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
}

.site-footer__legal {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px 12px;
}

.site-footer__legal span {
  color: rgba(255, 255, 255, .38);
  font-size: 12px;
  line-height: 1;
}

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

  .site-footer__bottom {
    justify-content: flex-start;
    align-items: flex-start;
    text-align: left;
  }

  .site-footer__legal {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .site-footer__inner,
  .site-footer__bottom {
    width: min(100% - 24px, 430px);
  }

  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 40px 0 28px;
  }

  .site-footer__brand-wordmark {
    font-size: 26px;
  }

  .site-footer__brand p {
    max-width: 280px;
    font-size: 13px;
  }

  .site-footer__column {
    gap: 9px;
  }

  .site-footer__social {
    gap: 14px;
  }

  .site-footer__bottom {
    padding-bottom: 24px;
  }
}
