header {
  flex-wrap: wrap;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  max-width: 100%;
}

.brand-icon {
  display: block;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  object-fit: contain;
}

.brand .brand-copy {
  display: block;
  min-width: 0;
  font-size: 21px;
  font-weight: 750;
  line-height: 1.25;
  color: var(--ink);
}

.brand .brand-tagline {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 400;
  color: var(--muted);
}

.login-logo {
  display: block;
  width: 88px;
  height: 88px;
  max-width: 100%;
  margin-bottom: 16px;
  object-fit: contain;
}

/* Secondary "About SharedUpkeep" link beneath the login cards (#58).
   Aligns with the inner content edge of the .card.narrow column above. */
.login-about {
  max-width: 680px;
  margin: 0;
  padding: 0 20px;
  font-size: 15px;
}

.login-about a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
  border-radius: 4px;
}

.login-about a:hover {
  color: var(--ink);
}
