/* Shared legal navigation, including mobile safe-area spacing. */
footer .footer-bottom { padding-bottom: 10px; }
.cag-footer-policy-row { padding-block: 0 30px; }
.cag-footer-policies { display: flex; flex-wrap: wrap; gap: 8px 26px; }
.cag-footer-policies a { display: inline-flex; align-items: center; min-height: 44px; color: #334d59; font-size: .875rem; line-height: 1.5; text-decoration: underline; text-underline-offset: 4px; overflow-wrap: anywhere; }
.cag-footer-policies a:hover { color: #b81c30; }
.cag-footer-policies a:focus-visible, .cag-legal-related a:focus-visible { outline: 3px solid #008c82; outline-offset: 4px; border-radius: 3px; }
.cag-legal-related { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; padding-block: 24px; border-block: 1px solid #dce7eb; margin-bottom: 24px; }
.cag-legal-related a { min-height: 44px; display: inline-flex; align-items: center; color: #007e75; text-decoration: underline; text-underline-offset: 4px; }
.cag-not-found { max-width: 820px; margin-inline: auto; padding-block: clamp(50px, 8vw, 120px); }
.cag-not-found .cag-error-code { color: #b81c30; font-size: clamp(5rem, 14vw, 9rem); font-weight: 800; line-height: 1; margin: 0 0 22px; letter-spacing: -.05em; }
.cag-not-found h1 { font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.25; text-wrap: balance; }
.cag-not-found > p:not(.cag-error-code):not(.eyebrow) { max-width: 640px; margin: 18px auto; color: #49616d; line-height: 1.8; }
.cag-error-actions { display: flex; justify-content: center; flex-wrap: wrap; gap: 12px; margin: 26px 0; }
.cag-error-actions a { display: inline-flex; align-items: center; justify-content: center; min-height: 48px; padding: 12px 24px; border: 1px solid #007e75; border-radius: 12px; background: #007e75; color: #fff; font-weight: 650; }
.cag-error-actions a + a { color: #00685f; background: #fff; }
.cag-error-actions a:hover { box-shadow: 0 4px 16px #12343e1a; }
.cag-error-actions a:focus-visible { outline: 3px solid #b81c30; outline-offset: 4px; }
.cag-error-help a { text-decoration: underline; text-underline-offset: 4px; }
@media (max-width: 760px) {
  .cag-footer-policies { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px 18px; }
  .cag-footer-policy-row { padding-bottom: calc(100px + env(safe-area-inset-bottom, 0px)); }
  .cag-footer-policies a { font-size: .8125rem; }
  .cag-legal-related { gap: 8px 16px; }
  .cag-legal-related strong { flex-basis: 100%; }
}
@media (max-width: 380px) { .cag-footer-policies { grid-template-columns: 1fr; } }
@media print { .cag-footer-policy-row { display: none; } }
