:root {
  --site-footer-bg: #f4f4f5;
  --site-footer-text: #696b72;
  --site-footer-link: #52545a;
  --site-footer-line: #d8d9dc;
}

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

.site-footer {
  display: block;
  width: 100%;
  max-width: none;
  margin: 72px 0 0;
  padding: 0;
  border-top: 1px solid var(--site-footer-line);
  background: var(--site-footer-bg);
  color: var(--site-footer-text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", sans-serif;
  font-size: 14px;
  line-height: 1.5;
}

.site-footer-inner {
  width: min(1280px, calc(100% - 40px));
  min-height: 92px;
  margin: 0 auto;
  padding: 26px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.site-footer-copy {
  flex: 0 0 auto;
  white-space: nowrap;
}

.site-footer-content {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 8px 18px;
  text-align: right;
}

.site-footer-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0;
  width: auto;
  max-width: none;
  min-height: 0;
  margin: 0;
  padding: 0;
}

.site-footer-links a {
  color: var(--site-footer-link);
  font: inherit;
  font-weight: 600;
  text-decoration: none;
}

.site-footer-links a:hover {
  color: #25262a;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer-links a + a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: #9a9ca2;
  transform: translateY(-50%);
}

.site-footer-links a + a {
  position: relative;
  margin-left: 8px;
  padding-left: 11px;
}

.site-footer-links a:focus-visible {
  outline: 3px solid rgba(207, 67, 5, .3);
  outline-offset: 4px;
  border-radius: 3px;
}

.site-footer-meta {
  white-space: nowrap;
}

@media (max-width: 760px) {
  .site-footer {
    margin-top: 48px;
  }

  .site-footer-inner,
  .site-footer-content,
  .site-footer-links {
    align-items: flex-start;
    justify-content: flex-start;
    text-align: left;
  }

  .site-footer-inner {
    min-height: 0;
    padding: 24px 0 28px;
    flex-direction: column;
    gap: 14px;
  }

  .site-footer-content {
    gap: 12px;
  }

  .site-footer-meta {
    white-space: normal;
  }
}
