/* ===============================================================
   Legal Pages (Terms of Service, Privacy Policy)
   =============================================================== */

.legal-hero {
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--secondary) 100%);
  color: var(--text-light);
  padding: 120px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.legal-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 40%;
  height: 200%;
  background: radial-gradient(circle, rgba(209, 34, 48, 0.15) 0%, transparent 70%);
  z-index: 0;
}

.legal-hero .container {
  position: relative;
  z-index: 1;
}

.legal-hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.legal-hero p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.6);
}

/* ──────────────────────────────────────────────────────────── */
/* Legal Content Section                                         */
/* ──────────────────────────────────────────────────────────── */

.legal-content {
  background: var(--bg-light);
  padding: 80px 0;
}

.legal-body {
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.8;
}

.legal-body h2 {
  font-size: 1.5rem;
  color: var(--text-dark);
  margin-top: 32px;
  margin-bottom: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--border-light);
}

.legal-body h2:first-of-type {
  border-top: none;
  margin-top: 0;
  padding-top: 0;
}

.legal-body p {
  color: var(--text-muted);
  margin-bottom: 16px;
  font-size: 0.98rem;
}

.legal-body ul {
  margin: 16px 0 20px 24px;
  list-style: disc;
}

.legal-body li {
  color: var(--text-muted);
  margin-bottom: 10px;
  font-size: 0.98rem;
}

.legal-body a {
  color: var(--primary);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 500;
}

.legal-body a:hover {
  color: var(--primary-hover);
}

/* ──────────────────────────────────────────────────────────── */
/* Guide Page Specific                                           */
/* ──────────────────────────────────────────────────────────── */

.guide-intro {
  background: var(--bg-subtle);
  padding: 40px;
  border-left: 4px solid var(--primary);
  margin: 32px 0;
  border-radius: var(--radius-md);
}

.guide-intro .author {
  font-weight: 600;
  color: var(--primary);
  font-size: 0.95rem;
  margin-bottom: 8px;
}

.guide-intro p {
  margin: 0;
}

.checklist-item {
  background: var(--bg-subtle);
  padding: 24px;
  margin: 20px 0;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--yellow);
}

.checklist-item h3 {
  color: var(--text-dark);
  margin-bottom: 12px;
  font-size: 1.1rem;
}

.checklist-item-number {
  display: inline-block;
  width: 32px;
  height: 32px;
  background: var(--yellow);
  color: var(--text-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  margin-right: 8px;
}

.checklist-section {
  margin: 16px 0;
}

.checklist-section-good {
  margin: 16px 0;
}

.checklist-section strong {
  color: var(--primary);
  display: block;
  margin-top: 12px;
  margin-bottom: 6px;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.checklist-section-good strong {
  color: #38d122;
  display: block;
  margin-top: 12px;
  margin-bottom: 6px;
  font-size: 0.92rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.checklist-section p {
  margin-left: 8px;
  padding-left: 12px;
  border-left: 2px solid var(--border-light);
}

.checklist-section-good p {
  margin-left: 8px;
  padding-left: 12px;
  border-left: 2px solid var(--border-light);
}

/* ──────────────────────────────────────────────────────────── */
/* Responsive                                                    */
/* ──────────────────────────────────────────────────────────── */

@media (max-width: 768px) {
  .legal-hero {
    padding: 80px 0;
  }

  .legal-hero h1 {
    font-size: 2rem;
  }

  .legal-content {
    padding: 60px 0;
  }

  .legal-body h2 {
    font-size: 1.3rem;
  }
}