.scene {
  position: relative;
  isolation: isolate;
}
.scene-field {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: -1;
}
.hero .scene-field {
  z-index: 0;
  opacity: 0.95;
  mask-image: linear-gradient(transparent, #000 15%, #000 85%, transparent);
}
.hero:after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: radial-gradient(
    ellipse 32% 35% at 50% 45%,
    #050810b0,
    transparent
  );
}
.download > .wrap,
.workflow > .wrap {
  position: relative;
  z-index: 1;
}
.scene-controls {
  display: none;
}
.scene-nav,
#scene-name {
  display: none;
}

.scene-motion .scene [data-reveal] {
  transition:
    opacity 650ms ease var(--reveal-delay, 0ms),
    transform 850ms cubic-bezier(0.2, 0.65, 0.15, 1) var(--reveal-delay, 0ms);
}
.scene-motion .scene:not(.is-visible):not(:focus-within) [data-reveal] {
  opacity: 0;
  transform: translateY(28px);
}
.scene-motion .hero [data-reveal] {
  transform: none;
}
@media (min-width: 1100px) and (min-height: 760px) and (pointer: fine) {
  html {
    scroll-padding-top: 0;
  }
  html.scene-snap {
    scroll-snap-type: y mandatory;
  }
  .scene-snap [data-scene] {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
  .scene-snap .site-footer {
    scroll-snap-align: end;
  }
  .site-header {
    position: fixed;
    height: 76px;
    padding-inline: 24px;
    width: min(1248px, calc(100% - 64px));
    background: #050810b8;
    border-bottom: 1px solid #ffffff13;
    backdrop-filter: blur(18px);
  }
  .scene {
    min-height: 100svh;
    padding-block: 108px 54px;
    align-content: center;
  }
  .scene:not(.wrap):not(.hero) {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .hero {
    padding-block: 112px 90px;
  }
  .product-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
  }
  .section-topline {
    margin-bottom: 40px;
  }
  .product-card {
    min-height: clamp(380px, 55svh, 620px);
    border-radius: 12px;
  }
  .card-copy h3 {
    font-size: 25px;
  }
  .card-copy p {
    font-size: 12px;
  }
  .dark-heading {
    margin-bottom: 26px;
  }
  .dark-heading h2 {
    font-size: 36px;
  }
  .dark-heading .section-label {
    margin-bottom: 10px;
  }
  .dark-heading > p:last-child {
    margin-top: 14px;
    font-size: 12px;
  }
  .workflow-grid {
    grid-template-rows: repeat(2, clamp(195px, 25svh, 240px));
  }
  .workflow-grid article {
    padding: 24px;
  }
  .workflow-grid .workflow-generation {
    padding: 0;
  }
  .library-visual {
    margin-top: 22px;
    padding: 14px 12px;
  }
  .library-images img {
    max-height: 140px;
  }
  .creation-visual {
    min-height: clamp(500px, 66svh, 720px);
  }

  .section-heading {
    margin-bottom: 30px;
  }
  .mobile-entry {
    margin-top: 40px;
  }
  .download {
    text-align: center;
  }
  .download-actions {
    justify-content: center;
  }
  .download h2 {
    font-size: clamp(44px, 4.8vw, 68px);
  }
  .download-wordmark {
    margin-top: 44px;
  }
  .scene-controls {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 21;
    pointer-events: none;
    padding: 0;
  }
  .scene-nav {
    display: flex;
    position: absolute;
    right: 24px;
    top: 50%;
    transform: translateY(-50%);
    flex-direction: column;
    gap: 3px;
    pointer-events: auto;
  }
  .scene-nav:before {
    content: "";
    position: absolute;
    left: 50%;
    top: 12px;
    bottom: 12px;
    width: 1px;
    transform-origin: top;
    transform: scaleY(var(--journey-progress, 0));
    background: #416aff;
    transition: transform 700ms ease;
  }
  .scene-nav a {
    position: relative;
    width: 24px;
    height: 24px;
    display: grid;
    place-items: center;
  }
  .scene-nav a:after {
    content: "";
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #667390;
    box-shadow: 0 0 0 5px #050810;
    transition:
      background 300ms,
      box-shadow 300ms;
  }
  .scene-nav a[aria-current]:after {
    background: #b2c6ff;
    box-shadow:
      0 0 0 4px #142751,
      0 0 16px #497bff80;
  }
  .scene-nav a span {
    position: absolute;
    right: 34px;
    white-space: nowrap;
    font-size: 10px;
    background: #081124;
    border: 1px solid #ffffff21;
    border-radius: 4px;
    padding: 5px 10px;
    opacity: 0;
    transform: translateX(6px);
    transition:
      opacity 200ms,
      transform 200ms;
    pointer-events: none;
  }
  .scene-nav a:hover span,
  .scene-nav a:focus-visible span {
    opacity: 1;
    transform: none;
  }
  #scene-name {
    display: block;
    position: absolute;
    top: calc(50% + 175px);
    right: 24px;
    font-size: 9px;
    color: #9baaca;
    writing-mode: vertical-rl;
    letter-spacing: 0.09em;
  }
}
@media (max-width: 780px) {
  .hero {
    min-height: 88svh;
    padding-block: 132px 90px;
  }
  .hero h1 {
    font-size: clamp(48px, 10vw, 72px);
  }
  .hero-description {
    font-size: 12px;
    max-width: 320px;
    margin-inline: auto;
  }
  .hero .section-label {
    font-size: 10px;
  }

  .section-topline {
    display: block;
  }
  .section-topline h2 {
    font-size: 25px;
  }
  .section-topline p {
    text-align: left;
    max-width: none;
    margin-top: 12px;
  }
  .product-section {
    padding-top: 66px;
  }
}
@media (prefers-reduced-motion: reduce) {
  html.scene-snap {
    scroll-snap-type: none;
  }
  .scene [data-reveal] {
    opacity: 1 !important;
    transform: none !important;
  }
}
