.hero {
  container-type: inline-size;
  container-name: hero;
  position: relative;
  width: 100%;
  min-height: min(724px, 90svh);
  border-radius: 20px;
  overflow: hidden;
  background-color: #000000;
  box-sizing: border-box;
}

@media (min-width: 768px) {
  .hero {
    min-height: min(712px, 90svh);
  }
}

.hero__product-picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.hero__product-picture::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(54.44deg, rgba(0, 0, 0, .3) 23.079%, rgba(102, 102, 102, 0) 39.503%);
  pointer-events: none;
}

@container hero (min-width: 768px) {
  .hero__product-picture::after {
    background: linear-gradient(21.86deg, rgba(0, 0, 0, .3) 25.377%, rgba(102, 102, 102, 0) 83.012%);
  }
}

.hero__product {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  pointer-events: none;
  user-select: none;
}

.hero__grid {
  position: absolute;
  inset: 0;
  z-index: 1;
}

@container hero (min-width: 768px) {
  .hero__product {
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    object-position: center;
  }
}

.hero__content {
  position: absolute;
  bottom: 72px;
  left: 0;
  right: 0;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  color: #ffffff;
  box-sizing: border-box;
  z-index: 1;
}

@container hero (min-width: 768px) {
  .hero__content {
    position: relative;
    inset: auto;
    grid-column: 1 / span 8;
    grid-row: 1;
    align-self: end;
    max-width: none;
    margin-bottom: 128px;
    padding: 0;
    gap: 40px;
  }
}

@media (min-width: 1366px) {
  .hero__content {
    grid-column: 1 / span 7;
  }
}

.hero__eyebrow {
  font-family: 'Inter', -apple-system, 'Roboto', Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 0;
  font-feature-settings: "case" 1;
  color: #ffffff;
}

@container hero (min-width: 768px) {
  .hero__eyebrow {
    font-size: 20px;
    line-height: 24px;
  }
}

.hero__title {
  font-family: 'Proxima Nova A', -apple-system, 'Roboto', Arial, sans-serif;
  font-feature-settings: "salt" 1, "calt" 0;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -1.6px;
  color: #ffffff;
  max-height: none;
}

@media (min-width: 768px) and (max-width: 1023px) {
  .hero__title {
    font-size: 60px;
    letter-spacing: -0.05em;
  }
}

@media (min-width: 1024px) and (max-width: 1365px) {
  .hero__title {
    font-size: clamp(48px, 6vw, 100px);
  }
}

@media (min-width: 1366px) and (max-width: 1919px) {
  .hero__title {
    font-size: clamp(88px, 6.25vw, 100px);
    letter-spacing: -0.04em;
  }
}

@media (min-width: 1920px) {
  .hero__title {
    font-size: 128px;
    letter-spacing: -5.12px;
  }
}

.hero__cta {
  position: absolute;
  bottom: 24px;
  left: 24px;
  right: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 48px;
  background-color: #434ce4;
  border-radius: 12px;
  color: #ffffff;
  font-family: 'Inter', -apple-system, 'Roboto', Arial, sans-serif;
  font-size: 14px;
  font-weight: 600;
  line-height: 18px;
  letter-spacing: 0;
  font-feature-settings: "case" 1;
  text-decoration: none;
  padding: 0 24px;
  box-sizing: border-box;
  z-index: 1;
  transition: background-color 0.15s ease, transform 0.1s ease;
}

@container hero (min-width: 768px) {
  .hero__cta {
    position: relative;
    inset: auto;
    grid-column: 1 / span 2;
    grid-row: 1;
    align-self: end;
    justify-self: start;
    margin-bottom: 40px;
    width: 190px;
  }
}

.hero__cta:hover {
  background-color: #3640cc;
}

.hero__cta:active {
  background-color: #2e38b3;
  transform: scale(0.98);
}

.hero__cta:focus-visible {
  outline: 2px solid #434ce4;
  outline-offset: 2px;
}
