:root {
  --white: #fff;
  --black: #080808;
  --green: #31473A;
  --grey: #EDF4F2;
}

* {
  font-family: "Mona Sans", sans-serif;
  font-size-adjust: none;
  text-size-adjust: 100%;
  font-kerning: auto;
  font-style: normal;
  font-stretch: normal;
  font-optical-sizing: auto;
  font-stretch: 100%;
  color: var(--white);
  box-sizing: border-box;
}

body {
  display: flex;
  flex-direction: column;
  background-color: var(--black);
  padding: 5vw 5vw;
  margin: 0;
  min-height: 100vh;
}

main {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  flex: 1;
}

.title {
  max-width: 66vw;
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

span.overline {
  position: relative;
  font-size: 0.66rem;
  font-weight: 400;
  border: 1px solid var(--grey);
  border-radius: 8px;
  padding: 0.5em 1em;
  color: var(--grey);
  align-self: flex-start;
}

h1 {
  font-weight: 900;
  font-stretch: 100%;
  letter-spacing: -1px;
  font-size: 4rem;
  line-height: 1em;
  margin: 0;
  padding: 0;
}

.signup {
  align-self: flex-end;
  max-width: 50vw;
}

p {
  font-weight: 400;
  font-size: 1rem;
  line-height: 1.4em;
  margin: 0;
  padding: 0;
}

form {
  display: flex;
  flex-direction: column;
  gap: 1.5em;
}

input {
  padding: 1em;
  border-bottom: 1px solid var(--grey);
  font-size: 1.5rem;
  background: transparent;
  color: var(--white);
  padding: 0 0 0.5em 0;
  margin: 0;
  border-left-style: none;
  border-right-style: none;
  border-top-style: none;
  flex: 1;
}

input:focus {
  outline: none;
  background: transparent;
}

button {
  background: var(--grey);
  color: var(--black);
  border: none;
  padding: 1em 2em;
  border-radius: 1em;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  align-self: flex-end;
}

button:active {
  background: var(--grey);
}

.email {
  display: flex;
  flex-direction: row;
  align-items: flex-end;
  gap: 1.5em;
}

@media only screen and (max-width: 1000px) {
  body {
    padding: 10vw;
    height: 100svh;
    min-height: 100svh;
    max-height: 100svh;
  }
  .title {
    max-width: 100vw;
  }

  .signup {
    max-width: 100vw;
    width: 100%;
  }

  h1 {
    font-size: 3rem;
  }

  .email {
    flex-direction: column;
  }

  button {
    align-self: flex-start;
  }

  input {
    width: 100%;
  }
}