.site-header { display: flex; align-items: center; min-height: 80px; gap: 24px; border-bottom: 1px solid var(--line); }
.wordmark { display: inline-flex; align-items: center; gap: 8px; flex: none; }
.wordmark-mark { width: 23px; height: 23px; fill: currentColor; }
.wordmark-type { font: 550 19px/1 'Bricolage Grotesque', var(--font-display, 'Instrument Sans'), sans-serif; letter-spacing: -.04em; }
.wordmark-type strong { font-weight: 750; }
.site-nav { display: flex; align-items: center; gap: 26px; margin-left: auto; color: var(--muted); font-size: 13px; }
.site-nav a { display: inline-flex; align-items: center; min-height: 44px; gap: 5px; }
.nav-version { padding: 3px 5px; border: 1px solid var(--line); border-radius: 4px; color: var(--muted); font-size: 10px; line-height: 1; font-variant-numeric: tabular-nums; }
.site-nav a[aria-current] { color: var(--ink); }
.nav-github { color: var(--ink); }
.theme-button { display: grid; width: 44px; height: 44px; place-items: center; border: 0; border-radius: 50%; background: transparent; color: var(--muted); }
.theme-button svg { width: 19px; height: 19px; fill: none; stroke: currentColor; stroke-width: 1.3; stroke-linecap: round; }

.site-header { font-family: Inter, sans-serif; line-height: 1.4; }
.site-header a { text-decoration: none; }
.site-header button { cursor: pointer; }
.site-header :focus-visible { outline: 2px solid var(--ink); outline-offset: 5px; }
.site-header .arrow-icon { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.4; }
@media (max-width: 1000px) {
  .site-nav { gap: 20px; }
}
@media (max-width: 760px) {
  .site-header { flex-wrap: wrap; gap: 0; padding: 15px 0 4px; min-height: 102px; }
  .wordmark { margin-right: auto; }
  .wordmark-type { font-size: 18px; }
  .theme-button { width: 44px; height: 36px; }
  .site-nav { order: 3; width: 100%; margin-left: 0; justify-content: space-between; gap: 16px; font-size: 11px; }
  .site-nav a { min-height: 44px; }
  .site-nav .arrow-icon { width: 13px; height: 13px; }
}
@media (max-width: 420px) {
  .nav-version { font-size: 9px; padding: 3px 4px; }
}
