
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 1000;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.modal.modal-open {
  opacity: 1;
  display: block;
}

.modal-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  max-width: 600px;
  width: 90%;
  max-height: 85vh;
  overflow-y: auto;
  opacity: 0;
  transition: all 0.3s ease;
  color: #374151;
  font-size: 0.95rem;
  line-height: 1.5;
}

.modal-content .close {
  position: absolute;
  top: 12px;
  right: 12px;
  border: none;
  background: transparent;
  color: #9ca3af;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 4px;
}

.modal-content .close:hover {
  color: #4b5563;
}

.modal-content h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin: 0 0 1rem;
  color: #111827;
}

.modal-content h3 {
  font-weight: 700;
  margin-top: 1rem;
  color: #111827;
}

.modal-content p,
.modal-content ul {
  margin: 0.5rem 0;
}

.modal-content ul {
  padding-left: 1.25rem;
  list-style: disc;
}

.modal-content a {
  color: #1a4a8a;
}

@keyframes modalFadeIn {
  from {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

.modal.modal-open .modal-content {
  animation: modalFadeIn 0.3s ease forwards;
}

.form-error {
  color: #dc2626;
  font-size: 0.75rem;
  margin-top: 0.25rem;
  min-height: 1rem;
}

.lp-footer-legal {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

@media (min-width: 768px) {
  .lp-footer-legal {
    grid-template-columns: 1fr 1fr;
  }
}

.lp-footer-legal h5 {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  margin: 0 0 0.5rem;
}

.lp-footer-legal h5.risk {
  color: #fde047;
}

.lp-footer-legal h5.legal {
  color: #d1d5db;
}

.lp-footer-legal p {
  font-size: 0.75rem;
  color: #9ca3af;
  line-height: 1.6;
  margin: 0 0 0.5rem;
}

.lp-footer-bottom {
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}

@media (min-width: 768px) {
  .lp-footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }
}

.lp-footer-bottom .copy {
  font-size: 0.75rem;
  color: #d1d5db;
  margin: 0;
}

.lp-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.25rem;
}

.lp-footer-links a,
.lp-footer-links button {
  font-size: 0.75rem;
  color: #d1d5db;
  text-decoration: none;
  padding: 0.25rem 0.5rem;
  background: none;
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.lp-footer-links a:hover,
.lp-footer-links button:hover {
  color: #e0f2f4;
}
