html {
  scrollbar-width: thin;
  scrollbar-color: #94a9c7 #eef3f8;
}

::-webkit-scrollbar {
  width: 10px;
  height: 10px;
}

::-webkit-scrollbar-track {
  background: #eef3f8;
}

::-webkit-scrollbar-thumb {
  min-height: 48px;
  border: 2px solid #eef3f8;
  border-radius: 8px;
  background: #94a9c7;
}

::-webkit-scrollbar-thumb:hover {
  background: #5f7da8;
}

::-webkit-scrollbar-corner {
  background: #eef3f8;
}

.site-nav {
  position: fixed;
  top: 14px;
  left: 14px;
  right: 14px;
  z-index: 50;
  border: 1px solid rgba(220, 228, 239, .92);
  border-radius: 8px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 8px 30px rgba(15, 23, 42, .08);
  backdrop-filter: blur(16px);
}
.nav-inner {
  width: min(1160px, calc(100% - 32px));
  height: 58px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  font-size: 18px;
  font-weight: 750;
  text-decoration: none;
}
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border-radius: 7px;
  color: #fff;
  background: var(--blue);
  box-shadow: 0 6px 16px rgba(37, 99, 235, .28);
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  color: #475569;
  font-size: 14px;
}
.nav-links a {
  position: relative;
  color: inherit;
  text-decoration: none;
  transition: color .18s ease;
}
.nav-links a:hover,
.nav-links a[aria-current="page"] { color: var(--blue-dark); }
.nav-links a:not(.nav-download)::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: -8px;
  height: 2px;
  border-radius: 2px;
  background: var(--blue);
  opacity: 0;
  transform: scaleX(.6);
  transition: opacity .18s ease, transform .18s ease;
}
.nav-links a:hover::after,
.nav-links a[aria-current="page"]::after {
  opacity: 1;
  transform: scaleX(1);
}
.nav-download {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 0 14px;
  border-radius: 6px;
  color: #fff !important;
  background: var(--blue);
  font-size: 13px;
  font-weight: 650;
}

.site-footer { padding: 46px 0; color: #8190a8; background: #050d1d; }
.footer-inner {
  width: min(1160px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}
.footer-brand { color: #fff; font-size: 18px; font-weight: 750; }
.footer-inner p { margin: 5px 0 0; font-size: 12px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 22px;
  color: #8190a8;
  font-size: 12px;
}
.footer-links a { color: #a7b4c8; text-decoration: none; }
.footer-links a:hover { color: #fff; }

@media (max-width: 900px) {
  .nav-links a:not(.nav-download) { display: none; }
}

@media (max-width: 640px) {
  .site-nav { top: 8px; left: 8px; right: 8px; }
  .nav-inner { width: calc(100% - 24px); height: 52px; }
  .nav-links { gap: 0; }
  .nav-download { min-height: 34px; padding: 0 11px; }
  .nav-download span { display: none; }
  .footer-inner {
    width: calc(100% - 36px);
    align-items: flex-start;
    flex-direction: column;
  }
  .footer-links { justify-content: flex-start; }
}
