/* Match the landing header geometry while keeping the document pages light. */
.document-header {
  height:72px;
  position:relative;
  z-index:100;
  background:#fff;
  color:#17191c;
  border-bottom:1px solid #e2e4e7;
}
.document-header > .wrap {
  width:min(1320px,calc(100% - 96px));
  height:100%;
  min-height:0;
  padding:0;
  display:flex;
  align-items:center;
  justify-content:flex-start;
  flex-wrap:nowrap;
  gap:24px;
}
.document-header .brand-pixel {
  flex-shrink:0;
  font-size:26px!important;
  line-height:1;
  color:inherit;
}
.document-header nav {
  display:flex;
  align-items:center;
  flex-wrap:nowrap;
  gap:22px;
  margin-left:auto;
  width:auto;
  font-size:13px;
}
.document-header nav a { color:inherit; white-space:nowrap; }
.document-header-actions { display:none; }
.document-header .menu-toggle { color:inherit; }
.document-header .menu-toggle span { background:currentColor; }

@media(max-width:1200px) {
  .document-header > .wrap { width:calc(100% - 64px); }
}
@media(max-width:1100px) {
  .document-header > .wrap { gap:14px; }
  .document-header nav { gap:20px; }
}
@media(max-width:760px) {
  .document-header { height:65px; }
  .document-header > .wrap { width:calc(100% - 40px); gap:12px; }
  .document-header .brand-pixel { font-size:20px!important; }
  .document-header > .wrap > span { display:none; }
  .document-header-actions { display:flex; margin-left:auto; height:44px; }
  .document-header .menu-toggle { display:block; }
  .document-header nav {
    position:absolute;
    top:calc(100% - 1px);
    left:0;
    right:0;
    order:initial;
    width:auto;
    margin:0;
    padding:12px 20px;
    align-items:stretch;
    flex-direction:column;
    gap:0;
    background:#fff;
    border-bottom:1px solid #e2e4e7;
  }
  .document-header.has-menu nav:not(.is-open) { display:none; }
  .document-header nav a { padding:14px 0; font-size:15px; }
}
@media(max-width:500px) {
  .document-header { height:112px; }
  .document-header > .wrap { flex-wrap:wrap; align-content:center; gap:5px 12px; }
  .document-header .brand-pixel { font-size:18px!important; }
  .document-header-actions { width:100%; justify-content:flex-end; margin-left:0; }
}
@media(max-width:380px) {
  .document-header > .wrap { width:calc(100% - 32px); }
  .document-header .brand-pixel { font-size:17px!important; }
}
