html,
body {
  overflow-x: hidden;
}

:root {
  --site-nav-gap: 6px;
  --site-nav-item-width: 78px;
  --site-nav-item-height: 36px;
  --site-nav-font-size: 14px;
  --site-brand-gap: 16px;
  --site-brand-logo-width: 44px;
  --site-brand-logo-height: 40px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

.site-topbar {
  left: 0;
  right: 0;
  max-width: none;
}

.site-topbar {
  position: relative;
}

.site-topbar.fixed {
  position: fixed;
}

.site-brand {
  align-items: center;
  display: flex;
  flex: 0 0 auto;
  gap: var(--site-brand-gap);
}

.site-brand-logo {
  flex: 0 0 var(--site-brand-logo-width);
  height: var(--site-brand-logo-height);
  object-fit: contain;
  width: var(--site-brand-logo-width);
}

.site-brand-text {
  color: #00dbe9;
  font-weight: 700;
  letter-spacing: -0.025em;
}

.site-primary-nav {
  gap: var(--site-nav-gap) !important;
  left: 50%;
  position: absolute;
  top: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.site-primary-nav a {
  align-items: center !important;
  border-bottom: 2px solid transparent !important;
  display: flex !important;
  flex: 0 0 var(--site-nav-item-width);
  font-size: var(--site-nav-font-size) !important;
  font-weight: 600;
  height: var(--site-nav-item-height);
  justify-content: center;
  letter-spacing: 0;
  line-height: 1 !important;
  padding: 0 0 4px !important;
  text-align: center;
  white-space: nowrap;
}

.site-primary-nav a.text-primary-fixed-dim {
  border-bottom-color: #00dbe9 !important;
}

.service-filter-button {
  border: 1px solid rgba(132, 148, 149, 0.45);
  background: #121318;
  color: #e3e1e9;
  box-shadow: inset 0 0 0 1px rgba(0, 219, 233, 0.02);
}

.service-filter-button:hover {
  border-color: rgba(0, 219, 233, 0.8);
  color: #00dbe9;
}

.service-filter-button[data-active="true"] {
  border-color: #00dbe9;
  background: #00dbe9;
  color: #002022;
  box-shadow: 0 0 14px rgba(0, 219, 233, 0.24);
}

@media (min-width: 768px) and (max-width: 1100px) {
  .site-primary-nav a {
    flex-basis: var(--site-nav-item-width);
  }
}

@media (max-width: 768px) {
  body {
    width: 100%;
    max-width: 100vw;
  }

  header,
  body > nav.fixed {
    left: 0 !important;
    right: auto !important;
    width: 100vw !important;
    max-width: 100vw !important;
  }

  header .max-w-container-max,
  body > nav.fixed {
    width: 100%;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
  }

  header .max-w-container-max {
    gap: 12px;
  }

  header .font-headline-md,
  body > nav.fixed .font-headline-md {
    font-size: 22px;
    line-height: 1.05;
  }

  header button,
  body > nav.fixed button {
    flex: 0 1 116px;
    max-width: 116px;
    padding-left: 12px;
    padding-right: 12px;
    white-space: normal;
    line-height: 1.1;
    overflow: hidden;
    text-overflow: clip;
  }

  main section,
  main section > div,
  main .max-w-container-max {
    max-width: 100vw !important;
  }

  main section > .relative,
  main section .text-center {
    width: 100%;
    max-width: 100%;
  }

  main h1 {
    max-width: 100%;
    font-size: 42px !important;
    line-height: 1.14 !important;
    overflow-wrap: anywhere;
  }

  main p {
    width: 100%;
    max-width: 100% !important;
    overflow-wrap: anywhere;
  }

  .text-headline-xl {
    font-size: 42px !important;
    line-height: 1.14 !important;
  }
}

@media (max-width: 380px) {
  header .font-headline-md,
  body > nav.fixed .font-headline-md {
    font-size: 19px;
  }

  main h1,
  .text-headline-xl {
    font-size: 36px !important;
  }
}
