/* Shared navigation for the homepage, feature reference, and user guide. */
:root {
  --site-header-height: 68px;
}

html {
  scroll-padding-top: calc(var(--site-header-height) + 16px);
}

body.site-header-page {
  padding-top: var(--site-header-height);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 200;
  box-sizing: border-box;
  width: 100%;
  height: var(--site-header-height);
  padding: 0 max(24px, calc((100vw - 1054px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  border-bottom: 1px solid rgba(37, 50, 71, .75);
  background: rgba(7, 11, 16, .9);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .24);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  color: #e8eef8;
  font: 16px/1.6 Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.site-header .brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 10px;
  color: #e8eef8;
  text-decoration: none;
}

.site-header .brand strong {
  font-weight: 700;
}

.site-header .brand img {
  display: block;
  width: 32px;
  height: 32px;
  border-radius: 9px;
}

.site-header .header-nav {
  display: flex;
  align-items: center;
  gap: 26px;
  font-size: 13px;
  font-weight: 600;
}

.site-header .header-nav a {
  color: #8fa1b8;
  text-decoration: none;
  white-space: nowrap;
}

.site-header .header-nav a:hover,
.site-header .header-nav a[aria-current="page"] {
  color: #e8eef8;
}

.site-header .header-nav .nav-download {
  padding: 10px 15px;
  border-radius: 8px;
  color: #17120a;
  background: #f2b33f;
}

.site-header a:focus-visible {
  outline: 2px solid #f2b33f;
  outline-offset: 4px;
}

.skip-link {
  z-index: 201;
}

@media (max-width: 620px) {
  :root {
    --site-header-height: 104px;
  }

  .site-header {
    padding: 12px 16px;
    align-items: flex-end;
  }

  .site-header .brand {
    position: absolute;
    top: 15px;
    left: 16px;
  }

  .site-header .header-nav {
    width: 100%;
    justify-content: flex-end;
    gap: 24px;
  }

  .site-header .nav-download {
    position: absolute;
    top: 12px;
    right: 16px;
  }
}

/* The Help mockup is also embedded inside the desktop application. */
.embed-mockup body.site-header-page {
  padding-top: 0;
}

@media print {
  body.site-header-page {
    padding-top: 0;
  }

  .site-header {
    display: none;
  }
}
