:root {
  color-scheme: dark;
  font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-synthesis: none;
  color: #ececec;
  background: #000;
  -webkit-font-smoothing: antialiased;
}

* { box-sizing: border-box; }
body { margin: 0; }

.layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  align-items: center;
  gap: clamp(3rem, 7vw, 7rem);
  width: min(100%, 72rem);
  min-height: 100svh;
  margin-inline: auto;
  padding: 4rem clamp(1.5rem, 5vw, 4rem);
}

.screen-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}

#screen {
  display: block;
  width: min(14.5svh, 100%, 204px);
  height: auto;
  aspect-ratio: 1 / 4;
  background: #030303;
  image-rendering: pixelated;
  box-shadow:
    0 0 20px rgba(255, 255, 255, 0.038),
    0 0 72px rgba(255, 255, 255, 0.05),
    0 0 136px rgba(255, 255, 255, 0.021);
}

.copy {
  width: 100%;
  max-width: 27rem;
}

h1, p { margin: 0; }

h1 {
  font-size: 0.9375rem;
  line-height: 1.8;
  font-weight: 700;
  letter-spacing: -0.015em;
}

.description, .credit {
  color: #a0a0a0;
  font-size: 0.9375rem;
  line-height: 1.8;
  letter-spacing: -0.015em;
  text-wrap: pretty;
}

.description { margin-top: 1.25rem; }
.credit { margin-top: 1.5rem; }

a {
  display: inline-block;
  color: #d8d8d8;
  text-decoration-color: #555;
  text-underline-offset: 0.25em;
  text-decoration-thickness: 1px;
}

a:hover {
  color: #fff;
  text-decoration-color: currentColor;
}

.link-arrow {
  display: inline-block;
  margin-left: 0.2em;
  font-size: 0.8em;
}

.signup {
  margin-top: 2rem;
}

input {
  min-height: 2.875rem;
  border: 1px solid #303030;
  border-radius: 4px;
  font: inherit;
  font-size: 0.8125rem;
}

input {
  min-width: 0;
  width: 100%;
  padding: 0.75rem;
  color: #ececec;
  background: #0b0b0b;
}

input::placeholder { color: #858585; }

:focus-visible {
  outline: 2px solid #bfbfbf;
  outline-offset: 4px;
}

.form-message {
  min-height: 1.6em;
  margin-top: 0.75rem;
  color: #858585;
  font-size: 0.75rem;
  line-height: 1.6;
}

.form-message.error { color: #e9aaa2; }
.form-message:empty { display: none; }

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

@media (max-width: 680px) {
  .layout {
    grid-template-columns: minmax(0, 1fr);
    gap: 3.5rem;
    padding-block: 3.5rem 2.5rem;
  }

  #screen { width: min(11svh, 26vw, 112px); }
  .copy { justify-self: center; }
}
