/* Shared width and navigation for the homepage and both utilities. */
.shell {
  width: min(1180px, calc(100% - 40px));
  margin-inline: auto;
}

header {
  min-height: 80px;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid rgba(125, 243, 218, .13);
}

header .brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--acid);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .1em;
  text-decoration: none;
}

header .brand-mark {
  width: 11px;
  height: 11px;
  background: var(--acid);
  box-shadow: 0 0 16px var(--acid);
  transform: rotate(45deg);
}

header nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

header nav a,
header nav a:not(.active),
header nav a.active {
  display: inline-flex;
  color: var(--muted);
  font-size: 12px;
  text-decoration: none;
  text-transform: lowercase;
  white-space: nowrap;
}

header nav a:hover,
header nav a.active { color: var(--acid); }

@media (max-width: 800px) {
  .shell { width: min(calc(100% - 30px), 600px); }

  header {
    min-height: 96px;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 15px;
    padding: 14px 0;
  }

  header nav {
    width: 100%;
    justify-content: space-between;
    gap: 8px;
  }

  header nav a,
  header nav a:not(.active),
  header nav a.active {
    display: inline-flex !important;
    font-size: 11px;
  }
}
