:root {
  scroll-behavior: smooth;
}

* {
  letter-spacing: 0 !important;
}

body {
  min-width: 320px;
}

section[id] {
  scroll-margin-top: 92px;
}

.brand-lockup {
  min-width: 0;
}

.brand-lockup img {
  flex: 0 0 auto;
}

.hero-title {
  font-size: 3.5rem !important;
}

.hero-brand-visual {
  display: grid;
  min-height: 420px;
  place-items: center;
}

.hero-globe {
  position: relative;
  width: min(100%, 520px);
  aspect-ratio: 1;
  margin: auto;
  cursor: grab;
  touch-action: pan-y;
}

.hero-globe:active {
  cursor: grabbing;
}

.hero-globe canvas {
  display: block;
  width: 100%;
  height: 100%;
  contain: layout paint size;
  cursor: inherit;
}

.hero-globe-fallback {
  display: none;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.hero-globe.is-fallback canvas {
  display: none;
}

.hero-globe.is-fallback .hero-globe-fallback {
  display: block;
}

.theme-icon {
  font-size: 1.15rem;
  line-height: 1;
}

.mobile-menu[hidden] {
  display: none;
}

main h2 {
  font-size: 2.8rem !important;
}

@media (max-width: 1023px) {
  .hero-brand-visual {
    min-height: 260px;
  }

  .hero-globe {
    width: min(74vw, 300px);
  }
}

@media (max-width: 767px) {
  #home {
    padding-top: 2rem;
    padding-bottom: 1.75rem;
  }

  #quickstart {
    padding-top: 1.5rem;
  }

  .hero-title {
    max-width: 14ch !important;
    font-size: 2.45rem !important;
  }

  main h2 {
    font-size: 2rem !important;
  }

  .hero-brand-visual {
    min-height: 150px;
  }

  .hero-globe {
    width: min(48vw, 170px);
  }

  .hero-actions {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 0.65rem !important;
  }

  .hero-actions a {
    justify-content: center;
    min-width: 0;
    padding-inline: 0.75rem;
    text-align: center;
  }

  .hero-actions a:last-child {
    grid-column: 1 / -1;
  }
}
