.site-footer {
  padding: 56px 0 36px;
  color: var(--faint);
  font-size: 13px;
}

.site-footer .footer-inner {
  width: min(100% - 32px, var(--footer-max, 1120px));
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(260px, 0.9fr) minmax(320px, 420px);
  gap: 28px;
  border-top: 1px solid var(--line-soft);
  padding-top: 28px;
}

.site-footer .footer-brand {
  max-width: 520px;
}

.site-footer .footer-title {
  display: inline-flex;
  align-items: center;
  margin-bottom: 14px;
  color: var(--text);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 820;
  line-height: 0.95;
  white-space: nowrap;
}

.site-footer .footer-brand p {
  max-width: 56ch;
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.site-footer .footer-report {
  align-self: start;
  max-width: 34ch;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.65;
}

.site-footer .footer-report strong {
  display: block;
  margin-bottom: 6px;
  color: var(--text);
  font-size: 13px;
  font-weight: 760;
  line-height: 1.2;
  text-transform: uppercase;
}

.site-footer .footer-report a,
.site-footer .footer-brand a {
  color: var(--text);
  font-weight: 650;
}

.site-footer .footer-report a:hover,
.site-footer .footer-report a:focus-visible,
.site-footer .footer-brand a:hover,
.site-footer .footer-brand a:focus-visible {
  color: var(--brand-accent);
  outline: none;
}

.site-footer .footer-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  align-content: start;
}

.site-footer .footer-link {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 36px;
  padding: 0 10px;
  border-radius: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 650;
  line-height: 1;
  transition: background 160ms ease, color 160ms ease;
}

.site-footer .footer-link:hover,
.site-footer .footer-link:focus-visible {
  color: var(--text);
  background: var(--hover-bg);
  outline: none;
}

.site-footer .footer-link svg {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.site-footer .footer-link svg.fill-icon {
  fill: currentColor;
  stroke: none;
}

.docs-page .site-footer {
  margin-left: var(--docs-rail);
}

@media (max-width: 980px) {
  .docs-page .site-footer {
    margin-left: 0;
  }
}

@media (max-width: 1100px) {
  .site-footer .footer-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .site-footer {
    padding: 38px 0 28px;
  }

  .site-footer .footer-inner {
    width: min(100% - 24px, var(--footer-max, 1120px));
    gap: 18px;
    padding-top: 22px;
  }

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

  .site-footer .footer-title {
    margin-bottom: 0;
    font-size: 34px;
  }

  .site-footer .footer-report {
    max-width: none;
    font-size: 13px;
  }

  .site-footer .footer-report span {
    overflow-wrap: anywhere;
  }

  .site-footer .footer-link {
    min-height: 34px;
    padding: 0 8px;
    font-size: 12px;
  }

  .site-footer .footer-link svg {
    width: 15px;
    height: 15px;
    flex-basis: 15px;
  }
}

@media (max-width: 420px) {
  .site-footer .footer-inner {
    width: min(100% - 20px, var(--footer-max, 1120px));
    gap: 16px;
  }

  .site-footer .footer-title {
    font-size: 30px;
  }

  .site-footer .footer-links {
    grid-template-columns: 1fr;
  }

  .site-footer .footer-link {
    width: 100%;
  }
}
