/* Shared site menu + footer links for the older pages (team, book, legal, case studies, product pages).
   Same links and look as the header/footer build.py writes; every class is prefixed mh-/mf- so the old page styles cannot touch it. */
@font-face{font-family:'MH Bricolage';font-style:normal;font-weight:400 800;font-stretch:100%;font-display:swap;src:url(fonts/bricolage-grotesque.woff2) format('woff2')}
@font-face{font-family:'MH Geist';font-style:normal;font-weight:400 700;font-display:swap;src:url(fonts/geist.woff2) format('woff2')}
@font-face{font-family:'MH Geist Mono';font-style:normal;font-weight:400 600;font-display:swap;src:url(fonts/geist-mono.woff2) format('woff2')}
.mh,.mf{--mbg:#070d1a;--mpanel:#0e1729;--mpanel2:#131f36;--mline:rgba(255,255,255,.09);--mline2:rgba(255,255,255,.17);--mtext:#eef3fb;--mmuted:#a5b1c6;--macc:#8cc2ff;--mgold:#7cb7ff;--mon:#06142a;
  font-family:'MH Geist',ui-sans-serif,system-ui,-apple-system,'Segoe UI',sans-serif;font-size:17px;line-height:1.6;color:var(--mtext);-webkit-font-smoothing:antialiased;text-align:left}
.mh *,.mf *{box-sizing:border-box}
.mh a,.mf a{color:inherit;text-decoration:none;border-radius:0}
.mh button{font:inherit;color:inherit;cursor:pointer;background:none;border:0;padding:0;margin:0}
.mh img{max-width:none;display:block;border-radius:0}
.mh a:focus-visible,.mh button:focus-visible,.mf a:focus-visible{outline:3px solid var(--macc);outline-offset:3px;border-radius:6px}
.mh-skip{position:absolute;left:16px;top:-60px;background:var(--mgold);color:var(--mon) !important;padding:10px 16px;border-radius:10px;font-weight:600;z-index:100}
.mh-skip:focus{top:16px}
.mh{position:sticky;top:0;z-index:50;margin:0;padding:0;background:rgba(7,13,26,.82);backdrop-filter:blur(18px) saturate(1.5);-webkit-backdrop-filter:blur(18px) saturate(1.5);border-bottom:1px solid var(--mline)}
.mh-wrap{max-width:1200px;margin:0 auto;padding:0 40px}
.mh-in{display:flex;align-items:center;gap:18px;height:72px;position:relative}
.mh-brand{display:flex;align-items:center;gap:11px;margin-right:auto}
.mh-brand img{width:40px;height:40px}
.mh-brand-t{font-family:'MH Bricolage',ui-sans-serif,system-ui,sans-serif;font-weight:750;font-size:17px;letter-spacing:.02em;line-height:1;text-transform:uppercase;color:var(--mtext)}
.mh-brand-t small{display:block;font-family:'MH Geist Mono',ui-monospace,Menlo,monospace;font-weight:500;font-size:9.5px;letter-spacing:.34em;color:var(--macc);margin-top:5px}
.mh-nav{display:flex;align-items:center;gap:4px}
.mh-nav>a,.mh-dd>button{display:inline-flex;align-items:center;gap:6px;height:42px;padding:0 14px;border-radius:6px;font-size:15px;font-weight:500;color:var(--mmuted);transition:color .2s,background .2s}
.mh-nav>a:hover,.mh-dd>button:hover,.mh-nav>a[aria-current="page"],.mh-dd>button[aria-expanded="true"]{color:var(--mtext);background:rgba(238,243,251,.07)}
.mh-chev{width:14px;height:14px;transition:transform .2s}
.mh-dd>button[aria-expanded="true"] .mh-chev{transform:rotate(180deg)}
.mh-panel{position:absolute;left:0;right:0;top:100%;padding:12px;border:1px solid var(--mline);border-radius:8px;background:var(--mpanel);box-shadow:0 30px 80px -20px rgba(0,0,0,.7);display:none;grid-template-columns:repeat(2,1fr);gap:4px}
.mh-panel.open{display:grid}
.mh-panel a{display:flex;gap:14px;align-items:flex-start;padding:14px;border-radius:6px;transition:background .2s}
.mh-panel a:hover{background:var(--mpanel2)}
.mh-ico{flex:none;width:40px;height:40px;border-radius:8px;display:grid;place-items:center;border:1px solid var(--mline);background:var(--mpanel2);color:var(--macc)}
.mh-ico svg{width:20px;height:20px}
.mh-panel strong{display:block;font-size:15.5px;font-weight:600;color:var(--mtext)}
.mh-panel span span{display:block;font-size:13.5px;color:var(--mmuted);line-height:1.45;margin-top:2px}
.mh-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:44px;padding:0 18px;border-radius:8px;font-weight:600;font-size:15px;white-space:nowrap;background:var(--mgold);color:var(--mon) !important;transition:transform .2s,box-shadow .2s}
.mh-btn:hover{box-shadow:0 0 0 7px rgba(90,150,255,.2);transform:translateY(-1px)}
.mh-btn svg{width:18px;height:18px}
.mh-menu{width:44px;height:44px;border-radius:8px;display:none;place-items:center;border:1px solid var(--mline) !important;color:var(--mmuted)}
.mh-menu svg{width:19px;height:19px}
.mh-m{display:none !important}
@media(max-width:1020px){
  .mh-nav{display:none;position:absolute;left:0;right:0;top:100%;flex-direction:column;align-items:stretch;padding:12px;border:1px solid var(--mline);border-radius:8px;background:var(--mpanel);box-shadow:0 30px 80px -20px rgba(0,0,0,.7);max-height:calc(100vh - 120px);overflow:auto}
  .mh-nav.open{display:flex}
  .mh-nav>a{height:50px;font-size:17px;width:100%;justify-content:space-between}
  .mh-panel{position:static;display:grid;grid-template-columns:1fr;border:0;box-shadow:none;padding:0 0 8px;background:none}
  .mh-dd>button{display:none !important}
  .mh-panel a{padding:10px 12px}
  .mh-menu{display:grid}
  .mh-in>.mh-btn{display:none}
  .mh-m{display:inline-flex !important}
}
@media(max-width:720px){.mh-wrap{padding:0 16px}.mh-in{height:62px;gap:8px}.mh-brand img{width:36px;height:36px}.mh-brand-t{font-size:15px}}
/* footer link block */
.mf{max-width:1200px;margin:0 auto;padding:56px 40px 22px;font-size:15.5px}
.mf-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr 1fr;gap:36px}
.mf-about{color:var(--mmuted);margin:14px 0 0;max-width:34ch;font-size:15px}
.mf-h{font-family:'MH Geist Mono',ui-monospace,Menlo,monospace;font-size:12px;font-weight:500;letter-spacing:.1em;text-transform:uppercase;color:var(--mmuted);margin:0 0 12px;padding:0;border:0}
.mf ul{list-style:none;margin:0;padding:0;color:inherit}
.mf li{margin:0;padding:0}
.mf li a{display:inline-block;padding:5px 0;color:var(--mtext) !important}
.mf li a:hover,.mf-bot a:hover{color:var(--macc) !important;text-decoration:underline}
.mf-bot{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;margin-top:40px;padding-top:18px;border-top:1px solid var(--mline);color:var(--mmuted);font-size:14px}
.mf-bot a{color:var(--mmuted) !important;margin-left:18px}
.mf-bot span:last-child a:first-child{margin-left:0}
@media(max-width:860px){.mf{padding:40px 16px 18px}.mf-grid{grid-template-columns:1fr 1fr;gap:28px}}
@media(max-width:480px){.mf-grid{grid-template-columns:1fr}}
@media print{.mh,.mf{display:none}}
