@import url('https://fonts.googleapis.com/css2?family=Kumbh+Sans:wght@400;700&display=swap');

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

body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

ul[role='list'],
ol[role='list'] {
  list-style: none;
}

html:focus-within {
  scroll-behavior: smooth;
}

a:not([class]) {
  text-decoration-skip-ink: auto;
}

img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

body {
  background: linear-gradient(135.33deg, #3F116C 3.75%, #133F73 80.39%);
  color: #fff;
  font-family: 'Kumbh Sans', sans-serif;
  line-height: 1.5;
  min-height: 100vh;
  text-rendering: optimizeSpeed;
}

.wrapper {
  margin: 0 auto;
  max-width: 1240px;
  padding: 0 24px;
  text-align: center;
}

.title {
  font-size: 32px;
  font-weight: 700;
  margin: 0;
  padding: 0;
}

.tagline {
  font-size: 18px;
  line-height: 1.5;
  margin: 0;
  opacity: 0.8;
  padding: 0;
}

.features {
  display: flex;
  flex-wrap: wrap;
  list-style-type: none;
  margin: 0 -10px;
  padding: 0;
}

.features li {
  flex: 0 0 100%;
  padding: 10px;
}

.features figure {
  align-items: center;
  background: rgba(255, 255, 255, 0.1);;
  border-radius: 999em;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.15);
  display: flex;
  height: calc(50vw - 24px - 20px);
  justify-content: center;
  margin: 0 auto;
  max-height: 200px;
  max-width: 200px;
  padding: 0;
  width: calc(50vw - 24px - 20px);
}

.features p {
  color: #BDD7ED;
  font-weight: 700;
  margin: 0;
  padding: 0;
}

.signup {
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);;
  margin: 0 auto;
  max-height: 280px;
  max-width: 780px;
  padding: 56px 24px;
  position: relative;
}

.signup-title {
  color: #BDD7ED;
  font-size: 14px;
  line-height: 1.333;
  margin: 0;
  padding: 0;
}

.signup-group {
  position: relative;
  margin: 0 auto;
  max-width: 620px;
}

.signup-button {
  position: absolute;
  right: 0;
}

.signup-star {
  position: absolute;
  left: 50%;
  transform: translate3d(-50%, calc(-60% - 24px), 0px);
}

.signup input[type="email"] {
  background: #fff;
  border: none;
  border-radius: 999em;
  font-size: 14px;
  padding: 17px 24px 16px;
  width: 100%;
}

.signup-button {
  background: #FFC700;
  border-radius: 999em;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 700;
  padding: 12px 20px 11px;
  right: 10px;
  text-transform: uppercase;
  top: 8px;
}

@media only screen and (min-width: 768px) {
  .wrapper {
    padding: 88px 0 140px;
  }

  .title {
    font-size: 72px;
    margin-bottom: 8px;
  }

  .tagline {
    font-size: 28px;
    margin-bottom: 52px;
  }

  .features {
    margin-bottom: 94px;
  }

  .features li {
    flex: 0 0 25%;
  }

  .features p {
    font-size: 20px;
  }

  .features figure {
    height: 200px;
    margin-bottom: 27px;
    width: 200px;
  }

  .signup {
    padding: 56px 24px 66px;
  }

  .signup-group {
    margin: 0 auto;
  }

  .signup-star {
    transform: translate3d(-50%, calc(-60% - 56px), 0px);
  }

  .signup-title {
    font-size: 22px;
    margin-bottom: 39px;
  }

  .signup input[type="email"] {
    font-size: 18px;
  }
}
