/* The page's sections below the hero: how it works, the widget, closing and the privacy page. */
/* How it works: phone and text side by side, swapping sides each step */
.step-text p,
.widget-text p,
.closing p,
.signup-text p {
  margin: 0;
  color: var(--muted);
}

/* A short intro before "How it works", with Māui reading upside down beside it */
.intro-band {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: 36px;
  padding: 36px;
  border-radius: 20px;
  background: var(--lavender);
}

.intro-band h2 {
  font-size: clamp(28px, 4.5vw, 40px);
}

.intro-band p {
  margin: 14px 0 0;
  max-width: 34em;
  color: var(--muted);
  font-size: 19px;
}

.intro-avatar {
  justify-self: center;
  width: min(100%, 220px);
  height: auto;
}

.flow {
  padding-top: 72px;
}

.steps {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 88px;
}

.step {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 36px;
}

.step:nth-child(even) .step-phone {
  order: 2;
}

.step-text {
  max-width: 26em;
}

.step-number {
  display: inline-grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--pink);
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 16px;
}

.step-text h3 {
  font-size: clamp(26px, 3.5vw, 34px);
  margin-bottom: 12px;
}

/* Closing */
.closing {
  margin: 110px 0 64px;
  padding: 48px 22px;
  text-align: center;
  background: var(--lavender);
  border-radius: 20px;
}

.closing p {
  max-width: 40ch;
  margin: 12px auto 24px;
}

.closing .stores {
  justify-content: center;
}

/* Step 6: cheering avatars instead of a phone */
.step-more {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.step-more img {
  border-radius: 50%;
  background: var(--pink);
  border: 4px solid var(--bg);
}

.step-more img + img {
  margin-left: -22px;
}

/* The widget on your home screen */
.widget-band {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 36px;
  margin-top: 110px;
  padding: 48px 36px;
  border-radius: 20px;
  background: var(--paper);
  border: 1px solid var(--line);
}

.widget-text p {
  margin-top: 16px;
}

/* The privacy policy page */
.policy {
  max-width: 720px;
  padding-top: 48px;
  padding-bottom: 64px;
}

.policy h2 {
  font-size: 26px;
  margin: 36px 0 10px;
}

.policy p {
  margin: 0 0 12px;
}

.policy .updated,
.policy .lead {
  color: var(--muted);
}

.policy .lead {
  font-size: 20px;
  margin-top: 20px;
}

@media (max-width: 760px) {
  .intro-band {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 28px 22px;
  }

  .intro-band p {
    margin-left: auto;
    margin-right: auto;
  }

  .intro-avatar {
    width: 160px;
  }

  .step,
  .widget-band {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .widget-band {
    padding: 36px 22px;
  }

  .step-text {
    margin-left: auto;
    margin-right: auto;
  }

  .step:nth-child(even) .step-phone {
    order: 0;
  }

  .step-more img {
    width: 96px;
    height: 96px;
  }
}
