.mobile-nav {
  display: none;
}

@media (max-width: 700px) {
  .site-header,
  .header-inner {
    min-height: 68px;
  }

  .header-inner {
    position: relative;
    flex-wrap: nowrap;
    padding: 8px 0;
  }

  .brand {
    gap: 9px;
    font-size: 15px;
  }

  .brand-mark {
    width: 64px;
    height: 42px;
  }

  .header-links {
    display: none;
  }

  .mobile-nav {
    display: block;
    margin-left: auto;
  }

  .mobile-nav summary {
    display: inline-flex;
    min-height: 42px;
    align-items: center;
    gap: 10px;
    border: 1px solid #d8dee8;
    padding: 0 13px;
    background: #f8fafc;
    color: #334155;
    cursor: pointer;
    font-size: 13px;
    font-weight: 750;
    list-style: none;
  }

  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }

  .mobile-nav-icon,
  .mobile-nav-icon::before,
  .mobile-nav-icon::after {
    display: block;
    width: 17px;
    height: 2px;
    background: currentColor;
    content: "";
  }

  .mobile-nav-icon {
    position: relative;
  }

  .mobile-nav-icon::before {
    position: absolute;
    top: -5px;
  }

  .mobile-nav-icon::after {
    position: absolute;
    top: 5px;
  }

  .mobile-nav-panel {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    z-index: 40;
    display: grid;
    width: min(260px, calc(100vw - 32px));
    border: 1px solid #d8dee8;
    padding: 8px;
    background: #fff;
    box-shadow: 0 18px 38px rgba(12, 36, 64, 0.16);
  }

  .mobile-nav-panel a {
    padding: 11px 12px;
    color: #334155;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
  }

  .mobile-nav-panel a:hover,
  .mobile-nav-panel a:focus-visible {
    background: #eefcff;
    color: #0756a3;
  }
}
