/* Merchant / legal identity — keep in sync with qa-marketplace src/lib/legalMeta.js */
.footer-legal {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  max-width: 42rem;
  text-align: left;
}
.footer-legal p {
  font-size: 0.8125rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.38);
  margin: 0 0 0.35rem;
}
.footer-legal strong {
  color: rgba(255, 255, 255, 0.62);
  font-weight: 600;
}
.footer-legal a {
  color: rgba(255, 255, 255, 0.5);
  transition: color 0.15s;
}
.footer-legal a:hover {
  color: rgba(255, 255, 255, 0.85);
}
.footer-legal-desc {
  margin-top: 0.75rem !important;
  max-width: 36rem;
}
.footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1rem;
  margin-top: 0.75rem;
}
.footer-legal-links a {
  font-size: 0.8125rem;
}

/* Compact footer stack (contact, for-devs, for-testers, wordpress, …) */
footer .footer-inner.footer-stack {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
}

footer .footer-inner.footer-stack .footer-row {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  width: 100%;
}

footer .footer-inner.footer-stack .footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 18px;
  max-width: 52rem;
}

footer .footer-inner.footer-stack .footer-copy {
  width: 100%;
}

footer .footer-legal-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.1rem;
  margin-top: 0.85rem;
}

footer .footer-legal-links a {
  font-size: 0.8125rem;
  color: rgba(255, 255, 255, 0.42);
}

footer .footer-legal-links a:hover {
  color: rgba(255, 255, 255, 0.8);
}

/* Light pages (contact, privacy if served locally) */
.page-footer-legal {
  margin-top: 48px;
  padding-top: 32px;
  border-top: 1px solid var(--border, #e2e8f0);
  text-align: left;
  max-width: 42rem;
}
.page-footer-legal p {
  font-size: 0.875rem;
  line-height: 1.65;
  color: var(--muted, #64748b);
  margin: 0 0 0.35rem;
}
.page-footer-legal strong {
  color: var(--text, #0f172a);
}
.page-footer-legal a {
  color: var(--blue, #2563eb);
}
