.footer.site-footer { display: block; padding-block: 30px 18px; text-align: start; }
.footer-main { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.footer-bottom { display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; gap: 20px; margin-top: 24px; padding-top: 16px; border-top: 1px solid rgba(242,240,234,.09); }
.footer-legal { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; }
.footer-credit { display: inline-flex; grid-column: 2; align-items: center; justify-content: center; gap: 6px; min-height: 44px; direction: ltr; }
.footer .footer-credit img { display: block; width: 89px; height: auto; max-width: none; opacity: 1; filter: brightness(0) invert(1); }
.footer .footer-credit .helian-icon { width: 18px; filter: none; }
.footer-credit:focus-visible { outline: 2px solid #ff7085; outline-offset: 4px; }
.footer-legal a, .footer-legal button { display: inline-flex; min-height: 44px; align-items: center; padding: 4px 0; border: 0; background: transparent; color: #b4b1aa; font: inherit; font-size: 11px; line-height: 1.6; text-decoration: none; cursor: pointer; }
.footer-legal a:hover, .footer-legal button:hover { color: #fff; }
.footer-legal a[aria-current="page"] { color: #f2f0ea; text-decoration: underline; text-decoration-color: #ff0023; text-underline-offset: 5px; }
.footer-legal :focus-visible { outline: 2px solid #ff7085; outline-offset: 4px; }
.legal-page main { padding-bottom: 70px; }
.legal-page .article-body { max-width: 850px; }
.legal-page code { overflow-wrap: anywhere; }
@media (max-width: 1100px) {
  .footer-bottom { display: flex; flex-direction: column; gap: 8px; }
  .footer-legal { justify-content: center; }
}
@media (max-width: 680px) {
  .footer-main { flex-direction: column; align-items: center; text-align: center; gap: 18px; }
  .footer-legal { justify-content: center; gap: 4px 20px; text-align: center; }
}
