/* Viselumo texture system: quiet paper grain plus a faint dot grid. Subtle on purpose, never behind long text at full strength. */

/* 1. Paper grain over the whole page (tiny tile, no network request) */
body::after {
  content: ""; position: fixed; inset: 0; z-index: 9998; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0  0 0 0 0 0  0 0 0 0 0  0 0 0 .9 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  background-size: 180px 180px; opacity: 0.032; mix-blend-mode: multiply;
}

/* 2. Dot grid that fades out below the first screen */
html::before {
  content: ""; position: absolute; top: 0; left: 0; right: 0; height: 760px; z-index: -1; pointer-events: none;
  background-image: radial-gradient(rgba(17,17,17,0.16) 1px, transparent 1.3px);
  background-size: 22px 22px;
  -webkit-mask-image: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
          mask-image: linear-gradient(180deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0) 100%);
}
html { position: relative; }

/* 3. Feature surfaces get their own texture */
.cta-section {
  background-image: radial-gradient(rgba(17,17,17,0.08) 1px, transparent 1.3px), radial-gradient(60% 90% at 100% 0%, rgba(244,160,32,0.18) 0%, rgba(244,160,32,0) 65%), var(--grad-soft);
  background-size: 20px 20px, auto, auto;
}
.cta-card {
  background-image: radial-gradient(rgba(255,255,255,0.16) 1px, transparent 1.3px), radial-gradient(70% 100% at 100% 0%, rgba(244,160,32,0.35) 0%, rgba(244,160,32,0) 60%), linear-gradient(135deg, #F25A3C 0%, #E8442A 50%, #C13A22 100%);
  background-size: 20px 20px, auto, auto;
}
.pricing-hero {
  background-image: radial-gradient(rgba(255,255,255,0.09) 1px, transparent 1.3px), radial-gradient(60% 120% at 100% 0%, rgba(232,68,42,0.55) 0%, rgba(232,68,42,0) 65%), linear-gradient(135deg, #1D1D1D 0%, #111 55%, #2A1410 100%);
  background-size: 20px 20px, auto, auto;
}
footer {
  background-image: linear-gradient(180deg, rgba(254,240,238,0) 0%, rgba(254,240,238,0.6) 100%), repeating-linear-gradient(135deg, rgba(17,17,17,0.025) 0 1px, transparent 1px 10px);
}

@media print { body::after, html::before { display: none; } }

/* Blog link in the top nav: hide on small phones to keep the bar uncluttered (it stays in the footer) */
@media (max-width: 540px) { .nav-links .nav-blog { display: none; } }
