.footer {
  border-top: 1px solid #eef2f4;
  background: #fff;
  box-shadow: 0 -12px 22px -24px rgba(15, 23, 42, .18);
  font-family: Inter, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
}

.footer-inner {
  width: min(100% - 40px, 1180px);
  min-height: 230px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 40px;
  align-items: start;
  padding: 38px 0 30px;
}

.footer-brand {
  margin: 0;
  color: #111827;
  font-size: 20px;
  line-height: 1;
  font-weight: 860;
  letter-spacing: 0;
}

.footer-slogan {
  margin: 20px 0 0;
  color: #334155;
  font-size: 14px;
  line-height: 1.7;
  font-weight: 720;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(88px, auto));
  gap: 16px 46px;
  color: #4b5565;
  font-size: 12px;
  font-weight: 760;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  width: max-content;
  min-height: 26px;
  color: inherit;
  text-decoration: none;
  border-radius: 6px;
  transition: color .16s ease, background .16s ease, transform .16s ease;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: #111827;
  background: rgba(15, 23, 42, .035);
  transform: translateY(-1px);
  outline: none;
}

.footer-note {
  grid-column: 1 / -1;
  align-self: end;
  color: #7b8494;
  font-size: 10px;
  line-height: 1.4;
  font-weight: 650;
}

@media (min-width: 721px) and (max-width: 1099px) {
  .footer-inner {
    width: min(100% - 96px, 860px);
  }
}

@media (max-width: 720px) {
  .footer-inner {
    width: min(100% - 48px, 1180px);
    min-height: 0;
    grid-template-columns: 1fr;
    gap: 28px;
    padding: 42px 0 10px;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 24px;
  }

  .footer-note {
    margin-top: 4px;
  }
}
