html,
body {
  overflow-x: clip;
}

.site-menu {
  display: none;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid #3a3a3a;
  border-radius: 12px;
  background: transparent;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
}

.site-menu span {
  display: block;
  width: 18px;
  height: 2px;
  background: #ffffff;
  border-radius: 1px;
}

.site-menu:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

.site-top {
  position: sticky;
  top: 0;
  z-index: 30;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1.25rem;
  background: rgba(0, 0, 0, 0.94);
  border-bottom: 1px solid #1c1c1c;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  color: #ffffff;
  text-decoration: none;
  font-weight: 800;
  letter-spacing: -0.03em;
  font-size: 1.15rem;
}

.site-brand img {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 0.7rem;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.site-nav a {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  color: #ffffff;
}

.site-nav a.ghost {
  background: transparent;
  border: 1px solid #3a3a3a;
}

.site-nav a.solid {
  background: #e50914;
  border: 0;
}

@media (max-width: 799px) {
  .site-menu {
    display: inline-flex;
  }

  .xo-top,
  .site-top {
    position: sticky;
  }

  .xo-top .xo-nav,
  .site-top .site-nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0.75rem;
    left: 0.75rem;
    z-index: 40;
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
    margin: 0;
    padding: 0.7rem;
    background: #121212;
    border: 1px solid #2a2a2a;
    border-radius: 16px;
  }

  .xo-top.is-open .xo-nav,
  .site-top.is-open .site-nav {
    display: flex;
  }

  .xo-top .xo-nav a,
  .site-top .site-nav a {
    width: 100%;
  }
}
