.haxa-hero {
  position: relative;
  overflow: hidden;
  padding-block: clamp(5rem, 12vw, 9rem);
  background:
    radial-gradient(circle at 85% 10%, rgb(91 128 255 / 24%), transparent 32rem),
    var(--haxa-surface-subtle);
}

.haxa-hero--brand {
  --haxa-hero-text: #f7f8ff;
  --haxa-hero-muted: #dce3ff;
  background:
    radial-gradient(circle at 82% 18%, rgb(117 154 255 / 42%), transparent 30rem),
    linear-gradient(135deg, #182a66, #3157d5 62%, #17378f);
  color: var(--haxa-hero-text);
}

.haxa-hero__inner {
  max-width: 62rem;
}

.haxa-hero--center .haxa-hero__inner {
  margin-inline: auto;
  text-align: center;
}

.haxa-hero h1 {
  max-width: 18ch;
  margin: 0;
  font-size: clamp(2.8rem, 8vw, 5.8rem);
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.haxa-hero--center h1,
.haxa-hero--center .haxa-hero__body {
  margin-inline: auto;
}

.haxa-hero__body {
  max-width: 42rem;
  margin: 1.5rem 0 0;
  color: var(--haxa-hero-muted, var(--haxa-muted));
  font-size: clamp(1.1rem, 2.4vw, 1.35rem);
}

.haxa-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2.2rem;
}

.haxa-hero--center .haxa-hero__actions {
  justify-content: center;
}

.haxa-button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1.15rem;
  border: 1px solid transparent;
  border-radius: 0.7rem;
  font-weight: 700;
  text-decoration: none;
}

.haxa-button--primary {
  background: var(--haxa-brand);
  color: #ffffff;
}

.haxa-hero--brand .haxa-button--primary {
  background: #ffffff;
  color: var(--haxa-brand-deep);
}

.haxa-button--secondary {
  border-color: currentColor;
  background: transparent;
}
