:root {
  color-scheme: dark;
  --page-bg: #000;
  --text: rgba(235, 235, 235, 0.79);
  --muted: rgba(235, 235, 235, 0.72);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  background: var(--page-bg);
  color: var(--text);
  font-family: Blinker, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

.page-shell {
  min-height: 100svh;
  background: #000;
}

.hero {
  display: grid;
  align-content: start;
  justify-items: center;
  gap: 1.25rem;
  min-height: 100svh;
  width: 100%;
  margin: 0 auto;
  padding: 10.625rem clamp(2.375rem, 3vw, 4rem) 4rem;
  text-align: center;
}

.visual {
  width: min(100%, 73.125rem);
  height: 25rem;
  background: #010101;
  overflow: hidden;
}

#sphere-canvas {
  display: block;
  width: 100%;
  height: 100%;
}

.content {
  display: grid;
  justify-items: center;
  gap: 1.625rem;
  width: min(100%, 56rem);
}

.intro {
  max-width: none;
  margin: 0;
  color: var(--text);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.9;
  white-space: nowrap;
}

.signup {
  display: grid;
  place-items: center;
  position: relative;
  width: min(100%, 41.25rem);
  min-height: 13rem;
  background: #010101;
  overflow: hidden;
}

.signup::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 1.75rem;
  background: #010101;
  content: "";
  pointer-events: none;
}

.beehiiv-embed {
  width: min(100%, 41.25rem);
  height: 13rem;
  margin: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
}

.email {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.6;
  margin-top: -0.7rem;
  text-decoration: none;
  transition: color 160ms ease;
}

.email:hover,
.email:focus-visible {
  color: #fff;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 40rem) {
  .hero {
    gap: 1rem;
    padding: 2rem 1rem;
  }

  .visual {
    width: 100%;
    height: 16rem;
  }

  .content {
    gap: 1rem;
  }

  .intro {
    white-space: normal;
  }

  .signup {
    min-height: 17rem;
  }

  .beehiiv-embed {
    height: 19rem;
  }
}
