.legal-hero {
  padding: clamp(3rem, 6vw, 5rem) 1rem 2.25rem;
  border-bottom: 1px solid var(--line);
  background: var(--ivory);
}

.legal-hero-shell {
  width: min(calc(100% - 2rem), var(--shell));
  margin-inline: auto;
}

.legal-eyebrow {
  margin-bottom: 0.8rem;
  color: var(--sage-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
}

.legal-hero h1 {
  margin-bottom: 0.7rem;
  font-family: var(--serif);
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: 400;
  letter-spacing: -0.03em;
  line-height: 1.02;
}

.legal-meta {
  margin-bottom: 0;
  color: var(--muted);
  font-size: 0.85rem;
}

.legal-content {
  padding-block: clamp(2.5rem, 5vw, 4rem);
}

.legal-shell {
  width: min(calc(100% - 2rem), 46rem);
  margin-inline: auto;
}

.legal-shell p {
  margin-bottom: 1.1rem;
  font-size: 0.95rem;
  line-height: 1.75;
}

.legal-shell h2 {
  margin: 2.6rem 0 1rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-family: var(--serif);
  font-size: clamp(1.4rem, 2.3vw, 1.9rem);
  font-weight: 400;
  letter-spacing: -0.02em;
}

.legal-shell h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.legal-shell h3 {
  margin: 1.7rem 0 0.6rem;
  font-family: var(--serif);
  font-size: 1.15rem;
  font-weight: 700;
}

.legal-shell ul {
  margin: 0 0 1.2rem;
  padding-left: 1.3rem;
}

.legal-shell li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.65;
}

.legal-shell strong {
  font-weight: 700;
}

.legal-shell a {
  color: var(--sage-dark);
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.legal-shell a:hover,
.legal-shell a:focus-visible {
  color: var(--ink);
}

.legal-table-wrap {
  margin-bottom: 1.5rem;
  overflow-x: auto;
}

.legal-shell table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.legal-shell th,
.legal-shell td {
  border: 1px solid var(--line);
  padding: 0.6rem 0.7rem;
  text-align: left;
  vertical-align: top;
}

.legal-shell th {
  background: var(--ivory);
  font-size: 0.66rem;
  font-weight: 750;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.legal-contact {
  margin-top: 2rem;
  padding: 1.4rem 1.6rem;
  border-radius: 0.5rem;
  background: var(--ivory);
}

.legal-contact p {
  margin-bottom: 0.3rem;
  font-family: var(--serif);
  font-size: 0.95rem;
  line-height: 1.6;
}

.legal-contact p:last-child {
  margin-bottom: 0;
}

.legal-crosslink {
  margin-top: 2.2rem;
  padding-top: 1.6rem;
  border-top: 1px solid var(--line);
  font-size: 0.9rem;
}

@media (max-width: 48rem) {
  .legal-hero {
    padding-top: 2.5rem;
  }
}
