.landing-ai-marquee {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  padding-block: clamp(20px, 2vw, 32px);
  background: var(--landing-bg);
}

.landing-ask-ai {
  position: relative;
  left: 50%;
  width: 100vw;
  margin-left: -50vw;
  padding-block: clamp(28px, 3vw, 44px);
  background: var(--landing-bg);
  color: #111111;
  overflow: clip;
}

.landing-ask-ai__inner {
  position: relative;
  width: var(--landing-shell-width);
  margin-inline: auto;
  text-align: center;
  min-height: clamp(440px, 34vw, 620px);
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
}

.landing-ask-ai__content {
  position: relative;
  z-index: 2;
  min-width: 0;
  width: min(58%, 900px);
  padding-block: 24px;
}

.landing-ask-ai__pair {
  display: contents;
}

.landing-ask-ai__photo {
  position: absolute;
  z-index: 0;
  overflow: hidden;
  border-radius: 10px;
  aspect-ratio: 4 / 3;
  pointer-events: none;
}

.landing-ask-ai__photo picture {
  display: contents;
}

.landing-ask-ai__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.landing-ask-ai__photo--one {
  top: 8%;
  left: -5vw;
  width: clamp(200px, 24.5vw, 415px);
}

.landing-ask-ai__photo--two {
  z-index: 1;
  left: 7.5vw;
  bottom: 9%;
  width: clamp(180px, 18vw, 305px);
}

.landing-ask-ai__photo--three {
  z-index: 1;
  top: 8%;
  right: -4vw;
  width: clamp(180px, 20vw, 350px);
}

.landing-ask-ai__photo--four {
  right: 3vw;
  bottom: -9%;
  width: clamp(180px, 18vw, 305px);
}

.landing-ask-ai__eyebrow {
  margin: 0 0 18px;
  color: #1caf68;
  font-size: clamp(13px, 1.1vw, 16px);
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.landing-ask-ai h2 {
  margin: 0;
  color: #111111;
  font-size: clamp(36px, 4.2vw, 64px);
  font-weight: 800;
  letter-spacing: -0.055em;
  line-height: 1.02;
}

.landing-ask-ai__description {
  max-width: 600px;
  margin: 20px auto 0;
  color: #4d4d4d;
  font-size: clamp(17px, 1.45vw, 22px);
  line-height: 1.5;
}

.landing-ask-ai__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  margin-top: 28px;
}

.landing-ask-ai__link {
  --assistant-accent: #55b9e9;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-width: clamp(148px, 12vw, 184px);
  padding: 12px 18px;
  border: 2px solid #111111;
  background-color: #111111;
  background-image: linear-gradient(var(--assistant-accent), var(--assistant-accent));
  background-repeat: no-repeat;
  background-position: left center;
  background-size: 0 100%;
  color: #ffffff;
  box-shadow: 3px 3px 0 var(--assistant-accent);
  font-size: 15px;
  font-weight: 800;
  line-height: 1.1;
  text-decoration: none;
  transition: background-size 0.34s cubic-bezier(0.22, 1, 0.36, 1), color 0s linear 0.13s, transform 0.18s ease, box-shadow 0.18s ease;
}

.landing-ask-ai__link img {
  width: 22px;
  height: 22px;
  flex: 0 0 22px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  transition: filter 0s linear 0.13s;
}

@media (hover: hover) and (pointer: fine) {
  .landing-ask-ai__link:hover {
    background-size: 100% 100%;
    color: #111111;
    box-shadow: 5px 5px 0 #111111;
    transform: translate(-1px, -1px);
  }

  .landing-ask-ai__link:hover img { filter: brightness(0); }
}

.landing-ask-ai__link:focus-visible {
  background-size: 100% 100%;
  color: #111111;
  outline: 2px solid #111111;
  outline-offset: 4px;
}

.landing-ask-ai__link:focus-visible img,
.landing-ask-ai__link:active img { filter: brightness(0); }

.landing-ask-ai__link:active {
  background-size: 100% 100%;
  color: #111111;
  transform: translate(1px, 1px);
  box-shadow: 1px 1px 0 var(--assistant-accent);
}

@media (max-width: 1120px) {
  .landing-ask-ai__inner {
    min-height: 440px;
  }

  .landing-ask-ai__photo--one {
    top: 1%;
    left: calc(-6vw + clamp(75px, 10vw, 110px));
    width: clamp(180px, 26vw, 270px);
  }

  .landing-ask-ai__photo--two {
    left: 11vw;
    bottom: -3%;
    width: clamp(155px, 20vw, 205px);
  }

  .landing-ask-ai__photo--three {
    right: -5vw;
    top: 30%;
    width: clamp(165px, 21vw, 225px);
  }

  .landing-ask-ai__photo--four {
    display: none;
  }

  .landing-ask-ai__content { width: 66%; }
}

@media (max-width: 700px) {
  .landing-ask-ai__inner {
    --ask-photo-one-width: clamp(160px, 39vw, 240px);
    --ask-photo-three-width: clamp(155px, 34vw, 220px);
    min-height: 0;
  }
  .landing-ask-ai__content {
    width: 100%;
    /* Keep a 16px gap below both 4:3 photos before any localized text. */
    padding-top: max(calc(var(--ask-photo-one-width) * 0.75 + 4px), calc(var(--ask-photo-three-width) * 0.75 + 24px));
    padding-bottom: clamp(90px, 20vw, 125px);
  }
  .landing-ask-ai__photo--one {
    top: -12px;
    left: 5vw;
    width: var(--ask-photo-one-width);
  }
  .landing-ask-ai__photo--three {
    top: 8px;
    right: -10vw;
    width: var(--ask-photo-three-width);
  }
  .landing-ask-ai__photo--two {
    bottom: -52px;
    left: 16vw;
    width: clamp(160px, 38vw, 230px);
  }
}

@media (max-width: 620px) {
  .landing-ask-ai__eyebrow { margin-bottom: 14px; }
  .landing-ask-ai__description { margin-top: 16px; }
  .landing-ask-ai__links { margin-top: 22px; }
  .landing-ask-ai__links { gap: 14px; }
  .landing-ask-ai__link {
    min-width: 0;
    padding: 12px 16px;
    font-size: 14px;
  }
  .landing-ask-ai__link img {
    width: 20px;
    height: 20px;
    flex-basis: 20px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .landing-ask-ai__link,
  .landing-ask-ai__link img { transition: none; }
}
