/* Shared footer: platform links remain compact beside the filing information. */
.v4-footer-follow{display:flex;flex-direction:column;gap:14px;min-width:0}
.v4-footer-social{display:flex;flex-wrap:wrap;align-items:center;gap:8px;color:#fff}
.v4-footer .v4-social-entry{display:flex;align-items:center;justify-content:center;flex-direction:column;gap:6px;width:52px;min-width:48px;min-height:56px;padding:6px 8px;border:0;border-radius:8px;background:transparent;color:#fff;font:inherit;transition:background .18s,transform .18s}
.v4-social-icon{display:block;flex:none;width:26px;height:26px;fill:currentColor;stroke:none}
.v4-social-entry span{font-size:10px;line-height:1.4;letter-spacing:.5px;opacity:.8}
.v4-footer .v4-social-entry:hover{background:#ffffff18;transform:translateY(-2px)}
.v4-footer .v4-social-entry:focus-visible{outline:2px solid #fff;outline-offset:2px}
.v4-footer .v4-footer-bottom{align-items:center;gap:24px}
.v4-footer address a{overflow-wrap:anywhere}
.v4-social-dialog{width:min(380px,calc(100vw - 32px));max-height:calc(100dvh - 48px);overflow:auto;padding:32px 28px;border:0;border-radius:18px;color:#333;background:#fff;text-align:center;box-shadow:0 20px 80px #0003;font:15px/1.7 var(--v4-ui-font)}
.v4-social-dialog::backdrop{background:#21131a88;backdrop-filter:blur(4px)}
.v4-social-dialog h2{font-size:22px;margin:10px 0 6px;color:var(--red)}
.v4-social-dialog p{font-size:14px;line-height:1.8;margin:0;overflow-wrap:anywhere}
.v4-social-dialog-icon{display:flex;justify-content:center;color:var(--red)}
.v4-social-close{position:absolute;top:8px;right:8px;display:flex;align-items:center;justify-content:center;width:44px;height:44px;padding:0;border:0;border-radius:4px;background:transparent;color:#555;appearance:none;-webkit-appearance:none;line-height:1}
.v4-social-close>svg{display:block;flex:none;width:24px;height:24px}
.v4-social-qr{display:block;width:240px;max-width:100%;height:auto;max-height:300px;object-fit:contain;margin:20px auto;background:#fff;padding:8px;border:1px solid #f0eaed;border-radius:8px}
.v4-social-dialog .v4-social-hint{font-size:12px;color:#857780;margin-top:14px}
.v4-social-visit{display:inline-block;margin-top:20px;padding:10px 22px;border-radius:24px;background:var(--red);color:#fff}
.v4-social-dialog [hidden]{display:none!important}
.v4-social-dialog :focus-visible{outline:2px solid var(--red);outline-offset:3px}
/* Start at the account title without highlighting the close button on open. */
.v4-social-dialog h2:focus{outline:none}
@media(max-width:600px){.v4-footer .v4-footer-bottom{display:flex;flex-direction:column;align-items:flex-start;gap:18px}.v4-footer .v4-footer-bottom>p{margin:0}.v4-footer-social{gap:5px}.v4-footer .v4-social-entry{min-width:44px;padding:6px}}
@media(prefers-reduced-motion:reduce){.v4-footer .v4-social-entry{transition:none}}

/* All pages use the same compact footer on mobile and touch screens. */
@media(max-width:1199px),(pointer:coarse) {
  .v4-body .v4-footer { flex:none; width:100%; padding:0; }
  .v4-body .v4-footer .v4-footer-inner {
    display:flex; flex-direction:column; width:100%; max-width:600px;
    padding:20px 24px calc(16px + env(safe-area-inset-bottom,0px)); gap:14px;
  }
  .v4-body .v4-footer .v4-footer-brand img { width:176px; height:auto; }
  .v4-body .v4-footer address { margin-top:12px; gap:2px; font-size:12px; line-height:1.65; }
  .v4-body .v4-footer address strong { display:none; }
  .v4-body .v4-footer .v4-footer-columns {
    display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:4px; margin:0;
    border-top:1px solid #ffffff30; border-bottom:1px solid #ffffff30;
  }
  .v4-body .v4-footer .v4-footer-columns>div { min-width:0; gap:0; }
  .v4-body .v4-footer .v4-footer-columns a:not(.v4-footer-title) { display:none; }
  .v4-body .v4-footer .v4-footer-columns .v4-footer-title {
    display:flex; justify-content:center; align-items:center; min-height:44px;
    margin:0; font-size:13px; letter-spacing:0;
  }
  .v4-body .v4-footer .v4-footer-bottom {
    display:flex; flex-direction:column; align-items:stretch; padding:0; gap:12px; border:0;
  }
  .v4-body .v4-footer .v4-footer-follow { gap:0; }
  .v4-body .v4-footer .v4-footer-follow>span { display:none; }
  .v4-body .v4-footer .v4-footer-social { display:flex; flex-wrap:nowrap; justify-content:space-between; gap:0; }
  .v4-body .v4-footer .v4-social-entry { flex:1 1 0; width:auto; max-width:56px; min-width:44px; min-height:48px; padding:2px 4px; gap:4px; }
  .v4-body .v4-footer .v4-social-entry svg { width:24px; height:24px; }
  .v4-body .v4-footer .v4-footer-bottom>p { margin:0; text-align:center; font-size:10px; line-height:1.6; }
}

/* Use the original 900px artwork for a crisp white mark on retina screens. */
.v4-body .v4-footer-logo.v4-footer-logo-monochrome>img { filter:brightness(0) invert(1); }
/* Preserve the original colored flower above the white wordmark treatment. */
.v4-body .v4-footer-logo.v4-footer-logo-monochrome { position:relative; }
.v4-body .v4-footer-logo.v4-footer-logo-monochrome::after {
  content:""; position:absolute; inset:0; pointer-events:none;
  background:url('/static/img/foundation-logo.webp') left center/100% 100% no-repeat;
  clip-path:inset(0 73.333% 0 0);
}
