/* Documentation branding follows the main product header. */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  column-gap: 2ch;
  border-bottom: 2px solid currentColor;
  padding-bottom: 24px;
  margin-bottom: 24px;
  font-family: "Anonymous Pro", monospace;
  font-size: 20px;
}
.site-header .logo {
  font-size: 40px;
  font-weight: 800;
  line-height: 48px;
  margin: 0;
  letter-spacing: -0.02em;
  white-space: nowrap;
  flex: 0 0 auto;
  color: inherit;
  text-decoration: none;
}
.site-header .logo-icon {
  height: 1em;
  width: auto;
  font-size: inherit;
  vertical-align: baseline;
  margin: 0 0.5ch 0 0;
}
.site-header .tagline {
  color: #666;
  margin: 0;
  font-size: 16px;
  line-height: 24px;
  text-align: right;
  flex: 1 1 18em;
  min-width: min(18em, 100%);
}
.docs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 3ch;
  margin: 0 0 24px;
  font-family: "Anonymous Pro", monospace;
  font-size: 16px;
  line-height: 24px;
}
.docs-nav a { margin: 0; color: inherit; font-size: inherit; }
.docs-nav a[aria-current="page"] { font-weight: 800; text-decoration: underline; }
@media (prefers-color-scheme: dark) {
  .site-header .logo-icon { filter: invert(1); }
  .site-header .tagline { color: #aaa; }
}
@media (max-width: 799px) {
  .site-header { font-size: 16px; }
  .site-header .logo { font-size: 32px; }
}
/* The reference retains its endpoint styling below the shared site header. */
.site-branding {
  background: #fff;
  color: #000;
  padding: 24px max(2ch, calc((100% - 100ch) / 2));
  font-family: "Anonymous Pro", monospace;
  font-size: 20px;
}
.site-branding .docs-nav { margin-bottom: 0; }
@media (prefers-color-scheme: dark) {
  .site-branding { background: #000; color: #fff; }
}
@media (max-width: 799px) {
  .site-branding { padding: 24px 1ch; font-size: 16px; }
}
