.mathus-hero {
  background: #ffffff;
}

.mathus-hero__inner {
  display: grid;
  gap: var(--spacing-8);
  align-items: center;
}

.mathus-hero__brand-title {
  font-size: var(--type-brand-hero-title-size);
}

.mathus-hero__subheadline {
  margin: 0 0 var(--spacing-4);
  color: var(--color-accent-strong);
  font-size: clamp(1.2rem, 2.2vw, 1.55rem);
  line-height: 1.35;
  font-weight: 600;
}

.mathus-hero__visual {
  display: flex;
  justify-content: center;
}

.mathus-hero__image-card {
  aspect-ratio: 16 / 10;
  width: min(100%, 616px);
  padding: 0;
  overflow: hidden;
  border-radius: 1.25rem;
  border: 1px solid rgba(10, 47, 107, 0.08);
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(10, 47, 107, 0.12);
}

.mathus-hero__image {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: inherit;
  object-fit: cover;
  background: #f4f9ff;
}

@media (min-width: 768px) {
  .mathus-hero__inner {
    grid-template-columns: 0.94fr 1.06fr;
    gap: var(--spacing-8);
  }

  .mathus-hero__visual {
    justify-content: flex-end;
  }

  .mathus-hero__image-card {
    width: min(124%, 780px);
    padding: 0.85rem;
  }
}
