/* Owncome — общий подвал.
   Один и тот же на главной и на юридических страницах, поэтому стили
   вынесены отдельно: раньше они лежали только в legal.css, и на главной
   подвал разъезжался без оформления. */

.site-footer {
  width: 100%;
  background: #11131A;
  border-top: 0.5px solid rgba(237, 230, 218, 0.12);
  padding: 34px 0;
  box-sizing: border-box;
}

.site-footer .wrap {
  width: 1160px;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 32px;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px 20px;
}

.site-footer .wordmark {
  font: 700 16px var(--nm-font-mono);
  letter-spacing: -0.02em;
  color: #EDE6DA;
  white-space: nowrap;
}
.site-footer .wordmark i {
  display: inline-block;
  width: 0.1em;
  height: 0.8em;
  margin: 0 0.085em;
  transform: translateY(0.13em);
  background: #D88959;
  font-style: normal;
}

.site-footer .footer-meta {
  margin-left: auto;
  font: 500 12px var(--nm-font-mono);
  color: #8A8278;
}
.site-footer .footer-meta a { color: #8A8278; }
.site-footer .footer-meta a:hover { color: #EDE6DA; }

.site-footer .footer-legal {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  width: 100%;
  padding-top: 6px;
  margin: 0;
}

.site-footer .footer-legal a,
.site-footer .footer-legal button {
  font: 500 12.5px var(--nm-font-mono);
  color: #B9B2A6;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  text-align: left;
}
.site-footer .footer-legal a:hover,
.site-footer .footer-legal button:hover { color: #EDE6DA; }
.site-footer .footer-legal a:focus-visible,
.site-footer .footer-legal button:focus-visible {
  outline: 2px solid #D88959;
  outline-offset: 2px;
}

/* Ссылки подвала в столбец, тап-цель 44px — по спеке мобильной версии */
@media (max-width: 767px) {
  .site-footer .wrap { padding-left: 16px; padding-right: 16px; }
  .site-footer .footer-meta { margin-left: 0; width: 100%; }
  .site-footer .footer-legal { flex-direction: column; gap: 0; }
  .site-footer .footer-legal a,
  .site-footer .footer-legal button {
    display: flex;
    align-items: center;
    min-height: 44px;
  }
}
