.legal-page {
  min-height: 100vh;
  margin: 0;
  background: #f4f1ea;
  color: #171a16;
  font-family: "Manrope", sans-serif;
}

.legal-header {
  border-bottom: 1px solid rgba(23, 26, 22, 0.14);
}

.legal-nav,
.legal-content,
.legal-footer {
  width: min(100% - 40px, 900px);
  margin: 0 auto;
}

.legal-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
}

.legal-brand {
  display: inline-flex;
  align-items: center;
  color: inherit;
  font-size: 16px;
  font-weight: 800;
  text-decoration: none;
}

.legal-brand img {
  width: 172px;
  height: 48px;
  object-fit: contain;
  object-position: left center;
}

.legal-back {
  color: inherit;
  font-size: 13px;
  font-weight: 700;
}

.legal-content {
  padding: 72px 0 88px;
}

.legal-kicker {
  margin: 0 0 12px;
  color: #6c5422;
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.legal-content h1 {
  max-width: 760px;
  margin: 0 0 18px;
  font-size: clamp(34px, 6vw, 62px);
  font-weight: 760;
  line-height: 1.04;
  letter-spacing: 0;
}

.legal-lead {
  max-width: 720px;
  margin: 0 0 50px;
  color: #4a4f48;
  font-size: 18px;
  line-height: 1.65;
}

.legal-section {
  padding: 28px 0;
  border-top: 1px solid rgba(23, 26, 22, 0.14);
}

.legal-section h2 {
  margin: 0 0 10px;
  font-size: 20px;
  font-weight: 760;
  line-height: 1.25;
  letter-spacing: 0;
}

.legal-section p,
.legal-section li {
  color: #3f443e;
  line-height: 1.7;
}

.legal-section ul {
  padding-left: 20px;
}

.legal-section a {
  color: #5a4418;
  font-weight: 700;
}

.legal-footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 0 38px;
  border-top: 1px solid rgba(23, 26, 22, 0.14);
  color: #555b53;
  font-size: 13px;
}

.legal-footer button {
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}

@media (max-width: 640px) {
  .legal-nav,
  .legal-content,
  .legal-footer {
    width: min(100% - 28px, 900px);
  }

  .legal-content {
    padding-top: 48px;
  }

  .legal-footer {
    display: block;
  }

  .legal-footer button {
    margin-top: 10px;
  }
}
