@import url('colors.css');

/* Base styles */
.legal-page {
  background: transparent;
  color: var(--light-teal);
  font-family: 'Gabarito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  margin: 0;
  padding: 0;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

.legal-page .container {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
  padding: 20px;
  margin-top: 80px;
  margin-bottom: 80px;
}

/* Page title */
.legal-page h1 {
  margin-bottom: 40px;
  font-size: 2.5rem;
  color: var(--light-teal);
  font-weight: 700;
}

/* Content wrapper */
.legal-content {
  text-align: left;
  background: rgba(255, 255, 255, 0.05);
  padding: 40px;
  border-radius: 12px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(148, 206, 204, 0.2);
}

/* Section headings */
.legal-content h2 {
  color: var(--shade-primary-teal);
  margin-top: 32px;
  margin-bottom: 16px;
  font-size: 1.5rem;
  font-weight: 600;
}

.legal-content h3 {
  color: var(--light-teal);
  margin-top: 24px;
  margin-bottom: 12px;
  font-size: 1.25rem;
  font-weight: 600;
}

/* Paragraphs */
.legal-content p {
  margin: 0 0 16px;
  color: var(--light-teal);
  opacity: 0.9;
  line-height: 1.6;
}

/* Lists */
.legal-content ul {
  text-align: left;
  margin-left: 20px;
  margin-bottom: 16px;
}

.legal-content li {
  margin-bottom: 8px;
  color: var(--light-teal);
  opacity: 0.9;
  line-height: 1.5;
}

/* Last updated text */
.last-updated {
  margin-top: 32px;
  font-size: 14px;
  color: var(--light-teal);
  opacity: 0.8;
}

.last-updated strong {
  color: var(--shade-primary-teal);
}

/* Back to home button */
.back-to-home {
  margin-top: 48px;
  text-align: center;
}

.back-to-home a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 24px;
  background: var(--primary-teal);
  color: var(--light-teal);
  text-decoration: none;
  border-radius: 8px;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  transition: all 0.3s ease;
  position: sticky;
  bottom: 20px;
  z-index: 100;
}

.back-to-home a:hover {
  background: var(--shade-primary-teal);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.4);
}

/* Responsive design */
@media (max-width: 600px) {
  .legal-page .container {
    padding: 15px;
    margin-top: 60px;
    margin-bottom: 60px;
  }
  
  .legal-content {
    padding: 24px;
  }
  
  .legal-page h1 {
    font-size: 2rem;
    margin-bottom: 32px;
  }
  
  .legal-content h2 {
    font-size: 1.25rem;
    margin-top: 24px;
  }
  
  .legal-content h3 {
    font-size: 1.125rem;
    margin-top: 20px;
  }
  
  .back-to-home a {
    padding: 10px 20px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  .legal-page .container {
    padding: 10px;
    margin-top: 50px;
    margin-bottom: 50px;
  }
  
  .legal-content {
    padding: 20px;
  }
  
  .legal-page h1 {
    font-size: 1.75rem;
  }
  
  .legal-content h2 {
    font-size: 1.125rem;
  }
  
  .legal-content h3 {
    font-size: 1rem;
  }
}
