/* --- CSS for Legal Pages (Privacy & Terms) --- */
.legal-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0px 10px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: #334155; /* Slate 700 */
}

.legal-header {
  text-align: center;
  margin-bottom: 40px;
}

.legal-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  color: #0f172a; /* Slate 900 */
  margin-bottom: 12px;
}

.legal-meta {
  display: flex;
  justify-content: center;
  gap: 20px;
  font-size: 0.9rem;
  color: #64748b; /* Slate 500 */
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 20px;
}

.legal-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.legal-section {
  background-color: #fff;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  border: 1px solid #f1f5f9;
  transition: box-shadow 0.2s;
}

.legal-section:hover {
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.legal-section h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #1e293b; /* Slate 800 */
  margin-top: 0;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
}

/* Add a subtle accent color to headers */
.legal-section h3::before {
  content: '';
  display: inline-block;
  width: 4px;
  height: 20px;
  background-color: #2563eb; /* Blue 600 */
  margin-right: 10px;
  border-radius: 4px;
}

.legal-section p {
  line-height: 1.6;
  margin-bottom: 10px;
}

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

.legal-section ul {
  list-style-type: none;
  padding-left: 10px;
  margin: 10px 0;
}

.legal-section ul li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 8px;
  line-height: 1.5;
}

.legal-section ul li::before {
  content: '•';
  color: #2563eb;
  font-weight: bold;
  position: absolute;
  left: 0;
  font-size: 1.2rem;
  line-height: 1;
}

/* Special styles for emphasis */
.legal-section.highlight-box {
  background-color: #f8fafc; /* Very light slate */
  border-left: 4px solid #2563eb;
}

.legal-section.highlight-box h3::before {
  display: none; /* Hide standard before element */
}

.warning-text {
  background-color: #fff7ed; /* Orange light */
  color: #9a3412; /* Orange dark */
  padding: 10px 15px;
  border-radius: 6px;
  margin-top: 15px !important;
  font-size: 0.95rem;
  display: inline-block;
}

.legal-link {
  color: #2563eb;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s;
}

.legal-link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.legal-section.contact-section {
  text-align: center;
  background-color: #f1f5f9;
}

.legal-section.contact-section h3 {
  justify-content: center;
}

.legal-section.contact-section h3::before {
  display: none;
}

/* Responsive for mobile */
@media (max-width: 600px) {
  .legal-meta {
    flex-direction: column;
    gap: 8px;
  }
  .legal-header h2 {
    font-size: 2rem;
  }
  .legal-section {
    padding: 16px;
  }
}