.header .header-demo {
  margin: 0;
  flex: 0 0 auto;
}

.header .header-demo-button {
  min-height: 39px;
  padding: 8px 12px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.3;
  white-space: nowrap;
}

.header .header-demo-button span {
  font: inherit;
}

.header .header-demo-button .header-demo-compact {
  display: none;
}

@media (min-width: 1301px) {
  .mv-redesign .header #site-nav {
    gap: clamp(10px, 1.2vw, 20px);
  }

  .mv-redesign .header .header-actions {
    gap: clamp(10px, 1vw, 18px);
  }
}

@media (min-width: 701px) and (max-width: 1300px) {
  .header.header #site-nav {
    display: none;
  }

  .header.header #site-nav.mobile-open {
    display: flex;
    position: absolute;
    inset: 100% 0 auto;
    flex-direction: column;
    align-items: stretch;
    background: #fff;
    padding: 12px 24px;
    border-bottom: 1px solid #dce8eb;
  }

  .header.header #site-nav.mobile-open a {
    padding-block: 7px;
  }

  .header .nav-toggle {
    display: flex;
  }
}

@media (max-width: 700px) {
  .header .header-demo-button .header-demo-label {
    display: none;
  }

  .header .header-demo-button .header-demo-compact {
    display: inline;
  }

  .header .header-demo-button {
    min-height: 36px;
    padding-inline: 8px;
    font-size: 12px;
  }
}
