.public-header {
  background: #12141a;
  color: #f8f7f5;
  border-bottom: 1px solid #ffffff15;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.55;
}

.public-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px 24px;
  width: min(calc(100% - 96px), 1184px);
  margin-inline: auto;
  min-height: 72px;
}

.public-header-logo {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
  min-width: 44px;
  min-height: 44px;
}

.public-header-logo img {
  display: block;
  border-radius: 25%;
}

.public-header-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 0 clamp(16px, 3vw, 32px);
}

.public-header-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  min-height: 44px;
  color: inherit;
  font-size: .9375rem;
  font-weight: 650;
  text-underline-offset: .35em;
}

.public-header-nav a[aria-current] {
  text-decoration: underline;
}

.public-footer {
  padding-bottom: 24px;
  text-align: right;
  font-size: .875rem;
}

.public-footer a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-left: 20px;
  color: var(--muted);
}

@media (max-width: 640px) {
  .public-header-inner { width: calc(100% - 32px); min-height: 64px; }
}
