

.main-content {
  justify-content: center;
  padding: 2rem 0;
}
.main-content__socials {
  margin-top: 2em;
}


.document-container {

  width: var(--width-main-content-for-fixed, min(1200px, 100%));
  max-width: 100%;
  margin: 0 auto;
  background: var(--color-bg-light, #fff);
  border-radius: var(--border-radius-main, 10px);
  border: var(--border-main, 0.5px solid rgba(0, 0, 0, 0.15));
  padding: 3rem;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  position: relative;
}
@media screen and (max-width: 768px) {
  .document-container {
    padding: 2rem 1.5rem;
  }
}
.document-container::before {
  content: "";
  position: absolute;
  top: 0;
  left: 3rem;
  right: 3rem;
  height: 4px;
  background: linear-gradient(to right, var(--color-main, #485fc7), var(--color-main-light, #6f83de));
  border-radius: 0 0 2px 2px;
}
@media screen and (max-width: 768px) {
  .document-container::before {
    left: 1.5rem;
    right: 1.5rem;
  }
}


.document-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}
.document-header .document-title {
  overflow-wrap: break-word;
  word-break: break-word;
  hyphens: auto;
  font-size: var(--font-size-2);
  text-align: center;
  font-weight: 700;
  color: var(--color-text, #000);
  margin-bottom: 0.5rem;
}
.document-header .document-subtitle {
  overflow-wrap: break-word;
  word-break: break-word;
  font-size: var(--font-size-4);
  text-align: center;
  color: color-mix(in srgb, var(--color-text, #000) 80%, transparent);
  margin-top: 0.5rem;
}
.document-header .document-date {
  font-size: var(--font-size-5);
  text-align: center;
  color: color-mix(in srgb, var(--color-text, #000) 60%, transparent);
  margin-top: 1rem;
  font-style: italic;
}


.document-body {
  font-size: var(--font-size-5);
  line-height: 1.7;
  color: var(--color-text, #000);
}
.document-body a {
  color: var(--color-main, #485fc7);
  text-decoration: none;
}
.document-body a:hover {
  text-decoration: underline;
}
.document-body .document-section {
  margin-bottom: 2.5rem;
}
.document-body .document-section:last-child {
  margin-bottom: 0;
}
.document-body .document-section .section-title {
  font-size: var(--font-size-4);
  font-weight: 600;
  margin-bottom: 1.5rem;
  color: var(--color-main-dark, #000);
  padding-bottom: 0.5rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.07);
}
.document-body .document-section .section-content {
  padding-left: 1rem;
}
.document-body .document-section .section-content p {
  margin-bottom: 1rem;
}
.document-body .document-section .section-content p:last-child {
  margin-bottom: 0;
}

.document-body .document-section .section-subtitle {
  font-size: var(--font-size-5);
  font-weight: 700;
  margin: 1.25rem 0 0.5rem;
  color: var(--color-text, #000);
}
.document-body .document-section .section-content > .section-subtitle:first-child {
  margin-top: 0;
}
.document-body .document-section ul,
.document-body .document-section ol {
  margin-left: 1.5rem;
  margin-bottom: 1.5rem;
  /* 2026-10-05 (legal-pages rewrite — modal/list fix) — global.css resets
     `ul { list-style: none; }` site-wide for custom-styled nav/menu
     components. That reset also silently stripped the bullet markers from
     every <ul>/<ol> inside the legal-document body text (29 lists across
     the 4 rewritten pages use <ul> for enumerated conditions), leaving the
     items looking like plain unstyled lines with only indentation. Restore
     real markers scoped to .document-body only — doesn't touch the global
     reset anywhere else on the site. */
  list-style-position: outside;
}
.document-body .document-section ul {
  list-style-type: disc;
}
.document-body .document-section ol {
  list-style-type: decimal;
}
.document-body .document-section ul li,
.document-body .document-section ol li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
  padding-left: 0.25rem;
}
.document-body .document-section ul ul,
.document-body .document-section ol ul {
  list-style-type: circle;
  margin-top: 0.5rem;
}

.document-body .document-section .doc-callout {
  background: color-mix(in srgb, var(--color-main, #485fc7) 6%, transparent);
  border-left: 4px solid var(--color-main, #485fc7);
  border-radius: var(--border-radius-small, 5px);
  padding: 1rem 1.25rem;
  margin-bottom: 1.25rem;
}


.document-footer {
  margin-top: 3rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  text-align: center;
  font-style: italic;
  color: color-mix(in srgb, var(--color-text, #000) 70%, transparent);
}
