/* Home page hero designs (hero 1 dark, hero 2 light, hero 3 glow).
   Switch between them by showing/hiding the hero sections in the page editor. */

.ne1-hp-hero {
	position: relative;
	overflow: hidden;
	padding: 72px 0 80px;
}

.ne1-hp-hero__inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1.05fr);
	align-items: center;
	gap: 48px;
}

.ne1-hp-hero__rule {
	display: block;
	width: 72px;
	height: 3px;
	margin-bottom: 28px;
	border-radius: 2px;
	background: #8b5cf6;
}

.ne1-hp-hero__eyebrow {
	margin: 0 0 18px;
	font-size: 14px;
	font-weight: 600;
	letter-spacing: .32em;
	text-transform: uppercase;
}

.ne1-hp-hero h1 {
	margin: 0;
	font-size: clamp(36px, 3.9vw, 54px);
	font-weight: 700;
	line-height: 1.08;
	letter-spacing: -.02em;
}

.ne1-hp-hero__emphasis {
	color: #8b3dff;
}

.ne1-hp-hero__lead {
	max-width: 560px;
	margin: 24px 0 0;
	font-size: 18px;
	line-height: 1.6;
}

.ne1-hp-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 34px;
}

.ne1-hp-hero__actions .button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 15px 24px;
	border-radius: 8px;
	font-size: 15px;
	font-weight: 600;
	letter-spacing: 0;
	text-transform: none;
}

.ne1-hp-hero__actions .button-primary {
	background: #7c3aed;
	color: #fff;
	box-shadow: 0 14px 30px rgba(124, 58, 237, .28);
}

.ne1-hp-hero__actions .button-primary:hover,
.ne1-hp-hero__actions .button-primary:focus-visible {
	background: #9333ea;
}

.ne1-hp-hero__visual {
	margin: 0;
}

.ne1-hp-hero__visual img {
	display: block;
	width: 100%;
	height: auto;
}

/* Hero 2: light */
.ne1-hp-hero--light {
	background:
		radial-gradient(ellipse 60% 70% at 78% 30%, rgba(167, 139, 250, .38), transparent 70%),
		radial-gradient(ellipse 40% 50% at 10% 90%, rgba(196, 181, 253, .25), transparent 70%),
		linear-gradient(180deg, #faf8ff 0%, #f1ecff 100%);
	color: #0b0b18;
}

.ne1-hp-hero--light .ne1-hp-hero__eyebrow {
	color: #6d28d9;
}

.ne1-hp-hero--light .ne1-hp-hero__lead {
	color: #475569;
}

.ne1-hp-hero--light .button-ghost {
	border: 1px solid #c4b5fd;
	background: #fff;
	color: #4c1d95;
}

.ne1-hp-hero--light .button-ghost:hover,
.ne1-hp-hero--light .button-ghost:focus-visible {
	border-color: #7c3aed;
	background: #f5f3ff;
}

/* Hero 1: dark */
.ne1-hp-hero--dark,
.ne1-hp-hero--glow {
	color: #fff;
}

.ne1-hp-hero--dark {
	background:
		radial-gradient(ellipse 45% 55% at 72% 62%, rgba(124, 58, 237, .22), transparent 70%),
		radial-gradient(ellipse 35% 40% at 12% 100%, rgba(124, 58, 237, .18), transparent 70%),
		#0b0817;
}

/* Hero 3: purple glow with a faint grid */
.ne1-hp-hero--glow {
	background:
		radial-gradient(ellipse 50% 60% at 72% 58%, rgba(147, 51, 234, .38), transparent 70%),
		radial-gradient(ellipse 35% 40% at 10% 100%, rgba(124, 58, 237, .25), transparent 70%),
		linear-gradient(rgba(167, 139, 250, .06) 1px, transparent 1px) 0 0 / 48px 48px,
		linear-gradient(90deg, rgba(167, 139, 250, .06) 1px, transparent 1px) 0 0 / 48px 48px,
		#100824;
}

.ne1-hp-hero--dark .ne1-hp-hero__eyebrow,
.ne1-hp-hero--glow .ne1-hp-hero__eyebrow {
	color: #e2e8f0;
}

.ne1-hp-hero--dark .ne1-hp-hero__emphasis,
.ne1-hp-hero--glow .ne1-hp-hero__emphasis {
	color: #b77bff;
}

.ne1-hp-hero--dark .ne1-hp-hero__lead,
.ne1-hp-hero--glow .ne1-hp-hero__lead {
	color: #cbd5e1;
}

.ne1-hp-hero--dark .button-ghost,
.ne1-hp-hero--glow .button-ghost {
	border: 1px solid #4c3d85;
	background: transparent;
	color: #f1f5f9;
}

.ne1-hp-hero--dark .button-ghost:hover,
.ne1-hp-hero--dark .button-ghost:focus-visible,
.ne1-hp-hero--glow .button-ghost:hover,
.ne1-hp-hero--glow .button-ghost:focus-visible {
	border-color: #a855f7;
	background: rgba(124, 58, 237, .15);
}

@media (max-width: 1000px) {
	.ne1-hp-hero {
		padding: 48px 0 56px;
	}

	.ne1-hp-hero__inner {
		grid-template-columns: 1fr;
		gap: 36px;
	}

	.ne1-hp-hero__visual {
		width: 100%;
		max-width: 640px;
		margin: 0 auto;
	}
}

@media (max-width: 640px) {
	.ne1-hp-hero__eyebrow {
		font-size: 12px;
		letter-spacing: .24em;
	}

	.ne1-hp-hero__lead {
		font-size: 16px;
	}

	.ne1-hp-hero__actions .button {
		justify-content: center;
		width: 100%;
	}
}
