.legal-page {
  min-height: 100vh;
  background: #0b0b0b;
  color: #e8dfd3;
}

.legal-back {
  position: fixed;
  top: 22px;
  left: 22px;
  z-index: 20;
  display: inline-flex;
  align-items: center;
  min-height: 42px;
  padding: 8px 13px;
  border: 1px solid rgba(201, 152, 82, 0.42);
  border-radius: 999px;
  background: rgba(11, 11, 11, 0.88);
  color: rgba(232, 223, 211, 0.94);
  text-decoration: none;
  letter-spacing: 0.08em;
  font-size: 0.75rem;
}

.legal-main {
  width: min(900px, calc(100% - 40px));
  margin: 0 auto;
  padding: 112px 0 72px;
}

.legal-kicker,
.legal-updated {
  color: #c99852;
  font-family: Montserrat, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.legal-main h1 {
  max-width: 760px;
  margin: 12px 0 18px;
  font-family: Montserrat, sans-serif;
  font-size: clamp(2.2rem, 6vw, 4.8rem);
  line-height: 0.98;
  letter-spacing: 0.035em;
}

.legal-intro {
  max-width: 720px;
  margin: 22px 0 54px;
  color: rgba(232, 223, 211, 0.82);
  font-size: 1.05rem;
  line-height: 1.75;
}

.legal-section {
  padding: 26px 0;
  border-top: 1px solid rgba(201, 152, 82, 0.18);
}

.legal-section h2 {
  margin: 0 0 14px;
  font-family: Montserrat, sans-serif;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  letter-spacing: 0.04em;
}

.legal-section h3 {
  margin: 22px 0 8px;
  color: #e8dfd3;
  font-family: Montserrat, sans-serif;
  font-size: 0.95rem;
}

.legal-section p,
.legal-section li,
.legal-table {
  color: rgba(232, 223, 211, 0.76);
  line-height: 1.72;
}

.legal-section p {
  margin: 10px 0;
}

.legal-section ul {
  margin: 10px 0;
  padding-left: 1.2rem;
}

.legal-page a {
  color: #e2b36f;
  text-underline-offset: 0.2em;
}

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

.legal-table th,
.legal-table td {
  padding: 12px 10px;
  border-top: 1px solid rgba(232, 223, 211, 0.12);
  text-align: left;
  vertical-align: top;
}

.legal-table th {
  color: #e8dfd3;
  font-family: Montserrat, sans-serif;
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.legal-footer {
  padding-top: 32px;
  color: rgba(232, 223, 211, 0.58);
  font-size: 0.82rem;
}

@media (max-width: 640px) {
  .legal-back {
    position: absolute;
    top: 14px;
    left: 14px;
  }

  .legal-main {
    width: min(100% - 30px, 900px);
    padding-top: 88px;
  }

  .legal-table,
  .legal-table tbody,
  .legal-table tr,
  .legal-table th,
  .legal-table td {
    display: block;
  }

  .legal-table tr {
    padding: 12px 0;
    border-top: 1px solid rgba(232, 223, 211, 0.12);
  }

  .legal-table th,
  .legal-table td {
    padding: 3px 0;
    border: 0;
  }
}
