html {
  scroll-padding-top: 112px;
}

.site-header {
  position: fixed;
  z-index: 50;
  top: 18px;
  left: 50%;
  width: min(1180px, calc(100% - 32px));
  height: 72px;
  transform: translateX(-50%);
  border: 1px solid rgba(255, 255, 255, .8);
  border-radius: 24px;
  background: rgba(250, 255, 253, .78);
  box-shadow: 0 16px 60px rgba(10, 75, 58, .08);
  backdrop-filter: blur(20px);
}

.nav-shell {
  width: 100%;
  height: 100%;
  min-height: 0;
  margin: 0;
  padding: 0 16px 0 24px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.page-shell {
  padding-top: 138px;
}

.brand {
  gap: 10px;
  font-size: 20px;
  white-space: nowrap;
}

.brand img {
  width: 38px;
  height: 38px;
}

.site-nav {
  margin: auto;
  gap: 30px;
  color: #43576a;
  font-size: 14px;
  font-weight: 600;
}

.site-nav a {
  white-space: nowrap;
  transition: color .2s, transform .2s;
}

.site-nav a:hover {
  color: var(--brand-dark);
  transform: translateY(-1px);
}

.nav-download {
  flex: 0 0 auto;
  padding: 14px 20px;
  border-radius: 16px;
  background: var(--ink);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
}

.nav-download:hover {
  background: #0d2a4b;
  color: #fff;
}

@media (max-width: 980px) {
  .site-nav a:not(.lang-switch) {
    display: none;
  }

  .site-nav {
    margin-right: 0;
    margin-left: auto;
    gap: 8px;
  }
}

@media (max-width: 760px) {
  html {
    scroll-padding-top: 90px;
  }

  .site-header {
    top: 10px;
    width: calc(100% - 24px);
    height: 62px;
    border-radius: 20px;
  }

  .nav-shell {
    padding: 0 12px 0 14px;
    gap: 10px;
  }

  .brand {
    font-size: 18px;
  }

  .brand img {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .nav-download {
    padding: 11px 14px;
    border-radius: 14px;
    font-size: 13px;
  }

  .lang-switch {
    padding: 9px 12px;
  }

  .page-shell {
    padding-top: 104px;
  }
}

@media (max-width: 480px) {
  .site-nav {
    display: none;
  }

  .nav-download {
    margin-left: auto;
  }
}
