#terms-section {
  min-height: 100dvh;
  padding-top: var(--header-height);
  padding-bottom: 50px;
  box-sizing: border-box;
}

/* Ensure the cards aren't too wide on large screens */
.terms-card {
  width: 100%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

/* Legal Card Style (Consistent with Privacy) */
.terms-card {
  padding: 20px;
  border-radius: 16px;
  margin-bottom: 25px;
  background: rgba(255, 255, 255, 0.05); /* Slight bg */
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.terms-card h2 {
  margin-top: 0;
  margin-bottom: 15px;
  font-size: 1.4rem;
  color: var(--accent-color);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  padding-bottom: 10px;
}

.terms-card h3 {
  margin-top: 20px;
  margin-bottom: 10px;
  font-size: 1.1rem;
  color: var(--text-primary);
}

.terms-card p {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 15px;
  font-size: 0.95rem;
  text-align: justify;
}

.terms-card ul {
  padding-left: 20px;
  margin-bottom: 15px;
  color: var(--text-secondary);
}

.terms-card li {
  margin-bottom: 8px;
  line-height: 1.5;
}

.terms-card strong {
  color: var(--text-primary);
}

/* Footer Wrapper */
.terms-footer {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 50px;
}

/* Responsive */
@media (max-width: 600px) {
  #terms-section {
    padding: 15px;
    /* width override removed */
  }
}
