/* Update ticker labels on the static illustrations without changing their size. */
figure:has(> img[src="/landing/cta-light.noesis.png"]),
div:has(> img[src="/landing/api-usecase-1.webp"]),
div:has(> img[src="/landing/api-usecase-3.webp"]) {
  position: relative;
  container-type: inline-size;
}

.dark figure:has(> img[src="/landing/cta-light.noesis.png"])::after {
  content: "HYPE";
  position: absolute;
  top: 51.9cqw;
  left: 14.95%;
  width: 10.8%;
  padding: .26cqw 0 .26cqw .45cqw;
  background: #121212;
  color: #e6f8f7;
  font: 700 1.5cqw/1.2 system-ui, sans-serif;
}

div:has(> img[src="/landing/api-usecase-1.webp"])::before,
div:has(> img[src="/landing/api-usecase-1.webp"])::after,
div:has(> img[src="/landing/api-usecase-3.webp"])::after {
  position: absolute;
  z-index: 1;
  pointer-events: none;
  white-space: nowrap;
}

div:has(> img[src="/landing/api-usecase-1.webp"])::before {
  content: "HYPE - 1H";
  top: 9.65cqw;
  left: 21.95%;
  padding: .2cqw .4cqw;
  transform: rotate(4deg);
  background: #1b1b1b;
  color: #aaa;
  font: 1.45cqw/1.5 system-ui, sans-serif;
}

div:has(> img[src="/landing/api-usecase-1.webp"])::after {
  content: '"HYPE",';
  top: 15.8cqw;
  left: 79.65%;
  padding: .1cqw .35cqw;
  background: #191919;
  color: #aaa;
  font: 1.3cqw/1.45 monospace;
}

div:has(> img[src="/landing/api-usecase-1.webp"].scale-125)::before {
  top: calc(.75rem + 8.1cqw);
  left: 14.9%;
  font-size: 1.8cqw;
}

div:has(> img[src="/landing/api-usecase-1.webp"].scale-125)::after {
  top: calc(.75rem + 15.75cqw);
  left: 87.05%;
  font-size: 1.62cqw;
}

div:has(> img[src="/landing/api-usecase-3.webp"])::after {
  content: "HYPE market liquidity shifts";
  top: calc(.75rem + 9.7cqw);
  left: 49.2%;
  width: 33%;
  padding: .25cqw .45cqw;
  background: #0a2019;
  color: #e6f8f7;
  font: 1.62cqw/1.3 system-ui, sans-serif;
}
