/* Legal Pages Stylesheet */

/* Legal Hero Section */
.legal-hero {
  background: linear-gradient(135deg, #1e3a5f 0%, #2d5f7e 100%);
  color: white;
  padding: 80px 0 60px;
  text-align: center;
}

.legal-hero h1 {
  font-size: 48px;
  font-weight: 700;
  margin: 0 0 16px 0;
  line-height: 1.2;
}

.legal-hero .last-updated {
  font-size: 16px;
  opacity: 0.9;
  font-weight: 400;
  margin: 0;
}

/* Legal Content Section */
.legal-content {
  padding: 80px 0;
  background: #ffffff;
}

.legal-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background: white;
}

.legal-section {
  margin-bottom: 48px;
  padding-bottom: 32px;
  border-bottom: 1px solid #e5e7eb;
}

.legal-section:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

/* Typography */
.legal-section h2 {
  font-size: 28px;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 24px 0;
  line-height: 1.3;
}

.legal-section h3 {
  font-size: 22px;
  font-weight: 600;
  color: #374151;
  margin: 32px 0 16px 0;
  line-height: 1.4;
}

.legal-section p {
  font-size: 16px;
  line-height: 1.8;
  color: #4b5563;
  margin: 0 0 16px 0;
}

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

/* Lists */
.legal-section ul {
  margin: 16px 0;
  padding-left: 24px;
}

.legal-section ul li {
  font-size: 16px;
  line-height: 1.8;
  color: #4b5563;
  margin-bottom: 12px;
  padding-left: 8px;
}

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

.legal-section ul li strong {
  color: #1f2937;
  font-weight: 600;
}

/* Contact Information Block */
.contact-info {
  background: #f9fafb;
  border-left: 4px solid #ff9f43;
  padding: 24px 28px;
  margin-top: 24px;
  border-radius: 4px;
}

.contact-info p {
  margin: 0 0 8px 0;
  font-size: 16px;
  line-height: 1.6;
  color: #4b5563;
}

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

.contact-info p strong {
  font-size: 18px;
  color: #1f2937;
  font-weight: 700;
}

.contact-info a {
  color: #ff9f43;
  text-decoration: none;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #e88f2f;
  text-decoration: underline;
}

/* Links within legal text */
.legal-section a {
  color: #ff9f43;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}

.legal-section a:hover {
  color: #e88f2f;
  text-decoration: underline;
}

/* Emphasis for legal warnings */
.legal-section p strong {
  color: #1f2937;
  font-weight: 600;
}

/* All-caps legal disclaimers */
.legal-section p {
  text-align: justify;
}

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

  .legal-hero h1 {
    font-size: 36px;
  }

  .legal-hero .last-updated {
    font-size: 14px;
  }

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

  .legal-wrapper {
    padding: 0 20px;
  }

  .legal-section {
    margin-bottom: 40px;
    padding-bottom: 24px;
  }

  .legal-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
  }

  .legal-section h3 {
    font-size: 20px;
    margin: 24px 0 12px 0;
  }

  .legal-section p,
  .legal-section ul li {
    font-size: 15px;
    line-height: 1.7;
    text-align: left;
  }

  .legal-section ul {
    padding-left: 20px;
  }

  .contact-info {
    padding: 20px 24px;
  }

  .contact-info p {
    font-size: 15px;
  }

  .contact-info p strong {
    font-size: 17px;
  }
}

@media (max-width: 480px) {
  .legal-hero {
    padding: 50px 0 30px;
  }

  .legal-hero h1 {
    font-size: 28px;
  }

  .legal-hero .last-updated {
    font-size: 13px;
  }

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

  .legal-wrapper {
    padding: 0 16px;
  }

  .legal-section {
    margin-bottom: 32px;
    padding-bottom: 20px;
  }

  .legal-section h2 {
    font-size: 22px;
    margin-bottom: 16px;
  }

  .legal-section h3 {
    font-size: 18px;
    margin: 20px 0 10px 0;
  }

  .legal-section p,
  .legal-section ul li {
    font-size: 14px;
    line-height: 1.6;
  }

  .legal-section ul {
    padding-left: 16px;
  }

  .legal-section ul li {
    padding-left: 4px;
    margin-bottom: 10px;
  }

  .contact-info {
    padding: 16px 20px;
  }

  .contact-info p {
    font-size: 14px;
    line-height: 1.5;
  }

  .contact-info p strong {
    font-size: 16px;
  }
}
