/* Site menu (M2): mobile header, bottom-sheet menu, focus trap, Esc and scroll lock live in site-menu.js. Desktop untouched. */
.mnav{display:none}
@media(max-width:760px){
 .site-header{position:sticky;top:0;z-index:60;background:#f3f5ff;border-bottom:1px solid #e1e6f3}
 .site-header .header-inner{height:64px;gap:8px}
 .site-header .brand{width:156px;height:32px}
 .site-header .basket-trigger{margin-left:auto;width:44px;height:44px;min-height:44px;padding:0;gap:0;position:relative;border-radius:12px;background:#fff;border:1px solid #dce1ef}
 .site-header .basket-trigger .bag-icon{width:20px;height:20px}
 .site-header .basket-count{position:absolute;top:-6px;right:-6px;min-width:20px;height:20px;padding:0 6px;border-radius:10px;background:#284cf9;color:#fff;font-size:11px;font-weight:600;line-height:20px;text-align:center;font-variant-numeric:tabular-nums;box-shadow:0 0 0 2px #f3f5ff}
 .site-header .basket-count.is-zero{display:none}
}
@media(max-width:980px){
 .site-header .menu-toggle{width:44px;height:44px;border-radius:12px;background:#141a2a;color:#fff;display:flex;align-items:center;justify-content:center;position:relative;border:0;transition:transform .16s cubic-bezier(.23,1,.32,1),background-color .2s cubic-bezier(.23,1,.32,1)}
 .site-header .menu-toggle .icon{display:none}
 .site-header .menu-toggle:active{transform:scale(.96)}
 .mt-bars{position:relative;width:18px;height:12px}
 .mt-bars i{position:absolute;left:0;right:0;height:2px;border-radius:2px;background:currentColor;transition:transform .24s cubic-bezier(.23,1,.32,1),top .24s cubic-bezier(.23,1,.32,1)}
 .mt-bars i:first-child{top:2px}
 .mt-bars i:last-child{top:8px}
 .menu-toggle[aria-expanded="true"] .mt-bars i:first-child{top:5px;transform:rotate(45deg)}
 .menu-toggle[aria-expanded="true"] .mt-bars i:last-child{top:5px;transform:rotate(-45deg)}
 .site-header :focus-visible,.mnav :focus-visible{outline:2px solid #284cf9;outline-offset:3px}
 .mnav{display:block}
 .mnav[hidden]{display:none}
 .mnav-sim{display:flex;gap:8px;align-items:flex-start;margin:0;font-size:12px;line-height:1.5;color:#5e6678}
 .mnav-sim svg{width:14px;height:14px;flex:none;margin-top:2px;stroke:currentColor;fill:none;stroke-width:1.75}
 .mnav-sim strong{color:#141a2a;font-weight:600}
 .mnav-cta.button{display:flex;align-items:center;justify-content:center;gap:8px;min-height:52px;border-radius:12px;font-size:16px;font-weight:600;width:100%}
 .mnav-cta .icon{width:18px;height:18px}
 .mnav-basket{display:flex;align-items:center;justify-content:center;gap:10px;min-height:52px;border-radius:12px;background:#fff;border:1px solid #d4dae8;color:#141a2a;font:600 16px/1 Manrope,Arial,sans-serif;transition:transform .16s cubic-bezier(.23,1,.32,1)}
 .mnav-basket:active,.mnav-cta:active{transform:scale(.97)}
 .mnav-basket svg{flex:none;width:20px;height:20px;stroke:currentColor;fill:none;stroke-width:1.7}
 .mnav-basket [data-cart-count]{min-width:24px;height:24px;padding:0 7px;border-radius:12px;background:#eef1ff;color:#284cf9;font-size:13px;line-height:24px;font-variant-numeric:tabular-nums}
 .mnav-links a{display:flex;align-items:center;justify-content:space-between;text-decoration:none;color:#141a2a}
 .mnav-links svg{width:20px;height:20px;stroke:#8a93a8;fill:none;stroke-width:1.8;flex:none;transition:transform .2s cubic-bezier(.23,1,.32,1),stroke .2s}
 .mnav-links a:active svg{transform:translateX(3px);stroke:#284cf9}
 .mnav-links a[aria-current="true"],.mnav-links a[aria-current="page"]{color:#284cf9}
}
html.mnav-locked,html.mnav-locked body{overflow:hidden}
@media(max-width:760px){main [id]{scroll-margin-top:80px}}
/* M2: bottom sheet with backdrop; header stays put */
@media(max-width:980px){
 .m2{position:fixed;inset:0;z-index:70}
 .m2-backdrop{position:absolute;inset:0;background:#141a2a;opacity:0;transition:opacity .3s cubic-bezier(.23,1,.32,1);border:0;padding:0;width:100%;cursor:default}
 .m2.is-open .m2-backdrop{opacity:.5}
 .m2-sheet{position:absolute;left:0;right:0;bottom:0;max-height:calc(100% - 72px);overflow-y:auto;overscroll-behavior:contain;background:#fff;border-radius:24px 24px 0 0;
  padding:8px 20px calc(20px + env(safe-area-inset-bottom));box-shadow:0 -12px 40px #141a2a26;transform:translateY(100%);transition:transform .38s cubic-bezier(.32,.72,0,1);touch-action:none}
 .m2.is-open .m2-sheet{transform:translateY(0)}
 .m2.is-closing .m2-sheet{transition-duration:.24s}
 .m2.is-dragging .m2-sheet{transition:none}
 .m2-handle{display:block;width:40px;height:4px;border-radius:2px;background:#d4dae8;margin:4px auto 0}
 .m2 .mnav-links{margin-top:52px!important}
 .m2-top{position:absolute;top:16px;right:20px}
 .m2 .mnav-links a:last-child:nth-child(even){grid-column:1/-1}
 .m2-top img{width:132px;height:auto;display:block}
 .m2-close{width:44px;height:44px;border-radius:12px;border:1px solid #dce1ef;background:#fff;display:flex;align-items:center;justify-content:center;color:#141a2a}
 .m2-close svg{width:18px;height:18px;stroke:currentColor;stroke-width:2;fill:none}
 .m2 .mnav-links{display:grid;grid-template-columns:1fr 1fr;gap:8px;margin-top:12px}
 .m2 .mnav-links a{min-height:64px;padding:0 16px;border-radius:14px;background:#f3f5ff;font-size:18px;font-weight:600;letter-spacing:-.02em;transition:background-color .16s,transform .16s cubic-bezier(.23,1,.32,1)}
 .m2 .mnav-links a:first-child{grid-column:1/-1;background:#141a2a;color:#fff}
 .m2 .mnav-links a:first-child svg{stroke:#9fb0ff}
 .m2 .mnav-links a:active{transform:scale(.98)}
 .m2-foot{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(0,1fr);gap:8px;margin-top:16px}
 .m2-foot .mnav-basket{padding:0 16px}
 .m2-foot .mnav-sim{grid-column:1/-1;margin-top:8px}
}
@media(prefers-reduced-motion:reduce){.m2-sheet{transition:none!important}}

/* Pages whose desktop nav hides above 760px (company 950px, affiliates 980px) show the same toggle there */
@media(min-width:761px) and (max-width:950px){.company-page .site-header .menu-toggle{display:flex;margin-left:16px}}
@media(min-width:761px) and (max-width:980px){.affiliates-page .site-header .menu-toggle{display:flex}}
@media(max-width:980px){.m2-foot.is-solo{grid-template-columns:1fr}.m2-sheet{max-width:640px;margin-inline:auto}}

/* Guides and policies row in the footer (added with the guide pages). */
.footer-more{display:flex;flex-wrap:wrap;gap:8px 24px;margin-top:24px;padding-top:20px;border-top:1px solid #edf0f5;font-size:13px;font-weight:600}
.footer-more a{color:#4f5a70}
.footer-more a:hover{color:var(--blue)}
@media(max-width:760px){.footer-more{gap:12px 20px;font-size:13px}}
.launch-page-footer .footer-more{width:100%;flex:1 1 100%}
.site-footer nav.footer-more{gap:12px 24px}
@media(max-width:760px){.site-footer .footer-main nav{flex-wrap:wrap;gap:14px 24px}}
