/* One header for the homepage, information pages and every model page. */
.site-header-shell {
  --header-cyan: #32ccff;
  max-width: 1700px;
  margin: 0 auto;
  padding: 0 4vw;
  background: #030a13;
}
.site-header-shell, .site-header-shell * { box-sizing: border-box; }
.header {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  column-gap: clamp(28px, 4vw, 72px);
  height: 104px;
  align-items: center;
  border-bottom: 1px solid rgba(151, 184, 219, .17);
  font: 400 16px/1.4 Arial, "Microsoft YaHei", sans-serif;
}
.header a { text-decoration: none; -webkit-tap-highlight-color: transparent; }
.header a:focus-visible { outline: 2px solid var(--header-cyan); outline-offset: 5px; }
.header .wordmark {
  font-size: clamp(20px, 2.4vw, 34px);
  font-weight: 900;
  line-height: 1.2;
  letter-spacing: -1.2px;
  white-space: nowrap;
  color: var(--header-cyan);
}
.main-nav {
  display: flex;
  justify-self: end;
  justify-content: flex-end;
  align-items: center;
  gap: clamp(24px, 3vw, 48px);
  min-width: 0;
}
.main-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  min-width: 0;
  padding: 0 12px;
  position: relative;
  font-size: 17px;
  font-weight: 500;
  color: #c9d6e3;
  white-space: nowrap;
  border-radius: 6px;
  transition: color .2s, background .2s;
}
.main-nav a:hover { background: #15304755; }
.main-nav a:hover, .main-nav a[aria-current="page"] { color: var(--header-cyan); }
.main-nav a[aria-current="page"]::after {
  content: "";
  position: absolute;
  height: 2px;
  width: 24px;
  background: var(--header-cyan);
  left: 50%;
  bottom: 3px;
  transform: translateX(-50%);
}
@media (min-width: 1200px) { .header .wordmark { font-size: 50px; } }
@media (max-width: 1000px) {
  .header { height: auto; min-height: 116px; grid-template-columns: minmax(0, 1fr); gap: 6px 20px; padding: 16px 0 10px; }
  .header .wordmark { grid-column: 1; grid-row: 1; }
  .main-nav { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); grid-column: 1/-1; grid-row: 2; justify-self: stretch; width: 100%; gap: 8px; }
  .main-nav a { font-size: 16px; min-height: 46px; }
}
@media (max-width: 600px) {
  .site-header-shell { padding: 0 20px; }
  .header { padding-top: 14px; column-gap: 12px; }
  .header .wordmark { font-size: 23px; letter-spacing: -.9px; }
  .main-nav { gap: 4px; }
  .main-nav a { font-size: 14px; padding: 0 4px; }
}
@media (max-width: 350px) {
  .site-header-shell { padding: 0 14px; }
  .header { column-gap: 8px; }
  .header .wordmark { font-size: 19px; }
  .main-nav a { font-size: 13px; padding: 0; }
}
@media (prefers-reduced-motion: reduce) { .main-nav a { transition: none; } }
