/* Premium polish — grain, motion, depth */
html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  opacity: 0.04;
  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)'/%3E%3C/svg%3E");
  background-size: 180px 180px;
}

h1, h2, h3 {
  text-wrap: balance;
}

.lead {
  text-wrap: pretty;
}

::selection {
  background: rgba(168, 85, 247, 0.35);
  color: #fff;
}

.card,
.panel,
.cmp-wrap,
.plan-card {
  transition:
    border-color 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    box-shadow 0.35s cubic-bezier(0.22, 1, 0.36, 1),
    transform 0.35s cubic-bezier(0.22, 1, 0.36, 1);
}

.card:hover,
.panel:hover {
  border-color: rgba(168, 85, 247, 0.22);
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.28);
}

@media (prefers-reduced-motion: reduce) {
  .card,
  .panel,
  .plan-card,
  .cmp-wrap {
    transition: none;
  }
}
