.at-header {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 20px 24px 0;
}

.at-header__bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--at-surface);
  border-radius: 999px;
  padding: 12px 12px 12px 24px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.at-header__logo {
  display: flex;
  align-items: center;
  text-decoration: none;
}

.at-header__logo img {
  height: 28px;
  width: auto;
  display: block;
}

.at-header__logo span {
  font-size: 20px;
  font-weight: 500;
  color: var(--at-text-primary);
}

.at-header__nav ul {
  display: flex;
  gap: 28px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.at-header__nav a {
  font-size: 14px;
  color: var(--at-text-secondary);
  text-decoration: none;
}

.at-header__nav a:hover {
  color: var(--at-blue);
}

.at-header__toggle {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
}

.at-header__toggle span {
  width: 20px;
  height: 2px;
  background: var(--at-text-primary);
  display: block;
}

@media (max-width: 800px) {
  .at-header__nav {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    right: 0;
    background: var(--at-surface);
    border-radius: 16px;
    padding: 16px 24px;
    box-shadow: 0 2px 16px rgba(0, 0, 0, 0.08);
  }

  .at-header__bar.is-open .at-header__nav {
    display: block;
  }

  .at-header__nav ul {
    flex-direction: column;
    gap: 16px;
  }

  .at-header__toggle {
    display: flex;
  }
}
