:root { --ink: #0B1120; }

body { background-color: var(--ink); }

.grid-bg {
  background-image:
    linear-gradient(to right, rgba(148,163,184,.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(148,163,184,.06) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
  -webkit-mask-image: radial-gradient(ellipse 80% 60% at 50% 0%, #000 40%, transparent 100%);
}

.glass {
  background: linear-gradient(160deg, rgba(255,255,255,.07), rgba(255,255,255,.02));
  border: 1px solid rgba(255,255,255,.09);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.spot { position: relative; isolation: isolate; }
.spot::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  z-index: -1;
  background: radial-gradient(340px circle at var(--x, 50%) var(--y, 50%), rgba(6,182,212,.16), transparent 45%);
  opacity: 0;
  transition: opacity .45s ease;
}
.spot:hover::before { opacity: 1; }

.glow-btn { box-shadow: 0 0 0 1px rgba(34,211,238,.35), 0 10px 40px -8px rgba(6,182,212,.65); }
.glow-btn:hover { box-shadow: 0 0 0 1px rgba(34,211,238,.6), 0 16px 60px -8px rgba(6,182,212,.9); }

@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.float { animation: float 7s ease-in-out infinite; }

@keyframes pulse-ring {
  0% { transform: scale(.9); opacity: .8; }
  100% { transform: scale(2.2); opacity: 0; }
}
.ring::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 9999px;
  border: 1px solid rgba(34,211,238,.6);
  animation: pulse-ring 2.6s ease-out infinite;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .9s cubic-bezier(.16,1,.3,1), transform .9s cubic-bezier(.16,1,.3,1);
}
.reveal.is-visible { opacity: 1; transform: none; }

.legal-prose h2 {
  margin-top: 2.5rem;
  margin-bottom: 0.75rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
}
.legal-prose h3 {
  margin-top: 1.5rem;
  margin-bottom: 0.5rem;
  font-size: 1.05rem;
  font-weight: 700;
  color: #e2e8f0;
}
.legal-prose p,
.legal-prose li {
  color: #94a3b8;
  line-height: 1.7;
  font-size: 0.975rem;
}
.legal-prose ul { margin: 0.75rem 0 0.75rem 1.25rem; list-style: disc; }
.legal-prose a { color: #22d3ee; text-decoration: underline; text-underline-offset: 3px; }
.legal-prose a:hover { color: #67e8f9; }
.placeholder {
  display: inline;
  border-radius: 0.35rem;
  background: rgba(6, 182, 212, 0.12);
  padding: 0.05rem 0.35rem;
  color: #67e8f9;
  font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .float, .ring::after { animation: none; }
}

::selection { background: rgba(6,182,212,.35); color: #fff; }
