.site-footer {
  display: grid;
  background: #f2f5f3;
  color: #283d32;
  border-top: 1px solid #d9e1dc;
  padding: 40px max(24px,calc((100% - var(--max))/2)) 16px;
}
.site-footer .footer-grid {
  order: 0;
  grid-template-columns: minmax(0,1.1fr) minmax(0,1.2fr) minmax(0,1fr) minmax(0,1fr);
  gap: 28px;
}
.site-footer .footer-grid > * { min-width: 0; }
.site-footer h3 { color: #173e2e; margin: 0 0 10px; font-size: 16px; line-height: 1.6; }
.site-footer p, .site-footer a { color: #495b50; font-size: 14px; line-height: 1.8; overflow-wrap: anywhere; }
.site-footer .footer-grid p { margin: 0; }
.footer-products ul, .footer-links ul { list-style: none; margin: 0; padding: 0; }
.footer-products a, .footer-links a {
  display: flex;
  align-items: center;
  min-height: 44px;
  padding: 6px 0;
  line-height: 1.6;
}
.site-footer a:hover, .site-footer .analytics-settings:hover { color: #0b5133; text-decoration: underline; text-underline-offset: 4px; }
.site-footer a:focus-visible, .site-footer button:focus-visible { outline: 2px solid #175d40; outline-offset: 3px; }
.site-footer .image-disclosure {
  order: 1;
  width: 100%;
  max-width: none;
  margin: 24px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid #d9e1dc;
  color: #617066;
  font-size: 12px;
  line-height: 1.7;
}
.site-footer .footer-bottom {
  order: 2;
  margin-top: 8px;
  padding-top: 8px;
  border: 0;
  color: #617066;
  gap: 4px 24px;
  line-height: 1.7;
}
.site-footer .privacy-tools a, .site-footer .analytics-settings {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #495b50;
  font-size: 12px;
}
@media (min-width:1001px) {
  .site-footer .footer-grid { grid-template-columns: minmax(0,1.15fr) minmax(0,1fr) minmax(0,1fr); gap: 20px 48px; }
  .site-footer .footer-grid > div:first-child { grid-column: 1; grid-row: 1; }
  .site-footer .footer-grid > div:nth-child(2) { grid-column: 1; grid-row: 2; }
  .footer-products { grid-column: 2; grid-row: 1 / 3; }
  .footer-links { grid-column: 3; grid-row: 1 / 3; }
  .footer-products ul, .footer-links ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 16px; }
}
@media (max-width:1000px) {
  .site-footer .footer-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 24px 32px; }
  .footer-products ul, .footer-links ul { display: grid; grid-template-columns: repeat(2,minmax(0,1fr)); gap: 0 16px; }
}
@media (max-width:600px) {
  .site-footer { padding: 28px 20px 12px; }
  .site-footer .footer-grid { gap: 20px 24px; }
  .site-footer .footer-grid > div { grid-column: 1 / -1; }
  .site-footer h3 { margin-bottom: 6px; font-size: 15px; }
  .footer-products ul, .footer-links ul { display: block; }
  .site-footer .image-disclosure { margin-top: 20px; }
  .site-footer .footer-bottom { display: block; }
  .site-footer .privacy-tools { display: flex; gap: 16px; }
}
