/* v013: scoped footer/community/download treatment. No global UI or logo changes. */
.wm-connect-icon{display:inline-block;width:24px;height:24px;flex-shrink:0;vertical-align:middle}
.wm-connect-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.wm-footer{margin-top:64px;padding:0;background:#fff;border-top:1px solid var(--border);color:#34404b;font-size:15px}
.wm-footer .wrap{padding-top:0;padding-bottom:0}
.wm-footer-top{display:grid;grid-template-columns:minmax(0,.9fr) minmax(0,1.25fr);gap:clamp(24px,5vw,64px);padding:40px 0 34px;border-bottom:1px solid var(--border);align-items:start}
.wm-footer-brand-link{display:inline-flex;align-items:center;gap:13px;text-decoration:none;color:#27323a;font-size:28px;font-weight:750;letter-spacing:-.6px;line-height:1.15;min-height:52px}
.wm-footer-brand-link img{display:block;width:52px;height:52px;object-fit:contain}
.wm-footer-brand p{margin:12px 0 15px;color:#59616d;font-size:16px}
.wm-social-links{display:flex;flex-wrap:wrap;gap:8px;max-width:100%}
.wm-social-link{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;padding:9px 12px;border:1px solid var(--border);border-radius:12px;text-decoration:none;font-size:14px;font-weight:650;background:#fff;color:var(--accent-dark);line-height:1.25}
.wm-social-link .wm-connect-icon{width:20px;height:20px}
.wm-social-link:hover{background:var(--accent-soft);border-color:var(--accent-border)}
.wm-footer-community{display:flex;gap:17px;background:var(--accent-soft);border-radius:24px;padding:24px;min-width:0}
.wm-footer-community-icon{display:flex;align-items:center;justify-content:center;width:44px;height:44px;flex:0 0 44px;border-radius:50%;background:#fff;color:var(--accent-dark)}
.wm-footer-community h2{font-size:22px;line-height:1.25;letter-spacing:-.4px;margin:2px 0 9px;color:#28303a}
.wm-footer-community p{margin:0 0 12px;line-height:1.65;color:#505b65;font-size:15px}
.wm-group-link{display:inline-flex;align-items:center;gap:9px;font-size:15px;font-weight:750;min-height:44px;padding:4px 0;text-decoration:none;color:var(--accent-dark);line-height:1.4}
.wm-group-link:hover{text-decoration:underline}
.wm-group-link .wm-connect-icon{width:20px;height:20px}
.wm-footer-bottom{display:grid;grid-template-columns:minmax(0,1.5fr) minmax(0,1fr);gap:30px;padding:28px 0 34px}
.wm-footer .footer-legal{font-size:13px;line-height:1.8;color:#606976;overflow-wrap:anywhere}
.wm-footer .footer-legal p{margin:0 0 7px}
.wm-footer .footer-legal strong{font-size:14px;color:#34404b}
.wm-footer .trademark-note{font-size:11px;color:#626b77;margin-top:12px}
.wm-footer-links{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:2px 15px;align-content:start}
.wm-footer-links a{display:flex;align-items:center;min-height:44px;line-height:1.45;text-decoration:none;color:#4a5460;font-size:14px;overflow-wrap:anywhere}
.wm-footer-links a:hover{color:var(--accent-dark);text-decoration:underline}
.wm-connect-wrap{padding-top:24px}
.wm-connect{display:grid;grid-template-columns:minmax(0,1.25fr) minmax(0,1fr);gap:clamp(24px,4vw,54px);align-items:center;padding:clamp(24px,4vw,48px);border-radius:30px;background:linear-gradient(135deg,#fff 10%,var(--accent-soft));border:1px solid var(--border);box-shadow:0 16px 46px rgba(34,40,56,.045);margin:24px 0 8px}
.wm-connect-copy{min-width:0}
.wm-connect-copy h2{font-size:clamp(28px,3vw,40px);line-height:1.18;letter-spacing:-1.1px;margin:13px 0 17px;color:#25323b}
.wm-connect-copy>p{font-size:17px;line-height:1.75;max-width:490px;color:#596371;margin:0}
.wm-connect-web{background:#fff;border:1px solid var(--border);border-radius:24px;padding:26px;box-shadow:0 8px 24px rgba(42,40,57,.04)}
.wm-connect-device{display:inline-flex;width:48px;height:48px;align-items:center;justify-content:center;background:var(--accent-soft);border-radius:15px;color:var(--accent-dark);margin-bottom:15px}
.wm-connect-web strong{display:block;font-size:19px;line-height:1.35;color:#27323a;letter-spacing:-.2px}
.wm-connect-web p{font-size:15px;line-height:1.7;color:#596371;margin:10px 0 20px}
.wm-connect .button{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;white-space:normal;text-align:center;line-height:1.4}
.wm-store-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(180px,1fr));gap:20px;min-width:0}
.wm-store-card{min-width:0;text-align:center;background:#fff;border:1px solid var(--border);border-radius:24px;padding:22px 16px}
.wm-store-card h3{font-size:20px;margin:0 0 14px}
.wm-store-qr{display:block;width:192px;max-width:100%;height:auto;margin:0 auto;background:white;aspect-ratio:1;image-rendering:pixelated}
.wm-store-card p{font-size:14px;color:#596371;margin:14px 0}
.wm-footer a:focus-visible,.wm-connect a:focus-visible{outline:3px solid var(--accent-dark);outline-offset:4px;border-radius:6px}
@media(max-width:800px){.wm-footer-top{grid-template-columns:1fr;gap:24px;padding:30px 0}.wm-footer-bottom{grid-template-columns:1fr;gap:16px}.wm-footer-links{grid-row:1}.wm-connect{grid-template-columns:1fr;border-radius:24px;gap:24px}.wm-connect-copy>p{max-width:none}.wm-connect-web{padding:24px}.wm-footer{margin-top:42px}}
@media(max-width:420px){.wm-footer-community{padding:20px;gap:12px;display:block}.wm-footer-community-icon{margin-bottom:12px}.wm-footer-community h2{font-size:21px}.wm-connect{padding:22px}.wm-connect-copy h2{font-size:29px;letter-spacing:-.7px}.wm-connect .button{width:100%;font-size:15px}.wm-connect-web{padding:20px}.wm-footer-links{gap:3px 12px}.wm-footer-bottom{padding-bottom:26px}}
@media(prefers-reduced-motion:reduce){.wm-footer *,.wm-connect *{scroll-behavior:auto;transition:none!important;animation:none!important}}
@media(forced-colors:active){.wm-footer-community,.wm-social-link,.wm-connect,.wm-connect-web,.wm-store-card{border:1px solid CanvasText}}

.wm-social-disabled{opacity:.58;cursor:default;user-select:none}.wm-social-disabled:hover{background:#fff;border-color:var(--border)}

/* v024: finished Raspberry footer, matching the public header. */
.wm-footer{margin-top:64px;background:#c54f7a;color:#fff;border-top:0;box-shadow:0 -5px 18px rgba(74,21,50,.1)}
.wm-footer-top{grid-template-columns:minmax(0,1fr) minmax(0,1.15fr);padding:38px 0 32px;border-bottom-color:rgba(255,255,255,.2)}
.wm-footer-brand-link,.wm-footer .footer-legal strong,.wm-footer-community h2{color:#fff}
.wm-footer-brand p,.wm-footer-community p,.wm-footer .footer-legal,.wm-footer .trademark-note{color:rgba(255,255,255,.82)}
.wm-footer-community{background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.22)}
.wm-footer-community-icon{background:#fff;color:#bb3f79}
.wm-group-link,.wm-footer-links a{color:#fff}
.wm-footer-links a:hover,.wm-group-link:hover{color:#fff;text-decoration:underline}
.wm-social-links{gap:9px}
.wm-social-link{position:relative;width:46px;height:46px;min-height:46px;padding:0;border-radius:12px;background:#fff;color:#bb3f79;border-color:#fff;box-shadow:0 3px 10px rgba(65,18,42,.12)}
.wm-social-link span:not(.wm-connect-sr){position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap}
.wm-social-link:hover{background:#fff4f8;border-color:#fff}
.wm-footer-bottom{padding:27px 0 35px}
.wm-footer a:focus-visible{outline-color:#fff}


/* v027: mobile footer blocks remain separate and non-overlapping. */
@media(max-width:800px){
  .wm-footer-top{display:flex;flex-direction:column;align-items:stretch;gap:20px;padding:30px 0}
  .wm-footer-brand,.wm-footer-community{position:static;display:flex;width:100%;max-width:100%;min-width:0;margin:0;clear:both}
  .wm-footer-brand{flex-direction:column;align-items:flex-start}
  .wm-footer-community{align-items:flex-start}
  .wm-footer-community>div{min-width:0;max-width:100%}
  .wm-footer-community h2,.wm-footer-community p,.wm-group-link{max-width:100%;overflow-wrap:anywhere}
}
@media(max-width:420px){
  .wm-footer-top{gap:16px;padding:26px 0}
  .wm-footer-community{display:block;padding:18px}
  .wm-footer-community-icon{margin:0 0 10px}
  .wm-footer-brand-link{max-width:100%}
  .wm-social-links{max-width:100%}
}
