.hero {
  position: relative;
  padding: 1.5rem 0 0;
  overflow: hidden;
  background: var(--color-white);
}

.hero__grid {
  display: grid;
  gap: 2rem;
  align-items: center;
}

.hero__copy {
  max-width: 36rem;
}

.hero__title {
  font-size: var(--fs-hero);
  margin-bottom: 1.1rem;
}

.hero__text {
  font-size: 1.05rem;
  max-width: 40ch;
  color: var(--color-text);
  margin-bottom: 1.75rem;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.hero__visual {
  position: relative;
  min-height: 280px;
}

.hero__visual img,
.hero__visual svg,
.hero__frame {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  object-position: right center;
  border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
}

.hero__frame {
  position: relative;
  overflow: hidden;
  background: #dfe7ef;
}

.hero__fade {
  position: absolute;
  inset: 0 auto 0 0;
  width: 28%;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0));
  pointer-events: none;
}

.hero__mark {
  position: absolute;
  right: 8%;
  top: 10%;
  width: 86px;
  opacity: 0.28;
  pointer-events: none;
}

.benefits {
  padding: 1.75rem 0 2.5rem;
}

.benefits__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  padding-top: 0.5rem;
}

.benefit {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
}

.benefit__icon {
  width: 42px;
  height: 42px;
  color: var(--color-secondary);
  flex-shrink: 0;
}

.benefit strong {
  display: block;
  color: var(--color-heading);
  font-size: 0.95rem;
}

.benefit span {
  display: block;
  font-size: 0.85rem;
  color: var(--color-muted);
}

@media (min-width: 768px) {
  .hero {
    padding-top: 0.5rem;
  }

  .hero__grid {
    grid-template-columns: 1.05fr 0.95fr;
    min-height: 520px;
    gap: 1rem;
  }

  .benefits__grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
  }
}

@media (min-width: 1024px) {
  .hero__visual {
    margin-right: calc((100vw - min(100vw, var(--container-width))) / -2);
  }

  .hero__frame,
  .hero__visual img,
  .hero__visual svg {
    min-height: 560px;
    border-radius: 0 0 0 8px;
  }

  .benefit strong {
    font-size: 1.05rem;
  }

  .benefit span {
    font-size: 0.92rem;
  }
}
