/* Resume Writer USA — modern motion layer */
:root {
  --rs-motion-ease: cubic-bezier(.22, 1, .36, 1);
  --rs-accent: #b7962b;
}

html { scroll-behavior: smooth; }

body.rs-motion-ready { overflow-x: hidden; }

body.rs-motion-ready::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  background: #fff;
  transform-origin: top;
  animation: rs-page-wipe 900ms var(--rs-motion-ease) forwards;
}

.rs-progress {
  position: fixed;
  inset: 0 auto auto 0;
  z-index: 10000;
  width: 100%;
  height: 3px;
  pointer-events: none;
  transform-origin: left;
  background: linear-gradient(90deg, #036c70, var(--rs-accent), #d7b95c);
  box-shadow: 0 0 18px rgba(183, 150, 43, .65);
}

.rs-motion-ready .fl-row,
.rs-motion-ready .fl-module,
.rs-motion-ready .fl-page-header,
.rs-motion-ready .fl-page-footer { will-change: transform, opacity; }

.rs-motion-ready .fl-module-heading h1,
.rs-motion-ready .fl-module-heading h2,
.rs-motion-ready .fl-module-heading h3,
.rs-motion-ready .fl-module-heading h4 { text-wrap: balance; }

.rs-motion-ready .fl-button,
.rs-motion-ready button,
.rs-motion-ready input[type="submit"] {
  transform: translateZ(0);
  transition: box-shadow .35s ease, filter .35s ease;
}

.rs-motion-ready .fl-button:hover,
.rs-motion-ready button:hover,
.rs-motion-ready input[type="submit"]:hover {
  filter: brightness(1.06);
  box-shadow: 0 14px 30px rgba(3, 108, 112, .2);
}

.rs-motion-ready img { transform: translateZ(0); }

.rs-reveal-line { overflow: hidden; display: block; }

@keyframes rs-page-wipe {
  0% { transform: scaleY(1); }
  100% { transform: scaleY(0); }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  body.rs-motion-ready::before { display: none; }
  .rs-progress { display: none; }
  *, *::before, *::after {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
    scroll-behavior: auto !important;
  }
}
