.site-footer {
  background: var(--c-surface);
  border-block-start: 1px solid var(--c-border);
  padding-block: var(--s-7) var(--s-5);
  margin-block-start: var(--s-8);
}

.site-footer__grid {
  display: grid;
  gap: var(--s-6);
}

@media (min-width: 48em) {
  .site-footer__grid {
    grid-template-columns: 1.4fr 1fr 1fr;
  }
}

.site-footer h2 {
  font-size: var(--t-lg);
  margin-block-end: var(--s-3);
}

/* The three columns are siblings, so all three are h2 (1.3.1): as h3 under
   "LIL-ECHOES Consortium" they read as parts of it. These two keep the small
   label look through the class. */
.site-footer h2.site-footer__label {
  font-size: var(--t-xs);
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--c-ink-muted);
  margin-block-end: var(--s-3);
}

.site-footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

/* Scoped to the stacked link columns. Unscoped, it also hit the horizontal
   legal list and pushed every link after the first one down by 8px. */
.site-footer__grid li + li {
  margin-block-start: var(--s-2);
}

/* A real class, replacing an inline style. */
.inline-list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
}

.site-footer a {
  color: var(--c-ink);
}

.site-footer address {
  font-style: normal;
  color: var(--c-ink-muted);
}

.site-footer__legal {
  margin-block-start: var(--s-6);
  padding-block-start: var(--s-5);
  border-block-start: 1px solid var(--c-border);
  display: grid;
  gap: var(--s-4);
  font-size: var(--t-sm);
  color: var(--c-ink-muted);
}

.site-footer__smallprint {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-4);
  justify-content: space-between;
  align-items: center;
}
