/* Public surface base — system fonts only. Refs ADR-apex-public-pages.md */

*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  font-family: ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.public-footer,
.footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 18px;
  padding: 28px 0 0;
  margin-top: 8px;
  color: var(--muted, #64766e);
  font-size: 0.95rem;
  font-weight: 700;
}

.public-footer-links,
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.public-footer-links a,
.footer-links a {
  padding: 10px 12px;
  border-radius: 999px;
  text-decoration: none;
  transition: background 180ms ease, color 180ms ease;
}

.public-footer-links a:hover,
.footer-links a:hover {
  background: color-mix(in oklab, var(--panel-strong, #fff) 65%, transparent);
  color: var(--ink, #18312b);
}

@media (max-width: 720px) {
  .public-footer,
  .footer {
    display: block;
    text-align: center;
  }

  .public-footer-links,
  .footer-links {
    justify-content: center;
    margin-top: 10px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
