.site-footer {
  margin-top: 40px;
  padding-block: 24px;
  border-top: 1px solid var(--color-border-subtle);
  background: #f9fafb;
}

.footer-inner {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-brand p {
  font-size: 0.85rem;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.footer-links h3 {
  font-size: 0.9rem;
  margin-bottom: 6px;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--color-muted);
}

.footer-links a:hover {
  color: var(--color-text);
}

.footer-meta {
  font-size: 0.8rem;
  color: var(--color-muted);
}

@media (min-width: 768px) {
  .footer-inner {
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
  }

  .footer-meta {
    text-align: right;
    flex-basis: 100%;
  }
}
