/* Header / footer only — safe to load after page-local CSS */
.chrome-hidden { display: none !important; }

.site-header {
  margin: 0 0 1.15rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid var(--border, #27272a);
}

.site-header-row {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
  margin-bottom: 0.55rem;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  line-height: 0;
}

.site-brand-logo {
  /* Site name — read as the product mark, not a tiny icon */
  height: 44px;
  width: auto;
  display: block;
}

.site-product {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--muted, #a1a1aa);
  border-left: 1px solid var(--border, #27272a);
  padding-left: 0.75rem;
  line-height: 1.1;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.site-nav a {
  color: var(--muted, #a1a1aa);
  text-decoration: none;
  font-size: 0.78rem;
  padding: 0.3rem 0.65rem;
  border: 1px solid var(--border, #27272a);
  border-radius: 999px;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--text, #fafafa);
  border-color: var(--accent, #f97316);
}

.site-nav a.active {
  color: var(--accent, #f97316);
}

.site-footer {
  margin-top: 2rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border, #27272a);
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem 0.85rem;
  align-items: center;
  font-size: 0.78rem;
  color: #52525b;
}

.site-footer a {
  color: #71717a;
  text-decoration: none;
}

.site-footer a:hover {
  color: var(--accent, #f97316);
}

.site-footer-brand {
  margin-left: auto;
  color: #3f3f46;
  font-weight: 600;
  letter-spacing: -0.02em;
}
