/* ==================================================================
   Brody Sargent Fiber Solutions LLC — Legal stylesheet
   Used ONLY by privacy.html and terms-of-service.html.
   ================================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.legal-page {
  background-color: #F8F7F2;
  color: #2A2A24;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
}

.legal-page .legal-header {
  background-color: #3D5470;
  color: #FFFFFF;
}

.legal-page .legal-header {
  padding: 0;
  position: relative;
}

.legal-header-seal {
  height: 12px;
  width: 100%;
  background: #E3C93E;
}

.legal-header-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 48px 24px 46px 24px;
}

.legal-header .legal-kicker {
  display: inline-block;
  background-color: #FFFFFF;
  color: #3D5470;
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 3px;
  margin-bottom: 18px;
}

.legal-header h1 {
  color: #FFFFFF;
  font-size: 38px;
  font-weight: 800;
  letter-spacing: 0.5px;
  line-height: 1.15;
  margin-bottom: 12px;
}

.legal-header .legal-subline {
  color: #F0F4F6;
  font-size: 15px;
}

.legal-header .legal-subline a {
  color: #FFFFFF;
  font-weight: 700;
  text-decoration: underline;
}

.legal-content {
  max-width: 920px;
  margin: 0 auto;
  padding: 44px 24px 64px 24px;
}

/* Scope isolation for any section content */
.legal-page .legal-content section {
  background-color: transparent !important;
}

.legal-content h2 {
  color: #3D5470;
  font-size: 26px;
  font-weight: 800;
  margin-top: 52px;
  margin-bottom: 16px;
  padding-top: 8px;
}

.legal-content h3 {
  color: #2A2A24;
  font-size: 20px;
  font-weight: 800;
  margin-top: 30px;
  margin-bottom: 10px;
}

.legal-content p {
  color: #3E3E36;
  font-size: 16px;
  margin-bottom: 17px;
}

.legal-content ul,
.legal-content ol {
  color: #3E3E36;
  font-size: 16px;
  margin: 0 0 20px 26px;
}

.legal-content li {
  margin-bottom: 9px;
}

.legal-content a {
  color: #3D5470;
  font-weight: 700;
  text-decoration: underline;
}

.legal-content a:hover {
  color: #2A2A24;
}

.legal-content strong {
  color: #2A2A24;
}

.legal-updated {
  display: inline-block;
  background-color: #FFFFFF;
  border: 1px solid #E2E2D8;
  color: #3D5470;
  font-size: 13px;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  margin-bottom: 28px;
  letter-spacing: 0.5px;
}

/* --- Table of contents --- */
.legal-toc {
  background-color: #FFFFFF;
  border: 1px solid #E2E2D8;
  border-left: 4px solid #E4572E;
  padding: 24px 28px;
  margin: 28px 0 8px 0;
}

.legal-toc h2 {
  color: #3D5470;
  font-size: 20px;
  font-weight: 800;
  margin: 0 0 16px 0;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.legal-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc-item;
}

.legal-toc li {
  counter-increment: toc-item;
  margin: 0 0 10px 0;
  padding-left: 34px;
  position: relative;
}

.legal-toc li::before {
  content: counter(toc-item, decimal-leading-zero);
  position: absolute;
  left: 0;
  top: 0;
  color: #3D5470;
  font-weight: 800;
  font-size: 13px;
  background-color: #DCE8EA;
  width: 24px;
  height: 24px;
  line-height: 24px;
  text-align: center;
  border-radius: 3px;
}

.legal-toc a {
  color: #3D5470;
  font-weight: 600;
  text-decoration: none;
}

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

/* --- Legal footer --- */
.legal-footer {
  background-color: #243040;
  color: #E8ECEE;
}

.legal-footer-inner {
  max-width: 920px;
  margin: 0 auto;
  padding: 46px 24px 40px 24px;
  text-align: center;
}

.legal-footer .footer-brand {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: 2px;
  color: #FFFFFF;
  margin-bottom: 6px;
}

.legal-footer .footer-brand span {
  color: #E3C93E;
}

.legal-footer .footer-company {
  color: #C7CDD2;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.legal-footer .footer-links {
  margin-bottom: 20px;
  font-size: 15px;
}

.legal-footer .footer-links a {
  color: #FFFFFF;
  text-decoration: none;
  font-weight: 600;
  margin: 0 12px;
}

.legal-footer .footer-links a:hover {
  color: #E3C93E;
  text-decoration: underline;
}

.legal-footer .footer-contact {
  color: #C7CDD2;
  font-size: 14px;
  line-height: 1.9;
}

.legal-footer .footer-contact a {
  color: #E3C93E;
  text-decoration: none;
}

.legal-footer .footer-legal-line {
  margin-top: 20px;
  padding-top: 18px;
  border-top: 1px solid #3D5470;
  color: #AEB5BA;
  font-size: 13px;
}

/* Structure the sections with a top anchor target for the TOC */
.legal-content section {
  scroll-margin-top: 24px;
}

html {
  scroll-behavior: smooth;
}

@media (max-width: 640px) {
  .legal-header h1 {
    font-size: 28px;
  }

  .legal-content h2 {
    font-size: 23px;
  }

  .legal-content {
    padding: 30px 20px 48px 20px;
  }

  .legal-footer .footer-links a {
    display: inline-block;
    margin: 4px 10px;
  }
}
