/* Homepage header refinement. Earlier comparison pages keep their original header. */
.site-header .nav-actions {
  flex-shrink: 0;
  gap: 14px;
}

.site-header .nav-contact,
.site-header .language-switch,
.site-header .nav-login {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  font-size: 14px;
  line-height: 1.4;
  font-weight: 500;
  white-space: nowrap;
}

.site-header .language-switch { color: #fff; }
.site-header .language-switch:hover { color: var(--mint); }

.hero-actions .button { justify-content: center; }

.site-header .nav-login {
  padding: 0 11px;
  border: 1px solid #ffffff55;
  border-radius: 4px;
  transition: background .2s, border-color .2s;
}

.site-header .nav-login:hover {
  background: #ffffff0d;
  border-color: var(--mint);
}

.site-header .nav-download {
  flex-shrink: 0;
  width: 146px;
  height: 42px;
  min-height: 42px;
  padding: 0 16px;
  gap: 10px;
  font-size: 14px;
  line-height: 1.4;
  white-space: nowrap;
  justify-content: center;
}

.site-header .nav-download:hover { transform: none; }

.nav-chevron {
  display: block;
  flex: none;
  transition: transform .2s;
}

.nav-menu[open] > summary .nav-chevron { transform: rotate(180deg); }

@media (min-width: 1001px) {
  html { scroll-padding-top: 96px; }

  .site-header .header-inner {
    position: relative;
    width: min(var(--container), calc(100% - 112px));
    min-height: 71px;
    gap: 40px;
  }

  .site-header .brand { flex: 0 0 160px; }
  .site-header .brand img { width: 160px; }

  .site-header .navigation {
    min-width: 0;
    gap: 28px;
  }

  .site-header .nav-links {
    flex-shrink: 0;
    margin: 0;
    gap: 22px;
  }

  .site-header .nav-links > a,
  .site-header .nav-menu > summary {
    display: flex;
    align-items: center;
    min-height: 44px;
    font-size: 14px;
    line-height: 1.4;
  }

  .site-header .nav-menu {
    display: flex;
    align-items: center;
    height: 71px;
  }

  .site-header .nav-menu > summary {
    gap: 6px;
    padding: 0;
  }

  .site-header .dropdown {
    top: calc(100% + 12px);
    left: -20px;
    padding: 20px;
    box-shadow: 0 12px 36px #002a201c;
  }

  .site-header .product-dropdown {
    width: 940px;
    max-width: 100%;
    left: 0;
    transform: none;
    max-height: calc(100dvh - 108px);
  }
}

@media (min-width: 1001px) and (max-width: 1250px) {
  .site-header .header-inner { width: calc(100% - 80px); gap: 28px; }
  .site-header .navigation { gap: 24px; }
  .site-header .nav-links { gap: 16px; }
}

@media (min-width: 1001px) and (max-width: 1100px) {
  .site-header .header-inner { gap: 16px; }
  .site-header .brand { flex-basis: 156px; }
  .site-header .brand img { width: 156px; }
  .site-header .navigation { gap: 16px; }
  .site-header .nav-links { gap: 12px; }
  .site-header .nav-actions { gap: 10px; }
  .site-header .nav-login { padding-inline: 9px; }
  .site-header .nav-download { width: 140px; padding-inline: 13px; }
}

/* Keep the existing mobile menu usable; detailed mobile design follows desktop review. */
@media (max-width: 1000px) {
  .site-header .nav-actions { flex-wrap: wrap; }
  .site-header .language-switch { grid-column: 1 / -1; justify-content: flex-start; min-height: 48px; }
}
