/* A symmetrical header keeps the same three destinations in place on every page. */
:root { --header: 64px; }
html { scrollbar-gutter: stable both-edges; }
.site-mast { position: sticky; top: 0; z-index: 8; background: #fff; border-bottom: 1px solid #e6e9ed; }
.site-bar { height: calc(var(--header) - 1px); width: 100%; max-width: 1580px; margin: 0 auto; padding: 0 clamp(20px, 4vw, 68px); display: grid; grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); align-items: center; }
.site-brand { grid-column: 1; justify-self: start; display: inline-flex; align-items: center; gap: 13px; color: #465165; text-decoration: none; white-space: nowrap; }
.site-brand img { display: block; width: 104px; height: auto; }
.site-brand span { border-left: 1px solid #cfd6df; padding-left: 13px; font: 500 14px/1.4 "Segoe UI","Microsoft YaHei",sans-serif; }
.site-nav { grid-column: 2; display: grid; grid-template-columns: repeat(3, 4.3em); gap: 26px; justify-self: center; align-self: stretch; font: 500 15px/1.4 Inter,"Segoe UI","PingFang SC","Microsoft YaHei",sans-serif; }
.site-nav a { display: grid; place-items: center; position: relative; color: #344153; text-decoration: none; white-space: nowrap; }
.site-nav a:hover { color: #094eb5; }
.site-nav a[aria-current] { color: #084bb0; font-weight: 650; }
.site-nav a[aria-current]::after { content: ""; position: absolute; inset: auto 2px 0; height: 2px; border-radius: 3px 3px 0 0; background: #1859b7; }
.site-actions { grid-column: 3; justify-self: end; min-width: 0; }
.site-install { display: inline-flex; align-items: center; gap: 12px; border-radius: 30px; padding: 9px 17px; background: #172232; color: white; text-decoration: none; font: 590 13px/1.5 "Segoe UI","Microsoft YaHei",sans-serif; }
.site-install:hover { background: #124595; }
@media(max-width:760px) {
  :root { --header: 56px; }
  .site-bar { padding-inline: 13px; }
  .site-brand img { width: 78px; }
  .site-brand span, .site-install { display: none; }
  .site-nav { font-size: 13px; gap: 12px; }
  .site-actions .search-button { display: grid; place-items: center; width: 32px; height: 32px; padding: 0; }
  .site-actions .search-button kbd { display: none; }
  .site-actions .search-button span { position: absolute; clip-path: inset(50%); overflow: hidden; width: 1px; height: 1px; }
}
@media(max-width:425px) {
  .site-bar { padding-inline: 8px; }
  .site-brand img { width: clamp(44px,14vw,61px); }
  .site-nav { font-size: 12px; grid-template-columns: repeat(3,4.1em); gap: clamp(4px,1.9vw,8px); }
  .site-nav a[aria-current]::after { inset-inline: 0; }
}
@media print { .site-mast { display: none !important; } }
