section#hero-text {
  text-align: left;
  margin-bottom: 70px;
}

section#hero-text p.tagline {
  margin: 0 auto;
  font-family: var(--typeface-serif);
  font-weight: 600;
  font-size: 100px;
  line-height: 100%;
  margin-bottom: 14px;
  color: var(--text-bright);
}

section#hero-text em {
  color: var(--text-highlight);
  background-color: rgba(255,255,255,0.1);
  font-style: normal;
}

section#hero-text p.subline  {
  max-width: 1200px;
  font-family: var(--typeface-sans);
  font-size: 30px;
  font-weight: 500;
  line-height: 140%;
  color: var(--text-bright);
}

#homepage-whatsnew a {
  font-size: 18px;
  color: var(--text-bright);
  display: inline-block;
  padding: 7px 15px 7px 17px;
  margin-bottom: 15px;
  border-radius: 30px;
  background-color: #2F2A39;
  box-shadow: 0px 0px 4px rgba(0,0,0,0.4);
}

#homepage-whatsnew a:hover {
  color: var(--text-highlight);
}

section#hero-video {
  width: 100%;
  margin-bottom: 28px;
}

section#hero-video video {
  width: 100%;
  border-radius: 16px;
  box-shadow: 0px 4px 150px rgba(87, 73, 108, 0.3), 0px 0px 20px rgba(0, 0, 0, 0.5);
}

section.features {
  margin-top: 180px;
}

section.features .preamble {
  max-width: 925px;
  margin-bottom: 90px;
  font-weight: 500;
}

section.features .preamble p {
  font-size: 30px;
}

section.features .preamble p strong {
  color: var(--text-highlight);
}

section.features .feature-grid figure {
  max-width: 1200px;
  display: flex;
  align-items: center;
  padding-bottom: 90px;
}

section.features .feature-grid video {
  max-height: 450px;
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
}

section.features .feature-grid figcaption {
  width: 50%;
  padding-left: 40px;
}

section.features .feature-grid figcaption h2 {
  margin-top: 0;
}

section.features .feature-grid figcaption h3 {
  font-size: 24px;
  font-weight: 600;
  line-height: 50px;
  background: #423D4B;
  border-radius: 50%;    /* circle */
  width: 50px;
  height: 50px;
  text-align: center;
  margin-bottom: 16px;
  font-variant-numeric: tabular-nums;
}

/* on narrow screens, video+description switches from side-by-side to vertical, remove digits */
@media only screen and (max-width: 1000px) {
  section.features .feature-grid figure {
	flex-direction: column;
	align-items: flex-start;
  }

  section.features .feature-grid figcaption {
	width: 100%;
	padding: 0;
  margin-top: 40px;
  }
  section.features .feature-grid figcaption h3 {
	display: none;
  }
}

section.features .feature-grid figcaption h2 strong {
  color: var(--text-highlight);
}

section.features .feature-grid figcaption p {
  font-weight: 400;
}

section.bottom-cta img {
  display: block;
  width: 240px;
  margin: 90px auto 180px auto;
}

/* decrease hero-text header size on narrow screens */
@media only screen and (max-width: 670px) {
  section#hero-text {
	margin-top: 10px;
  }
  section#hero-text p.tagline {
	font-size: 50px;
  }
}

/* left align text on smaller screens */
@media only screen and (max-width: 1100px) {
  section#hero-cta .buy .description, section#hero-text {
	text-align: left;
  }
  section#hero-text p {
	margin-left: 0;
	margin-right: 0;
  }
}

/* snazzy page load effect on text */
@keyframes textAppears1 {
  0% {
	transform: translateY(-20px);
	opacity: 0;
  }
  100% {
	transform: translateY(0);
	opacity: 1;
  }
}

section#hero-text {
  animation-name: textAppears1;
  animation-duration: 1.5s;
  animation-delay: 0s;
  animation-iteration-count: 1;
}

@keyframes textAppears2 {
  0% {
	transform: translateY(-10px);
	opacity: 0;
  }
  25% {
	transform: translateY(-10px);
	opacity: 0;
  }
  100% {
	opacity: 1;
  }
}

section#hero-text p.subline {
  animation-name: textAppears2;
  animation-duration: 1.5s;
  animation-iteration-count: 1;
}

#homepage-whatsnew {
  animation: fadeIn ease-in 1;
  animation-fill-mode: forwards;
  animation-duration: 1.5s;
  animation-delay: 0.6s;
  opacity: 0;
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes videoAppears {
  0% {
	opacity: 0;
	transform: scale(1.05);
  }
  50% {
	opacity: 0;
	transform: scale(1.05);
  }
  100% {
	opacity: 1;
	transform: scale(1);
  }
}

section#hero-video {
  animation-name: videoAppears;
  animation-duration: 1.5s;
  animation-iteration-count: 1;
}
