.legal-hero {
  background: var(--coal);
  color: #fff;
  padding: 2.75rem 1.5rem;
}

.legal-hero-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.legal-hero-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 0.6rem;
}

.legal-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.legal-hero-meta {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.55);
}

.legal-layout {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem 4rem;
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 3rem;
  align-items: start;
}

.legal-nav {
  position: sticky;
  top: 80px;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}

.legal-nav h2 {
  font-size: 0.68rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 0.85rem;
}

.legal-nav ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.legal-nav a {
  display: block;
  font-size: 0.84rem;
  color: var(--text-muted);
  text-decoration: none;
  padding: 0.4rem 0.55rem;
  border-radius: var(--radius);
  transition: background 0.2s, color 0.2s;
}

.legal-nav a:hover {
  background: var(--cream);
  color: var(--bordeaux);
}

.legal-nav a.is-active {
  background: var(--bordeaux-pale);
  color: var(--bordeaux);
  font-weight: 600;
}

.legal-content {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2.5rem;
  box-shadow: var(--shadow-card);
}

.legal-content > p.lead {
  font-size: 1.05rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  line-height: 1.7;
}

.legal-content section {
  margin-bottom: 2.25rem;
}

.legal-content section:last-child {
  margin-bottom: 0;
}

.legal-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--coal);
  margin-bottom: 0.85rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.legal-content h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--coal);
  margin: 1.25rem 0 0.5rem;
}

.legal-content p {
  font-size: 0.92rem;
  color: var(--text-muted);
  margin-bottom: 0.85rem;
  line-height: 1.75;
}

.legal-content ul,
.legal-content ol {
  margin: 0 0 0.85rem 1.25rem;
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.legal-content li {
  margin-bottom: 0.35rem;
}

.legal-content a {
  color: var(--bordeaux);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal-content a:hover {
  color: var(--bordeaux-light);
}

.legal-content table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin: 1rem 0 1.25rem;
}

.legal-content th,
.legal-content td {
  border: 1px solid var(--border);
  padding: 0.65rem 0.85rem;
  text-align: left;
  vertical-align: top;
}

.legal-content th {
  background: var(--cream);
  font-weight: 600;
  color: var(--coal);
}

.legal-content td {
  color: var(--text-muted);
}

.legal-footer {
  background: var(--coal);
  color: rgba(255, 255, 255, 0.5);
  padding: 2.5rem 1.5rem 2rem;
}

.legal-footer-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.legal-footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.legal-footer-links a {
  font-size: 0.83rem;
  color: rgba(255, 255, 255, 0.48);
  text-decoration: none;
  transition: color 0.2s;
}

.legal-footer-links a:hover {
  color: var(--gold-light);
}

.legal-footer-warning {
  background: rgba(139, 26, 43, 0.25);
  border: 1px solid rgba(139, 26, 43, 0.4);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin-bottom: 1.5rem;
}

.legal-footer-warning p {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
}

.legal-footer-warning strong {
  color: rgba(255, 255, 255, 0.9);
}

.legal-footer-warning a {
  color: var(--gold-light);
}

.legal-footer-copy {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.28);
  line-height: 1.5;
}

.pt-rg-footer {
  background: #111116;
  border-top: 3px solid var(--bordeaux);
  padding: 1.25rem 1rem 1.5rem;
  margin-bottom: 1.25rem;
  border-radius: var(--radius-lg);
  text-align: center;
}

.pt-rg-footer__age {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5rem;
  height: 1.65rem;
  padding: 0 0.55rem;
  margin-bottom: 0.75rem;
  border-radius: 4px;
  background: var(--bordeaux);
  color: #fff;
  font-weight: 800;
  font-size: 0.8rem;
}

.pt-rg-footer__msg {
  font-size: 0.88rem;
  line-height: 1.65;
  margin: 0 0 1rem;
  color: rgba(255, 255, 255, 0.88);
}

.pt-rg-footer__links {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem 1.25rem;
  margin: 0;
  padding: 0;
}

.pt-rg-footer__links a {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--gold-light);
  text-decoration: underline;
}

@media (max-width: 768px) {
  .legal-layout {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 1.75rem 1.25rem 3rem;
  }

  .legal-nav {
    position: static;
  }

  .legal-content {
    padding: 1.5rem 1.25rem;
  }
}
