/* Shared fixed header behavior for the homepage and all SEO landing pages. */
.header,
.site-head {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  width: 100%;
  background: rgba(6, 20, 18, .92);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  box-shadow: 0 10px 36px rgba(0, 0, 0, .12);
  -webkit-backdrop-filter: blur(16px) saturate(130%);
  backdrop-filter: blur(16px) saturate(130%);
}

.site-head + main {
  padding-top: 84px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.header-actions .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 12px 18px;
  gap: 14px;
  white-space: nowrap;
}

.header-actions .header-login {
  color: #f5f3ed;
  background: rgba(255, 255, 255, .035);
  border: 1px solid rgba(255, 255, 255, .28);
  box-shadow: none;
}

.header-actions .header-primary {
  color: #061412;
  background: var(--teal);
  border: 1px solid var(--teal);
  font-family: var(--sans);
  font-weight: 750;
  box-shadow: 0 10px 30px rgba(53, 199, 182, .22);
}

.header-actions .header-login:hover,
.header-actions .header-login:focus-visible {
  color: #fff;
  background: rgba(255, 255, 255, .1);
  border-color: var(--teal-soft, var(--teal2));
}

.header-actions .header-primary:hover,
.header-actions .header-primary:focus-visible {
  background: var(--teal-soft, var(--teal2));
  border-color: var(--teal-soft, var(--teal2));
}

html {
  scroll-padding-top: 104px;
}

section[id] {
  scroll-margin-top: 104px;
}

@media (max-width: 1050px) {
  .header nav,
  .site-head nav {
    display: none;
  }
}

@media (max-width: 700px) {
  .header,
  .site-head {
    height: 72px;
    padding-inline: 16px;
  }

  .site-head + main {
    padding-top: 72px;
  }

  .header .header-actions .button,
  .site-head .header-actions .button {
    display: inline-flex;
    min-height: 38px;
    padding: 9px 12px;
    gap: 8px;
    font-size: 12px;
  }

  .header-actions .button span {
    display: none;
  }

  html {
    scroll-padding-top: 88px;
  }

  section[id] {
    scroll-margin-top: 88px;
  }
}

@media (max-width: 380px) {
  .header,
  .site-head {
    height: 64px;
    padding-inline: 10px;
  }

  .site-head + main {
    padding-top: 64px;
  }

  .header .brand,
  .site-head .brand {
    gap: 5px;
    font-size: 15px;
    letter-spacing: -.03em;
  }

  .header .brand-mark,
  .site-head .brand i {
    font-size: 21px;
  }

  .header-actions {
    gap: 4px;
  }

  .header .header-actions .button,
  .site-head .header-actions .button {
    min-height: 36px;
    padding: 8px 9px;
    font-size: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .header-actions .button {
    transition: none;
  }
}
