/*
 * Site-wide visual refresh to match the productman.png design:
 * Inter throughout, lighter medium-weight headings with tight tracking,
 * brighter purple accent and squarer, uppercase buttons.
 * Loaded last; !important is used only where per-block stylesheets
 * (printed later in the page) would otherwise win.
 */

:root {
	--ne1-purple: #7c3aed;
	--ne1-purple-bright: #8b3dff;
	--ne1-purple-soft: #f4effe;
	--ne1-line: #e9e3f8;
}

body,
button,
input,
select,
textarea {
	font-family: Inter, Arial, sans-serif;
	font-feature-settings: "cv11", "ss01";
}

/* Headings: medium weight, tight tracking. */
main h1,
main h2,
.site-footer h2 {
	font-weight: 500 !important;
	letter-spacing: -.025em !important;
}

main h1 {
	line-height: 1.06 !important;
}

main h2 {
	line-height: 1.15 !important;
}

main h3,
main h4 {
	font-weight: 500 !important;
	letter-spacing: -.01em !important;
}

main h1 strong,
main h2 strong,
main h1 b,
main h2 b {
	font-weight: inherit;
}

/* Small strong labels in lists and benefit cards. */
main li strong,
main .ne1-home-benefits > *,
main .benefit-strip strong {
	font-weight: 500 !important;
}

/* Footer column titles read as small caps labels, as in the design. */
.site-footer h2,
.site-footer__column h2 {
	font-size: 13px !important;
	letter-spacing: .04em !important;
	text-transform: uppercase;
}

/* Eyebrows: uppercase purple label. */
main .eyebrow,
main [class*="eyebrow"]:not([class*="has-"]) {
	font-weight: 500 !important;
	letter-spacing: .04em;
	text-transform: uppercase;
}

/* Buttons: squarer, uppercase, as in productman.png. */
main .button,
main .btn,
main [class*="button"]:is(a, button),
main button[type="submit"],
main input[type="submit"] {
	border-radius: 4px !important;
	font-weight: 500 !important;
	letter-spacing: .02em;
	text-transform: uppercase;
}

/* Numbered approach markers lose the heavy weight too. */
main .approach li b,
main .ne1-home-approach li b {
	font-weight: 500 !important;
}

/* Page heroes without an image get the dotted wave graphic from the designs. */
.ne1-hero-breadcrumbs:not(:has(.network-visual)) {
	position: relative;
	overflow: hidden;
	background-image: url("../images/hero-wave.svg"), linear-gradient(180deg, #07060d, #0b0818);
	background-repeat: no-repeat;
	background-position: right center, 0 0;
	background-size: auto 100%, 100% 100%;
}

.ne1-hero-breadcrumbs:not(:has(.network-visual)) .contact-hero-copy {
	position: relative;
	z-index: 1;
	max-width: 640px;
}

/* Hero buttons sit side by side and wrap only when needed. */
.ne1-hero-breadcrumbs .hero-actions {
	display: flex;
	flex-flow: row wrap;
	align-items: center;
	gap: 16px;
}

.ne1-hero-breadcrumbs .hero-actions .button,
.ne1-home-hero .hero-actions .button {
	font-size: 14px;
	padding: 14px 22px;
}

/* Numbered service cards (Services page). */
.ne1-content-grid__number {
	display: block;
	margin: 0 0 6px;
	color: var(--ne1-purple);
	font-size: 12px;
	font-weight: 600;
	letter-spacing: .04em;
}

/* Footer brand aligns left like the design. */
.site-footer .brand,
footer .brand {
	margin-left: 0;
	margin-right: auto;
	justify-content: flex-start;
	align-items: flex-start;
	display: inline-flex;
}

/* Inter is wider than the old font: keep the header on one line on laptops. */
@media (max-width: 1500px) and (min-width: 1280px) {
	.site-header .main-nav {
		gap: 18px;
	}

	.site-header .main-nav > .nav-link,
	.site-header .main-nav > .menu-item > .nav-link {
		gap: 5px;
		font-size: 12px;
		letter-spacing: 0;
	}

	.site-header .header-cta {
		padding: 11px 14px;
		font-size: 12px;
	}
}

@media (max-width: 1400px) and (min-width: 1280px) {
	.site-header,
	.site-header.shell {
		gap: 16px;
	}

	.site-header .main-nav {
		gap: 13px;
	}

	.site-header .main-nav > .nav-link,
	.site-header .main-nav > .menu-item > .nav-link {
		font-size: 11.5px;
	}

	:root {
		--ne1-logo-height: 48px;
	}
}

.ne1-architecture-service-groups__action {
	margin-top: 32px;
}

/* Contact hero: glowing chat bubbles over the wave, as in the design. */
.page-id-7 .ne1-hero-breadcrumbs:not(:has(.network-visual)) {
	background-image: url("../images/chat-bubbles.svg"), url("../images/hero-wave.svg"), linear-gradient(180deg, #07060d, #0b0818);
	background-repeat: no-repeat;
	background-position: right 10% center, right center, 0 0;
	background-size: auto 62%, auto 100%, 100% 100%;
}

@media (max-width: 900px) {
	.ne1-hero-breadcrumbs:not(:has(.network-visual)) {
		background-image: linear-gradient(180deg, rgba(7, 6, 13, .55), rgba(7, 6, 13, .82)), url("../images/hero-wave.svg"), linear-gradient(180deg, #07060d, #0b0818);
		background-position: 0 0, 65% center, 0 0;
		background-size: 100% 100%, auto 100%, 100% 100%;
	}

	.ne1-hero-breadcrumbs h1 br {
		display: none;
	}

	.page-id-7 .ne1-hero-breadcrumbs:not(:has(.network-visual)) {
		background-image: linear-gradient(180deg, rgba(7, 6, 13, .55), rgba(7, 6, 13, .82)), url("../images/hero-wave.svg"), linear-gradient(180deg, #07060d, #0b0818);
		background-position: 0 0, 65% center, 0 0;
		background-size: 100% 100%, auto 100%, 100% 100%;
	}
}
