/* BFC Secure LLC — shared legal stylesheet (privacy, terms)
   Self contained: defines page background and text colors with strong contrast.
   Palette: BONE-FRAME #F5F3ED, RUST-INK #25313C, ORANGE-BOLT #C96A28,
   TAUPE-GREY #8A8F94, RACK-DEEP #1C2731, LAGER-CREAM #E9DFC6 */

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-size: 16px;
  font-family: "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  background-color: #F5F3ED;
  color: #25313C;
  line-height: 1.72;
  overflow-x: hidden;
}

.legal-header {
  background-color: #1C2731;
  border-bottom: 6px solid #C96A28;
  padding: 34px 24px 30px 24px;
}
.legal-header-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}
.legal-header .legal-brand {
  display: inline-block;
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #C9BFA3;
  margin-bottom: 12px;
}
.legal-header h1 {
  font-family: Georgia, "Times New Roman", serif;
  color: #E9DFC6;
  font-size: 2.15rem;
  margin: 0 0 12px 0;
  line-height: 1.2;
}
.legal-header p {
  color: #D3CDBB;
  margin: 0;
  max-width: 720px;
}
.legal-header a { color: #E9A96F; text-decoration: none; }
.legal-header a:hover { text-decoration: underline; }

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

.legal-toc {
  background-color: #E9DFC6;
  border: 3px solid #8A8F94;
  border-left: 8px solid #C96A28;
  border-radius: 3px;
  margin: 34px auto 6px auto;
  padding: 22px 24px;
}
.legal-toc h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  letter-spacing: 1px;
  color: #25313C;
  margin: 0 0 12px 0;
}
.legal-toc ol {
  margin: 0;
  padding-left: 22px;
  columns: 2;
  column-gap: 34px;
}
.legal-toc li { margin-bottom: 6px; break-inside: avoid; }
.legal-toc a { color: #25313C; text-decoration: none; }
.legal-toc a:hover { color: #C96A28; text-decoration: underline; }

.legal-content {
  padding: 26px 0 40px 0;
}

/* scope isolation rule: sections inside legal content stay page colored */
.legal-content section {
  background-color: #F5F3ED !important;
  color: #25313C;
  border-top: 3px solid #8A8F94;
  padding-top: 24px;
  margin-top: 30px;
}
.legal-content section:first-child { border-top: none; margin-top: 10px; padding-top: 6px; }

.legal-content h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.42rem;
  color: #25313C;
  margin: 0 0 10px 0;
  padding-left: 14px;
  border-left: 6px solid #C96A28;
  line-height: 1.28;
}
.legal-content h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
  color: #25313C;
  margin: 18px 0 8px 0;
}
.legal-content p { margin: 0 0 14px 0; }
.legal-content ul,
.legal-content ol { margin: 0 0 16px 0; padding-left: 26px; }
.legal-content li { margin-bottom: 7px; }

.legal-content .callout {
  background-color: #E9DFC6;
  border: 3px solid #8A8F94;
  border-left: 8px solid #C96A28;
  border-radius: 3px;
  padding: 18px 20px;
  margin: 18px 0;
}
.legal-content .callout p { margin: 0; }

.legal-content .entity-box {
  background-color: #1C2731;
  color: #E9DFC6;
  border: 3px solid #8A8F94;
  border-radius: 3px;
  padding: 20px 22px;
  margin: 18px 0;
}
.legal-content .entity-box p { color: #E9DFC6; margin: 0 0 6px 0; }
.legal-content .entity-box p:last-child { margin-bottom: 0; }

.legal-content a { color: #C96A28; }
.legal-content a:hover { text-decoration: underline; }

.legal-footer {
  background-color: #1C2731;
  color: #D3CDBB;
  border-top: 6px solid #C96A28;
  padding: 30px 24px;
}
.legal-footer-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 24px;
}
.legal-footer-inner p { margin: 0 0 8px 0; }
.legal-footer-inner a { color: #E9A96F; text-decoration: none; }
.legal-footer-inner a:hover { text-decoration: underline; }
.legal-footer .legal-back {
  display: inline-block;
  margin-top: 8px;
  background-color: #C96A28;
  color: #E9DFC6;
  border: 3px solid #8A8F94;
  border-radius: 3px;
  padding: 10px 20px;
  font-weight: 700;
  letter-spacing: 1.4px;
  text-transform: uppercase;
  font-size: 0.78rem;
}
.legal-footer .legal-back:hover { background-color: #A8531B; text-decoration: none; }

html.js .reveal-pre {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 620ms ease, transform 620ms ease;
}
html.js .reveal-pre.is-shown {
  opacity: 1;
  transform: none;
}

@media (max-width: 640px) {
  .legal-toc ol { columns: 1; }
  .legal-header h1 { font-size: 1.6rem; }
}
