/* Homepage motion only. Existing rotations and layout remain in their own styles. */
.lp-motion-toggle {
  min-height: 44px;
  padding: 8px 0;
  border: 0;
  background: none;
  color: var(--lp-secondary);
  font: inherit;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}
.lp-motion-toggle[hidden] {
  display: none;
}
.lp-motion-toggle:hover {
  color: var(--lp-brand);
}
.lp-motion-enabled {
  --lp-float-distance: 4px;
  --lp-float-tilt: 0.6deg;
}
.lp-motion-enabled .lp-scene-caption.lp-motion-in-view,
.lp-motion-enabled .lp-pricing-note.lp-motion-in-view {
  animation: lp-float 6.5s ease-in-out infinite;
}
.lp-motion-enabled .lp-pricing-note.lp-motion-in-view {
  --lp-float-distance: 8px;
  --lp-float-tilt: 1deg;
  animation-duration: 6.5s;
}
.lp-motion-enabled .lp-integrations__art .lp-integration-image {
  --lp-float-distance: 14px;
  --lp-float-tilt: 2deg;
  animation: lp-float 6s ease-in-out infinite;
}
.lp-motion-enabled .lp-puzzle__tile:nth-of-type(2) .lp-integration-image {
  --lp-float-distance: 11px;
  --lp-float-tilt: -2deg;
  animation-duration: 7s;
  animation-delay: -2s;
}
.lp-motion-enabled .lp-puzzle__tile:nth-of-type(3) .lp-integration-image {
  animation-duration: 6.5s;
  animation-delay: -4s;
}
.lp-motion-enabled .lp-puzzle__tile:nth-of-type(4) .lp-integration-image {
  --lp-float-distance: 9px;
  --lp-float-tilt: -1.5deg;
  animation-duration: 7.5s;
  animation-delay: -1s;
}
.lp-puzzle {
  isolation: isolate;
}
.lp-motion-enabled .lp-puzzle::before,
.lp-motion-enabled .lp-puzzle::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: -1;
}
.lp-motion-enabled .lp-puzzle::before {
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(
    ellipse at 55% 58%,
    rgb(99 224 169 / 24%),
    rgb(68 186 136 / 10%) 42%,
    transparent 72%
  );
  animation: lp-halo 10s ease-in-out infinite;
}
.lp-motion-enabled .lp-puzzle::after {
  inset: 12% 8%;
  border: 1px solid rgb(156 235 192 / 16%);
  border-radius: 50%;
  background:
    radial-gradient(circle at 50% 0.8%, #bcf3d3 0 2px, transparent 4px),
    radial-gradient(circle at 99.2% 50%, #7cdeb0 0 2px, transparent 4px),
    radial-gradient(circle at 50% 99.2%, #bcf3d3 0 2px, transparent 4px);
  animation: lp-orbit 24s linear infinite;
}
.lp-motion-enabled .lp-integration-links {
  opacity: 0.85;
}
.lp-integration-pulse {
  opacity: 0;
  stroke: #c8f6dc;
  stroke-width: 0.9;
  stroke-dasharray: 18 110;
  stroke-linecap: round;
}
.lp-motion-enabled .lp-integration-pulse {
  animation: lp-connect 10.8s linear infinite;
}
.lp-integration-pulse:nth-of-type(3) {
  animation-delay: 3.6s;
}
.lp-integration-pulse:nth-of-type(4) {
  animation-delay: 7.2s;
}
.lp-motion-enabled .lp-puzzle__tile:nth-of-type(4)::after {
  content: "";
  position: absolute;
  inset: 12%;
  border-radius: 28%;
  pointer-events: none;
  background: radial-gradient(ellipse, rgb(187 255 217 / 22%), transparent 70%);
  animation: lp-receive 3.6s ease-out 2.5s infinite;
}
.lp-motion-enabled .lp-integrations__art:not(.lp-motion-in-view) *,
.lp-motion-enabled .lp-integrations__art:not(.lp-motion-in-view) *::before,
.lp-motion-enabled .lp-integrations__art:not(.lp-motion-in-view) *::after,
.lp-motion-hidden *,
.lp-motion-hidden *::before,
.lp-motion-hidden *::after {
  animation-play-state: paused !important;
}
.lp-motion-enabled .lp-hero [data-route="signup"],
.lp-motion-enabled #start [data-route="signup"] {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.lp-motion-enabled .lp-hero [data-route="signup"]::after,
.lp-motion-enabled #start [data-route="signup"]::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(
    110deg,
    transparent 32%,
    rgb(255 255 255 / 22%) 50%,
    transparent 68%
  );
  translate: -110% 0;
}
.lp-motion-enabled .lp-motion-finale::after {
  animation: lp-final-sheen 1.1s ease-in-out 600ms backwards;
}
.lp-progress i {
  transform-origin: left center;
}
.lp-flow-trail {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  fill: none;
  stroke: #81b798;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
  pointer-events: none;
  visibility: hidden;
}
.lp-motion-enabled .lp-flow-trail {
  visibility: visible;
}
.lp-flow-surface {
  position: relative;
  display: flow-root;
}
.lp-workflow-steps,
.lp-demo-progress {
  position: relative;
  padding-bottom: 12px;
}
.lp-workflow-steps li,
.lp-demo-progress [data-step] {
  position: relative;
  z-index: 1;
}
.lp-periods {
  position: relative;
  isolation: isolate;
}
.lp-period-highlight {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  border-radius: 6px;
  background: #d8eddf;
  pointer-events: none;
  transition:
    transform 300ms cubic-bezier(0.2, 0.7, 0.2, 1),
    width 300ms ease,
    height 300ms ease;
}
.lp-motion-enabled .lp-periods--tracked .lp-period-highlight {
  display: block;
}
.lp-motion-enabled .lp-periods--tracked button {
  position: relative;
  z-index: 1;
}
.lp-motion-enabled .lp-periods--tracked button[aria-pressed="true"] {
  background: transparent;
  color: var(--lp-brand);
}
.lp-motion-enabled .lp-hero [data-route="signup"].lp-motion-in-view::after {
  animation: lp-sheen 9s ease-in-out infinite;
}
.lp-motion-enabled .lp-button .lp-icon,
.lp-motion-enabled .lp-feature__more .lp-icon,
.lp-motion-enabled .lp-text-link .lp-icon,
.lp-motion-enabled .lp-faq-item summary .lp-icon {
  transition: transform 240ms ease;
}
.lp-motion-enabled .lp-periods button {
  transition:
    background-color 240ms ease,
    color 240ms ease,
    box-shadow 240ms ease;
}
.lp-motion-enabled .lp-feature__illustration {
  position: relative;
  isolation: isolate;
  transition:
    translate 320ms ease,
    rotate 320ms ease,
    scale 320ms ease;
}
.lp-feature {
  --lp-card-angle: -1deg;
  --lp-card-scale: 1.02;
}
.lp-feature[data-lp-reaction="production"] {
  --lp-card-angle: -3deg;
  --lp-card-scale: 1.035;
}
.lp-feature[data-lp-reaction="inventory"],
.lp-feature[data-lp-reaction="team"] {
  --lp-card-angle: 1.5deg;
}
.lp-feature[data-lp-reaction="analytics"] {
  --lp-card-angle: 3deg;
  --lp-card-scale: 1.035;
}
.lp-feature[data-lp-reaction="finance"] {
  --lp-card-angle: -2deg;
}
.lp-motion-enabled .lp-feature__illustration::before {
  content: "";
  position: absolute;
  inset: 75% 12% -2%;
  z-index: -1;
  border-radius: 50%;
  background: radial-gradient(ellipse, rgb(30 63 44 / 14%), transparent 67%);
  opacity: 0;
  transition:
    opacity 320ms ease,
    scale 320ms ease;
}
.lp-motion-enabled .lp-feature:focus-within .lp-feature__illustration {
  translate: 0 -3px;
  rotate: var(--lp-card-angle);
  scale: var(--lp-card-scale);
}
.lp-motion-enabled .lp-feature:focus-within .lp-feature__illustration::before {
  opacity: 1;
  scale: 0.92;
}
.lp-motion-enabled .lp-feature:focus-within .lp-feature__more .lp-icon,
.lp-motion-enabled .lp-text-link:focus-visible .lp-icon,
.lp-motion-enabled .lp-button:focus-visible .lp-icon {
  transform: translateX(3px);
}
@media (hover: hover) and (pointer: fine) {
  .lp-motion-enabled .lp-feature:hover .lp-feature__illustration {
    translate: 0 -5px;
    rotate: var(--lp-card-angle);
    scale: var(--lp-card-scale);
  }
  .lp-motion-enabled .lp-feature:hover .lp-feature__illustration::before {
    opacity: 1;
    scale: 0.92;
  }
  .lp-motion-enabled .lp-feature:hover .lp-feature__more .lp-icon,
  .lp-motion-enabled .lp-text-link:hover .lp-icon,
  .lp-motion-enabled .lp-button:not(:disabled):hover .lp-icon {
    transform: translateX(3px);
  }
  .lp-motion-enabled .lp-hero [data-route="signup"]:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgb(19 122 72 / 22%);
  }
  .lp-motion-enabled .lp-hero [data-route="signup"]:active {
    transform: translateY(0);
  }
}
@keyframes lp-float {
  0%,
  100% {
    translate: 0 0;
    rotate: 0deg;
  }
  50% {
    translate: 0 calc(-1 * var(--lp-float-distance));
    rotate: var(--lp-float-tilt);
  }
}
@keyframes lp-halo {
  0%,
  100% {
    scale: 0.92;
    opacity: 0.65;
    translate: -3% 2%;
  }
  50% {
    scale: 1.05;
    opacity: 1;
    translate: 3% -2%;
  }
}
@keyframes lp-orbit {
  from {
    rotate: 0deg;
  }
  to {
    rotate: 360deg;
  }
}
@keyframes lp-sheen {
  0%,
  75% {
    translate: -110% 0;
    opacity: 0;
  }
  78% {
    opacity: 1;
  }
  90% {
    translate: 110% 0;
    opacity: 1;
  }
  91%,
  100% {
    translate: 110% 0;
    opacity: 0;
  }
}
@keyframes lp-connect {
  0%,
  2% {
    stroke-dashoffset: 16;
    opacity: 0;
  }
  5% {
    opacity: 0.8;
  }
  22% {
    stroke-dashoffset: -100;
    opacity: 0.8;
  }
  25%,
  100% {
    stroke-dashoffset: -110;
    opacity: 0;
  }
}
@keyframes lp-receive {
  0%,
  45%,
  100% {
    opacity: 0;
    scale: 0.9;
  }
  12% {
    opacity: 1;
    scale: 1.06;
  }
}
@keyframes lp-final-sheen {
  from {
    translate: -110% 0;
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  to {
    translate: 110% 0;
    opacity: 0;
  }
}
@media (max-width: 600px) {
  .lp-motion-enabled {
    --lp-float-distance: 2px;
    --lp-float-tilt: 0.3deg;
  }
  .lp-motion-enabled .lp-scene-caption.lp-motion-in-view,
  .lp-motion-enabled .lp-pricing-note.lp-motion-in-view {
    animation-duration: 10s;
  }
  .lp-motion-enabled .lp-pricing-note.lp-motion-in-view {
    --lp-float-distance: 5px;
    --lp-float-tilt: 0.6deg;
    animation-duration: 8s;
  }
  .lp-motion-enabled .lp-integrations__art .lp-integration-image {
    --lp-float-distance: 7px;
    --lp-float-tilt: 1deg;
    animation-duration: 8s;
  }
}
.lp-document.lp-motion-paused {
  scroll-behavior: auto;
}
.lp-motion-paused .lp-page *,
.lp-motion-paused .lp-page *::before,
.lp-motion-paused .lp-page *::after {
  animation: none !important;
  transition: none !important;
}
@media (prefers-reduced-motion: reduce) {
  .lp-page *,
  .lp-page *::before,
  .lp-page *::after {
    animation: none !important;
    transition: none !important;
  }
}
@media print {
  .lp-motion-toggle {
    display: none !important;
  }
  .lp-page *,
  .lp-page *::after {
    animation: none !important;
  }
}
