.legal-header,
.legal-footer {
  border-color: var(--line);
  border-style: solid;
  border-width: 0;
}
.legal-header { border-bottom-width: 1px; }
.legal-footer { border-top-width: 1px; }
.legal-header .shell,
.legal-footer .shell {
  max-width: 76rem;
  display: flex;
  align-items: center;
}
.legal-header .shell {
  justify-content: space-between;
  min-height: 4.5rem;
}
.legal-content {
  max-width: 50rem;
  padding: clamp(2rem, 6vw, 4.5rem) var(--gutter);
  box-sizing: content-box;
  width: auto;
}
.legal-content h1 {
  font-size: clamp(2.125rem, 5vw, 3.625rem);
  line-height: 1.1;
  letter-spacing: -.045em;
  font-weight: 620;
}
.policy-date {
  margin-top: .8rem;
  color: var(--muted);
  font-size: .875rem;
}
.legal-content section { margin-top: 2rem; }
.legal-content h2 {
  font-size: 1.2rem;
  font-weight: 650;
  letter-spacing: -.015em;
}
.legal-content section p {
  margin-top: .45rem;
  max-width: 72ch;
  line-height: 1.65;
}
.legal-content a,
.legal-footer a {
  color: var(--green);
  text-decoration: underline;
  text-underline-offset: .18em;
}
.legal-footer .shell {
  flex-wrap: wrap;
  gap: .5rem 1.5rem;
  padding-block: 1.5rem;
  font-size: .875rem;
}
.legal-footer [aria-current="page"] { color: var(--ink); }
