/* Legal-document prose. Kept as plain CSS so the long policy pages stay readable
   in source instead of drowning in repeated utility class strings. */

.legal {
  color: #2B211A;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  line-height: 1.7;
}

.legal h2 {
  font-family: Georgia, Cambria, 'Times New Roman', serif;
  font-size: 1.375rem;
  font-weight: 600;
  margin: 2.5rem 0 0.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid #E7DCCB;
}

.legal h2:first-of-type {
  border-top: 0;
  padding-top: 0;
  margin-top: 1.5rem;
}

.legal h3 {
  font-size: 1.0625rem;
  font-weight: 600;
  margin: 1.5rem 0 0.5rem;
}

.legal p { margin: 0.85rem 0; }

.legal ul,
.legal ol {
  margin: 0.85rem 0;
  padding-left: 1.5rem;
}

.legal ul { list-style: disc; }
.legal ol { list-style: decimal; }
.legal li { margin: 0.4rem 0; }

.legal a {
  color: #6B4423;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal a:hover { color: #8B5E34; }

.legal strong { font-weight: 600; }

.legal table {
  width: 100%;
  border-collapse: collapse;
  margin: 1.25rem 0;
  font-size: 0.9375rem;
}

.legal th,
.legal td {
  border: 1px solid #E7DCCB;
  padding: 0.6rem 0.75rem;
  text-align: left;
  vertical-align: top;
}

.legal th {
  background: #F3EADC;
  font-weight: 600;
}

/* Wide tables must scroll inside their own box, never the page body. */
.table-scroll {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.legal .callout {
  background: #F3EADC;
  border-left: 3px solid #8B5E34;
  padding: 1rem 1.25rem;
  margin: 1.5rem 0;
  border-radius: 0 4px 4px 0;
}

.legal .callout p:first-child { margin-top: 0; }
.legal .callout p:last-child { margin-bottom: 0; }

html { scroll-behavior: smooth; }
