/* ClearGrow coming-soon page, main page only: hero, how it works,
   questions and why. Screens and the demo: screens.css. Tokens and shared parts: styles.css. */

/* Hero */
.hero {
  padding: 4rem 0 4.5rem;
  background: linear-gradient(180deg, var(--tint) 0%, var(--white) 100%);
}

.hero-grid {
  display: grid;
  gap: 3rem;
  align-items: center;
}

h1 {
  font-size: clamp(2rem, 4.5vw + 0.5rem, 3.2rem);
  max-width: 20ch;
}

.lead {
  margin-top: 1.25rem;
  max-width: 38rem;
  color: var(--grey-60);
  font-size: 1.125rem;
}

.facts {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 1.5rem 0 0;
  padding: 0;
  list-style: none;
}

.facts li {
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  background: var(--tint-strong);
  font-size: 0.9375rem;
  font-weight: 600;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero-art {
  position: relative;
  display: grid;
  place-items: center;
  width: min(100%, 14rem);
  aspect-ratio: 1;
  margin: 0 auto;
  /* the logo on a soft green glow (owner msg 1481) */
  background: radial-gradient(circle, rgb(34 204 106 / 0.28) 0%, rgb(34 204 106 / 0.1) 38%, transparent 68%);
}

.hero-art img {
  position: relative;
  width: 62%;
  min-width: 48px;
}

/* On a phone the decorative icon would push the signup form down a screen. */
@media (max-width: 559px) {
  .hero {
    padding: 2.5rem 0 3rem;
  }

  .hero-art {
    display: none;
  }
}

@media (min-width: 880px) {
  .hero {
    padding: 5.5rem 0 6rem;
  }

  .hero-grid {
    grid-template-columns: 1.3fr 1fr;
  }

  .hero-art {
    width: min(100%, 22rem);
  }
}

/* How it works */
.steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 15rem), 1fr));
  gap: 1.5rem;
  margin-top: 2.5rem;
  counter-reset: step;
}

.steps li {
  counter-increment: step;
}

.steps li::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  margin-bottom: 1rem;
  border: 2px solid var(--green);
  border-radius: 50%;
  background: var(--tint);
  font-weight: 600;
}

.steps h3 {
  font-size: 1.125rem;
}

.steps p {
  margin-top: 0.5rem;
  color: var(--grey-60);
}

/* FAQ, why */
.faq details {
  max-width: 48rem;
  border-bottom: 1px solid var(--grey-20);
}

.faq h2 + details {
  margin-top: 1.5rem;
  border-top: 1px solid var(--grey-20);
}

.faq summary {
  padding: 1rem 0;
  font-weight: 600;
  cursor: pointer;
}

.faq details p {
  padding-bottom: 1rem;
  color: var(--grey-60);
}

/* The app's screens, under the controller's, in the merged "See it and try it" section */
.shots-title {
  margin-top: 3rem;
  font-size: 1.25rem;
}
