html {
  font-size: 62.5%;
}

body {
  background: var(--color-brand-foreground);
  color: var(--color-text-primary);
  font-family: var(--font-family-primary);
  margin: 0;
}

.hero-shell {
  align-items: flex-end;
  display: flex;
  min-height: 100svh;
  overflow: hidden;
  position: relative;
}

.hero-shell[hidden] {
  display: none !important;
}

.hero-shell__image {
  height: 100%;
  left: 0;
  object-fit: cover;
  position: absolute;
  top: 0;
  width: 100%;
}

.hero-shell__overlay {
  background: linear-gradient(
    180deg,
    rgb(0 0 0 / 0.25) 0%,
    rgb(0 0 0 / 0.55) 55%,
    rgb(0 0 0 / 0.75) 100%
  );
  inset: 0;
  position: absolute;
}

.hero-shell__content {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin: 0 auto;
  max-width: 112rem;
  padding: 4rem 1.6rem;
  position: relative;
  width: 100%;
  z-index: 1;
}

.hero-shell__brand {
  color: var(--color-brand-foreground);
  font-size: 2rem;
  font-weight: 600;
  margin: 0;
}

.hero-shell__brand span {
  color: var(--color-brand-accent);
}

.hero-shell__title {
  color: var(--color-brand-foreground);
  font-size: 2.8rem;
  font-weight: 600;
  line-height: 1.15;
  margin: 0;
  max-width: 64rem;
}

.hero-shell__subtitle {
  color: var(--color-brand-foreground);
  font-size: 1.6rem;
  margin: 0;
  max-width: 52rem;
  opacity: 0.9;
}

.hero-shell__actions {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 0.8rem;
}

.hero-shell__cta,
.hero-shell__secondary {
  border-radius: var(--rounded-medium);
  display: inline-block;
  font-size: var(--font-size-medium);
  font-weight: var(--font-weight-semibold);
  padding: var(--spacing-medium) var(--spacing-large);
  text-align: center;
  text-decoration: none;
  transition:
    opacity var(--transition-default),
    transform var(--transition-default);
}

.hero-shell__cta {
  background: var(--color-brand-primary);
  color: var(--color-brand-foreground);
}

.hero-shell__secondary {
  border: 1px solid var(--color-brand-foreground);
  color: var(--color-brand-foreground);
}

.hero-shell__cta:hover,
.hero-shell__secondary:hover {
  opacity: 0.92;
  transform: translateY(-0.2rem);
}

@media (width >= 48em) {
  .hero-shell__content {
    padding: 6.4rem 2.4rem;
  }

  .hero-shell__brand {
    font-size: 2.8rem;
  }

  .hero-shell__title {
    font-size: 4.8rem;
  }

  .hero-shell__actions {
    flex-flow: row wrap;
    gap: 1.6rem;
  }
}
