.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 76px;
  background: rgba(247, 248, 252, 0.92);
  border-bottom: 1px solid rgba(220, 224, 235, 0.9);
  backdrop-filter: blur(18px);
}

.site-header .container {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.site-header .navbar {
  height: 100%;
  display: flex;
  align-items: center;
  gap: 30px;
}

.site-header .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #111426;
  font-size: 23px;
  font-weight: 850;
  letter-spacing: -0.9px;
  text-decoration: none;
}

.site-header .brand-mark {
  width: 34px;
  height: 34px;
  display: grid;
  flex: 0 0 34px;
  place-items: center;
  border-radius: 10px;
}

.site-header .nav-links {
  display: flex;
  gap: 25px;
  margin-left: auto;
}

.site-header .nav-links a,
.site-header .login-link {
  position: relative;
  color: #4a5066;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.site-header .nav-links a:hover,
.site-header .nav-links a.active,
.site-header .login-link:hover {
  color: #3157f6;
}

.site-header .nav-links a.active::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -12px;
  left: 0;
  height: 2px;
  background: #3157f6;
  border-radius: 99px;
}

.site-header .nav-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.site-header .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid transparent;
  border-radius: 12px;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
}

.site-header .button-small {
  min-height: 42px;
  padding: 0 18px;
  font-size: 13px;
}

.site-header .button-primary {
  color: #fff;
  background: #3157f6;
  box-shadow: 0 12px 26px rgba(49, 87, 246, 0.23);
}

.site-header .mobile-menu {
  display: none;
  position: relative;
}

.site-header .mobile-menu summary {
  width: 40px;
  height: 40px;
  display: grid;
  align-content: center;
  gap: 5px;
  padding: 9px;
  background: #fff;
  border: 1px solid #e0e4ee;
  border-radius: 10px;
  cursor: pointer;
  list-style: none;
}

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

.site-header .mobile-menu summary span {
  height: 2px;
  background: #111426;
}

.site-header .mobile-menu > div {
  position: absolute;
  top: 50px;
  right: 0;
  width: 220px;
  display: grid;
  padding: 10px;
  background: #fff;
  border: 1px solid #e0e4ee;
  border-radius: 14px;
  box-shadow: 0 14px 35px rgba(28, 35, 76, 0.12);
}

.site-header .mobile-menu > div a {
  padding: 12px 13px;
  color: #4a5066;
  border-radius: 9px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.site-header .mobile-menu > div a:hover,
.site-header .mobile-menu > div a.active {
  color: #3157f6;
  background: #e8edff;
}

@media (max-width: 1040px) {
  .site-header .nav-links {
    gap: 16px;
  }
}

@media (max-width: 1100px) {
  .site-header {
    height: 68px;
  }

  .site-header .nav-links {
    display: none;
  }

  .site-header .mobile-menu {
    display: block;
  }

  .site-header .nav-actions {
    margin-left: auto;
  }
}

@media (max-width: 560px) {
  .site-header .container {
    width: min(100% - 28px, 1180px);
  }

  .site-header .nav-actions .button {
    display: none;
  }
}
