/* ════════════════════════════════
   LEGAL PAGES — page-legal.css
   Shared by Privacy Policy and Terms of Service pages.
   Loaded only on those two templates.
════════════════════════════════ */

/* ── LEGAL HERO ── */
#legal-hero {
  position: relative;
  padding: 160px 64px 60px;
  border-bottom: 1px solid var(--glass-b);
}

.lh-inner {
  max-width: 860px;
  margin: 0 auto;
}

.lh-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 18px;
}

.lh-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(28px, 4.5vw, 52px);
  font-weight: 700;
  letter-spacing: -1.8px;
  line-height: 1.1;
  margin-bottom: 18px;
}

.lh-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13.5px;
  color: var(--slate2);
  flex-wrap: wrap;
}

.lh-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
}

.lh-meta-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--slate);
}

/* ── LEGAL BODY ── */
#legal-body {
  padding: 80px 64px 120px;
}

.lb-inner {
  max-width: 860px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 80px;
  align-items: start;
}

/* Table of contents sidebar */
.lb-toc {
  position: sticky;
  top: 100px;
}

.lb-toc-title {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--slate2);
  margin-bottom: 16px;
}

.lb-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lb-toc-list a {
  display: block;
  font-size: 13px;
  color: var(--slate2);
  text-decoration: none;
  padding: 7px 12px;
  border-radius: 8px;
  border-left: 2px solid transparent;
  transition: all 0.2s;
  line-height: 1.4;
}

.lb-toc-list a:hover {
  color: var(--ice);
  background: var(--glass);
  border-left-color: var(--amber);
}

/* Main content */
.lb-content {
  min-width: 0;
}

.lb-section {
  margin-bottom: 60px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--glass-b);
}

.lb-section:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.lb-section-num {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--amber);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.lb-section h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(18px, 2.5vw, 24px);
  font-weight: 700;
  letter-spacing: -0.5px;
  margin-bottom: 20px;
  line-height: 1.2;
}

.lb-section p {
  font-size: 15px;
  color: rgba(248,250,255,0.8);
  line-height: 1.85;
  margin-bottom: 16px;
}

.lb-section p:last-child { margin-bottom: 0; }

.lb-section ul {
  margin: 16px 0;
  padding-left: 0;
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lb-section ul li {
  display: flex;
  gap: 12px;
  font-size: 15px;
  color: rgba(248,250,255,0.8);
  line-height: 1.7;
}

.lb-section ul li::before {
  content: '→';
  color: var(--amber);
  font-weight: 700;
  flex-shrink: 0;
  margin-top: 1px;
}

.lb-section strong {
  color: var(--ice);
  font-weight: 600;
}

.lb-highlight {
  background: rgba(245,158,11,0.07);
  border: 1px solid rgba(245,158,11,0.2);
  border-radius: 12px;
  padding: 20px 24px;
  margin: 20px 0;
  font-size: 14px;
  color: var(--slate2);
  line-height: 1.75;
}

.lb-highlight strong { color: var(--amber); }

.lb-contact-card {
  background: var(--glass);
  border: 1px solid var(--glass-b);
  border-radius: var(--radius-md);
  padding: 24px 26px;
  margin-top: 20px;
}

.lb-contact-card p {
  margin-bottom: 8px !important;
}

/* ════════════════════════════════
   RESPONSIVE
════════════════════════════════ */
@media (max-width: 768px) {
  #legal-hero { padding: 140px 24px 40px; }
  #legal-body { padding: 40px 24px 80px; }
  .lb-inner { grid-template-columns: 1fr; gap: 0; }
  .lb-toc { display: none; }
  .lb-section { margin-bottom: 44px; padding-bottom: 44px; }
}
