.legal-page {
  display: flex;
  min-height: 100vh;
  flex-direction: column;
}

.legal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  padding-block: 24px;
  border-bottom: 1px solid var(--line);
}

.legal-header img {
  display: block;
  height: auto;
}

.legal-content {
  flex: 1;
  padding-block: clamp(40px, 8vw, 96px);
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.legal-content h1 {
  margin: 0 0 32px;
  color: var(--green);
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 7vw, 4.5rem);
  font-weight: 400;
  line-height: 1.1;
}

.legal-content h2 {
  margin: 32px 0 12px;
  font-size: 1.2rem;
}

.legal-content address {
  font-style: normal;
}

.legal-content a,
.legal-header > a:last-child {
  color: var(--green-deep);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.legal-page a:focus-visible {
  outline: 3px solid var(--green-category);
  outline-offset: 5px;
}
