#hero {
  position: relative;
  width: 100%;
  height: 100svh;
  min-height: 570px;
  overflow: hidden;

  & > div {
    width: 100%;
    height: 100%;
    transition: left 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  }

  #media-1 {
    position: relative;
    left: 0;
    top: 0;
    background-color: rgb(238, 238, 238);
    .media-2 & {
      left: -100%;
    }
  }

  #media-2 {
    position: absolute;
    left: 100%;
    top: 0;
    .media-2 & {
      left: 0;
    }
  }

  video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    #media-2 & {
      object-position: 78% 50%;
    }
  }

  .text {
    position: absolute;
    left: 20px;
    right: 20px;
    bottom: 80px;
    color: #fff;
    #media-2 & {
      /* color: rgb(26, 26, 26); */
    }
    @media (min-width: 1440px) {
      width: 1400px;
      left: 50%;
      right: auto;
      bottom: 120px;
      transform: translateX(-50%);
    }

    .progress {
      width: 200px;
      margin: 0;
      display: flex;
      align-items: center;
      gap: 20px;
      @media (min-width: 809px) {
        width: 250px;
      }
      @media (min-width: 1440px) {
        width: 300px;
      }

      .current,
      .next {
        font-size: 11px;
        font-weight: 600;
        min-width: 30px;
      }

      .track {
        display: inline-block;
        width: 100%;
        height: 3px;
        background-color: rgba(255, 255, 255, 0.3);
        border-radius: 2px;
        overflow: hidden;
        line-height: 3px;
      }
      #media-2 & .track {
        /* background-color: rgba(26, 26, 26, 0.2); */
      }

      .bar {
        display: inline-block;
        width: 0;
        height: 100%;
        background-color: rgb(37, 99, 235);
        transition: width 0.1s ease-out;
        border-radius: 2px;
        vertical-align: top;
      }

      .next {
        opacity: 0.7;
      }
    }

    h1 {
      font-size: 40px;
      font-weight: 700;
      margin-top: 12px;
      margin-bottom: 24px;
      line-height: 130%;
      letter-spacing: -1.6px;
      @media (min-width: 809px) {
        margin-top: 24px;
        font-size: 55px;
      }
      @media (min-width: 1440px) {
        font-size: 64px;
      }
    }

    p {
      display: none;
      font-size: 20px;
      line-height: 150%;
      margin-bottom: 32px;
      opacity: 0.8;
      font-weight: 400;
      @media (min-width: 809px) {
        display: block;
        font-size: 17px;
      }
      @media (min-width: 1440px) {
        font-size: 20px;
      }
    }

    a {
      padding: 9px 24px;
      font-size: 16px;
    }
  }
}

#runway {
  h2 {
    margin: 0 auto 90px;
    width: min-content;

    img {
      height: 70px;
    }
  }

  .screenshot {
    position: relative;
    overflow: hidden;
    transform: scale(0.95);
    @media (min-width: 1010px) {
      margin: 0 auto;
      border-radius: 32px;
      width: 1010px;
      height: 650px;
    }

    video {
      position: relative;
      display: block;
      width: 100%;
      bottom: -2px;
    }

    img {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 80%;
      max-width: 670px;
      @media (min-width: 1440px) {
        width: 670px;
      }
    }
  }
}

#runway-feature {
  .copy {
    margin: 80px auto 100px;
    font-size: 24px;
    font-weight: 500;
    line-height: 130%;
    text-align: center;
    max-width: 470px;
    word-break: keep-all;
    @media (min-width: 809px) {
      margin-top: 140px;
      font-size: 36px;
      max-width: none;
    }

    br {
      display: none;
      @media (min-width: 809px) {
        display: block;
      }
    }
  }

  .feature {
    margin: 0 auto;
    padding: 0;
    list-style: none;
    display: grid;
    grid-template: 1fr / 1fr 1fr;
    gap: 32px;
    max-width: 1200px;
    @media (min-width: 809px) {
      grid-template: 1fr / 1fr 1fr 1fr 1fr;
    }
    @media (min-width: 1100px) {
      gap: 50px;
    }

    li {
      padding-top: 40px;
      background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" fill="none" overflow="visible"><path d="M 7.756 7.756 L 12 0 L 16.244 7.756 L 24 12 L 16.244 16.244 L 12 24 L 7.756 16.244 L 0 12 Z" fill="rgb(43, 43, 59)"></path></svg>');
      background-repeat: no-repeat;
    }
    li:nth-child(3) {
      background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="21.81" height="23.779" fill="none" overflow="visible"><path d="M 16.397 11.89 C 27.379 11.89 19.141 -2.379 13.653 7.136 C 19.147 -2.379 2.67 -2.379 8.159 7.136 C 2.664 -2.379 -5.568 11.89 5.415 11.89 C -5.568 11.89 2.67 26.158 8.159 16.644 C 2.664 26.158 19.141 26.158 13.653 16.644 C 19.141 26.158 27.379 11.89 16.397 11.89 Z" fill="rgb(43, 43, 59)"></path></svg>');
    }

    h3 {
      font-size: 20px;
      margin: 0 0 16px;
      font-weight: 500;
      @media (min-width: 809px) {
        font-size: 26px;
      }
    }

    p {
      margin: 16px 0 0;
      text-wrap: balance;
      word-break: keep-all;
    }
  }

  .get-started {
    margin: 100px 0 0;
    text-align: center;
  }
}

#industry {
  margin: 100px 0 0;
  @media (min-width: 809px) {
    margin-top: 250px;
  }

  .content-wrap {
    padding-bottom: 160px;
  }

  h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 500;
    word-break: keep-all;
    @media (min-width: 809px) {
      font-size: 40px;
    }
  }

  ul {
    margin: 40px 0 0;
    padding: 0;
    list-style: none;
    display: flex;
    gap: 24px;
    overflow: auto;
    @media (min-width: 809px) {
      margin-top: 64xpx;
    }
  }

  a {
    position: relative;
    display: block;
    aspect-ratio: 1;
    max-width: 358px;
    width: 80vw;
    padding: 20px 37px;
    overflow: hidden;
    border-radius: 24px;
  }

  .area,
  h3 {
    position: relative;
    z-index: 1;
  }

  .area {
    color: #fff;
    opacity: 0.7;
  }

  h3 {
    color: #fff;
    font-size: 24px;
    margin: 0;
  }

  img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    transition: height 0.18s ease-in-out;
    a:hover &,
    a:focus & {
      height: 110%;
    }
  }

  a:after {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 150px;
    content: " ";
    background: linear-gradient(rgb(0, 0, 0) 0%, rgba(0, 0, 0, 0) 100%);
  }
}

#main-closing {
  position: relative;
  overflow: hidden;
  background-color: #000;
  color: #fff;
  height: 560px;
  &.side-video {
    height: auto;
    @media (min-width: 650px) {
      height: 437px;
    }
  }

  .content-wrap {
    height: auto;
    display: flex;
    align-items: start;
    flex-direction: column;
    @media (min-width: 650px) {
      height: 100%;
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
    }
  }

  .text-group {
    position: relative;
    z-index: 1;
  }

  h2 {
    margin: 0;
    font-size: 32px;
    font-weight: 500;
    line-height: 1.3;
    @media (min-width: 809px) {
      font-size: 40px;
    }
    @media (min-width: 1440px) {
      font-size: 52px;
    }
  }

  p {
    margin: 25px 0 22px;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.2;
    opacity: 0.7;
    @media (min-width: 809px) {
      font-size: 16px;
    }
    @media (min-width: 1440px) {
      font-size: 20px;
    }
  }

  video {
    position: static;
    top: 0;
    left: 0;
    width: 100%;
    height: auto;
    max-height: 250px;
    object-fit: contain;
    object-position: 50% 50%;
    margin-top: 24px;
    filter: contrast(1.46);
    @media (min-width: 650px) {
      margin-top: 0;
      width: 50%;
      max-height: 400px;
    }
  }
}
