/* ============================================================
   MOBILE NAV — M1: full-screen frosted menu, Solutions as its
   own slide-to page (chevron in, back-chevron out). Overlay has
   its own top bar (brand + frosted X); the header brand/burger
   hide underneath while open. Values mirror the reference
   "Mobile Menu Options" M1 spec. Replaces the old right-anchored
   .nav-links dropdown below 941px.
   ============================================================ */
/* unconditional: #mnav must never render above 940px, regardless of nav.menu-open */
#mnav { display: none; }
@media (max-width: 940px) {
  .nav-links { display: none !important; }
  /* overlay carries its own brand + close; hide the header pair so they don't
     ghost through the frost underneath */
  .nav.menu-open .brand, .nav.menu-open .nav-burger { visibility: hidden; }
  .nav.menu-open #mnav {
    display: block; position: fixed; inset: 0; z-index: 95;
    background: rgba(245,247,250,0.62); -webkit-backdrop-filter: blur(30px) saturate(1.6); backdrop-filter: blur(30px) saturate(1.6);
    overflow: hidden;
  }
  .mnav-track { display: flex; width: 200%; height: 100%; transition: transform .38s cubic-bezier(0.32,0.72,0.3,1); }
  #mnav.sol-open .mnav-track { transform: translateX(-50%); }
  .mnav-pg { width: 50%; height: 100%; box-sizing: border-box; display: flex; flex-direction: column; padding: 22px 22px 24px; overflow-y: auto; overscroll-behavior: contain; }
  /* top rows */
  .mnav-top { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin-bottom: 26px; }
  .mnav-brand { display: inline-flex; align-items: center; gap: 8px; font-family: var(--font-wordmark, var(--font-sans)); font-weight: 700; font-size: 19px; letter-spacing: -0.02em; color: var(--ink-900); }
  .mnav-brand img { width: 26px; height: 26px; }
  .mnav-close, .mnav-back { width: 40px; height: 40px; border-radius: 13px; border: 1px solid var(--line); background: rgba(255,255,255,0.6); display: grid; place-items: center; color: var(--ink-900); cursor: pointer; flex: none; padding: 0; }
  .mnav-close svg, .mnav-back svg { width: 18px; height: 18px; }
  .mnav-top2 { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
  .mnav-top2 b { font-size: 17px; font-weight: 700; letter-spacing: -0.01em; color: var(--ink-900); }
  /* main links */
  .mnav-links { display: flex; flex-direction: column; }
  .mnav-links a, .mnav-links button { display: flex; align-items: center; justify-content: space-between; gap: 10px; background: none; border: none; padding: 17px 8px; border-radius: 13px; font-family: var(--font-sans); font-size: 19px; font-weight: 600; letter-spacing: -0.015em; color: var(--ink-900); text-decoration: none; cursor: pointer; text-align: left; width: 100%; }
  .mnav-links a:active, .mnav-links button:active { background: rgba(255,255,255,0.66); }
  .mnav-links svg { width: 17px; height: 17px; color: var(--slate-500, #98a2b3); }
  /* solutions departments */
  .mnav-deps { display: flex; flex-direction: column; gap: 2px; }
  .mnav-deps a { display: block; padding: 12px 10px; border-radius: 13px; text-decoration: none; }
  .mnav-deps a:active { background: rgba(255,255,255,0.66); }
  .mnav-deps a b { display: block; font-size: 16px; font-weight: 600; letter-spacing: -0.01em; color: var(--ink-900); }
  .mnav-deps a span { display: block; font-size: 12.5px; color: var(--slate-600); margin-top: 1px; }
  /* pinned CTA stack */
  .mnav-foot { margin-top: auto; display: flex; flex-direction: column; gap: 10px; padding-top: 14px; }
  .mnav-cta { display: flex; align-items: center; justify-content: center; height: 52px; border-radius: 15px; background: linear-gradient(120deg, #FFAC6F, #FF5F34 55%, #E43CFF); color: #fff; font-size: 17px; font-weight: 600; text-decoration: none; box-shadow: 0 10px 26px -8px rgba(255,95,52,.45), 0 8px 22px -8px rgba(228,60,255,.32); }
  .mnav-cta:active { transform: translateY(.5px); }
  .mnav-log { display: flex; align-items: center; justify-content: center; height: 50px; border-radius: 15px; background: rgba(255,255,255,0.8); border: 1px solid var(--line); color: var(--ink-900); font-size: 16px; font-weight: 600; text-decoration: none; }
  .mnav-micro { margin: 2px 0 0; text-align: center; font-size: 11.5px; color: var(--slate-600); }
  /* proof line (faces + 1.2M) */
  .mnav-proof { display: flex; align-items: center; justify-content: center; gap: 9px; font-size: 12.5px; color: var(--slate-600); padding: 14px 0 4px; }
  .mnav-proof .faces { display: inline-flex; }
  .mnav-proof .faces img { width: 22px; height: 22px; border-radius: 999px; border: 2px solid #fff; object-fit: cover; margin-left: -7px; }
  .mnav-proof .faces img:first-child { margin-left: 0; }
  .mnav-proof strong { color: var(--ink-900); font-weight: 700; }
}
@media (max-width: 940px) and (prefers-reduced-motion: reduce) {
  .mnav-track { transition: none; }
}
