.legal-page {
  position: relative;
  overflow: hidden;
  background: #ffffff;
  min-height: 70vh;
}

.legal-page__bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, #ffffff 0%, rgba(255, 248, 244, 0.9) 35%, #ffffff 100%),
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(255, 160, 115, 0.22) 0%, rgba(255, 255, 255, 0) 70%);
  pointer-events: none;
  z-index: 0;
}

.legal-page__content {
  position: relative;
  z-index: 1;
  padding: 150px 0 100px;
}

.legal-hero {
  max-width: 820px;
  margin: 0 auto 40px;
  text-align: center;
}

.legal-hero-title {
  margin: 0 0 12px;
  font-family: var(--font-primary, 'DM Sans', sans-serif);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 300;
  line-height: 1.08;
  color: #585858;
}

.legal-hero-title span {
  display: inline;
  background: linear-gradient(90deg, #fb580c 33.65%, #ffa073 75%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.legal-hero-updated {
  margin: 0;
  font-family: var(--font-primary, 'DM Sans', sans-serif);
  font-size: 14px;
  font-weight: 500;
  color: #9a9a9a;
}

.legal-card {
  max-width: 920px;
  margin: 0 auto;
  padding: 40px 44px;
  border: 1px solid #e8e4df;
  border-radius: 24px;
  background: #ffffff;
  box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.02);
}

.legal-intro {
  margin: 0 0 32px;
  font-family: var(--font-primary, 'DM Sans', sans-serif);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.7;
  color: #585858;
}

.legal-section + .legal-section {
  margin-top: 32px;
  padding-top: 32px;
  border-top: 1px solid #ebe7e2;
}

.legal-section-title {
  margin: 0 0 12px;
  font-family: var(--font-primary, 'DM Sans', sans-serif);
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  color: #2f2f2f;
}

.legal-section-body {
  margin: 0;
  font-family: var(--font-primary, 'DM Sans', sans-serif);
  font-size: 15px;
  font-weight: 400;
  line-height: 1.7;
  color: #585858;
}

.legal-section-body + .legal-section-body {
  margin-top: 12px;
}

@media (max-width: 767px) {
  .legal-page__content {
    padding: 120px 0 64px;
  }

  .legal-hero {
    margin-bottom: 28px;
  }

  .legal-card {
    padding: 28px 20px;
    border-radius: 18px;
  }

  .legal-section-title {
    font-size: 18px;
  }

  .legal-section-body,
  .legal-intro {
    font-size: 14px;
  }
}
