/* Shared platform identity only; facility headers keep their own branding. */
.platform-brand {
  gap: 16px;
  min-width: 0;
}

.platform-brand > div {
  min-width: 0;
}

.platform-brand .neutral-brand-mark {
  font-family: "Inter", sans-serif;
  letter-spacing: -0.06em;
  overflow: hidden;
  background: #fff;
}

.platform-brand .neutral-brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  object-fit: cover;
  filter: grayscale(1) invert(1) contrast(10);
  object-position: center;
  transform: translate(2%, -2%) scale(1.12);
  transform-origin: center;
}

.platform-brand h1 {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.04em;
  text-transform: none;
  overflow-wrap: anywhere;
}

.platform-brand-category {
  display: block;
  margin-top: 6px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.platform-brand p {
  overflow-wrap: anywhere;
}

.auth-card:has(.platform-brand) .auth-heading h2 {
  font-family: "Inter", sans-serif;
  font-size: clamp(28px, 5vw, 40px);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  text-transform: none;
}

.platform-page .platform-hero h2 {
  margin: 0;
  font-family: "Inter", sans-serif;
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.03em;
  text-transform: none;
}

.auth-card .platform-login-heading h2 {
  margin: 0;
}

.auth-card .platform-login-heading #login-description {
  margin: 8px 0 0;
}

.platform-page .platform-hero p {
  margin: 8px 0 0;
  color: var(--muted);
}

@media (max-width: 480px) {
  .platform-brand { gap: 12px; }
  .platform-brand .neutral-brand-mark {
    width: 46px;
    height: 46px;
    font-size: 20px;
  }
}
