@font-face {
  font-family: "Space Mono";
  font-style: normal;
  font-display: swap;
  font-weight: 400;
  src: url("../fonts/space-mono-latin-400-normal.ttf")
    format("truetype");
}

.hero--globe {
  position: relative;
  z-index: 1;
  min-height: 958px;
  overflow: visible;
  isolation: isolate;
}

.hero-globe__content {
  position: relative;
  z-index: 2;
  width: min(100% - 48px, 1260px);
  margin-inline: auto;
  padding-top: 78px;
  text-align: center;
}

.hero--globe .hero-globe__content h1 {
  max-width: none;
  margin: 0;
  color: var(--ink);
  font-family: var(--statement);
  font-size: clamp(58px, 5.7vw, 82px);
  font-variation-settings: "wght" 760;
  line-height: 0.96;
  letter-spacing: -0.055em;
  text-wrap: balance;
}

.hero--globe .hero-globe__content h1 span {
  display: block;
}

.hero-globe__lead {
  max-width: 1020px;
  margin: 24px auto 26px;
  color: var(--ink);
  font-family: var(--body);
  font-size: 22px;
  font-variation-settings: "wght" 450;
  line-height: 1.38;
  text-wrap: balance;
}

.hero-globe__window {
  white-space: nowrap;
}

.hero-globe__cta {
  min-width: 332px;
  min-height: 62px;
  padding-inline: 28px;
  font-size: 17px;
}

.hero-globe__support {
  width: fit-content;
  max-width: 100%;
  margin: 15px auto 0;
  padding-top: 10px;
  border-top: 1px solid var(--rule-dark);
  color: rgba(6, 11, 11, 0.72);
  font-family: "Space Mono", ui-monospace, monospace;
  font-size: 10px;
  line-height: 1.35;
  letter-spacing: -0.02em;
}

.hero-globe {
  position: absolute;
  z-index: 1;
  right: 0;
  bottom: -40px;
  left: 0;
  height: 520px;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
    to bottom,
    #000 0,
    #000 calc(100% - 14px),
    transparent 100%
  );
  mask-image: linear-gradient(
    to bottom,
    #000 0,
    #000 calc(100% - 14px),
    transparent 100%
  );
}

.hero-globe::after {
  position: absolute;
  z-index: 3;
  right: 0;
  bottom: 0;
  left: 0;
  height: 48px;
  content: "";
  background: var(--night);
  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000 14%,
    #000 100%
  );
  mask-image: linear-gradient(
    to bottom,
    transparent 0,
    #000 14%,
    #000 100%
  );
}

.hero-globe__fallback,
.hero-globe__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero-globe__fallback {
  z-index: 1;
}

.hero-globe__fallback-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center top;
}

.hero-globe__canvas {
  z-index: 2;
  opacity: 0;
}

.hero-globe[data-globe-ready="true"] .hero-globe__fallback {
  visibility: hidden;
}

.hero-globe[data-globe-ready="true"] .hero-globe__canvas {
  opacity: 1;
}

@media (max-width: 680px) {
  .hero--globe {
    min-height: 810px;
  }

  .hero-globe__content {
    width: min(100% - 40px, 390px);
    padding-top: 46px;
  }

  .hero--globe .hero-globe__content h1 {
    font-size: clamp(42px, 12vw, 48px);
    line-height: 0.98;
    letter-spacing: -0.05em;
  }

  .hero-globe__lead {
    max-width: 350px;
    margin: 18px auto 22px;
    font-size: 18px;
    line-height: 1.4;
  }

  .hero-globe__cta {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    padding-inline: 20px;
    font-size: 16px;
  }

  .hero-globe__support {
    max-width: 310px;
    margin-top: 12px;
    padding-top: 8px;
    font-size: 9px;
  }

  .hero-globe {
    bottom: -28px;
    height: 360px;
  }

  .hero-globe::after {
    height: 40px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-globe__canvas {
    display: none;
  }
}
