.nav {
  --site-shell-brand: #199cff;
  --site-shell-brand-deep: #0b7fda;
  --site-shell-ink: #17181c;
  --site-shell-ink-2: #55575e;
  --site-shell-ink-3: #9a9ca3;
  --site-shell-line: #ececee;
  color: var(--site-shell-ink);
  font-family: -apple-system, system-ui, "PingFang SC", "SF Pro Display",
    "Helvetica Neue", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  isolation: isolate;
  background: rgba(247, 247, 248, .85);
  border-bottom: 1px solid rgba(0, 0, 0, .05);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
}

.nav-inner {
  max-width: 1120px;
  height: 62px;
  margin: 0 auto;
  padding: 0 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-brand {
  flex: 0 0 auto;
}

.nav-brand img {
  display: block;
  width: auto;
  height: 28px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 30px;
}

.nav-links a {
  color: var(--site-shell-ink-2);
  font-size: 14px;
  font-weight: 500;
  text-decoration: none;
  transition: color .15s;
}

.nav-links a:hover {
  color: var(--site-shell-ink);
}

.nav-research {
  display: inline-block;
  font-weight: 600 !important;
  background-image: linear-gradient(100deg, #f97316 0%, #f0508a 55%, #d6409f 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  transition: opacity .15s;
}

.nav-research:hover {
  opacity: .78;
}

.nav-hiring {
  display: inline-block;
  color: var(--site-shell-brand) !important;
  font-weight: 600 !important;
  background-image: linear-gradient(
    100deg,
    var(--site-shell-brand) 0%,
    var(--site-shell-brand) 42%,
    #a5daff 50%,
    var(--site-shell-brand) 58%,
    var(--site-shell-brand) 100%
  );
  background-size: 260% 100%;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: navShine 3.2s ease-in-out infinite;
}

.nav-hiring:hover {
  color: var(--site-shell-brand-deep) !important;
  background-image: none;
  -webkit-text-fill-color: var(--site-shell-brand-deep);
}

@keyframes navShine {
  0%, 62% { background-position: 130% 0; }
  100% { background-position: -30% 0; }
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-lang {
  display: flex;
  align-items: center;
}

.nav-lang .miyang-lang__btn {
  color: var(--site-shell-ink-2);
}

.nav-lang .miyang-lang__btn:hover {
  color: var(--site-shell-ink);
}

.nav-actions.sa {
  --sa-fg: var(--site-shell-ink);
  --sa-fg-2: var(--site-shell-ink-2);
  --sa-fg-3: var(--site-shell-ink-3);
  --sa-line: var(--site-shell-line);
  --sa-surface: #fff;
  --sa-hover: rgba(25, 156, 255, .08);
  --sa-accent: var(--site-shell-brand);
  --sa-accent-fg: #fff;
  --sa-shadow: 0 12px 34px rgba(20, 30, 45, .13);
}

.site-footer {
  color: #8b8d94;
  background: #131417;
  font-family: -apple-system, system-ui, "PingFang SC", "SF Pro Display",
    "Helvetica Neue", "Microsoft YaHei", sans-serif;
  line-height: 1.6;
}

.footer-inner {
  max-width: 1120px;
  margin: 0 auto;
  padding: 34px 28px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-copy {
  font-size: 12px;
  line-height: 1.9;
}

.footer-copy a,
.footer-links a {
  color: #8b8d94;
  text-decoration: none;
  transition: color .15s;
}

.footer-copy a:hover,
.footer-links a:hover {
  color: #fff;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.footer-links a {
  font-size: 12.5px;
}

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

  .footer-inner {
    flex-direction: column;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .nav-hiring {
    animation: none;
    background-image: none;
    -webkit-text-fill-color: var(--site-shell-brand);
  }
}
