/* Home-page footer: desktop typography and structure, arranged for phones. */
@media (max-width: 600px) {
  .site-footer { padding: 28px 24px 20px; }
  .site-footer-main {
    grid-template-columns: minmax(0, 1fr) auto;
    grid-template-areas: "brand language" "legal legal" "credit credit";
    align-items: center;
    gap: 0 16px;
    padding-bottom: 0;
    border-bottom: 0;
  }
  .site-footer-brand { grid-area: brand; height: 44px; min-height: 44px; margin-bottom: 10px; }
  .site-footer-brand img { width: 156px; left: -4px; }
  .site-footer-language { grid-area: language; align-self: center; height: 44px; margin-bottom: 10px; }
  .site-footer-language select { min-height: 44px; font-size: 10px; }
  .site-footer-legal {
    grid-area: legal;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: end;
    align-self: auto;
    height: auto;
    gap: 0 6px;
    padding: 0;
    border: 0;
    font-size: 9px;
  }
  .site-footer-legal a { display: flex; align-items: end; min-height: 28px; padding: 6px 0; line-height: 1.5; white-space: nowrap; }
  .site-footer-credit {
    grid-area: credit;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto 12px;
    align-items: center;
    align-self: auto;
    gap: 6px;
    min-height: 38px;
    height: auto;
    padding: 10px 52px 0 0;
    border-top: 1px solid #d6d5d1;
    font-size: 9px;
    line-height: 1.5;
    white-space: normal;
  }
  .site-footer-credit strong { font-size: 11px; }
  .site-footer-credit img { width: 12px; height: 12px; min-width: 12px; min-height: 12px; }
  .site-footer-bottom { padding: 6px 48px 0 0; font-size: 8px; line-height: 1.6; }
  /* Leave the footer links clear of the floating assistant. */
  .site-footer + .contact-bubble { right: 16px; bottom: max(16px, env(safe-area-inset-bottom)); width: 44px; height: 44px; padding: 10px; }
}
@media (max-width: 350px) {
  .site-footer-legal { display: grid; grid-template-columns: 1fr 1fr; gap: 0 12px; }
}
