/* <----- Main footer only: mobile layout; desktop and policy-page styles stay unchanged. -----> */
@media (max-width: 600px) {
  .site-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    padding-block: 26px 22px;
    text-align: center;
  }

  .site-footer > .brand {
    order: 0;
    max-width: 132px;
    align-self: center;
    justify-content: center;
  }

  .site-footer .brand-logo {
    width: 132px;
    max-width: 100%;
    height: auto;
  }

  .site-footer .footer-legal {
    order: 1;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 16px;
    flex-basis: auto;
    width: min(100%, 360px);
    align-self: center;
    padding-top: 0;
    border-top: 0;
  }

  .site-footer .footer-legal a {
    justify-content: center;
    min-height: 44px;
    padding: 8px 4px;
    font-size: 12px;
    line-height: 1.5;
    text-align: center;
  }

  .site-footer > small {
    order: 2;
    display: block;
    width: 100%;
    color: var(--muted);
    font-size: 11px;
    line-height: 1.5;
  }
}
