.site-header {
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.88), rgba(248, 250, 252, 0.68));
  border-bottom: 1px solid rgba(255, 255, 255, 0.82);
  box-shadow:
    0 1px 0 rgba(15, 23, 42, 0.06),
    0 10px 30px rgba(15, 23, 42, 0.09),
    0 4px 14px rgba(124, 58, 237, 0.05);
  -webkit-backdrop-filter: blur(18px) saturate(165%);
  backdrop-filter: blur(18px) saturate(165%);
}

.site-header.sticky {
  position: sticky;
}

.site-header:not(.sticky) {
  position: relative;
}

.site-header::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(124, 58, 237, 0.18),
    transparent
  );
  content: "";
  pointer-events: none;
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .site-header {
    background: rgba(255, 255, 255, 0.97);
  }
}

@media (prefers-reduced-transparency: reduce) {
  .site-header {
    background: #fff;
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
  }
}
