/* Privacy / Terms — readable legal pages with soft motion */
.legal-page {
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

.legal-wrap {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  padding: calc(var(--lp-nav, 80px) + 48px) 22px 96px;
}

.legal-hero {
  margin-bottom: 36px;
}

.legal-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #c4b5fd;
  background: rgba(139, 124, 255, 0.12);
  border: 1px solid rgba(139, 124, 255, 0.28);
}

.legal-hero h1 {
  margin: 0 0 14px;
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  background: linear-gradient(135deg, #fff 20%, #c4b5fd 55%, #5bdbff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.legal-lead {
  margin: 0 0 16px;
  font-size: 1.08rem;
  line-height: 1.7;
  color: rgba(244, 242, 255, 0.78);
  max-width: 42rem;
}

.legal-meta {
  margin: 0;
  font-size: 0.88rem;
  color: var(--lp-muted, #8f8aa8);
}

.legal-promises {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 0 0 40px;
}

@media (max-width: 820px) {
  .legal-promises { grid-template-columns: 1fr; }
}

.legal-card {
  padding: 18px 16px 16px;
  border-radius: 18px;
  background: linear-gradient(160deg, rgba(255,255,255,0.06), rgba(255,255,255,0.02));
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 12px 40px rgba(0,0,0,0.25);
  transition: transform 0.45s var(--lp-ease, cubic-bezier(0.22, 1, 0.36, 1)), border-color 0.35s ease;
}

.legal-card:hover {
  transform: translateY(-3px);
  border-color: rgba(139, 124, 255, 0.35);
}

.legal-card--accent {
  border-color: rgba(91, 219, 255, 0.35);
  background: linear-gradient(160deg, rgba(91, 219, 255, 0.1), rgba(255,255,255,0.02));
}

.legal-card__icon {
  display: block;
  font-size: 1.35rem;
  margin-bottom: 10px;
}

.legal-card h3 {
  margin: 0 0 8px;
  font-size: 1rem;
  font-weight: 750;
  color: #fff;
}

.legal-card p {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(244, 242, 255, 0.68);
}

.legal-section {
  margin-bottom: 28px;
  padding: 22px 22px 20px;
  border-radius: 18px;
  background: rgba(255,255,255,0.025);
  border: 1px solid rgba(255,255,255,0.07);
}

.legal-section h2 {
  margin: 0 0 12px;
  font-size: 1.2rem;
  font-weight: 750;
  color: #f4f2ff;
  letter-spacing: -0.02em;
}

.legal-section p,
.legal-section li {
  color: rgba(244, 242, 255, 0.72);
  line-height: 1.7;
  font-size: 0.98rem;
}

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

.legal-section ul {
  margin: 0 0 12px;
  padding-left: 1.2rem;
}

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

.legal-section a {
  color: #a5b4fc;
  text-decoration: none;
  border-bottom: 1px solid rgba(165, 180, 252, 0.35);
  transition: color 0.2s ease, border-color 0.2s ease;
}

.legal-section a:hover {
  color: #c7d2fe;
  border-bottom-color: rgba(199, 210, 254, 0.7);
}

.legal-callout {
  margin: 14px 0;
  padding: 14px 16px;
  border-radius: 14px;
  background: rgba(139, 124, 255, 0.1);
  border: 1px solid rgba(139, 124, 255, 0.28);
  color: rgba(244, 242, 255, 0.85) !important;
  line-height: 1.65;
}

.legal-footer-note {
  margin-top: 12px;
  padding: 20px 22px;
  border-radius: 18px;
  text-align: center;
  font-size: 1rem;
  line-height: 1.65;
  color: rgba(244, 242, 255, 0.8);
  background: linear-gradient(135deg, rgba(139, 124, 255, 0.14), rgba(91, 219, 255, 0.08));
  border: 1px solid rgba(139, 124, 255, 0.25);
}

/* Scroll / appear animations */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition:
    opacity 0.7s var(--lp-ease, cubic-bezier(0.22, 1, 0.36, 1)),
    transform 0.7s var(--lp-ease, cubic-bezier(0.22, 1, 0.36, 1));
  transition-delay: var(--reveal-delay, 0ms);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
  .legal-card:hover { transform: none; }
}
