/* --- TNC PAGE DESIGNER STYLING --- */

@import url("https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,800;1,800&family=Inter:wght@400;500;600;700&display=swap");

:root {
  --navy: #0f172a;
  --gold: #d4af37;
  --border: #e2e8f0;
  --text-slate: #475569;
  --text-muted: #64748b;
}

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

body.legal-page {
  background-color: #ffffff;
  font-family: "Inter", sans-serif;
  color: var(--navy);
  line-height: 1.8;
  overflow-x: hidden;
}

/* MARGIN FIX: Centered Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* HERO SECTION */
.legal-hero {
  padding: 180px 0 100px;
  background-color: #f8fafc;
  border-bottom: 1px solid var(--border);
}

.legal-badge {
  display: block;
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 20px;
}

.legal-title {
  font-family: "Playfair Display", serif;
  font-size: clamp(2.8rem, 8vw, 5rem);
  line-height: 1.1;
  margin-bottom: 20px;
}

.serif-italic {
  font-style: italic;
  color: var(--gold);
}

.legal-meta {
  font-weight: 600;
  color: var(--text-muted);
}

/* GRID LAYOUT: Sidebar + Content */
.legal-grid {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 100px;
  padding: 120px 0;
}

.sticky-toc {
  position: sticky;
  top: 120px;
}

.sticky-toc h4 {
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 2px;
  margin-bottom: 30px;
  color: var(--navy);
}

.sticky-toc ul {
  list-style: none;
}
.sticky-toc li {
  margin-bottom: 15px;
}
.sticky-toc a {
  text-decoration: none;
  color: var(--text-muted);
  font-weight: 600;
  font-size: 0.9rem;
  transition: color 0.3s;
}

.sticky-toc a:hover {
  color: var(--gold);
}

/* CONTENT BLOCKS */
.legal-block {
  margin-bottom: 100px; /* Precise vertical spacing */
}

.legal-block h2 {
  font-family: "Playfair Display", serif;
  font-size: 2.4rem;
  margin-bottom: 30px;
  border-bottom: 3px solid var(--gold);
  display: inline-block;
}

.legal-block h3 {
  font-size: 1.25rem;
  margin: 30px 0 15px;
  color: var(--navy);
}

.legal-block p {
  font-size: 1.05rem;
  color: var(--text-slate);
  margin-bottom: 25px;
}

.bullet-list {
  padding-left: 25px;
  margin-bottom: 25px;
  list-style-type: square;
  color: var(--text-slate);
}

.bullet-list li {
  margin-bottom: 15px;
}
.bullet-list strong {
  color: var(--navy);
}

.bullet-list a {
  color: var(--gold);
  text-decoration: underline;
}

/* MOBILE COMPATIBILITY */
@media (max-width: 900px) {
  .container {
    width: 88%;
  }
  .legal-grid {
    grid-template-columns: 1fr;
    padding: 80px 0;
    gap: 50px;
  }
  .legal-sidebar {
    display: none;
  }
  .legal-hero {
    padding: 120px 0 60px;
  }
  .legal-block {
    margin-bottom: 60px;
  }
  .legal-block h2 {
    font-size: 1.8rem;
  }
}
