:root {
  color-scheme: light;
  --mac-paper: #f7f8fc;
  --mac-ink: #1d1d1f;
  --mac-muted: #535968;
  --mac-blue: #0069d7;
  --mac-line: rgba(44, 56, 80, .13);
  --mac-font: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-family: var(--mac-font);
  color: var(--mac-ink);
  background: var(--mac-paper);
}
body {
  margin: 0;
  font-family: var(--mac-font);
  color: var(--mac-ink);
  background: radial-gradient(ellipse 56% 42% at 87% 17%, #eeeefa 0, transparent 85%), var(--mac-paper);
}
.masthead, .masthead * { box-sizing: border-box; }
.masthead {
  position: relative;
  z-index: 1;
  border-bottom: 1px solid var(--mac-line);
  background: rgba(251, 252, 255, .84);
  -webkit-backdrop-filter: blur(20px) saturate(140%);
  backdrop-filter: blur(20px) saturate(140%);
}
.masthead-inner {
  width: min(1148px, calc(100% - 80px));
  min-height: 75px;
  margin-inline: auto;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}
.masthead a { color: var(--mac-ink); text-decoration: none; }
.masthead a:focus-visible { outline: 3px solid #1681f5; outline-offset: 3px; }
.masthead .brand, .masthead .primary-nav, .masthead .services-jump { display: flex; align-items: center; }
.masthead .brand { gap: 10px; width: fit-content; white-space: nowrap; }
.masthead .brand-mark {
  display: grid; place-items: center; width: 35px; height: 35px; border-radius: 10px;
  color: white; background: linear-gradient(150deg, #5ab7ff, #137af0 53%, #3057cf);
  box-shadow: inset 0 1px 1px #ffffff80, inset 0 0 0 1px #155cd43b, 0 2px 5px #184a9740;
}
.masthead .icon {
  display: block; flex: none; width: 17px; height: 17px; fill: none; stroke: currentColor;
  stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round;
}
.masthead .brand-mark .icon { width: 24px; height: 24px; }
.masthead .brand strong { font: 740 27px/1 var(--mac-font); letter-spacing: -.075em; }
.masthead .brand-caption {
  margin-left: 4px; padding-left: 13px; border-left: 1px solid var(--mac-line);
  font: 580 13px/1.4 var(--mac-font); color: #454954;
}
.masthead .primary-nav {
  padding: 3px; gap: 1px;
  border: 1px solid rgba(70, 81, 107, .06);
  border-radius: 10px; background: #e7e9ef;
  box-shadow: inset 0 1px 2px #252b3a08;
}
.masthead .primary-nav a {
  padding: 6px 13px; border-radius: 7px; font: 520 13px/1.4 var(--mac-font);
  color: #505561; text-align: center; white-space: nowrap;
}
.masthead .primary-nav a:hover { color: var(--mac-ink); background: #ffffff80; }
.masthead .primary-nav a[aria-current="page"] {
  background: white; color: var(--mac-ink); font-weight: 630;
  box-shadow: 0 1px 3px #313a4e25, 0 0 0 1px #313a4e08;
}
.masthead .services-jump {
  justify-self: end; gap: 6px; font: 540 13px/1.5 var(--mac-font); color: #424955; padding: 8px 0 8px 8px;
}
.masthead .services-jump .icon { width: 14px; height: 14px; }
.masthead .services-jump:hover { color: var(--mac-blue); }
@media (max-width: 900px) {
  .masthead-inner { width: calc(100% - 48px); gap: 10px; }
  .masthead .primary-nav a { padding-inline: 9px; }
}
@media (max-width: 700px) {
  .masthead-inner { width: calc(100% - 40px); grid-template-columns: 1fr auto; gap: 11px; padding: 13px 0 10px; }
  .masthead .primary-nav { grid-column: 1 / -1; grid-row: 2; }
  .masthead .primary-nav a { flex: 1; padding: 6px 3px; }
  .masthead .services-jump { grid-column: 2; grid-row: 1; }
  .masthead .brand-mark { width: 30px; height: 30px; border-radius: 8px; }
  .masthead .brand-mark .icon { width: 21px; height: 21px; }
  .masthead .brand strong { font-size: 24px; }
}
