.wordmark {
  display: flex;
  height: 72px;
  align-items: center;
  overflow: hidden;
}

.wordmark img {
  width: 100%;
  height: auto;
  max-height: 72px;
  object-fit: contain;
  mix-blend-mode: screen;
}

.language-short {
  display: none;
}

.mobile-menu {
  display: none;
}

@media (max-width: 820px) {
  .site-header {
    gap: 12px;
  }

  .mobile-menu {
    display: block;
    order: 3;
  }

  .mobile-menu summary {
    width: 40px;
    height: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 1px solid rgba(255, 255, 255, .48);
    cursor: pointer;
    list-style: none;
  }

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

  .mobile-menu summary span {
    width: 18px;
    height: 2px;
    background: #fff;
  }

  .mobile-menu[open] summary span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .mobile-menu[open] summary span:nth-child(2) {
    opacity: 0;
  }

  .mobile-menu[open] summary span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .site-header .mobile-menu nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    display: grid;
    gap: 0;
    margin: 0;
    padding: 8px 20px 18px;
    background: #111;
    border-bottom: 1px solid #3b3b3b;
    box-shadow: 0 14px 28px rgba(0, 0, 0, .28);
  }

  .site-header .mobile-menu nav a {
    padding: 13px 0;
    border-bottom: 1px solid rgba(255, 255, 255, .16);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .06em;
    text-transform: uppercase;
  }

  .site-header .mobile-menu nav a:last-child {
    border-bottom: 0;
  }

  .wordmark {
    width: 130px;
    flex-shrink: 1;
  }

  .header-actions {
    gap: 12px;
    flex-shrink: 0;
    margin-left: auto;
  }

  .header-actions .login-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
  }

  .header-actions .language-link {
    display: inline-flex;
    min-width: 38px;
    min-height: 38px;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .48);
    border-radius: 50%;
    font-size: 10px;
    letter-spacing: .06em;
  }

  .language-long {
    display: none;
  }

  .language-short {
    display: inline;
  }

  .wordmark {
    height: 62px;
  }

  .wordmark img {
    max-height: 62px;
  }
}

@media (max-width: 520px) {
  .site-header {
    padding-inline: 12px;
    gap: 6px;
  }

  .wordmark {
    width: 86px;
  }

  .header-actions {
    gap: 6px;
  }

  .header-actions .button {
    min-height: 38px;
    padding-inline: 8px;
    font-size: 10px;
  }

  .header-actions .login-link {
    min-height: 38px;
    font-size: 11px;
  }

  .header-actions .language-link {
    min-width: 36px;
    min-height: 36px;
  }

  .mobile-menu summary {
    width: 38px;
    height: 38px;
  }

  #plans .section-heading h2 {
    font-size: clamp(30px, 8.2vw, 37px);
    overflow-wrap: anywhere;
  }
}
