* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

* {
  box-sizing: border-box;
}

/* 2. Prevent horizontal scrolling on the root containers */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* 3. Ensure images don't exceed screen width */
img, svg, video {
  max-width: 100%;
  height: 2rem;
}

body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

.hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 420px;
  background: #ffffff;
}

.hero__text {
  padding: 60px 70px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.eyebrow {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  color: #1a1a2e;
  margin-bottom: 18px;
}

.headline {
  font-size: 42px;
  line-height: 1.15;
  font-weight: 800;
  color: #111827;
  margin-bottom: 22px;
}

.subtext {
  font-size: 15px;
  line-height: 1.6;
  color: #4b5563;
  max-width: 460px;
  margin-bottom: 30px;
}

.cta {
  background: #2f27ce;
  color: #ffffff;
  border: none;
  padding: 14px 32px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  width: fit-content;
  transition: background 0.2s ease;
}

.cta:hover {
  background: #241db8;
}

.hero__image {
  position: relative;
  overflow: hidden;
}

.hero__image img {
  width: 100%;
  height: 90%;
  object-fit: contain;
  display: block;
}

/* Responsive: stack on smaller screens */
@media (max-width: 950px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero__text {
    padding: 40px 30px;
  }

  .headline {
    font-size: 32px;
  }

  .hero__image {
    min-height: 300px;
  }
* {
  box-sizing: border-box;
}

/* 2. Prevent horizontal scrolling on the root containers */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

/* 3. Ensure images don't exceed screen width */
img, svg, video {
  max-width: 100%;
  height: 2rem;
}
}

.hero__text .headline {
align-self:center;
}
