.stance-legal-content {
  background: var(--stance-legal-content-bg, var(--stance-color-white));
}

.stance-legal-content--spacing-small {
  padding: 3rem 0;
}

.stance-legal-content--spacing-default {
  padding: 4.5rem 0;
}

.stance-legal-content--spacing-large {
  padding: 6rem 0;
}

.stance-legal-content__inner {
  display: grid;
  gap: 1.5rem;
}

.stance-legal-content__title {
  margin: 0;
  color: var(--stance-legal-content-title-color, var(--stance-color-black));
  font-size: var(--stance-block-h2-size);
  font-weight: var(--stance-block-h2-weight);
  line-height: 1;
  letter-spacing: -0.045em;
  text-transform: uppercase;
}

.stance-legal-content__intro {
  color: var(--stance-legal-content-intro-color, var(--stance-color-text));
  font-size: var(--stance-block-body-size);
  line-height: 1.5;
}

.stance-legal-content__intro > *:first-child {
  margin-top: 0;
}

.stance-legal-content__intro > *:last-child {
  margin-bottom: 0;
}

.stance-legal-content__panel {
  padding: clamp(1.5rem, 2.5vw, 2.5rem);
  border: 1px solid var(--stance-legal-content-panel-border, #d9eceb);
  border-radius: 1rem;
  background: var(--stance-legal-content-panel-bg, #f7fbfb);
}

.stance-legal-content__panel--placeholder {
  color: rgba(0, 0, 0, 0.56);
}

.stance-legal-content__panel--placeholder p {
  margin: 0;
}

.stance-legal-content__body {
  color: var(--stance-legal-content-body-color, var(--stance-color-text));
}

.stance-legal-content__body > *:first-child {
  margin-top: 0;
}

.stance-legal-content__body > *:last-child {
  margin-bottom: 0;
}

.stance-legal-content__body h2,
.stance-legal-content__body h3,
.stance-legal-content__body h4,
.stance-legal-content__body h5,
.stance-legal-content__body h6 {
  margin: 2rem 0 0.9rem;
  color: var(--stance-legal-content-title-color, var(--stance-color-black));
  font-size: clamp(1.35rem, 1.9vw, 1.9rem);
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.stance-legal-content__body p,
.stance-legal-content__body li {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.65;
}

.stance-legal-content__body p {
  margin: 0 0 1rem;
}

.stance-legal-content__body ul,
.stance-legal-content__body ol {
  margin: 0 0 1.25rem;
  padding-left: 1.4rem;
}

.stance-legal-content__body li + li {
  margin-top: 0.4rem;
}

.stance-legal-content__body a {
  color: var(--stance-legal-content-link-color, var(--stance-color-brand));
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 0.16em;
}

.stance-legal-content__body strong {
  font-weight: 600;
}

.stance-legal-content__body table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.5rem 0;
}

.stance-legal-content__body th,
.stance-legal-content__body td {
  padding: 0.85rem 0.9rem;
  border: 1px solid var(--stance-legal-content-panel-border, #d9eceb);
  text-align: left;
  vertical-align: top;
}

.stance-legal-content__body th {
  font-weight: 600;
  background: rgba(0, 177, 172, 0.06);
}

.stance-legal-content__body hr {
  margin: 1.75rem 0;
  border: 0;
  border-top: 1px solid var(--stance-legal-content-panel-border, #d9eceb);
}

.stance-legal-content__body blockquote {
  margin: 1.75rem 0;
  padding: 0.25rem 0 0.25rem 1.25rem;
  border-left: 4px solid var(--stance-legal-content-link-color, var(--stance-color-brand));
}

@media (max-width: 768px) {
  .stance-legal-content__inner {
    gap: 1.25rem;
  }

  .stance-legal-content__panel {
    padding: 1.25rem;
  }

  .stance-legal-content__body h2,
  .stance-legal-content__body h3,
  .stance-legal-content__body h4,
  .stance-legal-content__body h5,
  .stance-legal-content__body h6 {
    font-size: clamp(1.2rem, 5.6vw, 1.55rem);
  }
}
