.ml-terms-wrapper {
  background: var(--bg, #f7fafc);
  padding: clamp(96px, 9vw, 150px) 0 104px;
}

.ml-terms-page.container {
  max-width: 1100px;
}

.ml-terms-shell {
  background: #fff;
  border: 1px solid var(--br, #e2e8f0);
  border-radius: 16px;
  box-shadow: var(--sh, 0 3px 12px rgba(15, 42, 86, .06));
  padding: clamp(30px, 4vw, 60px);
  line-height: 1.7;
}

.ml-terms-hero {
  text-align: center;
  margin-bottom: 12px;
}

.ml-terms-eyebrow {
  color: var(--muted, #6b7c93);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin: 0 0 6px;
  font-size: 13px;
}

.ml-terms-hero h1 {
  margin: 0 0 8px;
  font-size: clamp(30px, 4.5vw, 38px);
}

.ml-terms-lead {
  margin: 0;
  font-size: 18px;
  color: #0b1220;
}

.ml-terms-section {
  margin-top: 28px;
}

.ml-terms-section__title {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 12px;
}

.ml-terms-section__title h2 {
  margin: 0;
  font-size: clamp(20px, 3vw, 26px);
}

.ml-terms-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2b6cb0, #0f2a56);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  flex-shrink: 0;
  box-shadow: 0 8px 16px rgba(15, 42, 86, .16);
}

.ml-terms-body ul,
.ml-terms-body ol {
  margin: 0;
  padding-inline-start: 1.1em;
  color: #0b1220;
}

.ml-terms-body li + li {
  margin-top: 8px;
}

.ml-terms-body ol {
  list-style-position: inside;
}

.ml-terms-body p {
  margin: 0;
}

.ml-terms-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.ml-terms-contact li + li {
  margin-top: 6px;
}

.ml-terms-body a {
  color: var(--acc, #2b6cb0);
  text-decoration: underline;
}

.ml-terms-footnote {
  margin: 32px 0 0;
  color: var(--muted, #6b7c93);
  font-size: 14px;
  line-height: 1.5;
}

@media (max-width: 768px) {
  .ml-terms-wrapper {
    padding-top: 88px;
    padding-bottom: 72px;
  }
  .ml-terms-section__title {
    gap: 8px;
  }
}

/* Backward compatibility for the previous sl-legal wrapper */
.sl-legal {
  padding: clamp(32px, 6vw, 72px) 0;
}

.sl-legal .container {
  max-width: 980px;
}
