/* public/css/footer.css
   Brand stays bottom-left; links align to the right on wide screens.
   Comfortable line-height so it never looks “stuffed”. */

.site-footer {
  border-top: 1px solid var(--border);
  padding: 16px 24px;
  line-height: 1.35;                /* prevent cramped text */
  background: var(--surface, transparent);
}

/* Center to page width; allow wrapping when narrow */
.site-footer__inner {
  max-width: var(--container, 1200px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: space-between;   /* left block vs right block */
  flex-wrap: wrap;                  /* drop to next line gracefully */
}

.site-footer__legal {
  display: flex;
  align-items: baseline;
  gap: 10px;
}
.site-footer__legal .brand { font-weight: 600; opacity: .9; text-decoration: none; }
.site-footer__legal .copy  { opacity: .75; }

/* Push links to the right on wide screens */
.site-footer__links {
  display: flex;
  gap: 14px;
  margin-left: auto;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.site-footer__links a {
  text-decoration: none;
  color: var(--ink-2, currentColor);
  opacity: .9;
  padding: 2px 0;
}
.site-footer__links a:hover { text-decoration: underline; }

/* Small screens: stack, left-align for readability */
@media (max-width: 700px) {
  .site-footer__inner {
    justify-content: flex-start;
  }
  .site-footer__links {
    margin-left: 0;
    justify-content: flex-start;
  }
}
