* {
  box-sizing: border-box;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Manrope", ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 300;
  letter-spacing: 0;
}

a {
  color: inherit;
}

button,
input,
select {
  font: inherit;
}

button {
  cursor: pointer;
}

.topbar {
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding: 0 22px;
  border-bottom: 1px solid var(--line);
  background: color-mix(in srgb, var(--surface) 88%, transparent);
  position: sticky;
  top: 0;
  z-index: 4;
  backdrop-filter: blur(12px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 1 auto;
  color: var(--brand);
  font-weight: 500;
  text-decoration: none;
}

.brand-icon {
  width: 34px;
  height: 34px;
  border-radius: 8px;
  object-fit: cover;
}

.topbar nav {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.topbar nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  text-decoration: none;
  color: var(--muted);
}

.topbar nav a + a {
  padding-left: 14px;
}

.topbar nav a + a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  width: 1px;
  height: 14px;
  background: var(--line);
  transform: translateY(-50%);
}

.topbar nav a:hover {
  color: var(--brand);
}

main {
  min-height: calc(100vh - 64px);
}

@media (max-width: 760px) {
  .topbar {
    align-items: center;
    flex-wrap: wrap;
    padding: 14px 18px;
  }

  .topbar nav {
    justify-content: flex-end;
    gap: 12px;
  }

  .topbar nav a {
    min-height: 36px;
    display: inline-flex;
    align-items: center;
  }
}
