.home-hero {
  position: relative;
  overflow: hidden;
  padding: 5rem 2rem 4rem;
  background:
    radial-gradient(circle at 85% 20%, rgba(245, 173, 165, 0.55), transparent 45%),
    radial-gradient(circle at 10% 90%, rgba(125, 157, 122, 0.18), transparent 40%),
    linear-gradient(180deg, var(--bg) 0%, var(--rose) 100%);
}

.home-hero-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
  gap: 3rem;
  align-items: center;
}

.eyebrow {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  margin-bottom: 1.25rem;
  border-radius: 999px;
  background: rgba(176, 69, 62, 0.1);
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 600;
}

.home-hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.75rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
}

.home-hero-lead {
  font-size: 1.1rem;
  color: var(--text-light);
  max-width: 34rem;
  margin-bottom: 2rem;
}

.home-hero .app-badges {
  justify-content: flex-start;
}

.home-hero-phones {
  position: relative;
  min-height: 560px;
}

.phone {
  border-radius: 36px;
  padding: 8px;
  background: #1f1b1a;
  box-shadow: 0 30px 60px rgba(110, 36, 29, 0.25);
}

.phone img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 29px;
}

.home-hero-phones .phone {
  position: absolute;
  width: 260px;
}

.phone--front {
  inset-inline-start: 38%;
  top: 0;
  z-index: 2;
}

.phone--back {
  inset-inline-start: 4%;
  top: 60px;
  transform: rotate(-6deg);
  opacity: 0.95;
}

.how {
  padding: 5rem 2rem;
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.how h2 {
  font-size: 2.25rem;
  margin-bottom: 3rem;
}

.how-steps {
  --min: 260px;
  gap: 2.5rem;
}

.how-step .phone {
  width: 220px;
  margin: 0 auto 1.75rem;
}

.how-step h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.how-step p {
  color: var(--text-light);
  max-width: 22rem;
  margin: 0 auto;
}

.how-steps {
  counter-reset: step;
}

.how-step {
  counter-increment: step;
}

.how-step h3::before {
  content: counter(step);
  display: grid;
  place-items: center;
  width: 2rem;
  height: 2rem;
  margin: 0 auto 0.75rem;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 1rem;
}

@media (max-width: 900px) {
  .home-hero-inner {
    grid-template-columns: minmax(0, 1fr);
    text-align: center;
  }

  .home-hero-lead {
    margin-inline: auto;
  }

  .home-hero .app-badges {
    justify-content: center;
  }

  .home-hero-phones {
    min-height: 0;
  }

  .home-hero-phones .phone {
    position: static;
    margin: 0 auto;
  }

  .phone--back {
    display: none;
  }
}

@media (max-width: 480px) {
  .home-hero {
    padding: 3rem 1rem;
  }

  .home-hero-phones .phone {
    width: 220px;
  }
}
