.mobile-menu { display: none; }
@media (min-width: 701px) {
  nav.topbar { width: max-content; max-width: calc(100% - 32px); }
  .topbar .nav-download { flex-shrink: 0; }
}
@media (max-width: 700px) {
  nav.topbar { width: calc(100% - 12px); }
  .topbar .nav-download { flex-shrink: 0; }
  .mobile-menu { position: relative; display: block; flex: none; }
  .mobile-menu summary { display: grid; width: 40px; height: 40px; place-items: center; border-radius: 50%; color: #050505; cursor: pointer; list-style: none; }
  .mobile-menu summary::-webkit-details-marker { display: none; }
  .mobile-menu summary:focus-visible, .mobile-menu__panel a:focus-visible { outline: 3px solid #181fff; outline-offset: 3px; }
  .menu-icon, .menu-icon::before, .menu-icon::after { display: block; width: 18px; height: 2px; border-radius: 2px; background: currentColor; }
  .menu-icon { position: relative; }
  .menu-icon::before, .menu-icon::after { position: absolute; left: 0; content: ""; }
  .menu-icon::before { top: -6px; }
  .menu-icon::after { top: 6px; }
  .mobile-menu__panel { position: absolute; z-index: 10; top: calc(100% + 12px); right: 0; display: grid; min-width: 190px; padding: 8px; border: 1px solid #ebebeb; border-radius: 20px; background: #fff; box-shadow: 0 12px 28px rgba(20,21,26,.12); }
  .mobile-menu__panel a { padding: 12px; border-radius: 12px; color: #050505; font-size: 14px; font-weight: 500; line-height: 1.2; text-decoration: none; }
  .mobile-menu__panel a:hover, .mobile-menu__panel a[aria-current="page"] { background: #f5f5f6; }
}
@media (max-width: 390px) {
  html body { min-width: 0; }
  nav.topbar { gap: 6px; }
  .topbar .brand__logo { width: 100px; }
  .topbar .nav-download { gap: 6px; padding-inline: 12px; font-size: 12px; }
}
