/*
 * Legal pages — Terms of Service, Privacy Policy, etc.
 * Shared by all page-templates/page-legal-*.php templates
 */

body.baat-legal-page {
  background: #0B1120;
  font-family: 'Plus Jakarta Sans', sans-serif;
  color: #fff;
  overflow-x: hidden;
}
body.baat-legal-page * { box-sizing: border-box; }
body.baat-legal-page a { text-decoration: none; }
body.baat-legal-page p { color: inherit; }

/* ═══════════════════════════════════════════
   HERO
═══════════════════════════════════════════ */
.lp-hero {
  padding: 120px 40px 64px;
  background: #0B1120;
  text-align: center;
  position: relative; overflow: hidden;
}
.lp-hero-bg-grid {
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 36px 36px; pointer-events: none;
}
.lp-hero-inner { position: relative; z-index: 1; }
.lp-pill {
  display: inline-block;
  font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase;
  color: #0057FF; background: rgba(0,87,255,.12);
  border: 1px solid rgba(0,87,255,.25); border-radius: 100px;
  padding: 5px 14px; margin-bottom: 20px;
}
.lp-hero-h1 {
  font-size: clamp(2rem, 4vw, 3.2rem); font-weight: 800;
  letter-spacing: -.04em; color: #fff; margin: 0 0 12px;
}
.lp-hero-meta {
  font-size: 13px; color: rgba(255,255,255,.35); margin: 0;
}

/* ═══════════════════════════════════════════
   BODY: sticky TOC + content
═══════════════════════════════════════════ */
.lp-body {
  padding: 72px 40px 100px;
  background: #0B1120;
}
.lp-body-inner {
  max-width: 1060px; margin: 0 auto;
  display: grid; grid-template-columns: 220px 1fr; gap: 64px;
  align-items: start;
}

/* ─── TOC ─── */
.lp-toc {
  position: sticky; top: 90px;
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 12px; padding: 20px;
}
.lp-toc-title {
  font-size: 11px; font-weight: 700; text-transform: uppercase;
  letter-spacing: .08em; color: rgba(255,255,255,.35);
  margin: 0 0 12px;
}
.lp-toc nav { display: flex; flex-direction: column; gap: 2px; }
.lp-toc nav a {
  font-size: 13px; color: rgba(255,255,255,.45);
  padding: 6px 8px; border-radius: 6px;
  transition: color .15s, background .15s;
  line-height: 1.4;
}
.lp-toc nav a:hover,
.lp-toc nav a.active {
  color: #fff; background: rgba(255,255,255,.06);
}

/* ─── Content ─── */
.lp-intro {
  padding: 20px 24px; margin-bottom: 40px;
  background: rgba(0,87,255,.06);
  border: 1px solid rgba(0,87,255,.15);
  border-radius: 10px;
}
.lp-intro p { font-size: 15px; color: rgba(255,255,255,.7); line-height: 1.7; margin: 0; }

.lp-section {
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.06);
  margin-bottom: 40px;
}
.lp-section:last-of-type { border-bottom: none; margin-bottom: 0; }

.lp-content h2 {
  font-size: 18px; font-weight: 700; color: #fff;
  letter-spacing: -.02em; margin: 0 0 16px;
  scroll-margin-top: 100px;
}
.lp-content p {
  font-size: 15px; color: rgba(255,255,255,.6);
  line-height: 1.8; margin: 0 0 14px;
}
.lp-content p:last-child { margin-bottom: 0; }
.lp-content ul {
  margin: 0 0 14px 0; padding-left: 0; list-style: none;
}
.lp-content ul li {
  font-size: 15px; color: rgba(255,255,255,.6);
  line-height: 1.8; padding: 4px 0 4px 20px; position: relative;
}
.lp-content ul li::before {
  content: '–'; position: absolute; left: 0;
  color: rgba(0,87,255,.7);
}
.lp-content a {
  color: #4d8fff; text-decoration: underline;
  text-decoration-color: rgba(77,143,255,.3);
  transition: color .15s;
}
.lp-content a:hover { color: #fff; }
.lp-content strong { color: rgba(255,255,255,.85); font-weight: 600; }

.lp-contact-block {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: 10px; padding: 20px 24px; margin-top: 12px;
}
.lp-contact-block p { margin: 0 0 6px; }
.lp-contact-block p:last-child { margin-bottom: 0; }

.lp-footer-note {
  margin-top: 40px; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.lp-footer-note p { font-size: 13px; color: rgba(255,255,255,.3); margin: 0; }

/* ═══════════════════════════════════════════
   TOC SCROLL SPY (JS adds .active)
═══════════════════════════════════════════ */

/* ═══════════════════════════════════════════
   MOBILE
═══════════════════════════════════════════ */
@media (max-width: 860px) {
  .lp-body-inner { grid-template-columns: 1fr; gap: 40px; }
  .lp-toc { position: static; }
}
@media (max-width: 600px) {
  .lp-hero { padding: 100px 20px 48px; }
  .lp-body { padding: 48px 20px 80px; }
}
