/* Static pages (/brandedresidences, /businessreports): the same system footer as the app (app/shell.css "System footer", copied; keep in step). */
/* ---- System footer on every page (owner 2026-11-17 15:03 ET; components/i18n/SiteFooter.tsx) ----
   Hark's system footer (ma-footer.js v25, "dashboard" theme) from the templates collection, rules copied as published
   (support cluster, chat drawer and the partner theme left out), plus the template page's footer overrides and the
   production wrapper: a full-width navy band (like the old .foot band) that runs down to the bottom navigation. */
.ma-sitefoot { position: relative; isolation: isolate; display: block; margin-top: 32px; }
.ma-sitefoot::before { content: ""; position: absolute; top: 0; bottom: 0; left: 50%; width: 100vw; transform: translateX(-50%); z-index: -1; pointer-events: none; background: #0b1628; }
.ma-sitefoot .ma-footer { margin-top: 0; padding-bottom: 8px; }
.ma-footer{background:#0b1628;color:#fff;font-family:'Instrument Sans',system-ui,sans-serif;margin-top:48px;--pill:#0a1424;--pill-hi:rgba(255,255,255,.07);--pill-lo:rgba(0,0,0,.55);--accent:#8fd694;--pill-text:#fff}
.ma-footer *{box-sizing:border-box}
.ma-footer-inner{max-width:1200px;margin:0 auto;padding:32px 24px 24px;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,3.2fr);gap:32px;align-items:start}
.ma-footer .ma-logo{font-family:'Outfit',sans-serif;font-weight:800;font-size:22px;color:#fff}
.ma-footer-tag{margin:10px 0 0;font-size:14px;line-height:1.5;color:rgba(255,255,255,.7)}
.ma-footer-cols{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px;align-items:start;min-width:0}
.ma-footer-cols>*{min-width:0}
.ma-footer-card{background:#13223b;border:1px solid rgba(255,255,255,.1);border-radius:20px;padding:24px}
.ma-footer-col{padding:24px 0}
.ma-footer-h{font-family:'Google Sans','Instrument Sans',sans-serif;font-size:15px;font-weight:600;letter-spacing:.01em;margin:0 0 16px;color:#fff}
.ma-footer ul{list-style:none;margin:0;padding:0}
.ma-footer-pills{display:grid;grid-template-columns:1fr;gap:10px}
.ma-footer-card .ma-footer-pills{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}
.ma-footer-link{display:flex;align-items:center;gap:10px;min-height:44px;padding:10px 16px;border-radius:999px;background:var(--pill);color:var(--pill-text);text-decoration:none;font-size:14px;font-weight:500;line-height:1.2;box-shadow:inset 2px 2px 5px var(--pill-lo),inset -1px -1px 2px var(--pill-hi);transition:transform .15s ease,box-shadow .15s ease,background .15s ease;white-space:nowrap;overflow:hidden}
.ma-footer-lbl{overflow:hidden;text-overflow:ellipsis;min-width:0}
.ma-footer-ico{flex:none;width:18px;height:18px;color:var(--accent)}
.ma-footer-link:hover{transform:translateY(-1px);box-shadow:inset 1px 1px 2px var(--pill-lo),inset -1px -1px 1px var(--pill-hi),0 4px 10px rgba(0,0,0,.25);background:color-mix(in srgb,var(--pill) 88%,var(--accent))}
.ma-footer-link:focus-visible{outline:2px solid #d01f45;outline-offset:3px}
.ma-footer-link[aria-current=page]{box-shadow:inset 2px 2px 5px var(--pill-lo),inset -1px -1px 2px var(--pill-hi),0 0 0 1px var(--accent)}
.ma-footer-sub{display:block;font-size:13px;color:rgba(255,255,255,.65);margin:6px 0}
.ma-footer-bottom{max-width:1200px;margin:0 auto;padding:14px 24px 20px;border-top:1px solid rgba(255,255,255,.1);display:flex;justify-content:space-between;align-items:center;gap:12px;font-size:12px;color:rgba(255,255,255,.6)}
.ma-footer-mark{width:32px;height:32px;object-fit:contain;background:transparent}
@media(max-width:1024px){.ma-footer-inner{grid-template-columns:1fr;gap:28px}.ma-footer-cols{grid-template-columns:1fr 1fr}.ma-footer-col{grid-column:1/-1;padding:0}.ma-footer-col .ma-footer-pills{grid-template-columns:repeat(auto-fill,minmax(190px,1fr))}}
@media(max-width:640px){.ma-footer-inner{padding:36px 16px 24px}.ma-footer-cols{grid-template-columns:1fr}.ma-footer-card{padding:20px}.ma-footer-card .ma-footer-pills,.ma-footer-col .ma-footer-pills{grid-template-columns:1fr}.ma-footer-bottom{padding:14px 16px 18px}}
.ma-footer-h{display:flex;align-items:center;gap:8px}
.ma-footer-h .ma-footer-ico{color:var(--accent)}
.ma-footer-cat+.ma-footer-cat{margin-top:18px}
.ma-footer-catl{display:flex;align-items:center;gap:6px;margin:0 0 10px;font-size:12px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:rgba(255,255,255,.6)}
.ma-footer-lbcard{grid-column:1/-1}
.ma-footer-lbwrap{max-width:1200px;margin:0 auto;padding:24px 24px 0}
.ma-lb-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:24px}
.ma-lb{min-width:0}
.ma-lb-rows{list-style:none;margin:0 0 14px;padding:0;display:grid;gap:4px}
.ma-lb-row{display:flex;align-items:center;gap:10px;min-height:36px;padding:4px 10px;border-radius:12px;font-size:14px}
.ma-lb-row:nth-child(-n+3){background:rgba(255,255,255,.04)}
.ma-lb-rank{width:22px;text-align:center;font-size:13px;color:rgba(255,255,255,.6);font-variant-numeric:tabular-nums;flex:none}
.ma-lb-medal{width:22px;display:inline-flex;justify-content:center;flex:none}
.ma-lb-medal .ma-footer-ico{color:inherit}
.ma-lb-av{width:24px;height:24px;border-radius:50%;flex:none;display:inline-flex;align-items:center;justify-content:center;background:#fff;color:#0b1628;font-size:12px;font-weight:700;object-fit:contain}
.ma-lb-name{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.ma-lb-val{flex:none;font-variant-numeric:tabular-nums;color:rgba(255,255,255,.75);font-size:13px}
.ma-lb-skel span{display:block;height:14px;width:100%;border-radius:8px;background:rgba(255,255,255,.08)}
.ma-lb-skel{padding:11px 10px}
.ma-lb-empty{padding:12px 10px;font-size:14px;color:rgba(255,255,255,.65)}
.ma-lb-tag{margin-left:auto;flex:none;font-size:12px;font-weight:600;letter-spacing:.04em;padding:3px 8px;border-radius:999px;border:1px solid var(--accent);color:var(--accent)}
.ma-lb-gate{margin-top:10px;padding:14px;border-radius:14px;background:rgba(255,255,255,.05)}
.ma-lb-gate p{margin:0 0 10px;font-size:14px}
@media(prefers-reduced-motion:reduce){.ma-footer-link{transition:none}.ma-footer-link:hover{transform:none}}
@media(max-width:640px){.ma-footer-cols,.ma-lb-grid{grid-template-columns:1fr}}
.ma-feature{max-width:1200px;margin:0 auto;padding:40px 24px 0;display:grid;grid-template-columns:minmax(0,55fr) minmax(0,45fr);align-items:stretch;--f-panel:#13223b}
.ma-feature-media,.ma-feature-copy{background:var(--f-panel)}
.ma-feature-media{border-radius:24px 0 0 24px;overflow:hidden;padding:12px 0 12px 12px}
.ma-feature-media img{display:block;width:100%;height:100%;aspect-ratio:16/9;object-fit:cover;border-radius:18px}
.ma-feature-copy{border-radius:0 24px 24px 0;padding:32px 32px 32px 36px;display:flex;flex-direction:column;justify-content:center;gap:14px;min-width:0}
.ma-feature-eyebrow{margin:0;font-size:12px;font-weight:600;letter-spacing:.1em;text-transform:uppercase;color:var(--accent)}
.ma-feature-h{margin:0;font-family:'Google Sans','Instrument Sans',sans-serif;font-size:30px;line-height:1.15;font-weight:600;color:#fff}
.ma-feature-body{margin:0;font-size:15px;line-height:1.55;color:rgba(255,255,255,.78)}
.ma-feature-perk{margin:0;display:flex;align-items:center;gap:8px;font-size:14px;font-weight:500;color:#fff}
.ma-feature-perk .ma-footer-ico{color:var(--accent)}
.ma-feature-cta{align-self:flex-start;display:inline-flex;align-items:center;gap:10px;min-height:48px;padding:12px 22px;border-radius:999px;background:var(--accent);color:#0b1628;font-weight:600;font-size:15px;text-decoration:none;box-shadow:0 6px 16px rgba(0,0,0,.25);transition:transform .15s ease,box-shadow .15s ease;max-width:100%}
.ma-feature-cta .ma-footer-ico{color:currentColor}
.ma-feature-cta span{line-height:1.25}
.ma-feature-cta:hover{transform:translateY(-1px);box-shadow:0 10px 22px rgba(0,0,0,.3)}
.ma-feature-cta:focus-visible{outline:2px solid #d01f45;outline-offset:3px}
@media(prefers-reduced-motion:reduce){.ma-feature-cta{transition:none}.ma-feature-cta:hover{transform:none}}
@media(max-width:860px){.ma-feature{grid-template-columns:1fr;padding:32px 16px 0}.ma-feature-media{border-radius:24px 24px 0 0;padding:12px 12px 0}.ma-feature-copy{border-radius:0 0 24px 24px;padding:22px 20px 24px}.ma-feature-h{font-size:24px}.ma-feature-cta{align-self:stretch;justify-content:center;text-align:center}}
.ma-footer-ad{min-width:0}
.ma-ad{position:relative;display:flex;flex-direction:column;gap:12px;min-height:180px;padding:16px;border-radius:20px;background:#13223b;border:1px solid rgba(255,255,255,.1);color:#fff;text-decoration:none;overflow:hidden}
.ma-ad-label{position:absolute;top:10px;left:10px;z-index:1;background:#dc2626;color:#fff;font-size:12px;font-weight:700;letter-spacing:.04em;padding:2px 8px;border-radius:6px}
.ma-ad-img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:14px;background:#fff}
.ma-ad-body{display:flex;flex-direction:column;gap:4px;min-width:0}
.ma-ad-store{font-size:12px;letter-spacing:.06em;text-transform:uppercase;color:rgba(255,255,255,.65)}
.ma-ad-title{font-family:'Google Sans','Instrument Sans',sans-serif;font-size:16px;font-weight:600;line-height:1.3;overflow-wrap:anywhere}
.ma-ad-price{font-size:14px;color:var(--accent);font-weight:600}
.ma-ad--sponsored .ma-ad-body{padding-top:4px}
.ma-ad--houseown{justify-content:center}
.ma-ad--houseown>.ma-footer-ico{width:28px;height:28px;color:var(--accent)}
.ma-ad:hover{border-color:var(--accent)}
.ma-ad:focus-visible{outline:2px solid #d01f45;outline-offset:3px}
.ma-footer-side{display:flex;flex-direction:column;gap:20px;min-width:0}
.ma-footer-connect{background:#13223b;border:1px solid rgba(255,255,255,.1);border-radius:20px;padding:20px}
.ma-footer-connect .ma-footer-pills{grid-template-columns:1fr}
@media(max-width:1024px){.ma-footer-ad .ma-ad{flex-direction:row;align-items:center;min-height:0}.ma-footer-ad .ma-ad-img{width:120px;flex:none}}
@media(max-width:640px){.ma-footer-lbwrap{padding:20px 16px 0}.ma-footer-ad .ma-ad-img{width:96px}}
@media(max-width:1024px){.ma-footer-connect .ma-footer-pills{grid-template-columns:repeat(auto-fill,minmax(200px,1fr))}}
.ma-lb-avlink{flex:none;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;margin:-10px;border-radius:50%;text-decoration:none;color:inherit}
.ma-lb-avlink:focus-visible{outline:2px solid #d01f45;outline-offset:-4px}
.ma-footer-lbcard .ma-lb-hd{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;margin-bottom:12px}
.ma-footer-lbcard .ma-lb-hd .ma-footer-h{margin:0}
.ma-lb-live{display:inline-flex;align-items:center;gap:6px;font-size:12px;font-weight:700;letter-spacing:.08em;color:#8fe3a2;border:1px solid rgba(143,227,162,.35);border-radius:999px;padding:3px 10px;background:#0b1628}
.ma-lb-dot{width:8px;height:8px;border-radius:50%;background:#8fe3a2;animation:malbB 2s ease-in-out infinite}
@keyframes malbB{0%,100%{transform:scale(.8);opacity:.6}50%{transform:scale(1.15);opacity:1}}
.ma-lb-live.is-paused{color:#d5dbe5;border-color:rgba(255,255,255,.2);background:#0b1628}
.ma-lb-live.is-paused .ma-lb-dot{animation:none;background:rgba(255,255,255,.5)}
.ma-lb-pause{margin-left:auto;display:inline-flex;align-items:center;gap:6px;min-height:44px;min-width:44px;padding:0 14px;border-radius:999px;border:1px solid rgba(255,255,255,.18);background:#13223b;color:#fff;font:inherit;font-size:13px;cursor:pointer}
.ma-lb-pause:focus-visible{outline:2px solid #8fe3a2;outline-offset:2px}
.ma-lb-ekg{width:84px;height:18px;margin-left:auto;flex:none}
.ma-lb-ekg path{fill:none;stroke:#8fe3a2;stroke-width:2;stroke-linejoin:round;stroke-linecap:round}
.ma-footer-lbcard .ma-lb .ma-footer-catl{display:flex;align-items:center;gap:6px}
[data-ma-lb-go]{cursor:pointer;border-radius:14px}
[data-ma-lb-go]:hover .ma-lb-rows{background:rgba(143,227,162,.04)}
.ma-lb-row.glow{animation:malbG 1.2s ease-out}
@keyframes malbG{25%{box-shadow:0 0 0 3px rgba(143,227,162,.5)}100%{box-shadow:none}}
.ma-lb-mv{flex:none;font-size:12px;font-variant-numeric:tabular-nums}
.ma-lb-mv.up{color:#8fe3a2}
.ma-lb-mv.down{color:#ff8fa3}
.ma-lb-tick{margin:0 0 12px;min-height:20px;font-size:13px;color:rgba(255,255,255,.75);overflow-wrap:anywhere}
@media (prefers-reduced-motion:reduce){.ma-lb-dot,.ma-lb-row.glow{animation:none}}

/* template page overrides (Pantry/Building/Garage/Tool pages) */
.ma-sitefoot .ma-lb-row:nth-child(-n+3) { background: #1c2b43; }
.ma-sitefoot .ma-lb-av { width: 28px; height: 28px; font-size: 12px; }
.ma-sitefoot .ma-lb-name { white-space: normal; overflow: visible; overflow-wrap: anywhere; line-height: 1.3; }
.ma-sitefoot .ma-lb-full { flex-wrap: wrap; row-gap: 6px; padding-top: 12px; padding-bottom: 12px; }
.ma-sitefoot .ma-lb-full .ma-footer-lbl { flex: 1 0 auto; overflow: visible; text-overflow: clip; }
/* production additions: links inside headings/rows, the bottom bar's language picker, containment */
.ma-sitefoot a { text-decoration: none; }
.ma-sitefoot .ma-lb-hlink { color: inherit; text-decoration: none; }
.ma-sitefoot .ma-lb-hlink:hover, .ma-sitefoot a.ma-lb-name:hover { text-decoration: underline; }
.ma-sitefoot a.ma-lb-name { color: #fff; }
.ma-sitefoot .ma-lb-hlink:focus-visible, .ma-sitefoot a.ma-lb-name:focus-visible { outline: 2px solid #d01f45; outline-offset: 2px; border-radius: 4px; }
.ma-sitefoot .ma-lb-val { white-space: nowrap; }
.ma-sitefoot .ma-feature-media img { height: auto; }
.ma-sitefoot .ma-footer-copy { margin: 0; }
.ma-sitefoot .ma-footer-end { display: flex; align-items: center; flex-wrap: wrap; gap: 12px 16px; justify-content: flex-end; }
.ma-sitefoot .x-lang { color: rgba(255,255,255,.8); font-size: 13px; }
.ma-sitefoot .x-lang a.link { color: #8fd694; }
.ma-sitefoot .ma-footer-mark { border-radius: 50%; }
.ma-sitefoot .ma-footer-inner, .ma-sitefoot .ma-footer-lbwrap, .ma-sitefoot .ma-feature, .ma-sitefoot .ma-footer-bottom { max-width: 1200px; }
@media (max-width: 640px) { .ma-sitefoot .ma-footer-bottom { flex-direction: column; align-items: flex-start; } .ma-sitefoot .ma-footer-end { justify-content: flex-start; } }
@media print { .ma-sitefoot { display: none !important; } }
.ma-sitefoot { margin-top: 48px; font-size: 15px; line-height: 1.5; } .ma-sitefoot h2, .ma-sitefoot p { text-transform: none; }
.ma-sitefoot .ma-footer-catl, .ma-sitefoot .ma-feature-eyebrow, .ma-sitefoot .ma-ad-store { text-transform: uppercase; }

/* ---- Footer follows the theme (owner 2026-11-17 17:02 ET) ----
   The band takes the --foot-* colors the theme and the member color dial derive from the page background (lib/theme-dial.ts
   maFoot): always darker than the page, with text, muted text and accent checked for 4.5:1 on the band, cards, rows and pills.
   The fallbacks are the old navy look, for a page that sets no --foot-* variables. */
.ma-sitefoot::before, .ma-sitefoot .ma-footer { background: var(--foot-bg, #0b1628); }
.ma-sitefoot .ma-footer { color: var(--foot-fg, #fff); --pill: var(--foot-pill, #0a1424); --pill-hi: var(--foot-hi, rgba(255,255,255,.07)); --pill-lo: var(--foot-lo, rgba(0,0,0,.55)); --accent: var(--foot-accent, #8fd694); --pill-text: var(--foot-fg, #fff); }
.ma-sitefoot :is(.ma-footer-card, .ma-footer-connect, .ma-ad, .ma-lb-pause) { background: var(--foot-card, #13223b); border-color: var(--foot-line, rgba(255,255,255,.1)); color: var(--foot-fg, #fff); }
.ma-sitefoot .ma-feature { --f-panel: var(--foot-card, #13223b); }
.ma-sitefoot :is(.ma-footer .ma-logo, .ma-footer-h, .ma-feature-h, .ma-feature-perk, a.ma-lb-name) { color: var(--foot-fg, #fff); }
.ma-sitefoot :is(.ma-footer-tag, .ma-footer-sub, .ma-footer-bottom, .ma-footer-catl, .ma-lb-rank, .ma-lb-val, .ma-lb-empty, .ma-lb-tick, .ma-feature-body, .ma-ad-store, .x-lang) { color: var(--foot-muted, rgba(255,255,255,.7)); }
.ma-sitefoot .ma-footer-bottom { border-top-color: var(--foot-line, rgba(255,255,255,.1)); }
.ma-sitefoot .ma-lb-row:nth-child(-n+3) { background: var(--foot-row, #1c2b43); }
.ma-sitefoot .ma-lb-skel span { background: var(--foot-line, rgba(255,255,255,.08)); }
.ma-sitefoot .ma-lb-gate { background: var(--foot-row, rgba(255,255,255,.05)); }
.ma-sitefoot .ma-lb-av { background: var(--foot-fg, #fff); color: var(--foot-bg, #0b1628); }
.ma-sitefoot .ma-feature-cta { background: var(--foot-cta, #8fd694); color: var(--foot-cta-ink, #0b1628); }
.ma-sitefoot :is(.ma-lb-live, .ma-lb-live.is-paused) { background: var(--foot-bg, #0b1628); }
.ma-sitefoot .ma-lb-live { color: var(--foot-ok, #8fe3a2); border-color: color-mix(in srgb, var(--foot-ok, #8fe3a2) 40%, transparent); }
.ma-sitefoot .ma-lb-live.is-paused { color: var(--foot-muted, #d5dbe5); border-color: var(--foot-line, rgba(255,255,255,.2)); }
.ma-sitefoot .ma-lb-dot { background: var(--foot-ok, #8fe3a2); }
.ma-sitefoot .ma-lb-ekg path { stroke: var(--foot-ok, #8fe3a2); }
.ma-sitefoot .ma-lb-mv.up { color: var(--foot-ok, #8fe3a2); }
.ma-sitefoot .ma-lb-mv.down { color: var(--foot-bad, #ff8fa3); }
.ma-sitefoot .ma-lb-pause { border-color: var(--foot-line, rgba(255,255,255,.18)); }
.ma-sitefoot :is(.ma-footer-link, .ma-feature-cta, .ma-ad, .ma-lb-avlink, .ma-lb-hlink, a.ma-lb-name):focus-visible, .ma-sitefoot .ma-lb-pause:focus-visible { outline-color: var(--foot-accent, #d01f45); }
.ma-sitefoot .x-lang a.link { color: var(--foot-accent, #8fd694); }
/* the footer's language picker button sits on the band, not on a page panel */
.ma-sitefoot .x-sel__btn--pill, .ma-sitefoot .x-sel__btn { background: var(--foot-pill, #0a1424); color: var(--foot-fg, #fff); border-color: var(--foot-line, rgba(255,255,255,.18)); }
.ma-sitefoot .x-sel__btn:hover, .ma-sitefoot .x-sel[data-open] .x-sel__btn { background: var(--foot-card, #13223b); }

/* Footer leaderboard photos (owner 2026-11-17): member photos fill the circle, store logos fit inside it. */
.ma-lb-av.is-photo{object-fit:cover}
.ma-lb-av.is-logo{object-fit:contain;padding:2px;box-sizing:border-box}
