/* The supplied transparent PNGs stay separate: panels, flying files, and badges.
   SVG viewBoxes remove their transparent margins without resampling the assets. */
.hero::before,
.hero::after {
  content: none;
}
.hero-waves {
  position: absolute;
  z-index: -1;
  inset: 205px 0 0;
  width: 100%;
  height: calc(100% - 205px);
  pointer-events: none;
  stroke: none;
}
.hero .hero-stage {
  max-width: 1340px;
  margin-top: -33px;
  padding-top: 0;
}
.hero-art {
  position: relative;
  width: 100%;
  aspect-ratio: 1340 / 640;
  margin: 0;
  isolation: isolate;
  container-type: inline-size;
}
.scene-screen,
.scene-badge {
  position: absolute;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  line-height: 0;
}
.scene-screen {
  pointer-events: none;
}
.scene-screen > svg,
.scene-screen > img,
.flight-asset {
  display: block;
  width: 100%;
  height: 100%;
  overflow: visible;
  fill: none;
  stroke: none;
}
.scene-portal {
  z-index: 2;
  left: 1%;
  top: 0;
  /* Preserve the visible size of the former 700-wide image in its 880-wide SVG. */
  width: 25.29545%;
  aspect-ratio: 840 / 1422;
}
.scene-portal > img {
  height: auto;
}
.scene-dashboard {
  z-index: 1;
  left: 37.5%;
  top: 8%;
  width: 65%;
  aspect-ratio: 1420 / 880;
}
.file-route {
  position: absolute;
  z-index: 3;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: visible;
  pointer-events: none;
}
.file-route [data-flight-path] {
  fill: none;
  opacity: 0.5;
  stroke: rgb(20, 119, 255);
  stroke-width: 3.5;
  stroke-linecap: round;
  stroke-dasharray: 8, 13;
  marker-end: url("#route-arrow");
}
.flight-file {
  position: absolute;
  z-index: 4;
  width: 6.2%;
  min-width: 26px;
  aspect-ratio: 1;
  pointer-events: none;
  transform-origin: 0 0;
}
.flight-asset {
  transform: translate(-50%, -50%);
}
.flight-pdf {
  left: 28%;
  top: 29%;
}
.flight-spreadsheet {
  left: 33%;
  top: 34%;
}
.flight-image {
  left: 38%;
  top: 42%;
}
.scene-badge {
  display: flex;
  align-items: center;
  gap: 0.75em;
  padding: 0.9em 1em;
  border: 1px solid #e7eff9;
  border-radius: 1.2em;
  background: rgb(255 255 255 / 97%);
  box-shadow: 0 8px 24px rgb(24 95 175 / 10%);
  color: #0c1c38;
  font-family: var(--font);
  font-size: clamp(5px, 1.04cqi, 14px);
  line-height: 1.4;
  pointer-events: none;
}
.scene-badge-icon {
  display: grid;
  place-items: center;
  flex: 0 0 2.65em;
  width: 2.65em;
  height: 2.65em;
  border-radius: 50%;
}
.scene-badge-icon svg {
  display: block;
  width: 1.8em;
  height: 1.8em;
}
.scene-badge-check {
  background: linear-gradient(145deg, #40d77b, #139a4c);
  box-shadow: inset 0 0 0 1px rgb(0 120 61 / 10%);
}
.scene-badge-check svg {
  fill: none;
  stroke: white;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.scene-badge-bolt {
  background: linear-gradient(145deg, #f1f8ff, #d9ebff);
}
.scene-badge-bolt svg {
  fill: #1477ff;
  stroke: none;
  filter: drop-shadow(0 2px 3px rgb(20 119 255 / 20%));
}
.scene-badge-copy {
  display: grid;
  gap: 0.1em;
  min-width: 0;
}
.scene-badge-copy strong {
  font-size: 1em;
  font-weight: 600;
  letter-spacing: -0.035em;
}
.scene-badge-copy > span {
  color: #637795;
  font-size: 0.8em;
}
.scene-badge-close {
  align-self: flex-start;
  margin-left: auto;
  color: #a4b5cf;
  font-size: 1.25em;
  line-height: 1;
}
.scene-receipt {
  --entrance-delay: 0.95s;
  z-index: 5;
  right: -2%;
  top: -3%;
  width: 24%;
}
.scene-speed {
  --entrance-delay: 0.55s;
  z-index: 5;
  left: 29.5%;
  top: 65%;
  width: 22%;
  border-radius: 2em;
}
.hero-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  list-style: none;
  padding: 0 23px;
  margin: 20px 0 0;
  gap: 0;
}
.hero-steps li {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 17px;
  padding: 4px 25px;
  position: relative;
}
.hero-steps li + li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 13%;
  bottom: 13%;
  width: 1px;
  background: #cfdfef;
}
.hero-step-number {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 35px;
  height: 35px;
  border-radius: 50%;
  color: #0866e5;
  background: #e8f3ff;
  font-size: 12px;
  font-weight: 600;
}
.hero-step-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 51px;
  height: 53px;
  border-radius: 15px;
  color: #1477ff;
  background: #e7f2ff;
}
.hero-step-icon svg {
  width: 28px;
  height: 28px;
  stroke-width: 1.7;
}
.hero-steps h3 {
  color: #0c1c38;
  font-size: 16px;
  line-height: 1.3;
  letter-spacing: -0.035em;
  margin-bottom: 5px;
}
.hero-steps p {
  color: #637795;
  font-size: 13px;
  line-height: 1.5;
  max-width: 230px;
}
.hero-motion-control {
  position: absolute;
  right: 0;
  bottom: -3px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 32px;
  padding: 5px 9px;
  background: #ffffffc9;
  color: #506d90;
  font-family: var(--font);
  font-size: 10px;
  border-radius: 8px;
  cursor: pointer;
}
.hero-motion-control[hidden] {
  display: none;
}
.hero-motion-control svg {
  width: 15px;
  height: 15px;
  stroke-width: 1.8;
}
.hero-motion-control .motion-play {
  display: none;
}
.hero-motion-control[aria-pressed="true"] .motion-play {
  display: block;
}
.hero-motion-control[aria-pressed="true"] .motion-pause {
  display: none;
}
.hero-motion-control:hover {
  background: #fff;
  color: #0756cb;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.hero {
  padding-bottom: 30px;
}
@media (prefers-reduced-motion: no-preference) {
  .hero-art[data-motion-ready] .scene-badge {
    /* Release the transform when the entrance ends so text is painted at rest. */
    animation: badge-enter 0.65s cubic-bezier(0.2, 0.8, 0.2, 1)
      var(--entrance-delay) backwards;
  }
  .hero-art:not([data-motion="running"]) .scene-screen,
  .hero-art:not([data-motion="running"]) .scene-badge {
    animation-play-state: paused;
  }
  @keyframes badge-enter {
    from {
      opacity: 0;
      transform: translateY(18px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }
}
@media (max-width: 1100px) {
  .hero .hero-stage {
    margin-top: 8px;
  }
  .hero-steps {
    padding-inline: 0;
    margin-top: 19px;
  }
  .hero-steps li {
    padding-inline: 15px;
    gap: 11px;
  }
  .hero-step-number {
    width: 28px;
    height: 28px;
    font-size: 10px;
  }
  .hero-step-icon {
    width: 43px;
    height: 45px;
    border-radius: 12px;
  }
  .hero-step-icon svg {
    width: 24px;
    height: 24px;
  }
  .hero-steps h3 {
    font-size: 14px;
  }
  .hero-steps p {
    font-size: 12px;
  }
}
@media (max-width: 800px) {
  .hero .hero-stage {
    margin-top: 24px;
  }
  .hero-steps li {
    padding-inline: 9px;
    gap: 8px;
  }
  .hero-step-number {
    display: none;
  }
  .hero-step-icon {
    width: 36px;
    height: 39px;
    border-radius: 10px;
  }
  .hero-step-icon svg {
    width: 22px;
    height: 22px;
  }
  .hero-steps h3 {
    font-size: 14px;
  }
  .hero-steps p {
    font-size: 12px;
  }
}
@media (max-width: 600px) {
  .hero .hero-stage {
    width: calc(100% - 24px);
    margin-top: 37px;
  }
  .hero-waves {
    top: 325px;
    height: calc(100% - 325px);
  }
  .hero-art {
    aspect-ratio: 1340 / 720;
  }
  .file-route {
    height: 88.889%;
  }
  .scene-dashboard {
    top: 7.11%;
  }
  .scene-speed {
    top: 57.78%;
  }
  .scene-receipt {
    width: 29%;
    right: -1%;
    top: -2%;
  }
  .hero-motion-control {
    bottom: 0;
    right: 2px;
    min-height: 29px;
    font-size: 9px;
    padding: 4px 7px;
  }
  .hero-steps {
    grid-template-columns: 1fr;
    margin: 8px auto 0;
    max-width: 345px;
    gap: 17px;
    padding-inline: 8px;
  }
  .hero-steps li {
    padding: 0;
    gap: 12px;
  }
  .hero-steps li + li::before {
    display: none;
  }
  .hero-step-number {
    display: grid;
    width: 27px;
    height: 27px;
    font-size: 10px;
  }
  .hero-step-icon {
    width: 43px;
    height: 44px;
    border-radius: 12px;
  }
  .hero-step-icon svg {
    width: 25px;
    height: 25px;
  }
  .hero-steps h3 {
    font-size: 16px;
    margin-bottom: 3px;
  }
  .hero-steps p {
    font-size: 12px;
    max-width: 215px;
  }
  .hero {
    padding-bottom: 10px;
  }
}
