/* Legal pages (Privacy Policy / Terms & Conditions) - matches the site's dark theme */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  background: #0f0f1a;
  color: #e0e0e0;
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.legal-header {
  background: #1a1a2e;
  border-bottom: 1px solid #2a2a4a;
  padding: 28px 20px 22px;
}

.legal-header-inner {
  max-width: 820px;
  margin: 0 auto;
}

.legal-home {
  display: inline-block;
  color: #c084fc;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 14px;
}

.legal-home:hover { color: #a855f7; }

.legal-header h1 {
  font-size: 28px;
  font-weight: 700;
  color: #ffffff;
}

.legal-updated {
  margin-top: 6px;
  font-size: 13px;
  color: #94a3b8;
}

.legal {
  max-width: 820px;
  margin: 0 auto;
  padding: 28px 20px 40px;
}

.legal section {
  margin-bottom: 30px;
}

.legal h2 {
  font-size: 20px;
  font-weight: 600;
  color: #a855f7;
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid #2a2a4a;
}

.legal h3 {
  font-size: 16px;
  font-weight: 600;
  color: #e0e0e0;
  margin: 18px 0 8px;
}

.legal p { margin-bottom: 12px; }

.legal ul { margin: 0 0 12px 22px; }

.legal li { margin-bottom: 6px; }

.legal a {
  color: #c084fc;
  text-decoration: none;
}

.legal a:hover { text-decoration: underline; }

.legal code {
  background: #1a1a2e;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 13px;
  color: #34d399;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  margin: 10px 0 16px;
  font-size: 14px;
}

.legal-table th,
.legal-table td {
  text-align: left;
  padding: 10px 12px;
  border: 1px solid #2a2a4a;
  vertical-align: top;
}

.legal-table th {
  background: #16213e;
  color: #ffffff;
  font-weight: 600;
}

.legal-table tr:nth-child(even) td {
  background: #14141f;
}

.legal-footer {
  max-width: 820px;
  margin: 0 auto;
  padding: 0 20px 40px;
  font-size: 13px;
  color: #64748b;
}

.legal-footer a {
  color: #c084fc;
  text-decoration: none;
}

.legal-footer a:hover { text-decoration: underline; }

@media (max-width: 600px) {
  .legal-header h1 { font-size: 22px; }
  .legal h2 { font-size: 17px; }
  .legal-table { font-size: 12.5px; }
  .legal-table th, .legal-table td { padding: 8px; }
}