/* Legal Pages - Privacy & Terms */

.legal-page {
  font-family: 'Work Sans', sans-serif;
  display: flex;
  flex-direction: column;
  align-items: center;
  background: var(--wepro-off-white, #F2F2F2);
  width: 100%;
  font-size: 1.125rem;
  color: #898989;
  padding: 5rem 1.25rem;
  gap: 5rem;
  min-height: 100vh;
}

.legal-page-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.legal-page-header h1 {
  font-size: 2.5rem;
  color: var(--wepro-black, #1a1a1a);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.legal-page-header .legal-version {
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  font-weight: 300;
  margin-bottom: 5rem;
}

.legal-page-header .legal-also {
  text-transform: uppercase;
  font-size: 0.875rem;
  letter-spacing: 0.1em;
  font-weight: 300;
}

.legal-page-header a {
  font-size: 0.875rem;
  color: #898989;
  text-decoration: none;
  transition: color 0.2s ease;
}

.legal-page-header a:hover {
  color: var(--wepro-purple, #8427D6);
}

/* Content */
.legal-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 768px;
  width: 100%;
  font-size: 1.125rem;
}

.legal-content section {
  width: 100%;
  margin-bottom: 3rem;
}

.legal-content h3 {
  font-size: 1.125rem;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
  padding-bottom: 2rem;
}

.legal-content h4 {
  font-weight: 600;
  text-align: left;
  margin-top: 1.5rem;
}

.legal-content h5,
.legal-content h6 {
  font-weight: 600;
  text-align: left;
  margin-top: 1rem;
  font-size: 1rem;
}

.legal-content p {
  font-weight: 400;
  text-align: left;
  margin-top: 1rem;
  line-height: 1.7;
}

.legal-content ul,
.legal-content ol {
  list-style-position: inside;
  font-size: 1rem;
  font-weight: 400;
  text-align: left;
  margin-top: 1rem;
  line-height: 1.7;
}

.legal-content ul {
  list-style-type: disc;
}

.legal-content ol {
  list-style-type: decimal;
}

.legal-content ul.no-bullets {
  list-style-type: none;
}

.legal-content li {
  margin-bottom: 0.5rem;
}

.legal-content li ul {
  margin-left: 1.5rem;
  margin-top: 0.5rem;
}

.legal-content a {
  color: #3b82f6;
  text-decoration: underline;
}

.legal-content a:hover {
  color: var(--wepro-purple, #8427D6);
}

.legal-content strong,
.legal-content .bold {
  font-weight: 600;
}

/* Minimal Nav Override for Legal Pages */
body[data-nav-variant="minimal"] .nav {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  position: absolute;
}

body[data-nav-variant="minimal"] .nav-burger,
body[data-nav-variant="minimal"] .nav-arrow,
body[data-nav-variant="minimal"] .nav-menu {
  display: none !important;
}

body[data-nav-variant="minimal"] .nav-logo svg path {
  fill: var(--wepro-black, #1a1a1a);
}

/* Responsive */
@media (max-width: 640px) {
  .legal-page {
    padding: 4rem 1rem;
    gap: 3rem;
  }

  .legal-page-header h1 {
    font-size: 1.75rem;
  }

  .legal-page-header .legal-version {
    margin-bottom: 3rem;
  }

  .legal-content {
    font-size: 1rem;
  }

  .legal-content h3 {
    font-size: 1rem;
  }
}
