/* Shared layout accents (home + legal subpages) */

:root {
  --bg-elevated: #0d0b12;
  --surface: #12121a;
  --surface-hover: #181824;
  --accent: #c8a0e0;
  --accent-mint: #5eead4;
  --glass: rgba(12, 12, 18, 0.72);
  --radius-lg: 28px;
}

html {
  scroll-behavior: auto;
  overflow-x: clip;
  max-width: 100%;
}

body {
  overflow-x: clip;
  max-width: 100%;
}

body::before {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.5'/%3E%3C/svg%3E");
  mix-blend-mode: overlay;
}

.ambient-orb {
  animation: float-orb 18s ease-in-out infinite;
  opacity: 0.45;
}

.ambient-orb--1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, rgba(217, 70, 168, 0.35) 0%, transparent 70%);
  top: -120px;
  left: 50%;
  transform: translateX(-50%);
  animation-delay: 0s;
}

.ambient-orb--2 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, rgba(255, 122, 89, 0.18) 0%, transparent 70%);
  bottom: 10%;
  right: -80px;
  animation-delay: -6s;
}

.ambient-orb--3 {
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(94, 234, 212, 0.12) 0%, transparent 70%);
  bottom: 30%;
  left: -60px;
  animation-delay: -12s;
}

@keyframes float-orb {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(20px, -24px) scale(1.05);
  }
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.7s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

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

/* Shared bottom CTA strip (Vision, About, …) */
.page-closer {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 32px;
  border-radius: 999px;
  border: 1px solid rgba(255, 180, 220, 0.2);
  background: linear-gradient(135deg, rgba(217, 70, 168, 0.14), rgba(255, 122, 89, 0.08));
}

.page-closer__text {
  margin: 0;
  max-width: 48ch;
  font-size: 0.95rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.72);
}

.page-closer__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 26px;
  border-radius: 999px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 0.88rem;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(135deg, #d946a8, #ff7a59);
  box-shadow: 0 10px 28px rgba(217, 70, 168, 0.35);
  transition: transform 0.2s, filter 0.2s;
}

.page-closer__link:hover {
  transform: translateY(-2px);
  filter: brightness(1.06);
}

@media (max-width: 900px) {
  .page-closer {
    border-radius: 24px;
    padding: 24px 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ambient-orb,
  .reveal {
    animation: none;
    transition: none;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }

  .page-closer__link {
    transition: none;
  }
}
