body {
  display: block;
}

.app-nav {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 18px;
  border-bottom: 1px solid #1f2937;
  background: #070b12;
  color: #e5e7eb;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.app-nav__brand {
  color: #f8fafc;
  font-weight: 800;
  font-size: 15px;
  text-decoration: none;
  letter-spacing: .02em;
  white-space: nowrap;
}

.app-nav__links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 7px;
  flex-wrap: wrap;
}

.app-nav__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #263241;
  border-radius: 7px;
  background: #0d1420;
  color: #cbd5e1;
  font: 700 12px/1 "Segoe UI", Arial, sans-serif;
  text-decoration: none;
  white-space: nowrap;
}

.app-nav__btn:hover {
  border-color: #38bdf8;
  color: #f8fafc;
  background: #111f30;
}

.app-nav__btn.is-active {
  border-color: #22c55e;
  background: #052e16;
  color: #bbf7d0;
}

@media (max-width: 760px) {
  .app-nav {
    align-items: flex-start;
    flex-direction: column;
    padding: 10px 12px;
  }

  .app-nav__links {
    justify-content: flex-start;
    width: 100%;
  }

  .app-nav__btn {
    flex: 1 1 128px;
  }
}
