/* Shared layout for legal and other static information pages. */
.sp-page {
  padding-block: clamp(36px, 5vw, 72px) clamp(56px, 7vw, 96px);
  background: #f7f9fc;
}

.sp-page > .container {
  max-width: var(--dg-page-max, 1680px);
}

.sp-header {
  width: 100%;
  max-width: 1320px;
  margin: 0 0 28px;
  text-align: left;
}

.sp-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 14px;
  padding: 7px 12px;
  border: 1px solid #dbeafe;
  border-radius: 999px;
  color: #1d4ed8;
  background: #eff6ff;
  font-size: 13px;
  font-weight: 700;
}

.sp-header h1 {
  max-width: 100%;
  margin-bottom: 10px;
  color: #10243b;
  font-size: clamp(30px, 3.2vw, 42px);
  line-height: 1.16;
  letter-spacing: -0.035em;
}

.sp-update {
  color: #64748b;
  font-size: 14px;
}

.sp-card {
  width: 100%;
  max-width: 1320px;
  margin: 0;
  border: 1px solid #e5eaf1;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 16px 44px rgb(15 23 42 / 5%);
}

.sp-content {
  padding: clamp(24px, 4vw, 56px);
  color: #334155;
  font-size: 16px;
  line-height: 1.85;
  overflow-wrap: anywhere;
}

.sp-content h2 {
  margin-top: 34px;
  color: #10243b;
  font-size: clamp(20px, 2vw, 25px);
  line-height: 1.35;
}

.sp-content h3 {
  margin-top: 28px;
  color: #18324d;
  font-size: 18px;
  line-height: 1.45;
}

.sp-content ul,
.sp-content ol {
  padding-left: 26px;
}

.sp-content li::marker {
  color: #3b82f6;
}

.sp-content table {
  display: block;
  max-width: 100%;
  overflow-x: auto;
  overflow-wrap: normal;
  word-break: normal;
}

/* Captured editor tables use a figure. Keep the table wide enough to read,
   and scroll this region rather than squeezing words into single letters. */
.sp-content figure.table {
  margin: 24px 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
}

.sp-content figure.table > table {
  display: table;
  width: 100%;
  min-width: 640px;
  max-width: none;
  table-layout: auto;
  border-collapse: collapse;
}

.sp-content table :is(th, td) {
  padding: 12px 16px;
  vertical-align: top;
  white-space: normal;
  overflow-wrap: normal;
  word-break: normal;
}

@media (max-width: 760px) {
  .sp-page {
    padding-block: 32px 56px;
  }

  .sp-header {
    margin-bottom: 20px;
  }

  .sp-label {
    margin-bottom: 10px;
  }

  .sp-card {
    border-radius: 16px;
  }

  .sp-content {
    font-size: 15px;
    line-height: 1.8;
  }
}
