/* ── Legal pages (privacy.html · cookies.html) ── */

.legal-page {
  max-width: 960px;
  margin: 0 auto;
  padding: 10rem 4rem 6rem;
}

.legal-header {
  margin-bottom: 4rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(201,168,76,0.15);
}
.legal-header .section-title { margin-bottom: 1.5rem; }

.legal-updated {
  font-size: 0.85rem;
  color: var(--text-muted);
  letter-spacing: 0.05em;
}
.legal-updated strong { color: var(--gold); font-weight: 500; }

.legal-content { color: var(--text); line-height: 1.8; }
.legal-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem; font-weight: 600;
  color: var(--white);
  margin: 3.5rem 0 1.2rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(201,168,76,0.12);
}
.legal-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem; font-weight: 600;
  color: var(--gold);
  margin: 2rem 0 1rem;
  letter-spacing: 0.02em;
}
.legal-content h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.95rem; font-weight: 500;
  color: var(--white);
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}
.legal-content p {
  font-size: 0.95rem; color: var(--text-muted);
  margin-bottom: 1rem; line-height: 1.8;
}
.legal-content ul {
  padding-left: 1.3rem;
  margin-bottom: 1.5rem;
}
.legal-content li {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 0.5rem;
}
.legal-content li::marker { color: var(--gold); }
.legal-content a {
  color: var(--gold);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.25s;
}
.legal-content a:hover { color: var(--gold-light); }
.legal-content strong { color: var(--text); font-weight: 500; }
.legal-content em { color: var(--gold); font-style: italic; }
.legal-content code {
  font-family: 'Courier New', monospace;
  font-size: 0.85em;
  background: var(--dark-3);
  padding: 0.15em 0.5em;
  border: 1px solid rgba(201,168,76,0.18);
  color: var(--gold-light);
  border-radius: 2px;
}
.legal-content kbd {
  font-family: 'DM Sans', sans-serif;
  font-size: 0.78em;
  background: var(--dark-4);
  padding: 0.2em 0.5em;
  border: 1px solid rgba(201,168,76,0.25);
  border-bottom-width: 2px;
  color: var(--text);
  border-radius: 3px;
}

/* Contact info box */
.contact-box {
  list-style: none !important;
  padding: 1.5rem 1.5rem !important;
  background: var(--dark-2);
  border: 1px solid rgba(201,168,76,0.15);
  border-left: 3px solid var(--gold);
  margin: 1.5rem 0 !important;
}
.contact-box li {
  padding-left: 0 !important;
  margin-bottom: 0.4rem !important;
  font-size: 0.9rem;
}
.contact-box li::marker { content: none !important; }

/* Legal table */
.legal-table {
  overflow-x: auto;
  margin: 1.5rem 0;
  border: 1px solid rgba(201,168,76,0.15);
}
.legal-table table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
  min-width: 600px;
}
.legal-table th {
  background: var(--dark-3);
  color: var(--gold);
  text-align: left;
  padding: 0.9rem 1rem;
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(201,168,76,0.25);
}
.legal-table td {
  padding: 0.9rem 1rem;
  color: var(--text-muted);
  border-bottom: 1px solid rgba(201,168,76,0.08);
  vertical-align: top;
}
.legal-table tbody tr:hover { background: rgba(201,168,76,0.03); }
.legal-table tbody tr:last-child td { border-bottom: none; }

/* Rights grid */
.rights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 2rem 0;
}
.right-card {
  background: var(--dark-2);
  border: 1px solid rgba(201,168,76,0.12);
  padding: 1.3rem 1.4rem;
  transition: border-color 0.3s, transform 0.3s;
}
.right-card:hover { border-color: var(--gold); transform: translateY(-2px); }
.right-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; margin: 0 0 0.5rem;
  color: var(--gold);
  padding: 0; border: none;
}
.right-card p {
  font-size: 0.82rem;
  margin-bottom: 0;
  line-height: 1.6;
}

/* Browser cards */
.browser-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin: 1.5rem 0;
}
.browser-card {
  background: var(--dark-2);
  border: 1px solid rgba(201,168,76,0.12);
  padding: 1.2rem 1.3rem;
}
.browser-card h4 {
  color: var(--gold);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}
.browser-card p {
  font-size: 0.82rem;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}
.browser-card p:last-child { margin-bottom: 0; }

/* Final footer note */
.legal-footer-note {
  margin-top: 3rem;
  padding: 1.5rem;
  background: var(--gold-dim);
  border-left: 3px solid var(--gold);
  font-style: italic;
  font-size: 0.88rem !important;
  color: var(--text) !important;
}

/* Responsive */
@media (max-width: 768px) {
  .legal-page { padding: 7rem 1.25rem 4rem; }
  .legal-content h2 { font-size: 1.4rem; margin-top: 2.5rem; }
  .legal-content h3 { font-size: 1.05rem; }
  .rights-grid, .browser-grid { grid-template-columns: 1fr; }
  .legal-table { font-size: 0.78rem; }
}
