/* .floor-guide-animation {
  outline: 2px solid red;
} */

/* .floor-guide-scene {
  outline: 2px solid blue;
}

.usecase-main {
  outline: 2px solid green;
} */

.hero__text-wrapper {
  
  display: grid;
  align-items: center;
}

.hero__text {
  grid-area: 1 / 1;
  width: 100%;
}

.hero__text--intro .hero-title,
.hero__text--intro .hero-paragraph {
  color: #d5d5d5;
}

.hero__text--languages {
  visibility: hidden;
}

.language-char {
  display: inline-block;
}

.section-grid-hero {
  min-height: 99svh;
  position: relative;
  isolation: isolate;
  padding-bottom: 0!;
}

.hero-bottom-curve {
  position: absolute;
  top: calc(100svh - clamp(30px, 4vw, 80px));
  left: 60%;
  transform: translateX(-50%);
  width: 166vw;
  height: 285px;
  background: #e4f5ff;
  border-radius: 51% 50% 0 0 / 175px 123px 57px 91px;
  z-index: 10;
  pointer-events: none;
}

/* ==========================================
   Main scene
========================================== */

.floor-guide-animation {
    position: relative;
    width: 100%;
    width: clamp(500px, 52vw, 850px);
    /* right: clamp(0px, calc(52vw - 643px), 70px); */
  }
  
  .floor-guide-scene {
    position: relative;
  
    min-height: 100vh;
    margin: 0 auto;
  
    overflow: visible;
  }

  
  
  /* ==========================================
    First three illustrations
  =========================================== */
  
  .usecase {
    position: absolute;
    transform-origin: center;
  }
  
  .usecase-main .floor-guide-bg,
  .usecase-left .dummy-circle,
  .usecase-right .dummy-circle {
    visibility: hidden;
  }

  /* Selected / top use case */
  .usecase-main {
    width: 54%;
  
    left: 50%;
    top: 8%;
  
    transform: translateX(-50%);
  }
  
  /* Bottom left */
  .usecase-left {
    width: 10%;
    left: 8%;
    top: 45%;
  }
  
  /* Bottom right */
  .usecase-right {
    width: 10%;
    right: 4%;
    top: 40%;
  }
  
  .floor-guide-bg {
    position: relative;
  
    display: block;
    width: 100%;
    height: auto;
  
    z-index: 1;
  }
  
  .dummy-circle {
    width: 150px;
    height: 150px;
  
    border-radius: 50%;
  
    background: #ddd;
  
    display: flex;
    align-items: center;
    justify-content: center;
  
    font-weight: bold;
  }
  
  
  /* ==========================================
     Shared phone positioning
  
     Both scan-phone and content-phone use
     exactly the same positioning.
  ========================================== */
  
  .phone-layer {
    position: absolute;  
    width: clamp(44%, calc(44% + (100vw - 1440px) * 0.03), 55%);
    left: 50%;
    top: -3%;  
    pointer-events: none;  
    z-index: 2;
  }

  .phone-scan-layer,
.phone-content-layer {
  visibility: hidden;
  opacity: 0;
}
  
  @media  (max-aspect-ratio: 3/2) {
    .phone-layer {
        width: clamp(250px, 46svh, 550px);
    }
}
  
  /* ==========================================
     Scan phone
  ========================================== */
  
  .phone-scan-img {
    display: block;
  
    width: 100%;
    height: auto;
  }
  
  
  /* QR scanning line */
  
  .scan-line {
    position: absolute;
  
    /*
     * Adjust these to your QR scanning
     * area inside phone-scan.svg
     */
    left: 37.5%;
    top: 29%;
  
    width: 55%;
    height: 6px;
  
    background: #087ee5;
    border-radius: 999px;
  
    z-index: 5;
  }
  
  
  /* ==========================================
     Content phone
  ========================================== */
  
  .phone-base {
    position: relative;
  
    display: block;
    width: 100%;
    height: auto;
  
    z-index: 1;
  }
  
  
  /* Actual phone screen */
  
  .phone-screen {
    position: absolute;
  
    /*
     * Based on your uploaded SVG geometry
     */
    left: 32.95%;
    top: 1.81%;
  
    width: 63.84%;
    height: 68.89%;
  
    overflow: hidden;
  
    border-radius: 8%;
  
    z-index: 2;
  }
  
  
  /* ==========================================
     Language slides
  ========================================== */
  
  .phone-screen-track {
    display: flex;
  
    width: 300%;
    height: 100%;
  }
  
  .screen-page {
    display: block;
  
    flex: 0 0 calc(100% / 3);
  
    width: calc(100% / 3);
    height: 100%;
  
    object-fit: fill;
  }
  
  
  /* ==========================================
     Hand / foreground
  
     This sits ABOVE the sliding screen.
  ========================================== */
  
  .phone-foreground {
    position: absolute;
  
    inset: 0;
  
    display: block;
  
    width: 100%;
    height: 100%;
  
    z-index: 3;
  
    pointer-events: none;
  }