@font-face {
  font-family: "ABC Monument Grotesk Mono";
  src: url("/fonts/ABCMonumentGroteskMono-Regular.woff2") format("woff2");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  margin: 0;
  min-height: 100vh;
}

html::selection {
  background-color: #d4d4d47e;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #000;
}

.hero {
  position: fixed;
  inset: 0;
  z-index: 0;
  background-color: var(--hero-background, #000);
  pointer-events: none;
}

.hero canvas {
  display: block;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 600ms ease-out;
}

.hero.is-ready canvas,
.hero.is-ready {
  opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
  .hero canvas {
    transition-duration: 1ms;
  }
}

.lockup-container {
  position: relative;
  z-index: 1;
  padding: 1rem;
  --corner-arm: 12px;
  --corner-thickness: 1px;
  max-width: calc(100vw - 3rem);
}

.corner {
  position: absolute;
  z-index: 2;
  width: var(--corner-arm);
  height: var(--corner-arm);
  pointer-events: none;
}

.corner-tl {
  top: calc(var(--corner-arm) * -1);
  left: calc(var(--corner-arm) * -1);
  border-right: var(--corner-thickness) solid #fff;
  border-bottom: var(--corner-thickness) solid #fff;
}

.corner-tr {
  top: calc(var(--corner-arm) * -1);
  right: calc(var(--corner-arm) * -1);
  border-bottom: var(--corner-thickness) solid #fff;
  border-left: var(--corner-thickness) solid #fff;
}

.corner-bl {
  bottom: calc(var(--corner-arm) * -1);
  left: calc(var(--corner-arm) * -1);
  border-top: var(--corner-thickness) solid #fff;
  border-right: var(--corner-thickness) solid #fff;
}

.corner-br {
  bottom: calc(var(--corner-arm) * -1);
  right: calc(var(--corner-arm) * -1);
  border-top: var(--corner-thickness) solid #fff;
  border-left: var(--corner-thickness) solid #fff;
}

.lockup {
  position: relative;
  z-index: 1;
  font-family: "ABC Monument Grotesk Mono", "SF Mono", Consolas, monospace;
  font-size: clamp(0.75rem, 2vw, 0.95rem);
  font-weight: 400;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.25;
  text-align: left;
  width: 100%;
  max-width: 100%;
}

.lockup-content {
  position: relative;
  z-index: 1;
  display: flex;
}

.lockup p {
  margin: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  opacity: 0.85;
}

a:focus-visible {
  outline: 2px solid currentColor;
}

a:focus {
  outline: none;
}

#signup-form {
  display: inline;
  position: relative;
}

#signup-email {
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  outline: none;
  width: 100%;
  cursor: pointer;
}

#signup-email::placeholder {
  color: inherit;
  opacity: 1;
}

#signup-email:focus,
#signup-email:not(:placeholder-shown) {
  cursor: text;
  border-bottom: 1px solid currentColor;
}

#signup-submit {
  position: absolute;
  right: 0;
  appearance: none;
  -webkit-appearance: none;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  margin-left: 0.5ch;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: inherit;
  outline: none;
  cursor: pointer;
}

#signup-submit:hover {
  opacity: 0.85;
}

.logo {
  flex-shrink: 0;
  height: auto;
  width: 100%;
  max-width:100%;
  margin-bottom: 1rem;
}

@media (max-width: 620px) {
  .logo {
    width: 70vw;
  }
}

.lockup-header {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 1ch 0.25rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.lockup-lines {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1rem 0;
}

@media (min-width: 470px) {
  .lockup-lines {
    gap: 0;
  }
}

.lockup-mark {
  flex-shrink: 0;
  height: 2rem;
  width: auto;
  display: none;
}

@media (min-width: 470px) {
  .lockup-mark {
    display: block;
  }
}

.lockup-line {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

@media (min-width: 470px) {
  .lockup-line {
    display: grid;
    white-space: nowrap;
    grid-template-columns: 15ch 1fr;
    gap: 1ch;
  }
}

#signup-msg {
  position: absolute;
  bottom: -1.5em;
  left: 0;
}
