/* ===========================
   Legal page specific styles
   =========================== */

/* ===== Hero (Legal Page) — matches legal.html markup ===== */
.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 48px;
  padding: 42px 16px 32px;
  background: var(--light-gray-bg);
}
.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  width: 100%;
  max-width: 880px;
  text-align: center;
}
.hero-heading {
  font-size: 36px;
  font-weight: 700;
  line-height: 45px;
  color: var(--dark-text);
  margin: 0;
}
.hero-heading .highlight {
  color: var(--primary-blue);
}
.hero-description {
  font-size: 18px;
  line-height: 28px;
  color: var(--text-light);
  margin: 0;
}
@media (min-width: 1024px) {
  .hero-heading {
    font-size: 40px;
    line-height: 52px;
  }
  .hero-description {
    font-size: 20px;
    line-height: 32px;
  }
}

/* ===== Legal Section ===== */
#legal {
  background-color: #ffffff;
  padding: 80px 16px;
}
.legal-wrapper {
  max-width: 1000px;
  margin: 0 auto;
}
.legal-content {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

/* ===== Legal Cards / Sections ===== */
.legal-cards {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
.legal-card {
  background-color: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 32px;
  box-shadow: 0px 1px 2px rgba(10, 13, 18, 0.05);
}
.legal-card h2 {
  font-size: 24px;
  font-weight: 600;
  color: var(--dark-text);
  margin-bottom: 16px;
}
.legal-card p {
  font-size: 16px;
  line-height: 1.6;
  color: var(--text-light);
  margin-bottom: 12px;
}
.legal-card ul {
  padding-left: 20px;
  color: var(--text-light);
}
.legal-card li {
  margin-bottom: 8px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .legal-hero-container h1 {
    font-size: 32px;
  }
  .legal-card {
    padding: 24px;
  }
}
