#shared-footer {
  scroll-margin-top: clamp(96px, 24vh, 225px);
}
#shared-footer .footer-wave { height: clamp(24px, 3.5vw, 50px); }
#shared-footer .footer-brand.wordmark { min-height: 44px; padding-right: 0; }
#shared-footer .footer-brand.wordmark::after { content: none; }
#shared-footer .footer-top { padding-block: 34px; }
#shared-footer .footer-tagline strong {
  display: block; font-size: 22px; line-height: 1.4; font-weight: 600;
}
#shared-footer .footer-nav { padding-block: 30px; grid-template-columns: repeat(4, minmax(0, 1fr)); }
#shared-footer h2 {
  margin: 0 0 10px; color: inherit; font: inherit; font-size: 18px; font-weight: 600; line-height: 1.35;
  text-transform: none; letter-spacing: 0;
}
#shared-footer .family { padding: 28px 0; }
#shared-footer .family-heading { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; margin-bottom: 15px; }
#shared-footer .family-heading h2, #shared-footer .family-heading p { margin: 0; }
#shared-footer .family-heading p { font-size: 15px; opacity: .9; }
#shared-footer .family-links { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 6px 34px; }
#shared-footer .family-link {
  display: grid; grid-template-columns: minmax(0, 1fr) auto; align-content: center; align-items: center;
  gap: 1px 8px; min-height: 58px; padding: 6px 0; color: inherit; text-decoration: none;
  border-bottom: 1px solid rgb(255 255 255 / 28%); line-height: 1.35;
}
#shared-footer .family-link strong { font-size: 17px; font-weight: 600; }
#shared-footer .family-link small { grid-column: 1; opacity: .9; font-size: 14px; }
#shared-footer .family-link > :last-child { grid-area: 1 / 2 / 3 / 3; color: var(--turquoise); }
#shared-footer .family-link b { font-size: 12px; font-weight: 600; line-height: 1.3; }
#shared-footer .family-link[aria-current] strong { color: var(--turquoise); }
#shared-footer .family-link:hover strong { text-decoration: underline; text-underline-offset: 4px; }
#shared-footer .footer-bottom { justify-content: flex-start; padding-block: 16px 0; }
#shared-footer .back-top { margin-left: auto; min-height: 44px; }
#shared-footer .footer-note { padding: 6px 0 26px; }
#shared-footer a:focus-visible { outline: 3px solid var(--turquoise); outline-offset: 3px; }
#link-status :focus-visible { outline: 3px solid var(--navy); outline-offset: 3px; }
#link-status {
  width: min(480px, calc(100% - 32px)); max-height: calc(100dvh - 30px); padding: 26px;
  margin: auto; border: 0; border-radius: 14px; background: var(--white); color: var(--ink); font: inherit; font-size: 16px;
}
#link-status::backdrop { background: #0c233eb5; }
#link-status .status-kicker { font-size: 14px; font-weight: 600; margin: 0; }
#link-status h2 { margin: 12px 0; font-size: 26px; }
#link-status #link-address { background: var(--turquoise); padding: 10px 14px; margin-block: 14px; border-radius: 5px; overflow-wrap: anywhere; }
#link-status .status-actions { display: flex; align-items: center; flex-wrap: wrap; gap: 8px 16px; }
#link-status button { font-family: inherit; cursor: pointer; }
#open-local:not([hidden]) { min-height: 44px; display: inline-flex; align-items: center; color: var(--navy); text-decoration: underline; }
@media (max-width: 700px) {
  #shared-footer .footer-top { align-items: flex-start; flex-direction: column; gap: 16px; padding-block: 24px; }
  #shared-footer .footer-nav, #shared-footer .family-links { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 18px; }
  #shared-footer .family-links { row-gap: 4px; }
  #shared-footer .family-heading { display: block; }
  #shared-footer .family-link { display: flex; flex-direction: column; align-items: flex-start; justify-content: center; }
  #shared-footer .family-link strong { font-size: 16px; }
  #shared-footer .family-link small { font-size: 13px; }
  #shared-footer .family-link span { display: none; }
  #shared-footer .footer-bottom { flex-direction: column; align-items: flex-start; gap: 0; }
}
@media (hover: none), (pointer: coarse) { #shared-footer .back-top { display: none; } }
@media (max-width: 350px) { #shared-footer .family-links { grid-template-columns: 1fr; } }
