.site-footer {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 32px max(64px, calc((100% - 1600px) / 2 + 64px));
  background: var(--color-blue-90);
  color: var(--color-blue-30);
}

.site-footer__links {
  display: flex;
  align-items: stretch;
  gap: 16px;
  width: 100%;
}

.site-footer__links a {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: center;
  min-width: 0;
  color: inherit;
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  letter-spacing: -0.02em;
  text-align: center;
  text-decoration: none;
}

.site-footer__links a:hover {
  color: var(--color-white);
}

.site-footer a:focus-visible {
  outline: 2px solid var(--color-blue-40);
  outline-offset: 3px;
}

.site-footer__rule {
  flex: none;
  width: 1px;
  background: var(--color-blue-80);
}

.site-footer__mark {
  display: none;
}

.site-footer__legal {
  width: 100%;
  text-align: center;
  font-size: 14px;
  line-height: 20px;
  letter-spacing: -0.02em;
}

.site-footer__legal a {
  color: inherit;
  text-decoration: none;
}

.site-footer__legal a:hover {
  color: var(--color-white);
}

@media (max-width: 900px) {
  .site-footer {
    gap: 24px;
    padding: 32px 24px;
  }

  .site-footer__links {
    flex-direction: column;
    gap: 16px;
  }

  .site-footer__links a {
    font-size: 12px;
    line-height: 16px;
  }

  .site-footer__rule {
    display: none;
  }

  .site-footer__mark {
    display: block;
    width: 51px;
    height: 1px;
    background: var(--color-blue-80);
  }

  .site-footer__legal {
    font-size: 12px;
    line-height: 16px;
  }

  .problem__pin,
  .stage,
  .audience,
  .process,
  .formats__pin,
  .scenarios__pin,
  .plans,
  .simplify__pin,
  .reviews,
  .faq,
  .request,
  .technologies {
    padding-top: 88px;
  }
}
