@font-face {
  font-family: 'Lexend';
  src: url('assets/Lexend-Regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

body {
  background-color: #F5F5DC;
  background-image: url('assets/beige-paper.png');
  background-repeat: repeat;
  background-size: auto;
  margin: 0;
  min-height: 100vh;
  font-family: 'Lexend';
  color: #222;
}

main {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 90vw;
  margin: 0 auto;
  padding: 32px 0;
}

p {
  font-size: 1.1rem;
  margin: 0 0 28px 0;
  text-align: center;
  color: #444;
}

#cta-button {
  display: inline-block;
  background: #222;
  color: #fff;
  font-size: 1.1rem;
  font-family: 'Lexend';
  padding: 14px 36px;
  border-radius: 32px;
  text-decoration: none;
  margin-bottom: 32px;
  margin-top: 8px;
  transition: background 0.2s;
}
#cta-button:hover, #cta-button:focus {
  background: #444;
}

#mockup {
  display: block;
  max-width: 320px;
  width: 90vw;
  margin: 18px auto 0 auto;
}

#app-title {
  font-size: 3.4rem;
  font-weight: 700;
  margin: 24px 0 10px 0;
  text-align: center;
  letter-spacing: 0.04em;
}

#tagline {
  font-size: 2.1rem;
  font-weight: 500;
  margin: 0 0 18px 0;
  text-align: center;
  line-height: 1.3;
}

#tagline-2 {
    font-size: 1.8rem;
    font-weight: 400;
    margin: 0 0 14px 0;
    text-align: center;
    line-height: 1.3;
  }

#tagline .green {
  color: #6B8E23;
}

form {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin: 16px 0 0 0;
}

form input[type="email"] {
  font-family: 'Lexend';
  font-size: 1.1rem;
  padding: 12px 18px;
  border: 1.5px solid #d1cfc7;
  border-radius: 32px;
  outline: none;
  background: #f8f7f3;
  color: #222;
  transition: border 0.2s, box-shadow 0.2s;
  min-width: 200px;
  max-width: 260px;
}

form input[type="email"]:focus {
  border: 1.5px solid #8FBC8F;
  box-shadow: 0 0 0 2px #e6f4e6;
}

form button[type="submit"] {
  font-family: 'Lexend';
  font-size: 1.1rem;
  padding: 12px 28px;
  border: none;
  border-radius: 32px;
  background: #6B8E23;
  color: #fff;
  cursor: pointer;
  transition: background 0.2s;
  font-weight: 600;
  box-shadow: 0 2px 8px rgba(143,188,143,0.07);
}

form button[type="submit"]:hover, form button[type="submit"]:focus {
  background: #8FBC8F;
}

.form-feedback {
  margin-top: 14px;
  text-align: center;
  font-size: 1.05rem;
  color: #6B8E23;
  font-family: 'Lexend';
  min-height: 1.2em;
}

@media (max-width: 600px) {
  #mockup {
    max-width: 95vw;
    margin: 14px auto 0 auto;
  }
  main {
    padding: 16px 0;
  }
  #cta-button {
    font-size: 1rem;
    padding: 12px 12px;
  }
  #app-title {
    font-size: 2.1rem;
  }
  #tagline {
    font-size: 1.35rem;
  }
  #tagline-2 {
    font-size: 1.2rem;
  }
  form {
    flex-direction: column;
    gap: 8px;
    margin: 12px 0 0 0;
  }
  form input[type="email"] {
    min-width: 0;
    width: 100%;
    max-width: 100vw;
    font-size: 1rem;
  }
  form button[type="submit"] {
    width: 100%;
    font-size: 1rem;
    padding: 12px 0;
  }
}
