/* BrightRock Investment Group LLC — legal pages stylesheet
   Legal pages load ONLY this file. Palette fixed here. */

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

html {
  scroll-behavior: smooth;
}

body {
  font-size: 16px;
  background-color: #F1EFE6;
  color: #282A2C;
  font-family: Georgia, "Times New Roman", serif;
  line-height: 1.7;
  overflow-x: hidden;
}

a {
  color: #47714B;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

p {
  margin: 0 0 1em 0;
}

/* legal header */
.legal-header {
  background-color: #22282A;
  border-bottom: 6px solid #47714B;
  padding: 30px 0;
}

.legal-header-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}

.legal-brand {
  color: #F1EFE6;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 22px;
  font-weight: 700;
}

.legal-brand span {
  display: block;
  font-size: 12px;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #A87C3A;
  font-weight: 700;
  margin-top: 4px;
}

.legal-home-link {
  color: #E7E3D4;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border-bottom: 2px solid #A87C3A;
  padding-bottom: 2px;
}

.legal-home-link:hover {
  color: #A87C3A;
  text-decoration: none;
}

/* legal title band */
.legal-title {
  background-color: #E7E3D4;
  border-bottom: 3px solid #282A2C;
  padding: 44px 0;
}

.legal-title-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-title h1 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 40px;
  color: #282A2C;
  letter-spacing: -0.01em;
}

.legal-title .legal-meta {
  margin-top: 12px;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 13px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #47714B;
  font-weight: 700;
}

/* table of contents */
.legal-toc {
  max-width: 900px;
  margin: 34px auto 0 auto;
  padding: 28px 24px;
  background-color: #22282A;
  border-left: 6px solid #A87C3A;
}

.legal-toc h2 {
  color: #E7E3D4;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  margin-bottom: 14px;
  letter-spacing: 0.04em;
}

.legal-toc ol {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 28px;
}

.legal-toc a {
  color: #E7E3D4;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
}

.legal-toc a:hover {
  color: #A87C3A;
}

/* content */
.legal-content {
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 24px 70px 24px;
}

.legal-content section {
  background-color: transparent !important;
  margin-bottom: 34px;
}

.legal-content h2 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 24px;
  color: #47714B;
  margin-bottom: 14px;
  padding-bottom: 8px;
  border-bottom: 3px solid #A87C3A;
}

.legal-content h3 {
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 18px;
  color: #282A2C;
  margin: 18px 0 8px 0;
}

.legal-content p {
  color: #282A2C;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 1em 24px;
  color: #282A2C;
}

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

.legal-content a {
  color: #47714B;
  border-bottom: 1px solid #A87C3A;
}

.legal-content a:hover {
  color: #22282A;
  text-decoration: none;
}

.legal-intro {
  background-color: #E7E3D4;
  border-left: 6px solid #47714B;
  padding: 22px 24px;
  margin-bottom: 30px;
  color: #282A2C;
}

.legal-contact-box {
  background-color: #22282A;
  color: #E7E3D4;
  padding: 24px 26px;
  margin-top: 10px;
}

.legal-contact-box p {
  color: #E7E3D4;
}

.legal-contact-box a {
  color: #E7E3D4;
  border-bottom: 1px solid #A87C3A;
}

/* legal footer */
.legal-footer {
  background-color: #22282A;
  border-top: 6px solid #47714B;
  padding: 34px 0;
}

.legal-footer-inner {
  max-width: 900px;
  margin: 0 auto 0 auto;
  padding: 0 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px 30px;
  align-items: center;
  justify-content: space-between;
  color: #84898B;
  font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-size: 14px;
}

.legal-footer-inner a {
  color: #E7E3D4;
}

.legal-footer-inner a:hover {
  color: #A87C3A;
}

@media (max-width: 640px) {
  .legal-toc ol {
    grid-template-columns: 1fr;
  }
  .legal-title h1 {
    font-size: 30px;
  }
}
