:root {
  --bg: #000;
  --line: rgba(255, 255, 255, 0.12);
  --text: rgba(255, 255, 255, 0.88);
  --white: #fff;
  --green: rgb(87, 219, 153);
  --gutter: 48px;
  --column: 480px;
  --content: 432px;
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  margin: 0;
  background: var(--bg);
}

body,
input,
button {
  -webkit-font-smoothing: antialiased;
  font-family: "JetBrains Mono", monospace;
}

.page {
  width: 100%;
  min-height: 924px;
  overflow-x: hidden;
  background: var(--bg);
  color: var(--text);
}

.row {
  position: relative;
  display: grid;
  grid-template-columns: var(--gutter) var(--column) 1fr;
  width: 100%;
  border-top: 1px solid var(--line);
}

.copy + .spacer.tiny,
.spacer.tiny + .copy,
.heading-row + .copy,
.spacer.small,
.spacer.small + .copy,
.spacer.contact-gap,
.spacer.contact-gap + .contact-row {
  border-top-color: transparent;
}

.row::before,
.row::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--line);
}

.row::before {
  left: var(--gutter);
}

.row::after {
  left: calc(var(--gutter) + var(--column));
}

.spacer.top {
  height: 24px;
}

.spacer.mid {
  height: 24px;
}

.spacer.tiny {
  height: 8px;
}

.spacer.small {
  height: 8px;
}

.spacer.section-gap {
  height: 24px;
}

.spacer.contact-gap {
  height: 8px;
}

.spacer.after-contact {
  height: 48px;
}

.spacer.bottom {
  height: 143px;
}

.logo-row {
  height: 48px;
  align-items: center;
}

.brand {
  width: max-content;
  margin: 0;
  color: var(--white);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: -1.44px;
  line-height: 48px;
  transform: scaleX(1.12);
  transform-origin: left center;
}

.copy {
  align-items: end;
}

.copy p,
.contact p {
  width: var(--content);
  margin: 0;
  color: var(--text);
  font-size: 13px;
  font-weight: 400;
  letter-spacing: -0.78px;
  line-height: 20px;
}

.copy.short {
  height: 40px;
}

.copy.tall {
  height: 60px;
}

.copy.line {
  height: 20px;
}

.heading-row {
  height: 24px;
  align-items: end;
}

h1,
h2 {
  width: var(--content);
  margin: 0;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -1.28px;
  line-height: 24px;
  text-transform: uppercase;
}

.form-row {
  height: 54px;
  align-items: stretch;
}

.signup {
  display: flex;
  gap: 12px;
  width: calc(var(--column) - 4px);
}

.signup input,
.signup button {
  height: 54px;
  border: 0;
  border-radius: 32px;
  outline: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.64px;
  line-height: 16px;
}

.signup input {
  min-width: 0;
  flex: 1;
  padding: 16px;
  background: rgba(235, 235, 235, 0);
  color: var(--white);
  box-shadow: inset 0 0 0 0 var(--green);
  transition: box-shadow 120ms ease;
}

.signup input:focus,
.signup input:active {
  box-shadow: inset 0 0 0 4px var(--green);
}

.signup input::placeholder {
  color: rgba(255, 255, 255, 0.32);
  opacity: 1;
}

.signup button {
  flex: 0 0 121px;
  padding: 14px 20px;
  cursor: pointer;
  background: var(--green);
  color: #000;
}

.contact-row {
  height: 40px;
  align-items: end;
}

.contact {
  width: var(--content);
}

a {
  color: var(--white);
  text-decoration: none;
}

a[href*="twitter"] {
  text-decoration: underline;
}

.marks-row {
  height: 72px;
  align-items: center;
}

.marks-row video {
  display: block;
  width: 140px;
  height: 105px;
  margin-top: -17px;
  object-fit: cover;
}

@media (max-width: 1199px) {
  :root {
    --gutter: 24px;
    --column: calc(100vw - 48px);
    --content: 100%;
  }

  .page {
    width: 390px;
    max-width: 100vw;
    min-height: 924px;
  }

  .row {
    grid-template-columns: var(--gutter) minmax(0, var(--column)) 1fr;
  }

  .signup {
    width: 100%;
    padding-right: 24px;
  }

  .copy p,
  .contact,
  .contact p,
  h1,
  h2 {
    width: 100%;
  }

  .copy,
  .heading-row,
  .contact-row {
    padding-right: 24px;
  }

  .copy.short {
    height: auto;
    min-height: 40px;
  }

  .copy.tall {
    height: auto;
    min-height: 60px;
  }

  .copy.line {
    height: auto;
    min-height: 20px;
  }

  .contact-row {
    height: auto;
    min-height: 40px;
  }
}

@media (max-width: 430px) {
  .page {
    width: 100%;
  }

  .brand {
    font-size: 23px;
  }

  .signup {
    gap: 8px;
  }

  .signup input,
  .signup button {
    font-size: 14px;
  }

  .signup button {
    flex-basis: 112px;
    padding-inline: 14px;
  }
}
