/* Mobile composition: Figma 152979:141277. Keep desktop and scene timelines. */
@media (max-width: 767px) {
  .mo-cover {
    height: 697px;
    min-height: 697px;
    border-radius: 16px;
  }
  .mo-cover__inner {
    width: calc(100% - 24px);
    min-height: 100%;
    padding: 0 0 12px;
    justify-content: flex-end;
    gap: 12px;
  }
  .mo-cover h1 {
    font-size: 28px;
    font-weight: 700;
    line-height: 0.95;
    letter-spacing: 0;
  }
  .mo-cover__title-line img {
    display: none;
  }
  .mo-cover__bottom {
    gap: 24px;
  }
  .mo-page .mo-cover__bottom p {
    max-width: 330px;
    font-size: 14px;
    line-height: 1.2;
  }
  .mo-cover__video {
    object-position: center;
  }
  .mo-cover__shade {
    background: linear-gradient(transparent 60%, #0005);
  }
  .mo-cover__shade::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 145px;
    backdrop-filter: blur(19.8px);
    -webkit-backdrop-filter: blur(19.8px);
    mask-image: linear-gradient(transparent, #000 45%);
  }
  .mo-store-links {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 155.5px));
    gap: 7px;
  }
  .mo-store-links a {
    min-height: 54px;
    height: 54px;
    padding: 10px 17px;
    border-radius: 11px;
    gap: 7px;
  }
  .mo-store-links img {
    width: 21px;
    height: 21px;
  }
  .mo-store-links small {
    font-size: 12px;
  }
  .mo-store-links strong {
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
  }
  .mo-content {
    width: calc(100% - 24px);
    margin: 100px auto;
  }
  .mo-feature-grid {
    gap: 8px;
  }
  .mo-feature {
    height: 492px;
    border-radius: 16px;
  }
  .mo-feature__copy {
    padding: 16px;
    min-height: 0;
  }
  .mo-feature h2 {
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
    max-width: 313px;
  }
  .mo-feature p {
    font-size: 14px;
    line-height: 1.2;
    margin-top: 12px;
    max-width: 313px;
  }
  .mo-feature__art {
    position: absolute;
    top: 32px;
    bottom: auto;
    height: 460px;
    margin: 0;
  }
  .mo-banner {
    height: 492px;
    border-radius: 16px;
    padding: 16px;
  }
  .mo-banner--green {
    margin-top: 8px;
  }
  .mo-banner__green-art {
    width: 778px;
    height: 524px;
    left: calc(50% - 596px);
    top: -33px;
  }
  .mo-banner--green h2 {
    position: absolute;
    top: 368px;
    max-width: 292px;
    font-size: 28px;
    font-weight: 700;
    line-height: 0.95;
  }
  .mo-banner--green p {
    left: 16px;
    bottom: 24px;
    width: calc(100% - 32px);
    max-width: 302px;
    font-size: 12px;
  }
  .mo-banner--basket {
    margin-top: 100px;
    margin-bottom: 8px;
  }
  .mo-banner--basket h2 {
    font-size: 24px;
    font-weight: 500;
    line-height: 1;
  }
  .mo-banner__basket {
    width: 559px;
    height: 559px;
    left: calc(50% - 261px);
    top: 150px;
  }
  .mo-banner__basket-art {
    display: none;
  }
  .mo-banner__bottom {
    left: 16px;
    top: 136px;
    bottom: auto;
    width: calc(100% - 32px);
  }
  .mo-banner__bottom p {
    font-size: 12px;
    line-height: 1.25;
    margin-bottom: 24px;
    max-width: 302px;
  }
  .mo-dark-section {
    border-radius: 24px 24px 0 0;
  }
  .mo-ai,
  .mo-nkt,
  .mo-final {
    width: calc(100% - 24px);
  }
  .mo-ai {
    padding-top: 40px;
    min-height: 553px;
    display: block;
  }
  .mo-ai__copy {
    display: block;
    padding: 0;
    min-height: 0;
    width: 100%;
  }
  .mo-ai h2 {
    font-size: 32px;
    line-height: 1;
  }
  .mo-ai__copy p {
    font-size: 14px;
    line-height: 1.2;
    margin: 24px 0 0;
  }
  .mo-ai__art {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 553px;
    margin: 0;
  }
  .mo-ai__stage {
    left: calc(50% - 435px);
    top: 180px;
    transform: scale(0.47);
  }
  .mo-nkt {
    height: 492px;
    border-radius: 20px;
  }
  .mo-nkt__background {
    width: 1081px;
    max-width: none;
    height: 597px;
    left: calc(50% - 674px);
    top: 0;
  }
  .mo-nkt::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #0006;
    pointer-events: none;
  }
  .mo-nkt__copy {
    padding: 24px;
    gap: 16px;
  }
  .mo-nkt h2 {
    font-size: 32px;
    line-height: 1;
    letter-spacing: 0;
  }
  .mo-nkt p {
    font-size: 14px;
    line-height: 1.2;
  }
  .mo-nkt__art {
    position: absolute;
    margin: 0;
    inset: 0;
    width: 100%;
    height: 100%;
    transform: none;
    z-index: 1;
  }
  .mo-nkt__hand {
    width: 378px;
    height: 594px;
    left: calc(50% - 99px);
    top: 27px;
  }
  .mo-nkt__hand img {
    width: 313px;
    height: 560px;
  }
  .mo-nkt__label--back {
    width: 132px;
    height: 73px;
    left: 77px;
    top: 268px;
  }
  .mo-nkt__label--front {
    width: 213px;
    height: 124px;
    left: -29px;
    top: 188px;
  }
  .mo-final {
    display: flex;
    flex-direction: column;
    margin-top: 0;
    padding-bottom: 100px;
  }
  .mo-final__art {
    order: 0;
    position: relative;
    width: 100%;
    height: 477px;
    left: auto;
    top: auto;
    transform: none;
    margin: 0;
    overflow: visible;
  }
  .mo-final iframe {
    width: 877px;
    height: 520px;
    transform: none;
    margin-left: calc(50% - 468px);
  }
  .mo-final__copy {
    order: 1;
    padding: 0;
    width: 100%;
  }
  .mo-final h2 {
    font-size: 24px;
    line-height: 1;
    max-width: 330px;
  }
  .mo-final p {
    font-size: 16px;
    line-height: 1.15;
    margin: 12px 0 24px;
  }
}
@media (max-width: 359px) {
  .mo-store-links a {
    padding-inline: 10px;
  }
  .mo-banner__bottom {
    top: 160px;
  }
  .mo-ai h2,
  .mo-nkt h2 {
    font-size: 28px;
  }
}

/* The authored first frame covers the art while the phone loads its embed. */
@media (max-width: 767px) {
  iframe[data-office-src]:not([data-office-ready]) {
    visibility: hidden;
  }
  :is(.mo-feature__art, .mo-final__art):has(
      iframe[data-office-src]:not([data-office-ready])
    )::before {
    content: "";
    position: absolute;
    inset: 0;
    background: var(--mo-scene-poster) top center / 100% auto no-repeat;
  }
  .mo-final__art:has(iframe[data-office-src]:not([data-office-ready]))::before {
    width: 877px;
    height: 520px;
    margin-left: calc(50% - 468px);
  }

  :is(.mo-feature__art, .mo-final__art):has(
    iframe[data-office-src$="/sales.html"]
  ) {
    --mo-scene-poster: url("../../media/mobile-office-scene-posters/sales.webp");
  }

  :is(.mo-feature__art, .mo-final__art):has(
    iframe[data-office-src$="/inventory.html"]
  ) {
    --mo-scene-poster: url("../../media/mobile-office-scene-posters/inventory.webp");
  }

  :is(.mo-feature__art, .mo-final__art):has(
    iframe[data-office-src$="/network.html"]
  ) {
    --mo-scene-poster: url("../../media/mobile-office-scene-posters/network.webp");
  }

  :is(.mo-feature__art, .mo-final__art):has(
    iframe[data-office-src$="/documents.html"]
  ) {
    --mo-scene-poster: url("../../media/mobile-office-scene-posters/documents.webp");
  }

  :is(.mo-feature__art, .mo-final__art):has(
    iframe[data-office-src$="/reports.html"]
  ) {
    --mo-scene-poster: url("../../media/mobile-office-scene-posters/reports.webp");
  }

  :is(.mo-feature__art, .mo-final__art):has(
    iframe[data-office-src$="/access.html"]
  ) {
    --mo-scene-poster: url("../../media/mobile-office-scene-posters/access.webp");
  }

  :is(.mo-feature__art, .mo-final__art):has(
    iframe[data-office-src$="/download.html"]
  ) {
    --mo-scene-poster: url("../../media/mobile-office-scene-posters/download.webp");
  }
}
