body { isolation: isolate; }

.surety-sky {
  position: fixed;
  inset: 0;
  z-index: -1;
  overflow: hidden;
  pointer-events: none;
  background:
    radial-gradient(ellipse at 87% 6%, #163743 0%, #10242e 32%, transparent 68%),
    radial-gradient(ellipse at 2% 55%, #10242b 0%, transparent 57%),
    linear-gradient(170deg, #0b141e, #0b1418 81%);
}
.surety-sky canvas { display: block; position: absolute; }
.sky-clouds { inset: -14% -11%; width: 122%; height: 128%; opacity: .84; }
.sky-stars { inset: -6% -7%; width: 114%; height: 112%; opacity: .8; }
.sky-motion { font-size: 13px; white-space: nowrap; }

@media (prefers-reduced-motion: no-preference) {
  .sky-clouds { animation: cloud-passage 56s ease-in-out -16s infinite alternate; }
  .sky-stars { animation: stellar-drift 43s ease-in-out -11s infinite alternate; }
  .surety-sky[data-paused] canvas { animation-play-state: paused; }
}
@keyframes cloud-passage {
  from { transform: translate3d(-2%, .8%, 0); }
  to { transform: translate3d(3.2%, -1.2%, 0); }
}
@keyframes stellar-drift {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-2.8%, 1.2%, 0); }
}

@media (max-width: 700px) {
  .sky-clouds { inset-inline: -32%; width: 164%; opacity: .70; }
  .sky-stars { opacity: .74; }
}
