.home-hero-banner {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: #051b25;
  color: white;
}

.hero-chart {
  position: absolute;
  z-index: -2;
  inset: 0;
  background: url("assets/home-hero-chart.webp") center / cover no-repeat;
}

.home-hero-banner::after {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(90deg, #03172278 0%, #03172236 42%, transparent 74%);
}

.home-hero-inner {
  display: grid;
  align-items: center;
  min-height: clamp(510px, 44vw, 650px);
  padding-block: 64px;
}

.home-hero-copy { max-width: 49%; }

.home-hero-copy h1 {
  color: white;
  font-size: clamp(3.9rem, 6.2vw, 5.6rem);
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -.065em;
}

.home-hero-copy p {
  max-width: 37ch;
  margin-top: 23px;
  color: #dbebe9;
  font-size: clamp(1rem, 1.5vw, 1.19rem);
  line-height: 1.62;
}

.home-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 27px;
}

.hero-apps {
  background: #f1fffa;
  color: #0b423d;
}

.hero-apps:hover { background: #c6f2df; }

.hero-profile {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 11px 21px;
  border: 1px solid #b7e5dc94;
  border-radius: 7px;
  color: white;
  font-weight: 800;
  background: #102e3765;
}

.home-hero-actions a:focus-visible { outline-color: #b7f5e6; }

.hero-profile:hover { background: #34736678; }

@media (max-width: 1040px) {
  .home-hero-copy { max-width: 55%; }
  .home-hero-copy h1 { font-size: clamp(3.1rem, 6.3vw, 4rem); }
}

@media (max-width: 760px) {
  .home-hero-banner::after {
    background: linear-gradient(180deg, #041c28 0%, #041c28 35%, #041c28b5 52%, #041c280d 73%, #041c2807 100%);
  }

  .hero-chart {
    inset: auto 0 0;
    height: 62%;
    background-position: 88% 50%;
    mask-image: linear-gradient(180deg, transparent, black 25%);
  }

  .home-hero-inner {
    align-items: start;
    min-height: clamp(610px, 127vw, 685px);
    padding-block: 46px 275px;
  }

  .home-hero-copy { max-width: none; }

  .home-hero-copy h1 { font-size: clamp(2.57rem, 10.5vw, 4rem); }
  .home-hero-copy p { margin-top: 15px; max-width: 35ch; }
  .home-hero-actions { gap: 8px; margin-top: 18px; }
  .home-hero-actions > * { min-height: 45px; padding: 8px 12px; font-size: .87rem; }
}
