:root {
  color-scheme: light;
}

html {
  scroll-behavior: smooth;
}

.legal-pattern {
  background-image:
    radial-gradient(circle at 20% 10%, rgba(212, 175, 55, 0.16), transparent 30%),
    linear-gradient(135deg, #1b1d2a 0%, #222435 55%, #111827 100%);
}

@keyframes rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes float {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

.animate-rise {
  animation: rise 0.8s ease-out both;
}

.animate-float {
  animation: float 5s ease-in-out infinite;
}

@keyframes glow-drift {
  0%, 100% {
    transform: translate3d(0, 0, 0) scale(1);
  }
  50% {
    transform: translate3d(-50px, 28px, 0) scale(1.2);
  }
}

@keyframes line-pan {
  from {
    background-position: 0 0;
  }
  to {
    background-position: 220px 160px;
  }
}

@keyframes band-sweep {
  from {
    transform: translateX(-100%);
  }
  to {
    transform: translateX(100%);
  }
}

@keyframes soft-pulse {
  0%, 100% {
    transform: translateY(0);
    box-shadow: 0 18px 45px rgba(15, 23, 42, 0.16);
  }
  50% {
    transform: translateY(-6px);
    box-shadow: 0 24px 60px rgba(15, 23, 42, 0.22);
  }
}

@keyframes spin-slow {
  from {
    transform: rotate(0deg);
  }
  to {
    transform: rotate(360deg);
  }
}

.hero-glow {
  animation: glow-drift 8s ease-in-out infinite;
}

.hero-lines {
  background-image:
    linear-gradient(115deg, rgba(212, 175, 55, 0.18) 1px, transparent 1px),
    linear-gradient(25deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 90px 90px, 140px 140px;
  animation: line-pan 18s linear infinite;
}

.moving-band::before {
  content: "";
  display: block;
  height: 100%;
  width: 45%;
  background: linear-gradient(90deg, transparent, #d4af37, transparent);
  animation: band-sweep 3.8s linear infinite;
}

.animate-soft-pulse {
  animation: soft-pulse 4.5s ease-in-out infinite;
}

.motion-spin-slow {
  animation: spin-slow 18s linear infinite;
}

.motion-spin-slow-reverse {
  animation: spin-slow 24s linear infinite reverse;
}

.faq-panel {
  transition: max-height 0.32s ease;
}

#blog-editor h2 {
  font-size: 1.45rem;
  font-weight: 700;
  color: #1b1d2a;
  margin: 1rem 0 0.5rem;
}

#blog-editor p {
  margin: 0.65rem 0;
}

#blog-editor ul,
#blog-editor ol {
  margin: 0.75rem 0;
  padding-left: 1.35rem;
}

#blog-editor ul {
  list-style: disc;
}

#blog-editor ol {
  list-style: decimal;
}

#blog-editor a {
  color: #b38b1f;
  text-decoration: underline;
}

.blog-content h2 {
  margin: 1.5rem 0 0.75rem;
  color: #1b1d2a;
  font-size: 1.6rem;
  font-weight: 700;
}

.blog-content h3 {
  margin: 1.25rem 0 0.5rem;
  color: #1b1d2a;
  font-size: 1.25rem;
  font-weight: 700;
}

.blog-content p {
  margin: 0.8rem 0;
}

.blog-content ul,
.blog-content ol {
  margin: 0.9rem 0;
  padding-left: 1.5rem;
}

.blog-content ul {
  list-style: disc;
}

.blog-content ol {
  list-style: decimal;
}

.blog-content blockquote {
  margin: 1.25rem 0;
  border-left: 4px solid #d4af37;
  background: #f8fafc;
  padding: 1rem;
  color: #334155;
}

.blog-content a {
  color: #b38b1f;
  font-weight: 600;
  text-decoration: underline;
}

@media (prefers-reduced-motion: reduce) {
  .animate-rise,
  .animate-float,
  .hero-glow,
  .hero-lines,
  .moving-band::before,
  .animate-soft-pulse,
  .motion-spin-slow,
  .motion-spin-slow-reverse {
    animation: none;
  }
}
