/* ============================================================
   LEGAL STYLESHEET — Privacy Policy / Terms of Service
   A A Premium Steel Erectors LLC  (DARK theme)
   ============================================================ */

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

html {
  scroll-behavior: smooth;
}

.legal-page {
  background-color: #101214;
  color: #C9CED1;
  font-family: "Helvetica Neue", Arial, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

.legal-page a {
  color: #F59E1B;
  text-decoration: none;
}

.legal-page a:hover {
  color: #F4F6F7;
  text-decoration: underline;
}

/* ---- legal header (a <div>/<header>, never a <section>) ---- */
.legal-header {
  background-color: #1A1E22;
  color: #F4F6F7;
  padding: 40px 0 34px;
  border-bottom: 3px solid #F59E1B;
}

.legal-header .wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
}

.legal-header .kicker {
  color: #F59E1B;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  font-size: 13px;
  font-weight: 700;
  margin-bottom: 10px;
}

.legal-header h1 {
  color: #F4F6F7;
  font-size: 40px;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.legal-header .sub {
  color: #C9CED1;
  font-size: 16px;
  margin-top: 12px;
}

.legal-header .back-home {
  display: inline-block;
  margin-top: 18px;
  color: #F59E1B;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 14px;
}

/* ---- legal body layout ---- */
.legal-content {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  position: relative;
  z-index: 1;
}

.legal-body {
  padding: 48px 0 40px;
}

/* scope-isolation: only transparent inside the content area */
.legal-page .legal-content section {
  background-color: transparent !important;
}

/* ---- table of contents ---- */
.toc-panel {
  background-color: #242A30;
  border: 1px solid #2B3238;
  border-left: 4px solid #F59E1B;
  padding: 26px 28px;
  margin-bottom: 48px;
}

.toc-panel h2 {
  color: #F4F6F7;
  font-size: 20px;
  margin-bottom: 18px;
}

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

.toc-list li a {
  color: #C9CED1;
  font-size: 15px;
  line-height: 1.5;
  display: block;
  padding: 4px 0;
  border-bottom: 1px solid #2B3238;
}

.toc-list li a:hover {
  color: #F59E1B;
}

/* ---- legal sections ---- */
.legal-content section {
  margin-bottom: 40px;
}

.legal-content h2 {
  color: #F4F6F7;
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid #F59E1B;
  scroll-margin-top: 120px;
}

.legal-content h3 {
  color: #F4F6F7;
  font-size: 19px;
  font-weight: 600;
  margin: 24px 0 10px;
}

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

.legal-content ul,
.legal-content ol {
  color: #C9CED1;
  margin: 0 0 16px 28px;
}

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

.legal-content strong {
  color: #F4F6F7;
}

.legal-content .address-block {
  background-color: #1A1E22;
  border-left: 4px solid #F59E1B;
  padding: 20px 24px;
  margin: 18px 0;
  color: #C9CED1;
}

.legal-content .address-block .co-name {
  color: #F4F6F7;
  font-weight: 700;
  font-size: 17px;
}

/* ---- legal footer ---- */
.legal-footer {
  background-color: #242A30;
  padding: 28px 0;
  border-top: 3px solid #F59E1B;
}

.legal-footer .wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 0 24px;
  color: #C9CED1;
  font-size: 14px;
  line-height: 1.8;
}

.legal-footer .back-home {
  display: inline-block;
  margin-bottom: 10px;
  color: #F59E1B;
  font-weight: 700;
}

/* ---- responsive ---- */
@media (max-width: 768px) {
  .legal-header h1 {
    font-size: 30px;
  }
  .toc-list {
    grid-template-columns: 1fr;
  }
  .legal-content h2 {
    font-size: 22px;
  }
}
