/* ------------------------------------------------------------------ *
 * Typography for the Terms & Conditions and Privacy Policy pages.
 * Uses the site's self-hosted Montserrat and the existing palette so
 * the legal pages read as part of the site. Loaded only by terms.html
 * and privacy.html.
 * ------------------------------------------------------------------ */

.legal-page {
  background-color: #fff;
  color: #1a1a1a;
  font-family: Montserrat, sans-serif;
  padding: 132px 24px 96px; /* clear the 80px fixed navbar */
}

.legal-main {
  max-width: 820px;
  margin: 0 auto;
}

.legal-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #7a8291;
  margin: 0 0 14px;
}

.legal-title {
  font-family: Montserrat, sans-serif;
  font-size: 2.4em;
  line-height: 1.15;
  font-weight: 600;
  letter-spacing: -0.01em;
  margin: 0 0 12px;
  color: #060606;
}

.legal-updated {
  font-size: 13px;
  color: #7a8291;
  margin: 0 0 8px;
}

.legal-lead {
  font-size: 16px;
  line-height: 1.7;
  color: #3a3f4a;
  margin: 20px 0 8px;
}

.legal-note {
  font-size: 12.5px;
  line-height: 1.6;
  color: #6b7280;
  background: #f5f6f8;
  border-left: 3px solid #c9ced8;
  padding: 14px 16px;
  margin: 24px 0 8px;
}

.legal-toc {
  border: 1px solid #e6e8ec;
  padding: 20px 24px;
  margin: 32px 0;
}

.legal-toc h2 {
  font-size: 11px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #7a8291;
  margin: 0 0 12px;
}

.legal-toc ol {
  margin: 0;
  padding-left: 20px;
  columns: 2;
  column-gap: 32px;
}

.legal-toc li {
  font-size: 13.5px;
  line-height: 1.9;
  break-inside: avoid;
}

.legal-toc a {
  color: #1a1a1a;
  text-decoration: none;
}

.legal-toc a:hover {
  text-decoration: underline;
}

.legal-section {
  margin: 40px 0 0;
  scroll-margin-top: 100px;
}

.legal-section h2 {
  font-size: 19px;
  font-weight: 600;
  letter-spacing: 0.2px;
  color: #060606;
  margin: 0 0 14px;
  padding-top: 8px;
}

.legal-section h3 {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a1a;
  margin: 24px 0 10px;
}

.legal-section p,
.legal-section li {
  font-size: 14.5px;
  line-height: 1.75;
  color: #3a3f4a;
}

.legal-section p {
  margin: 0 0 14px;
}

.legal-section ul,
.legal-section ol {
  margin: 0 0 16px;
  padding-left: 22px;
}

.legal-section li {
  margin: 0 0 8px;
}

.legal-section a {
  color: #1a1a1a;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-section a:hover {
  color: #000;
}

.legal-section strong {
  color: #1a1a1a;
  font-weight: 600;
}

.legal-contact-box {
  border: 1px solid #e6e8ec;
  padding: 20px 24px;
  margin: 20px 0;
  font-size: 14px;
  line-height: 1.8;
  color: #3a3f4a;
}

.legal-contact-box strong {
  display: block;
  margin-bottom: 4px;
  color: #060606;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 8px 0 20px;
  font-size: 13.5px;
}

.legal-table th,
.legal-table td {
  text-align: left;
  vertical-align: top;
  border: 1px solid #e6e8ec;
  padding: 10px 12px;
  line-height: 1.6;
  color: #3a3f4a;
}

.legal-table th {
  background: #f5f6f8;
  color: #060606;
  font-weight: 600;
}

.legal-back {
  display: inline-block;
  margin-top: 40px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #060606;
  text-decoration: none;
  border-bottom: 1px solid #060606;
  padding-bottom: 3px;
}

@media (max-width: 640px) {
  .legal-page {
    padding: 108px 18px 72px;
  }

  .legal-title {
    font-size: 1.9em;
  }

  .legal-toc ol {
    columns: 1;
  }
}
