/* ═══════════════════════════════════════════
   Legal Pages (Privacy & Terms)
   ═══════════════════════════════════════════ */

.legal {
  padding: 100px 0 60px;
  background: #FFFBF7;
  min-height: 80vh;
}

.legal__title {
  font-size: 2rem;
  font-weight: 900;
  text-align: center;
  margin-bottom: 8px;
  color: #2D2D2D;
}

.legal__updated {
  text-align: center;
  font-size: 0.85rem;
  color: #999;
  margin-bottom: 48px;
}

.legal__body {
  max-width: 720px;
  margin: 0 auto;
  background: #fff;
  border-radius: 24px;
  padding: 40px 36px;
  border: 2px solid #F0EBE5;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.legal__body > p:first-child {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.9;
  margin-bottom: 32px;
}

.legal__body h2 {
  font-size: 1.15rem;
  font-weight: 900;
  color: #2E7D32;
  margin-top: 32px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid #E8F5E9;
}

.legal__body h3 {
  font-size: 1rem;
  font-weight: 700;
  color: #333;
  margin-top: 16px;
  margin-bottom: 8px;
}

.legal__body p {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 12px;
}

.legal__body ul,
.legal__body ol {
  margin: 8px 0 16px;
  padding-left: 24px;
}

.legal__body ul {
  list-style: disc;
}

.legal__body ol {
  list-style: decimal;
}

.legal__body li {
  font-size: 0.9rem;
  color: #555;
  line-height: 1.8;
  margin-bottom: 4px;
}

.legal__body li ul {
  margin-top: 4px;
  margin-bottom: 8px;
}

.legal__body a {
  color: #1565C0;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.legal__body a:hover {
  color: #0D47A1;
}

.legal__body strong {
  font-weight: 700;
  color: #333;
}

.legal__contact {
  background: #F5F5F5;
  border-radius: 16px;
  padding: 20px 24px;
  margin-top: 8px;
}

.legal__contact p {
  margin-bottom: 4px;
}

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

/* ─── Table ─── */
.legal__table {
  width: 100%;
  border-collapse: collapse;
  margin: 12px 0 16px;
  font-size: 0.85rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #E8E8E8;
}

.legal__table th,
.legal__table td {
  padding: 10px 14px;
  text-align: left;
  border-bottom: 1px solid #F0F0F0;
}

.legal__table th {
  background: #E8F5E9;
  color: #2E7D32;
  font-weight: 700;
  font-size: 0.8rem;
}

.legal__table td {
  color: #555;
}

.legal__table tbody tr:last-child td {
  border-bottom: none;
}

.legal__table tbody tr:hover {
  background: #FAFFF5;
}

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .legal {
    padding: 80px 0 40px;
  }

  .legal__title {
    font-size: 1.5rem;
  }

  .legal__body {
    padding: 28px 20px;
    border-radius: 20px;
  }

  .legal__table {
    font-size: 0.8rem;
  }

  .legal__table th,
  .legal__table td {
    padding: 8px 10px;
  }
}
