/* Legal documents use the homepage palette and shared site navigation. */
.mm-legal{--legal-width:1160px;--legal-gutter:48px;background:#fff!important}
.mm-legal .site-shell,.mm-legal .mm-header-inner{width:min(var(--legal-width),calc(100% - var(--legal-gutter)*2))}
.mm-legal .mm-header{background:#fafbf7f2;border-bottom-color:#e4e9de}
.mm-legal .mm-header-inner{height:82px;gap:28px}
.mm-legal .mm-brand{font-size:17px;gap:10px;color:var(--app-forest)}
.mm-legal .mm-brand img{width:38px;height:38px;border-radius:11px}
.mm-legal .mm-nav{gap:26px;font-size:14px;color:var(--muted)}
.mm-legal .mm-header-cta{border-radius:100px;font-size:13px;padding:11px 18px;gap:11px;min-height:44px}
.mm-legal .mm-header-cta:hover{transform:none}

.legal-hero{background:var(--hero-surface);padding:64px 0 55px;border-bottom:1px solid var(--line)}
.mm-legal .legal-kicker{color:var(--app-spruce);font-size:.875rem;letter-spacing:.1em;text-transform:uppercase;margin-bottom:20px}
.mm-legal h1{font-size:clamp(2rem,4.8vw,4rem);font-weight:800;line-height:1.14;letter-spacing:-.055em;color:var(--app-forest);overflow-wrap:anywhere}
.mm-legal .legal-updated{font-size:.875rem;color:#52694f;margin-top:23px}
.legal-layout{display:grid;grid-template-columns:220px minmax(0,728px);gap:88px;align-items:start;padding-block:64px 96px}
.legal-navigation{position:sticky;top:114px;display:flex;flex-direction:column;gap:6px;font-size:.9375rem;line-height:1.6}
.legal-navigation a{display:block;padding:12px 16px;border-radius:10px;color:var(--muted);overflow-wrap:anywhere}
.legal-navigation a:hover{background:#f0f4eb;color:var(--app-forest)}
.legal-navigation a[aria-current="page"]{background:#e8f2e5;color:var(--app-forest);font-weight:700}
.legal-prose{min-width:0;font-size:1.0625rem;line-height:1.85;color:#465b4e;overflow-wrap:anywhere}
.mm-legal .legal-prose h2{font-size:clamp(1.35rem,2.1vw,1.625rem);line-height:1.35;letter-spacing:-.035em;color:var(--ink);margin:44px 0 19px;padding-top:35px;border-top:1px solid var(--line);text-wrap:pretty}
.mm-legal .legal-prose h2:first-child{margin-top:0;padding-top:0;border-top:0}
.mm-legal .legal-prose p{margin:0 0 17px}
.mm-legal .legal-prose p:last-child{margin-bottom:0}
.legal-prose ul{padding-left:24px;margin:0 0 22px}
.legal-prose li{padding-left:5px;margin-bottom:7px}
.legal-prose li::marker{color:var(--app-spruce)}
.legal-prose strong{color:var(--ink)}
.mm-legal .legal-prose a{color:var(--app-spruce);text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}
.legal-prose a:hover{color:var(--app-forest)}
.mm-legal .garden-footer{background:var(--paper);padding:42px 0 26px;border-top:1px solid var(--line)}
.mm-legal .footer-top{margin-bottom:29px;gap:30px}
.mm-legal .footer-brand{font-size:14px}
.mm-legal .footer-top nav{font-size:14px;gap:24px;flex-wrap:wrap}
.mm-legal .footer-bottom{font-size:13px;padding-top:20px;line-height:1.7;flex-wrap:wrap}
.mm-legal .footer-bottom>div{flex-wrap:wrap}

@media(max-width:1100px){
  .mm-legal{--legal-gutter:32px}
  .legal-layout{gap:48px;grid-template-columns:200px minmax(0,1fr)}
  .mm-legal .mm-header-inner{gap:22px}
  .mm-legal .mm-nav{gap:22px}
}
@media(max-width:850px){
  .mm-legal .mm-header-inner{height:80px;gap:15px}
  .mm-legal .mm-brand{font-size:16px}
  .mm-legal .mm-nav{background:var(--paper);font-size:16px}
  .legal-hero{padding-block:45px 38px}
  .legal-layout{grid-template-columns:1fr;gap:35px;padding-block:32px 64px}
  .legal-navigation{position:static;flex-direction:row;flex-wrap:wrap;gap:8px;padding-bottom:24px;border-bottom:1px solid var(--line)}
  .legal-navigation a{padding:11px 15px}
  .mm-legal .footer-top{align-items:flex-start;flex-direction:column;gap:23px}
}
@media(max-width:620px){
  .mm-legal{--legal-gutter:20px}
  .mm-legal .mm-header-inner{height:76px;gap:9px}
  .mm-legal .mm-brand{font-size:15px;gap:8px}
  .mm-legal .mm-brand img{width:35px;height:35px}
  .mm-legal .mm-header-cta{font-size:12px;padding:10px 13px}
  .mm-legal .legal-kicker{font-size:.8125rem;margin-bottom:16px}
  .legal-hero{padding-block:36px 32px}
  .mm-legal h1{font-size:clamp(1.6rem,6.5vw,2.5rem);letter-spacing:-.05em}
  .mm-legal .legal-updated{margin-top:18px}
  .legal-navigation{font-size:.875rem;gap:6px}
  .legal-navigation a{padding:10px 12px}
  .legal-prose{font-size:1rem;line-height:1.85}
  .mm-legal .legal-prose h2{margin-top:34px;padding-top:28px;font-size:1.3rem}
  .mm-legal .footer-top nav{gap:15px 22px;line-height:1.7}
}
@media(max-width:380px){
  .mm-legal .mm-brand{font-size:13px;gap:6px}
  .mm-legal .mm-brand img{width:31px;height:31px}
  .mm-legal .mm-header-cta{font-size:11px;padding:10px}
}
@media print{
  .mm-legal{background:#fff!important;color:#000}
  .mm-legal .mm-header,.mm-legal .garden-footer,.legal-navigation,.skip-link{display:none!important}
  .mm-legal .site-shell{width:100%;max-width:none}
  .legal-hero{background:none;padding:0 0 24px}
  .legal-layout{display:block;padding:28px 0 0}
  .legal-prose{font-size:11pt;color:#000}
  .mm-legal .legal-prose h2{break-after:avoid}
  .legal-prose p,.legal-prose li{orphans:3;widows:3}
}
