.legal-page {
  min-height: 100vh;
  background: var(--paper);
}

.legal-header {
  border-bottom: 1px solid var(--line);
}

.legal-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 104px;
}

.legal-header img {
  width: 190px;
}

.legal-back {
  border-bottom: 1px solid currentColor;
  padding-bottom: 3px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.legal-content {
  width: min(100% - 48px, 900px);
  margin-inline: auto;
  padding: 110px 0 140px;
}

.legal-content h1 {
  max-width: none;
  margin-bottom: 20px;
  font-size: clamp(54px, 7vw, 96px);
  line-height: 0.94;
}

.legal-updated {
  margin: 0 0 72px;
  color: #6e6a63;
  font-size: 13px;
}

.legal-section {
  padding: 34px 0;
  border-top: 1px solid var(--line);
}

.legal-section h2 {
  margin-bottom: 18px;
  font-size: clamp(25px, 3vw, 36px);
  letter-spacing: -0.035em;
}

.legal-section p,
.legal-section li {
  max-width: 760px;
  font-size: 17px;
  line-height: 1.65;
}

.legal-section p + p {
  margin-top: 16px;
}

.legal-section ul {
  display: grid;
  gap: 10px;
  margin: 16px 0 0 22px;
  list-style: disc;
}

.legal-section a {
  border-bottom: 1px solid currentColor;
}

.legal-footer {
  border-top: 1px solid var(--line);
}

@media (max-width: 800px) {
  .legal-header-inner {
    min-height: 82px;
  }

  .legal-header img {
    width: 150px;
  }

  .legal-content {
    width: min(100% - 32px, 900px);
    padding: 76px 0 96px;
  }

  .legal-content h1 {
    font-size: clamp(48px, 14vw, 68px);
  }

  .legal-updated {
    margin-bottom: 52px;
  }
}
