html,
body.legal-page-body {
  min-height: 100%;
  background: #ffffff;
}

body.legal-page-body {
  color: #111111;
}

.legal-page-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  min-height: 76px;
  padding: 18px clamp(20px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.94);
  border-bottom: 1px solid #ededed;
  backdrop-filter: blur(14px);
}

.legal-page-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #000000;
  text-decoration: none;
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0;
}

.legal-page-brand img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.legal-page-main {
  padding: clamp(36px, 7vw, 84px) clamp(20px, 5vw, 64px) clamp(60px, 8vw, 96px);
}

.legal-page-article {
  width: min(920px, 100%);
  margin: 0 auto;
}

.legal-page-kicker {
  margin: 0 0 14px;
  color: #666666;
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.legal-page-article h1 {
  margin: 0 0 28px;
  color: #000000;
  font-size: clamp(40px, 8vw, 78px);
  line-height: 0.98;
  font-weight: 700;
  letter-spacing: 0;
}

.legal-page-content {
  color: #1f1f1f;
  font-size: clamp(16px, 1.5vw, 18px);
  line-height: 1.72;
}

.legal-page-content section {
  padding-top: 18px;
  border-top: 1px solid #eeeeee;
  margin-top: 28px;
}

.legal-page-content h3 {
  margin: 0 0 12px;
  color: #000000;
  font-size: clamp(21px, 2.2vw, 28px);
  line-height: 1.18;
  font-weight: 700;
  letter-spacing: 0;
}

.legal-page-content p {
  margin: 0 0 16px;
}

.legal-page-content ul {
  margin: 0 0 18px 1.25rem;
  padding: 0;
}

.legal-page-content li {
  margin: 0 0 8px;
}

.legal-page-content a {
  color: #000000;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal-last-updated {
  display: inline-flex;
  margin: 0 0 22px;
  padding: 8px 12px;
  border: 1px solid #d9d9d9;
  border-radius: 999px;
  color: #333333;
  background: #fafafa;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.2;
}

@media (max-width: 640px) {
  .legal-page-header {
    min-height: 66px;
    padding: 14px 20px;
  }

  .legal-page-brand img {
    width: 30px;
    height: 30px;
  }

  .legal-page-main {
    padding-top: 34px;
  }
}
