/**
 * Nexlogicx Agency Core — widget styles.
 *
 * Sizes are in rem so the theme's fluid grid scales the whole design with the viewport.
 * Hover springs: JS sets --p (0 → 1, may overshoot) on [data-nx-spring] elements and the
 * transforms below are derived from it.
 * Selectors are scoped `.nx-w .x` so Elementor/kit rules like `.elementor img` don't override them.
 */

@layer nx-base, nx-reset;

/* Token fallbacks for when the widgets run without the Nexlogicx Agency Theme. */
:where(body) {
	--nx-accent: var(--e-global-color-primary, #2251ff);
	--nx-accent-from: var(--e-global-color-accent, #4f7bff);
	--nx-accent-to: var(--e-global-color-nxaccentdk, #1636c7);
	--nx-ink: var(--e-global-color-secondary, #0a0a0a);
	--nx-fg: var(--e-global-color-text, #111111);
	--nx-bg: var(--e-global-color-nxbg, #ffffff);
	--nx-muted: var(--e-global-color-nxmuted, #8d8d8d);
	--nx-line: var(--e-global-color-nxline, #e6e5e2);
	--nx-surface: var(--e-global-color-nxsurface, #f1f0ee);
	--nx-surface-2: var(--e-global-color-nxsurface2, #e3e2df);
	--nx-hero-bg: var(--e-global-color-nxherobg, #c9c9c9);
	--nx-font-heading: var(--e-global-typography-primary-font-family, "Onest"), "Onest", sans-serif;
	--nx-font: var(--e-global-typography-text-font-family, "Onest"), "Onest", sans-serif;
	--nx-radius-card: 2rem;
	--nx-radius-card-sm: 1.25rem;
	--nx-radius-control: 0.875rem;
	--nx-shell: 88rem;
	--nx-watermark: 13rem;
	--nx-ease-spring: cubic-bezier(0.22, 1, 0.36, 1);
	--nx-ease-soft: cubic-bezier(0.16, 1, 0.3, 1);
}

@layer nx-reset {
	.nx-w,
	.nx-w *,
	.nx-w *::before,
	.nx-w *::after {
		box-sizing: border-box;
		margin: 0;
		padding: 0;
	}

	.nx-w {
		font-family: var(--nx-font);
		line-height: 1.5;
		-webkit-font-smoothing: antialiased;
	}

	.nx-w a,
	.nx-w a:hover,
	.nx-w a:focus {
		color: inherit;
		text-decoration: none;
	}

	.nx-w button {
		font: inherit;
		color: inherit;
		letter-spacing: inherit;
		text-transform: inherit;
		text-align: inherit;
		background: none;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		cursor: pointer;
	}

	.nx-w ul,
	.nx-w ol {
		list-style: none;
	}

	.nx-w h1, .nx-w h2, .nx-w h3, .nx-w h4, .nx-w h5, .nx-w h6 {
		font-family: var(--nx-font-heading);
		font-size: inherit;
		font-weight: inherit;
		line-height: inherit;
		letter-spacing: inherit;
		color: inherit;
	}

	.nx-w img {
		display: block;
		max-width: 100%;
	}
}

/* ---------- Primitives ---------- */

.nx-w .nx-shell {
	width: 100%;
	max-width: var(--nx-shell);
	margin-inline: auto;
}

.nx-w .nx-icon {
	display: inline-block;
	flex-shrink: 0;
	width: 1em;
	height: 1em;
	vertical-align: middle;
}

.nx-w .nx-mark {
	display: inline-flex;
	flex-shrink: 0;
	width: 1em;
	height: 1em;
	line-height: 1;
}

.nx-w .nx-mark svg,
.nx-w .nx-mark img {
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: contain;
}

.nx-w [data-nx-fit] {
	display: inline-block;
}

.nx-w .screen-reader-text {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
}

/* Eyebrow */

.nx-w .nx-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.25;
}

.nx-w .nx-eyebrow__dot {
	flex-shrink: 0;
	width: 0.375rem;
	height: 0.375rem;
	border-radius: 9999px;
}

.nx-w .nx-eyebrow--dark { color: color-mix(in srgb, var(--nx-fg) 70%, transparent); }
.nx-w .nx-eyebrow--dark .nx-eyebrow__dot { background: color-mix(in srgb, var(--nx-fg) 50%, transparent); }
.nx-w .nx-eyebrow--light { color: rgba(255, 255, 255, 0.7); }
.nx-w .nx-eyebrow--light .nx-eyebrow__dot { background: rgba(255, 255, 255, 0.6); }

.nx-w .nx-eyebrow--bordered {
	padding: 0.375rem 1rem;
	border: 1px solid var(--nx-line);
	border-radius: 9999px;
}

/* Pill button */

.nx-w .nx-pill {
	display: inline-block;
	vertical-align: middle;
	-webkit-tap-highlight-color: transparent;
}

.nx-w .nx-pill__body {
	display: inline-flex;
	align-items: center;
	gap: 0.75rem;
	padding: 0.875rem 1.75rem;
	border: 1px solid transparent;
	border-radius: 9999px;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.25;
	white-space: nowrap;
	transform: scale(calc(1 + 0.04 * var(--p, 0)));
	transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}

.nx-w .nx-pill--arrow .nx-pill__body {
	padding: 0.375rem 0.375rem 0.375rem 1.5rem;
}

.nx-w .nx-pill--dark .nx-pill__body { background: var(--nx-ink); color: #fff; }
.nx-w .nx-pill--light .nx-pill__body { background: var(--nx-surface); color: var(--nx-fg); }
.nx-w .nx-pill--outline .nx-pill__body { border-color: var(--nx-line); background: transparent; color: var(--nx-fg); }
.nx-w .nx-pill--accent .nx-pill__body { background: var(--nx-accent); color: #fff; }

.nx-w .nx-pill__badge {
	display: grid;
	flex-shrink: 0;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 9999px;
	background: var(--nx-ink);
	color: #fff;
	font-size: 1rem;
}

.nx-w .nx-pill--dark .nx-pill__badge,
.nx-w .nx-pill--accent .nx-pill__badge {
	background: #fff;
	color: var(--nx-ink);
}

.nx-w .nx-pill__icon {
	display: grid;
	place-items: center;
}

.nx-w .nx-pill__icon--right { transform: translateX(calc(3px * var(--p, 0))); }
.nx-w .nx-pill__icon--up-right { transform: translate(calc(2px * var(--p, 0)), calc(-2px * var(--p, 0))); }

.nx-w .nx-pill-w {
	display: flex;
}

/* ---------- Reveals ---------- */

.nx-js [data-nx-reveal] {
	opacity: 0;
	transform: translate3d(0, var(--ry, 0px), 0) scale(var(--rs, 1));
	transition:
		opacity var(--rdur, 800ms) var(--rease, var(--nx-ease-soft)) var(--rd, 0ms),
		transform var(--rdur, 800ms) var(--rease, var(--nx-ease-soft)) var(--rd, 0ms);
}

.nx-js [data-nx-reveal].is-in {
	opacity: var(--ro, 1);
	transform: none;
}

.nx-w .nx-line {
	display: block;
	overflow: hidden;
	/* Room for descenders inside the clip without changing the layout. */
	padding-bottom: 0.12em;
	margin-bottom: -0.12em;
}

.nx-w .nx-line__in {
	display: block;
}

.nx-js .nx-line__in {
	opacity: 0;
	transform: translateY(100%);
	transition:
		transform 900ms cubic-bezier(0.215, 0.61, 0.355, 1),
		opacity 900ms cubic-bezier(0.215, 0.61, 0.355, 1);
	transition-delay: calc(var(--rd, 0ms) + var(--i, 0) * var(--stagger, 0ms));
}

.nx-js .nx-lines.is-in .nx-line__in {
	opacity: 1;
	transform: none;
}

.nx-w .nx-word {
	display: inline-block;
}

.nx-js .nx-words .nx-word {
	opacity: 0;
	transform: translateY(24px);
	transition:
		opacity 700ms cubic-bezier(0.165, 0.84, 0.44, 1),
		transform 700ms cubic-bezier(0.165, 0.84, 0.44, 1);
	transition-delay: calc(var(--i, 0) * 35ms);
}

.nx-js .nx-words.is-in .nx-word {
	opacity: 1;
	transform: none;
}

/* In the Elementor editor everything is visible immediately. */
.elementor-editor-active [data-nx-reveal],
.elementor-editor-active .nx-line__in,
.elementor-editor-active .nx-word {
	opacity: var(--ro, 1) !important;
	transform: none !important;
	transition: none !important;
}

@media (prefers-reduced-motion: reduce) {
	.nx-js [data-nx-reveal],
	.nx-js .nx-line__in,
	.nx-js .nx-word {
		opacity: var(--ro, 1);
		transform: none;
		transition: none;
	}
}

/* ======================================================================
   Header + full-screen menu
   ====================================================================== */

.nx-w .nx-header {
	position: relative;
	z-index: 2;
	color: var(--nx-fg);
}

.nx-w .nx-header__bar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: 1.25rem;
}

.nx-w .nx-header__brand {
	display: inline-flex;
}

.nx-w .nx-header__brand-in {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--nx-font-heading);
	font-size: 1.125rem;
	font-weight: 600;
	letter-spacing: -0.01em;
	color: var(--nx-fg);
	white-space: nowrap;
	transform: scale(calc(1 + 0.04 * var(--p, 0)));
}

.nx-w .nx-header__brand-in .nx-mark {
	font-size: 1.25rem;
	color: var(--nx-accent);
}

.nx-w .nx-header__nav {
	display: none;
}

.nx-w .nx-header__nav ul {
	display: flex;
	gap: 2rem;
	font-size: 0.875rem;
	font-weight: 500;
}

.nx-w .nx-header__link {
	display: inline-flex;
	align-items: center;
	gap: 0.25rem;
	color: var(--nx-fg);
}

.nx-w .nx-header__link-in {
	display: inline-block;
	opacity: calc(0.8 + 0.2 * var(--p, 0));
	transform: translateY(calc(-2px * var(--p, 0)));
}

.nx-w .nx-header__caret {
	font-size: 0.75rem;
	opacity: 0.6;
}

.nx-w .nx-header__right {
	display: flex;
	align-items: center;
	gap: 0.75rem;
}

.nx-w .nx-clock-chip {
	display: none;
	align-items: center;
	gap: 0.75rem;
	padding: 0.5rem 0.75rem;
	border: 1px solid color-mix(in srgb, var(--nx-line) 80%, transparent);
	border-radius: var(--nx-radius-control);
	background: rgba(255, 255, 255, 0.4);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	font-size: 0.75rem;
	line-height: 1.25;
	white-space: nowrap;
	color: color-mix(in srgb, var(--nx-fg) 70%, transparent);
}

.nx-w .nx-clock-chip__label { color: color-mix(in srgb, var(--nx-fg) 45%, transparent); }
.nx-w .nx-clock-chip__time { min-width: 3.5rem; font-variant-numeric: tabular-nums; font-weight: 500; color: var(--nx-fg); }
.nx-w .nx-clock-chip__sep { color: color-mix(in srgb, var(--nx-fg) 30%, transparent); }
.nx-w .nx-clock-chip__date { font-weight: 500; }

.nx-w .nx-menu-btn {
	border: 1px solid color-mix(in srgb, var(--nx-line) 80%, transparent);
	border-radius: var(--nx-radius-control);
	background: rgba(255, 255, 255, 0.4);
	-webkit-backdrop-filter: blur(4px);
	backdrop-filter: blur(4px);
	transition: background-color 0.2s;
}

.nx-w .nx-menu-btn:hover {
	background: rgba(255, 255, 255, 0.7);
}

.nx-w .nx-menu-btn__in {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: var(--nx-fg);
	transform: scale(calc(1 + 0.05 * var(--p, 0)));
}

.nx-w .nx-menu-btn__in .nx-icon {
	font-size: 0.875rem;
}

.nx-w .nx-menu-btn__label {
	display: none;
}

.nx-w .nx-menu {
	position: fixed;
	inset: 0;
	z-index: 115;
	display: flex;
	flex-direction: column;
	overflow-y: auto;
	background: var(--nx-ink);
	color: #fff;
	opacity: 0;
	transition: opacity 0.45s var(--nx-ease-spring);
}

.nx-w .nx-menu[hidden] {
	display: none;
}

.nx-w .nx-menu.is-open {
	opacity: 1;
}

.nx-w .nx-menu__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.25rem;
}

.nx-w .nx-menu__brand {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--nx-font-heading);
	font-size: 1.125rem;
	font-weight: 600;
}

.nx-w .nx-menu__brand .nx-mark {
	font-size: 1.25rem;
	color: var(--nx-accent-from);
}

.nx-w .nx-menu__close {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.5rem 1rem;
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: var(--nx-radius-control);
	font-size: 0.75rem;
	font-weight: 500;
	line-height: 1.25;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.7);
	transition: border-color 0.2s, color 0.2s;
}

.nx-w .nx-menu__close:hover {
	border-color: rgba(255, 255, 255, 0.4);
	color: #fff;
}

.nx-w .nx-menu__close .nx-icon {
	font-size: 0.875rem;
}

.nx-w .nx-menu__nav {
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: center;
	padding-inline: 1.25rem;
}

.nx-w .nx-menu__nav ul {
	display: flex;
	flex-direction: column;
	gap: 0.25rem;
}

.nx-w .nx-menu__item {
	display: flex;
	align-items: baseline;
	gap: 1rem;
	width: 100%;
	padding-block: 0.5rem;
	font-family: var(--nx-font-heading);
	font-size: 2.25rem;
	font-weight: 600;
	line-height: 1.1;
	letter-spacing: -0.02em;
	opacity: 0;
	transform: translateY(1rem);
	transition: transform 0.5s ease-out, opacity 0.5s ease-out;
	transition-delay: calc(var(--i, 0) * 45ms + 80ms);
}

.nx-w .nx-menu.is-open .nx-menu__item {
	opacity: 1;
	transform: none;
}

.nx-w .nx-menu__index {
	font-size: 1rem;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.3);
	transition: color 0.3s;
}

.nx-w .nx-menu__label {
	color: rgba(255, 255, 255, 0.7);
	transition: color 0.3s;
}

.nx-w .nx-menu__item:hover .nx-menu__index,
.nx-w .nx-menu__item:focus-visible .nx-menu__index { color: var(--nx-accent-from); }
.nx-w .nx-menu__item:hover .nx-menu__label,
.nx-w .nx-menu__item:focus-visible .nx-menu__label { color: #fff; }

.nx-w .nx-menu__bottom {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: 1.5rem 1.25rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.75rem;
	letter-spacing: 0.025em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.45);
}

.nx-w .nx-menu__cta {
	color: rgba(255, 255, 255, 0.7);
}

.nx-w .nx-menu__cta:hover {
	color: #fff;
	text-decoration: underline;
}

@media (min-width: 640px) {
	.nx-w .nx-header__bar { padding: 1.5rem 2rem; }
	.nx-w .nx-menu-btn__label { display: inline; }
	.nx-w .nx-menu__top { padding: 1.5rem 2rem; }
	.nx-w .nx-menu__nav { padding-inline: 2rem; }
	.nx-w .nx-menu__item { font-size: 3.75rem; }
	.nx-w .nx-menu__bottom { flex-direction: row; justify-content: space-between; padding-inline: 2rem; }
}

@media (min-width: 768px) {
	.nx-w .nx-clock-chip { display: flex; }
}

@media (min-width: 1024px) {
	.nx-w .nx-header__nav { display: flex; }
	.nx-w .nx-header__nav ul { white-space: nowrap; }
}

@media (min-width: 1024px) and (max-width: 1279px) {
	.nx-w .nx-clock-chip { display: none; }
}

/* ======================================================================
   Hero
   ====================================================================== */

.nx-w .nx-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	border-radius: 0 0 var(--nx-radius-card) var(--nx-radius-card);
	background: var(--nx-hero-bg);
	color: var(--nx-fg);
}

.nx-w .nx-liquid {
	position: absolute;
	inset: 0;
	z-index: 0;
}

.nx-w .nx-liquid__base,
.nx-w .nx-liquid__canvas {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
}

.nx-w .nx-liquid__base {
	object-fit: cover;
}

.nx-w .nx-liquid__canvas {
	pointer-events: none;
}

.nx-w .nx-hero__vignette {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: none;
	pointer-events: none;
	background: linear-gradient(to bottom, rgba(255, 255, 255, 0.35), transparent, rgba(255, 255, 255, 0.35));
}

.nx-w .nx-hero--vignette .nx-hero__vignette {
	display: block;
}

@media (max-width: 1023px) {
	.nx-w .nx-hero__vignette {
		background: linear-gradient(to bottom, rgba(255, 255, 255, 0.55), rgba(255, 255, 255, 0.2) 55%, rgba(255, 255, 255, 0.45));
	}
}

.nx-w .nx-hero__watermark {
	position: absolute;
	inset-inline: 0;
	bottom: 7rem;
	z-index: 1;
	font-family: var(--nx-font-heading);
	font-size: var(--nx-watermark);
	font-weight: 700;
	line-height: 1;
	text-align: center;
	white-space: nowrap;
	color: rgba(255, 255, 255, 0.4);
	pointer-events: none;
	user-select: none;
}

.nx-w .nx-hero__grid {
	position: relative;
	z-index: 20;
	display: flex;
	flex-direction: column;
	gap: 2rem;
	padding: 7rem 1.25rem 5rem;
}

.nx-w .nx-hero__main {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.75rem;
}

.nx-w .nx-hero__title {
	max-width: 18ch;
	font-size: 2.25rem;
	font-weight: 600;
	line-height: 0.98;
	letter-spacing: -0.02em;
}

.nx-w .nx-hero__rating {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: color-mix(in srgb, var(--nx-fg) 70%, transparent);
}

.nx-w .nx-hero__stars {
	display: inline-flex;
	gap: 0.125rem;
	font-size: 1rem;
	color: var(--nx-accent);
}

.nx-w .nx-hero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.nx-w .nx-hero__side {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2rem;
}

/* Carousel card */

.nx-w .nx-hero-card {
	width: 100%;
	max-width: 24rem;
	padding: 0.5rem;
	border-radius: var(--nx-radius-card-sm);
	background: rgba(255, 255, 255, 0.7);
	box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05), 0 0 0 1px color-mix(in srgb, var(--nx-line) 70%, transparent);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
}

.nx-w .nx-hero-card__row {
	display: flex;
	gap: 0.5rem;
	border-radius: var(--nx-radius-control);
	cursor: pointer;
}

.nx-w .nx-hero-card__tile {
	display: grid;
	flex-shrink: 0;
	place-items: center;
	width: 6rem;
	aspect-ratio: 1;
	border-radius: var(--nx-radius-control);
	background: var(--nx-ink);
	font-size: 1.875rem;
	color: #fff;
}

.nx-w .nx-hero-card__tile .nx-mark {
	color: var(--nx-accent-from);
}

.nx-w .nx-hero-card__panel {
	display: flex;
	flex: 1;
	flex-direction: column;
	justify-content: space-between;
	gap: 0.5rem;
	min-width: 0;
	padding: 0.75rem;
	border-radius: var(--nx-radius-control);
	background: color-mix(in srgb, var(--nx-surface) 70%, transparent);
}

.nx-w .nx-hero-card__slot {
	position: relative;
	min-height: 3.25rem;
}

.nx-w .nx-hero-card__item {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
	opacity: 0;
	transform: translateY(14px);
	transition: opacity 0.45s var(--nx-ease-spring), transform 0.45s var(--nx-ease-spring);
	pointer-events: none;
}

.nx-w .nx-hero-card__item.is-active {
	opacity: 1;
	transform: none;
}

.nx-w .nx-hero-card__item.is-up {
	transform: translateY(-14px);
}

.nx-w .nx-hero-card__item.is-instant {
	transition: none;
}

.nx-w .nx-hero-card__caption {
	font-size: 0.65rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--nx-fg) 45%, transparent);
}

.nx-w .nx-hero-card__title {
	max-width: 8rem;
	font-size: 0.875rem;
	font-weight: 500;
	line-height: 1.35;
}

.nx-w .nx-hero-card__controls {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.nx-w .nx-hero-card__dots,
.nx-w .nx-hero-card__buttons {
	display: flex;
	align-items: center;
	gap: 0.25rem;
}

.nx-w .nx-hero-card__dot {
	width: 0.375rem;
	height: 0.25rem;
	border-radius: 9999px;
	background: color-mix(in srgb, var(--nx-fg) 20%, transparent);
	transition: all 0.3s;
}

.nx-w .nx-hero-card__dot.is-active {
	width: 1rem;
	background: color-mix(in srgb, var(--nx-fg) 70%, transparent);
}

.nx-w .nx-hero-card__btn {
	display: grid;
	place-items: center;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 9999px;
	background: #fff;
	box-shadow: 0 0 0 1px var(--nx-line);
	font-size: 0.875rem;
	color: color-mix(in srgb, var(--nx-fg) 70%, transparent);
	transition: color 0.2s;
}

.nx-w .nx-hero-card__btn:hover {
	color: var(--nx-fg);
}

.nx-w .nx-hero-card__btn--prev .nx-icon {
	transform: rotate(180deg);
}

/* Partners */

.nx-w .nx-partners {
	width: 100%;
	max-width: 24rem;
}

.nx-w .nx-partners__label {
	margin-bottom: 0.75rem;
	font-size: 0.75rem;
	font-weight: 500;
	text-align: left;
	color: color-mix(in srgb, var(--nx-fg) 45%, transparent);
}

.nx-w .nx-partners__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 0.75rem 1rem;
}

.nx-w .nx-partners__item {
	display: flex;
	align-items: center;
	gap: 0.375rem;
	font-size: 0.75rem;
	color: color-mix(in srgb, var(--nx-fg) 70%, transparent);
	opacity: calc(0.7 + 0.3 * var(--p, 0));
	transform: translateY(calc(-2px * var(--p, 0)));
}

.nx-w .nx-partners__item .nx-icon {
	font-size: 0.875rem;
	color: color-mix(in srgb, var(--nx-fg) 40%, transparent);
}

/* Status bar */

.nx-w .nx-hero__status {
	position: relative;
	z-index: 20;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
	padding: 1.25rem;
	border-top: 1px solid color-mix(in srgb, var(--nx-fg) 10%, transparent);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.025em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--nx-fg) 60%, transparent);
}

.nx-w .nx-hero__status-center {
	display: none;
}

.nx-w .nx-hero__status-right {
	display: inline-flex;
	gap: 0.5rem;
}

@media (min-width: 640px) {
	.nx-w .nx-hero__grid { padding-inline: 2rem; }
	.nx-w .nx-hero__title { font-size: 3rem; }
	.nx-w .nx-hero__status { padding-inline: 2rem; }
	.nx-w .nx-hero__status-center { display: inline; }
}

@media (min-width: 768px) {
	.nx-w .nx-hero__title { font-size: 3.75rem; }
}

@media (min-width: 1024px) {
	.nx-w .nx-hero__grid {
		display: grid;
		grid-template-columns: repeat(12, minmax(0, 1fr));
		gap: 2.5rem;
		min-height: 100vh;
		min-height: 100lvh;
		padding: 9rem 2rem 7rem;
	}

	.nx-w .nx-hero__main { grid-column: span 7; }
	.nx-w .nx-hero__side { grid-column: span 5; align-items: flex-end; }
	.nx-w .nx-hero-card,
	.nx-w .nx-partners { width: 19rem; }
	.nx-w .nx-partners__label { text-align: right; }
}

/* ======================================================================
   About
   ====================================================================== */

.nx-w .nx-about {
	background: var(--nx-bg);
	color: var(--nx-fg);
}

.nx-w .nx-about__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: center;
	gap: 3rem;
	padding: 5rem 1.25rem;
}

.nx-w .nx-about__globe {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: space-between;
	min-height: 14rem;
}

.nx-w .nx-about__globe-bg {
	position: absolute;
	left: -1rem;
	top: 50%;
	display: block;
	font-size: 12rem;
	line-height: 0;
	color: color-mix(in srgb, var(--nx-fg) 10%, transparent);
	transform: translateY(-50%);
	pointer-events: none;
}

.nx-w .nx-about__eyebrow,
.nx-w .nx-about__globe-note {
	position: relative;
}

.nx-w .nx-about__globe-note {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	font-size: 0.875rem;
	color: color-mix(in srgb, var(--nx-fg) 70%, transparent);
}

.nx-w .nx-about__globe-note .nx-icon {
	font-size: 1.5rem;
	color: var(--nx-fg);
}

.nx-w .nx-about__globe-note span {
	max-width: 14rem;
}

.nx-w .nx-about__body {
	display: flex;
	flex-direction: column;
	gap: 2.5rem;
}

.nx-w .nx-about__statement {
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: -0.01em;
}

.nx-w .nx-about__statement .nx-muted {
	color: var(--nx-muted);
}

.nx-w .nx-about__footer {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	padding-top: 1.5rem;
	border-top: 1px solid var(--nx-line);
}

.nx-w .nx-about__social-label {
	margin-bottom: 0.75rem;
	font-size: 0.875rem;
	color: color-mix(in srgb, var(--nx-fg) 45%, transparent);
}

.nx-w .nx-about__chips {
	display: flex;
	gap: 0.5rem;
}

.nx-w .nx-chip {
	display: grid;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 9999px;
	background: var(--nx-surface);
	font-size: 0.875rem;
	color: color-mix(in srgb, var(--nx-fg) 70%, transparent);
}

.nx-w .nx-chip--accent {
	background: var(--nx-accent);
	color: #fff;
}

.nx-w .nx-chip__icon {
	display: grid;
	place-items: center;
	transform: scale(calc(1 + 0.18 * var(--p, 0)));
}

.nx-w .nx-chip__icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

@media (min-width: 640px) {
	.nx-w .nx-about__grid { padding-inline: 2rem; }
	.nx-w .nx-about__globe-bg { font-size: 16rem; }
	.nx-w .nx-about__statement { font-size: 1.875rem; }
}

@media (min-width: 1024px) {
	.nx-w .nx-about__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); padding-block: 7rem; }
	.nx-w .nx-about__globe { min-height: 20rem; }
	.nx-w .nx-about__globe-bg { left: -1.5rem; font-size: 20rem; }
}

/* ======================================================================
   Word band
   ====================================================================== */

.nx-w .nx-band {
	background: var(--nx-bg);
}

.nx-w .nx-band__list {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: 2.5rem 1.25rem;
}

.nx-w .nx-band__item {
	flex: 1;
	min-width: 0;
}

.nx-w .nx-band__hover {
	display: block;
}

.nx-w .nx-band__tile {
	display: grid;
	place-items: center;
	height: 6rem;
	border-radius: 9999px;
	font-family: var(--nx-font-heading);
	font-size: 1.875rem;
	font-weight: 500;
	transform: scale(calc(1 + 0.03 * var(--p, 0)));
}

.nx-w .nx-band__tile--light { background: var(--nx-surface); color: var(--nx-fg); }
.nx-w .nx-band__tile--accent { background: linear-gradient(to bottom right, var(--nx-accent-from), var(--nx-accent-to)); color: #fff; }
.nx-w .nx-band__tile--dark { background: var(--nx-ink); color: #fff; }
.nx-w .nx-band__tile--ghost { background: color-mix(in srgb, var(--nx-surface) 60%, transparent); color: color-mix(in srgb, var(--nx-fg) 35%, transparent); }

.nx-w .nx-band__arrow {
	font-size: 2.25rem;
}

@media (min-width: 640px) {
	.nx-w .nx-band__list { flex-direction: row; gap: 1rem; padding-inline: 2rem; }
	.nx-w .nx-band__tile { height: 10rem; font-size: 2.25rem; }
	.nx-w .nx-band__arrow { font-size: 3rem; }
}

/* ======================================================================
   Portfolio
   ====================================================================== */

.nx-w .nx-work {
	background: var(--nx-bg);
	color: var(--nx-fg);
}

.nx-w .nx-work__inner {
	padding: 2.5rem 1.25rem 5rem;
}

.nx-w .nx-work__head {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1.25rem;
	margin-bottom: 3rem;
	text-align: center;
}

.nx-w .nx-work__title {
	width: fit-content;
	font-size: 2.25rem;
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -0.02em;
}

.nx-w .nx-work__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.5rem;
}

.nx-w .nx-work__grid > li {
	display: flex;
}

.nx-w .nx-work__link {
	display: block;
	width: 100%;
}

.nx-w .nx-work-card {
	position: relative;
	display: flex;
	flex-direction: column;
	height: 100%;
	min-height: 22rem;
	overflow: hidden;
	padding: 1.5rem;
	border-radius: var(--nx-radius-card);
	background: var(--nx-ink);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.05);
	color: #fff;
	transform: translateY(calc(-8px * var(--p, 0))) scale(calc(1 + 0.012 * var(--p, 0)));
}

.nx-w .nx-work-card__image {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
	opacity: 0.6;
}

.nx-w .nx-work-card--image::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	background: linear-gradient(to top, rgba(10, 10, 10, 0.92), rgba(10, 10, 10, 0.15) 65%);
	pointer-events: none;
}

.nx-w .nx-work-card__mark {
	position: relative;
	z-index: 2;
	display: grid;
	flex: 1;
	place-items: center;
	padding-block: 1.5rem;
	pointer-events: none;
}

.nx-w .nx-work-card__mark-in {
	display: inline-flex;
	align-items: flex-start;
	gap: 0.125rem;
}

.nx-w .nx-work-card__mark .nx-mark {
	font-size: 4.5rem;
	color: rgba(255, 255, 255, 0.9);
}

.nx-w .nx-work-card__mark sup {
	font-size: 0.75rem;
	line-height: 1;
	color: rgba(255, 255, 255, 0.6);
}

.nx-w .nx-work-card__meta {
	position: relative;
	z-index: 2;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	font-size: 0.75rem;
	letter-spacing: 0.025em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.45);
}

.nx-w .nx-work-card__badge {
	display: grid;
	flex-shrink: 0;
	place-items: center;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 9999px;
	background: rgba(255, 255, 255, 0.1);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.15);
	font-size: 1rem;
	color: #fff;
	transform: rotate(calc(45deg * var(--p, 0))) scale(calc(1 + 0.08 * var(--p, 0)));
}

.nx-w .nx-work-card__body {
	position: relative;
	z-index: 2;
	margin-top: auto;
}

.nx-w .nx-work-card__title {
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.nx-w .nx-work-card__text {
	max-width: 28rem;
	margin-top: 0.5rem;
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.55);
}

.nx-w .nx-work-card__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-top: 1.25rem;
}

.nx-w .nx-tag {
	display: inline-flex;
	padding: 0.5rem 1rem;
	border: 1px solid rgba(255, 255, 255, 0.25);
	border-radius: 9999px;
	font-size: 0.875rem;
	line-height: 1.2;
	color: #fff;
}

@media (min-width: 640px) {
	.nx-w .nx-work__inner { padding-inline: 2rem; }
	.nx-w .nx-work__title { font-size: 3rem; }
	.nx-w .nx-work-card { min-height: 26rem; padding: 2rem; }
	.nx-w .nx-work-card__title { font-size: 1.875rem; }
}

@media (min-width: 768px) {
	.nx-w .nx-work__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
	.nx-w .nx-work__inner { padding-bottom: 7rem; }
}

/* ======================================================================
   Services
   ====================================================================== */

.nx-w .nx-services {
	background: var(--nx-bg);
	color: var(--nx-fg);
}

.nx-w .nx-services__inner {
	padding: 5rem 1.25rem;
}

.nx-w .nx-services__title {
	max-width: 16ch;
	margin: 1.25rem 0 3rem;
	font-size: 2.25rem;
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -0.02em;
}

.nx-w .nx-services__item {
	border-top: 1px solid var(--nx-line);
}

.nx-w .nx-services__item:first-child {
	border-top: 0;
}

.nx-w .nx-services__link {
	display: block;
}

.nx-w .nx-services__row {
	position: relative;
	isolation: isolate;
	display: flex;
	align-items: center;
	gap: 1rem;
	padding-block: 1.5rem;
	padding-left: calc(1.5rem + 0.5rem * var(--p, 0));
	padding-right: calc(1.5rem - 0.25rem * var(--p, 0));
	border-radius: var(--nx-radius-card-sm);
}

.nx-w .nx-services__row::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: -1;
	border-radius: inherit;
	background: var(--nx-surface);
	opacity: var(--p, 0);
}

.nx-w .nx-services__index {
	flex-shrink: 0;
	width: 1.75rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: color-mix(in srgb, var(--nx-fg) 40%, transparent);
}

.nx-w .nx-services__name {
	flex: 1;
	min-width: 0;
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.nx-w .nx-services__desc {
	display: none;
	max-width: 20rem;
	font-size: 0.875rem;
	color: color-mix(in srgb, var(--nx-fg) 55%, transparent);
}

.nx-w .nx-services__badge {
	display: grid;
	flex-shrink: 0;
	place-items: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 9999px;
	background: var(--nx-ink);
	color: #fff;
	transform: translateX(calc(5px * var(--p, 0)));
}

@media (min-width: 640px) {
	.nx-w .nx-services__inner { padding-inline: 2rem; }
	.nx-w .nx-services__title { margin-bottom: 3.5rem; font-size: 3rem; }
	.nx-w .nx-services__row { gap: 1.5rem; padding-block: 2rem; }
	.nx-w .nx-services__index { width: 2.5rem; }
	.nx-w .nx-services__name { font-size: 1.875rem; }
	.nx-w .nx-services__badge { width: 3rem; height: 3rem; }
}

@media (min-width: 768px) {
	.nx-w .nx-services__name { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
	.nx-w .nx-services__inner { padding-block: 7rem; }
	.nx-w .nx-services__desc { display: block; }
}

/* ======================================================================
   Stats
   ====================================================================== */

.nx-w .nx-stats {
	background: var(--nx-bg);
}

.nx-w .nx-stats__outer {
	padding: 0 1.25rem 5rem;
}

.nx-w .nx-stats__panel {
	padding: 3rem 1.5rem;
	border-radius: var(--nx-radius-card);
	background: var(--nx-ink);
	color: #fff;
}

.nx-w .nx-stats__title {
	max-width: 20ch;
	margin-top: 1rem;
	font-size: 1.875rem;
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.01em;
}

.nx-w .nx-stats__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 3rem 2rem;
	margin-top: 3.5rem;
}

.nx-w .nx-stats__value {
	font-family: var(--nx-font-heading);
	font-size: 3rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.02em;
	font-variant-numeric: tabular-nums;
}

.nx-w .nx-stats__label {
	margin-top: 0.75rem;
	font-size: 0.875rem;
	color: rgba(255, 255, 255, 0.55);
}

@media (min-width: 640px) {
	.nx-w .nx-stats__outer { padding-inline: 2rem; }
	.nx-w .nx-stats__panel { padding: 4rem 2rem; }
	.nx-w .nx-stats__value { font-size: 3.75rem; }
}

@media (min-width: 768px) {
	.nx-w .nx-stats__panel { padding-inline: 4rem; }
	.nx-w .nx-stats__title { font-size: 2.25rem; }
	.nx-w .nx-stats__value { font-size: 4.5rem; }
}

@media (min-width: 1024px) {
	.nx-w .nx-stats__outer { padding-bottom: 7rem; }
	.nx-w .nx-stats__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ======================================================================
   Footer
   ====================================================================== */

.nx-w .nx-footer {
	position: relative;
	overflow: hidden;
	border-radius: var(--nx-radius-card) var(--nx-radius-card) 0 0;
	background: var(--nx-ink);
	color: #fff;
}

.nx-w .nx-footer__inner {
	position: relative;
	z-index: 10;
	padding: 5rem 1.25rem 2.5rem;
}

.nx-w .nx-footer__cta {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 2rem;
	padding-bottom: 4rem;
	border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nx-w .nx-footer__title {
	font-size: 2.25rem;
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -0.02em;
}

.nx-w .nx-footer__columns {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 3rem;
	padding-block: 4rem;
}

.nx-w .nx-footer__logo {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	font-family: var(--nx-font-heading);
	font-size: 1.125rem;
	font-weight: 600;
}

.nx-w .nx-footer__logo .nx-mark {
	font-size: 1.25rem;
	color: var(--nx-footer-mark, currentColor);
}

.nx-w .nx-footer__tagline {
	max-width: 20rem;
	margin-top: 1rem;
	font-size: 0.875rem;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.55);
}

.nx-w .nx-footer__col-title {
	margin-bottom: 1rem;
	font-size: 0.75rem;
	letter-spacing: 0.025em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.4);
}

.nx-w .nx-footer__col ul {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	font-size: 0.875rem;
}

.nx-w .nx-alink {
	display: inline-flex;
}

.nx-w .nx-alink > span {
	display: inline-block;
	opacity: calc(0.65 + 0.35 * var(--p, 0));
	transform: translateX(calc(4px * var(--p, 0)));
}

.nx-w .nx-alink--legal > span {
	opacity: calc(0.7 + 0.3 * var(--p, 0));
	transform: translateX(calc(3px * var(--p, 0)));
}

.nx-w .nx-footer__legal {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-top: 2rem;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	font-size: 0.75rem;
	color: rgba(255, 255, 255, 0.45);
}

.nx-w .nx-footer__legal-links {
	display: flex;
	gap: 1.5rem;
}

.nx-w .nx-footer__watermark {
	position: absolute;
	inset-inline: 0;
	bottom: -1.5rem;
	z-index: 0;
	font-family: var(--nx-font-heading);
	font-size: var(--nx-watermark);
	font-weight: 700;
	line-height: 1;
	text-align: center;
	white-space: nowrap;
	color: rgba(255, 255, 255, 0.05);
	pointer-events: none;
	user-select: none;
}

@media (min-width: 640px) {
	.nx-w .nx-footer__inner { padding-inline: 2rem; }
	.nx-w .nx-footer__title { font-size: 3rem; }
	.nx-w .nx-footer__legal { flex-direction: row; }
}

@media (min-width: 768px) {
	.nx-w .nx-footer__title { font-size: 3.75rem; }
	.nx-w .nx-footer__columns { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
	.nx-w .nx-footer__inner { padding-top: 6rem; }
	.nx-w .nx-footer__cta { flex-direction: row; align-items: flex-end; justify-content: space-between; }
	.nx-w .nx-footer__columns { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ======================================================================
   Request modal
   ====================================================================== */

.nx-w .nx-modal {
	position: fixed;
	inset: 0;
	z-index: 110;
	display: flex;
	align-items: flex-end;
	justify-content: center;
	padding: 1rem;
	background: rgba(17, 17, 17, 0.3);
	-webkit-backdrop-filter: blur(16px);
	backdrop-filter: blur(16px);
	opacity: 0;
	transition: opacity 0.4s var(--nx-ease-spring);
}

.nx-w .nx-modal[hidden] {
	display: none;
}

.nx-w .nx-modal.is-open {
	opacity: 1;
}

.nx-w .nx-modal__panel {
	position: relative;
	width: 100%;
	max-width: 32rem;
	max-height: calc(100dvh - 2rem);
	overflow: auto;
	padding: 1.5rem;
	border-radius: var(--nx-radius-card);
	background: var(--nx-bg);
	box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25), 0 0 0 1px var(--nx-line);
	color: var(--nx-fg);
	transform: translateY(28px);
	transition: transform 0.55s var(--nx-ease-spring);
}

.nx-w .nx-modal.is-open .nx-modal__panel {
	transform: none;
}

.nx-w .nx-modal.is-closing .nx-modal__panel {
	transform: translateY(18px);
}

.nx-w .nx-modal__close {
	position: absolute;
	top: 1rem;
	right: 1rem;
	display: grid;
	place-items: center;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 9999px;
	background: var(--nx-surface);
	color: color-mix(in srgb, var(--nx-fg) 60%, transparent);
	transition: background-color 0.2s, color 0.2s;
}

.nx-w .nx-modal__close:hover {
	background: var(--nx-surface-2);
	color: var(--nx-fg);
}

.nx-w .nx-modal__head {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
	margin-bottom: 1.5rem;
	padding-right: 2.5rem;
}

.nx-w .nx-modal__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: color-mix(in srgb, var(--nx-fg) 60%, transparent);
}

.nx-w .nx-modal__dot {
	width: 0.375rem;
	height: 0.375rem;
	border-radius: 9999px;
	background: var(--nx-accent);
}

.nx-w .nx-modal__title {
	font-size: 1.5rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.nx-w .nx-modal__form {
	display: flex;
	flex-direction: column;
	gap: 1rem;
}

.nx-w .nx-field {
	display: flex;
	flex-direction: column;
	gap: 0.375rem;
	line-height: 1.25;
}

.nx-w .nx-field__label {
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.025em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--nx-fg) 50%, transparent);
}

.nx-w .nx-field__control {
	width: 100%;
	padding: 0.75rem 1rem;
	border: 1px solid var(--nx-line);
	border-radius: var(--nx-radius-control);
	background: color-mix(in srgb, var(--nx-surface) 50%, transparent);
	box-shadow: none;
	font-family: inherit;
	font-size: 0.875rem;
	line-height: 1.5;
	color: var(--nx-fg);
	outline: none;
	transition: border-color 0.2s, background-color 0.2s;
}

.nx-w .nx-field__control:focus {
	border-color: color-mix(in srgb, var(--nx-fg) 30%, transparent);
	background: #fff;
}

.nx-w textarea.nx-field__control {
	resize: none;
}

.nx-w .nx-field--hp {
	position: absolute;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.nx-w .nx-modal__error {
	font-size: 0.8125rem;
	color: #c62828;
}

.nx-w .nx-modal__error[hidden],
.nx-w .nx-modal__success[hidden],
.nx-w .nx-modal__form-view[hidden] {
	display: none;
}

.nx-w .nx-modal__actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	margin-top: 0.5rem;
}

.nx-w .nx-modal__note {
	font-size: 0.75rem;
	color: color-mix(in srgb, var(--nx-fg) 45%, transparent);
}

.nx-w .nx-modal__success {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 1rem;
	padding-block: 2rem;
	text-align: center;
}

.nx-w .nx-modal__badge {
	display: grid;
	place-items: center;
	width: 3.5rem;
	height: 3.5rem;
	border-radius: 9999px;
	background: var(--nx-ink);
	font-size: 1.5rem;
	color: var(--nx-accent-from);
}

.nx-w .nx-modal__success-title {
	font-size: 1.5rem;
	font-weight: 600;
}

.nx-w .nx-modal__success-text {
	max-width: 32ch;
	font-size: 0.875rem;
	color: color-mix(in srgb, var(--nx-fg) 60%, transparent);
}

.nx-w .nx-modal-placeholder {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 1rem;
	padding: 1rem 1.25rem;
	border: 1px dashed var(--nx-line);
	border-radius: var(--nx-radius-control);
	background: var(--nx-bg);
	font-size: 0.875rem;
	color: color-mix(in srgb, var(--nx-fg) 60%, transparent);
}

.nx-w .nx-modal-placeholder__btn {
	margin-left: auto;
	padding: 0.4rem 0.9rem;
	border-radius: 9999px;
	background: var(--nx-ink);
	font-size: 0.75rem;
	color: #fff;
}

@media (min-width: 640px) {
	.nx-w .nx-modal { align-items: center; }
	.nx-w .nx-modal__panel { padding: 2rem; }
	.nx-w .nx-modal__title { font-size: 1.875rem; }
}

/* ======================================================================
   Generic widgets
   ====================================================================== */

.nx-w .nx-heading {
	color: var(--nx-fg);
	letter-spacing: -0.02em;
}

.nx-w .nx-heading--display { font-size: 2.25rem; font-weight: 600; line-height: 0.98; }
.nx-w .nx-heading--section { font-size: 2.25rem; font-weight: 600; line-height: 1.05; }
.nx-w .nx-heading--statement { font-size: 1.5rem; font-weight: 500; line-height: 1.35; letter-spacing: -0.01em; }
.nx-w .nx-heading .nx-muted { color: var(--nx-muted); }

@media (min-width: 640px) {
	.nx-w .nx-heading--display { font-size: 3rem; }
	.nx-w .nx-heading--section { font-size: 3rem; }
	.nx-w .nx-heading--statement { font-size: 1.875rem; }
}

@media (min-width: 768px) {
	.nx-w .nx-heading--display { font-size: 3.75rem; }
}

/* ======================================================================
   Header dropdown + current page
   ====================================================================== */

.nx-w .nx-header__item {
	position: relative;
}

.nx-w .nx-header__link {
	position: relative;
}

.nx-w .nx-header__link[aria-current="page"] .nx-header__link-in {
	opacity: 1;
}

.nx-w .nx-header__link[aria-current="page"]::after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -0.5rem;
	width: 0.25rem;
	height: 0.25rem;
	border-radius: 9999px;
	background: var(--nx-accent);
	transform: translateX(-50%);
}

.nx-w .nx-header__sub {
	position: absolute;
	top: 100%;
	left: 50%;
	z-index: 5;
	min-width: 15rem;
	padding-top: 0.875rem;
	opacity: 0;
	visibility: hidden;
	transform: translate(-50%, 6px);
	transition: opacity 0.25s, transform 0.35s var(--nx-ease-spring), visibility 0s linear 0.35s;
}

.nx-w .has-sub:hover > .nx-header__sub,
.nx-w .has-sub:focus-within > .nx-header__sub {
	opacity: 1;
	visibility: visible;
	transform: translate(-50%, 0);
	transition-delay: 0s;
}

.nx-w .nx-header__nav .nx-header__sub ul {
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
	padding: 0.5rem;
	border-radius: var(--nx-radius-card-sm);
	background: rgba(255, 255, 255, 0.88);
	-webkit-backdrop-filter: blur(12px);
	backdrop-filter: blur(12px);
	box-shadow: 0 14px 34px -14px rgba(0, 0, 0, 0.22), 0 0 0 1px color-mix(in srgb, var(--nx-line) 80%, transparent);
}

.nx-w .nx-header__sublink {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.625rem 0.875rem;
	border-radius: var(--nx-radius-control);
	font-weight: 500;
	color: var(--nx-fg);
	transition: background-color 0.2s;
}

.nx-w .nx-header__sublink .nx-icon {
	font-size: 0.875rem;
	opacity: 0.35;
	transition: opacity 0.2s, transform 0.25s var(--nx-ease-spring);
}

.nx-w .nx-header__sublink:hover,
.nx-w .nx-header__sublink:focus-visible,
.nx-w .nx-header__sublink[aria-current="page"] {
	background: var(--nx-surface);
}

.nx-w .nx-header__sublink:hover .nx-icon {
	opacity: 1;
	transform: translate(2px, -2px);
}

.nx-w .nx-menu__index {
	min-width: 1.5rem;
}

.nx-w .nx-menu__item[aria-current="page"] .nx-menu__label {
	color: #fff;
}

.nx-w .nx-menu__sub {
	display: flex;
	flex-wrap: wrap;
	gap: 0.25rem 1.25rem;
	padding: 0 0 0.75rem 2.5rem;
	font-size: 0.9375rem;
	opacity: 0;
	transform: translateY(1rem);
	transition: transform 0.5s ease-out, opacity 0.5s ease-out;
	transition-delay: calc(var(--i, 0) * 45ms + 140ms);
}

.nx-w .nx-menu.is-open .nx-menu__sub {
	opacity: 1;
	transform: none;
}

.nx-w .nx-menu__sub a {
	color: rgba(255, 255, 255, 0.5);
	transition: color 0.2s;
}

.nx-w .nx-menu__sub a:hover,
.nx-w .nx-menu__sub a[aria-current="page"] {
	color: #fff;
}

@media (min-width: 640px) {
	.nx-w .nx-menu__sub { font-size: 1.0625rem; }
}

/* ======================================================================
   Shared section heading sizes (inner-page widgets)
   ====================================================================== */

.nx-w .nx-split__title,
.nx-w .nx-features__title,
.nx-w .nx-process__title,
.nx-w .nx-quotes__title,
.nx-w .nx-faq__title,
.nx-w .nx-contact__title {
	font-size: 2.25rem;
	font-weight: 600;
	line-height: 1.05;
	letter-spacing: -0.02em;
}

@media (min-width: 640px) {
	.nx-w .nx-split__title,
	.nx-w .nx-features__title,
	.nx-w .nx-process__title,
	.nx-w .nx-quotes__title,
	.nx-w .nx-faq__title,
	.nx-w .nx-contact__title {
		font-size: 3rem;
	}
}

/* ======================================================================
   Page hero
   ====================================================================== */

.nx-w .nx-phero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	border-radius: 0 0 var(--nx-radius-card) var(--nx-radius-card);
	background: var(--nx-surface);
	color: var(--nx-fg);
}

.nx-w .nx-phero--dark {
	background: var(--nx-ink);
	color: #fff;
}

.nx-w .nx-phero__watermark {
	position: absolute;
	inset-inline: 0;
	bottom: -2rem;
	z-index: 1;
	font-family: var(--nx-font-heading);
	font-size: var(--nx-watermark);
	font-weight: 700;
	line-height: 1;
	text-align: center;
	white-space: nowrap;
	color: rgba(255, 255, 255, 0.7);
	pointer-events: none;
	user-select: none;
}

.nx-w .nx-phero--dark .nx-phero__watermark {
	color: rgba(255, 255, 255, 0.04);
}

.nx-w .nx-phero__inner {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 8rem 1.25rem 4rem;
}

.nx-w .nx-phero__crumbs {
	margin-bottom: 2.5rem;
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--nx-fg) 50%, transparent);
}

.nx-w .nx-phero--dark .nx-phero__crumbs {
	color: rgba(255, 255, 255, 0.5);
}

.nx-w .nx-phero__crumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.nx-w .nx-phero__crumbs li + li::before {
	content: "/";
	margin-right: 0.5rem;
	opacity: 0.5;
}

.nx-w .nx-phero__crumbs a {
	transition: color 0.2s;
}

.nx-w .nx-phero__crumbs a:hover {
	color: var(--nx-fg);
}

.nx-w .nx-phero--dark .nx-phero__crumbs a:hover {
	color: #fff;
}

.nx-w .nx-phero__grid {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.nx-w .nx-phero__main {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.5rem;
}

.nx-w .nx-phero__title {
	font-size: 2.5rem;
	font-weight: 600;
	line-height: 0.98;
	letter-spacing: -0.025em;
}

.nx-w .nx-phero__side {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.5rem;
}

.nx-w .nx-phero__intro {
	max-width: 32rem;
	font-size: 1rem;
	line-height: 1.6;
	color: color-mix(in srgb, var(--nx-fg) 65%, transparent);
}

.nx-w .nx-phero--dark .nx-phero__intro {
	color: rgba(255, 255, 255, 0.65);
}

.nx-w .nx-phero__ctas {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.nx-w .nx-phero--dark .nx-pill--outline .nx-pill__body {
	border-color: rgba(255, 255, 255, 0.25);
	color: #fff;
}

@media (min-width: 640px) {
	.nx-w .nx-phero__inner { padding-inline: 2rem; }
	.nx-w .nx-phero__title { font-size: 3.5rem; }
	.nx-w .nx-phero__intro { font-size: 1.125rem; }
}

@media (min-width: 1024px) {
	.nx-w .nx-phero__inner { min-height: min(40rem, 78vh); padding: 9rem 2rem 5.5rem; }
	.nx-w .nx-phero__grid { display: grid; grid-template-columns: repeat(12, minmax(0, 1fr)); gap: 2.5rem; align-items: end; }
	.nx-w .nx-phero__main { grid-column: span 7; }
	.nx-w .nx-phero__side { grid-column: 8 / span 5; }
	.nx-w .nx-phero__title { font-size: 4.5rem; }
}

/* ======================================================================
   Text + image
   ====================================================================== */

.nx-w .nx-split {
	background: var(--nx-bg);
	color: var(--nx-fg);
}

.nx-w .nx-split--surface {
	background: var(--nx-surface);
}

.nx-w .nx-split__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: center;
	gap: 3rem;
	padding: 5rem 1.25rem;
}

.nx-w .nx-split__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 5 / 4;
	border-radius: var(--nx-radius-card);
	background: var(--nx-ink);
}

.nx-w .nx-split__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	max-width: none;
	object-fit: cover;
}

.nx-w .nx-split__placeholder {
	position: absolute;
	inset: 0;
	display: grid;
	place-items: center;
	font-size: 5rem;
	color: var(--nx-accent-from);
}

.nx-w .nx-split__caption {
	position: absolute;
	left: 1.25rem;
	bottom: 1.25rem;
	padding: 0.5rem 1rem;
	border-radius: 9999px;
	background: rgba(255, 255, 255, 0.88);
	-webkit-backdrop-filter: blur(8px);
	backdrop-filter: blur(8px);
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #111;
}

.nx-w .nx-split__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.5rem;
}

.nx-w .nx-split__text {
	font-size: 1rem;
	line-height: 1.7;
	color: color-mix(in srgb, var(--nx-fg) 65%, transparent);
}

.nx-w .nx-split__text p + p {
	margin-top: 1rem;
}

.nx-w .nx-split__text a {
	color: var(--nx-accent);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.nx-w .nx-checklist {
	display: grid;
	gap: 0.75rem;
	font-size: 0.9375rem;
	font-weight: 500;
}

.nx-w .nx-checklist li {
	display: flex;
	align-items: flex-start;
	gap: 0.75rem;
}

.nx-w .nx-checklist__mark {
	display: grid;
	flex-shrink: 0;
	place-items: center;
	width: 1.5rem;
	height: 1.5rem;
	border-radius: 9999px;
	background: color-mix(in srgb, var(--nx-accent) 12%, transparent);
	font-size: 0.875rem;
	color: var(--nx-accent);
}

@media (min-width: 640px) {
	.nx-w .nx-split__grid { padding-inline: 2rem; }
	.nx-w .nx-split__text { font-size: 1.0625rem; }
}

@media (min-width: 1024px) {
	.nx-w .nx-split__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 5rem; padding-block: 7rem; }
	.nx-w .nx-split--media-right .nx-split__media { order: 2; }
}

/* ======================================================================
   Feature cards
   ====================================================================== */

.nx-w .nx-features {
	background: var(--nx-bg);
	color: var(--nx-fg);
}

.nx-w .nx-features__outer {
	padding: 5rem 1.25rem;
}

.nx-w .nx-features--dark .nx-features__panel {
	padding: 3rem 1.5rem;
	border-radius: var(--nx-radius-card);
	background: var(--nx-ink);
	color: #fff;
}

.nx-w .nx-features__head {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	margin-bottom: 3rem;
}

.nx-w .nx-features__heading {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.25rem;
}

.nx-w .nx-features__title {
	max-width: 18ch;
}

.nx-w .nx-features__intro {
	max-width: 26rem;
	font-size: 1rem;
	line-height: 1.6;
	color: color-mix(in srgb, var(--nx-fg) 60%, transparent);
}

.nx-w .nx-features--dark .nx-features__intro {
	color: rgba(255, 255, 255, 0.6);
}

.nx-w .nx-features__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
}

.nx-w .nx-features__grid > li {
	display: flex;
}

.nx-w .nx-feature {
	display: flex;
	width: 100%;
}

.nx-w .nx-feature__card {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	width: 100%;
	padding: 1.75rem;
	border-radius: var(--nx-radius-card-sm);
	background: var(--nx-surface);
	transform: translateY(calc(-6px * var(--p, 0)));
}

.nx-w .nx-features--dark .nx-feature__card {
	background: rgba(255, 255, 255, 0.05);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.nx-w .nx-feature__icon {
	display: grid;
	place-items: center;
	width: 3rem;
	height: 3rem;
	margin-bottom: 0.75rem;
	border-radius: 9999px;
	background: var(--nx-accent);
	font-size: 1.125rem;
	color: #fff;
}

.nx-w .nx-feature__icon svg {
	width: 1em;
	height: 1em;
	fill: currentColor;
}

.nx-w .nx-feature__title {
	font-size: 1.25rem;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.nx-w .nx-feature__text {
	font-size: 0.9375rem;
	line-height: 1.6;
	color: color-mix(in srgb, var(--nx-fg) 60%, transparent);
}

.nx-w .nx-features--dark .nx-feature__text {
	color: rgba(255, 255, 255, 0.6);
}

.nx-w .nx-feature__more {
	display: inline-flex;
	align-items: center;
	gap: 0.375rem;
	margin-top: auto;
	padding-top: 0.75rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: var(--nx-accent);
}

@media (min-width: 640px) {
	.nx-w .nx-features__outer { padding-inline: 2rem; }
	.nx-w .nx-features--dark .nx-features__panel { padding: 4rem 2rem; }
}

@media (min-width: 768px) {
	.nx-w .nx-features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.nx-w .nx-features--dark .nx-features__panel { padding-inline: 4rem; }
}

@media (min-width: 1024px) {
	.nx-w .nx-features__outer { padding-block: 7rem; }
	.nx-w .nx-features__head { flex-direction: row; align-items: flex-end; justify-content: space-between; }
	.nx-w .nx-features__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* ======================================================================
   Process
   ====================================================================== */

.nx-w .nx-process {
	background: var(--nx-bg);
	color: var(--nx-fg);
}

.nx-w .nx-process__inner {
	padding: 5rem 1.25rem;
}

.nx-w .nx-process__title {
	margin: 1.25rem 0 3rem;
}

.nx-w .nx-process__list {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 2.5rem;
}

.nx-w .nx-process__step {
	position: relative;
	padding-top: 1.5rem;
	border-top: 1px solid var(--nx-line);
}

.nx-w .nx-process__step::before {
	content: "";
	position: absolute;
	top: -1px;
	left: 0;
	width: 3rem;
	height: 2px;
	background: var(--nx-accent);
}

.nx-w .nx-process__top {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	margin-bottom: 1.25rem;
}

.nx-w .nx-process__index {
	font-family: var(--nx-font-heading);
	font-size: 3rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: -0.03em;
	color: var(--nx-accent);
}

.nx-w .nx-process__meta {
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--nx-fg) 45%, transparent);
}

.nx-w .nx-process__name {
	font-size: 1.5rem;
	font-weight: 500;
	line-height: 1.2;
	letter-spacing: -0.01em;
}

.nx-w .nx-process__text {
	margin-top: 0.625rem;
	font-size: 0.9375rem;
	line-height: 1.6;
	color: color-mix(in srgb, var(--nx-fg) 60%, transparent);
}

@media (min-width: 640px) {
	.nx-w .nx-process__inner { padding-inline: 2rem; }
	.nx-w .nx-process__title { margin-bottom: 3.5rem; }
}

@media (min-width: 768px) {
	.nx-w .nx-process__list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 3rem 2rem; }
}

@media (min-width: 1024px) {
	.nx-w .nx-process__inner { padding-block: 7rem; }
	.nx-w .nx-process__list { grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr)); }
}

/* ======================================================================
   Testimonials
   ====================================================================== */

.nx-w .nx-quotes {
	background: var(--nx-bg);
	color: var(--nx-fg);
}

.nx-w .nx-quotes__inner {
	padding: 5rem 1.25rem;
}

.nx-w .nx-quotes__title {
	margin: 1.25rem 0 3rem;
}

.nx-w .nx-quotes__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1.25rem;
}

.nx-w .nx-quotes__grid > li {
	display: flex;
}

.nx-w .nx-quote {
	display: flex;
	width: 100%;
	margin: 0;
}

.nx-w .nx-quote__card {
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
	width: 100%;
	padding: 2rem;
	border-radius: var(--nx-radius-card);
	background: var(--nx-surface);
	transform: translateY(calc(-6px * var(--p, 0)));
}

.nx-w .nx-quotes__grid > li:nth-child(3n + 2) .nx-quote__card {
	background: var(--nx-ink);
	color: #fff;
}

.nx-w .nx-quote__stars {
	display: inline-flex;
	gap: 0.125rem;
	font-size: 1rem;
	color: var(--nx-accent);
}

.nx-w .nx-quotes__grid > li:nth-child(3n + 2) .nx-quote__stars {
	color: var(--nx-accent-from);
}

.nx-w .nx-quote__text {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 1.125rem;
	font-weight: 500;
	line-height: 1.5;
	letter-spacing: -0.005em;
}

.nx-w .nx-quote__text p {
	margin: 0;
}

.nx-w .nx-quote__author {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin-top: auto;
}

.nx-w .nx-quote__initials,
.nx-w .nx-quote__photo {
	flex-shrink: 0;
	width: 2.75rem;
	height: 2.75rem;
	border-radius: 9999px;
}

.nx-w .nx-quote__initials {
	display: grid;
	place-items: center;
	background: var(--nx-ink);
	font-size: 0.8125rem;
	font-weight: 600;
	color: #fff;
}

.nx-w .nx-quotes__grid > li:nth-child(3n + 2) .nx-quote__initials {
	background: var(--nx-accent);
}

.nx-w .nx-quote__photo {
	object-fit: cover;
}

.nx-w .nx-quote__name {
	display: block;
	font-size: 0.9375rem;
	font-weight: 600;
}

.nx-w .nx-quote__role {
	display: block;
	font-size: 0.8125rem;
	opacity: 0.6;
}

@media (min-width: 640px) {
	.nx-w .nx-quotes__inner { padding-inline: 2rem; }
}

@media (min-width: 768px) {
	.nx-w .nx-quotes__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
	.nx-w .nx-quotes__inner { padding-block: 7rem; }
	.nx-w .nx-quotes__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ======================================================================
   FAQ
   ====================================================================== */

.nx-w .nx-faq {
	background: var(--nx-bg);
	color: var(--nx-fg);
}

.nx-w .nx-faq__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 3rem;
	padding: 5rem 1.25rem;
}

.nx-w .nx-faq__head {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.25rem;
}

.nx-w .nx-faq__intro {
	max-width: 24rem;
	font-size: 1rem;
	line-height: 1.6;
	color: color-mix(in srgb, var(--nx-fg) 60%, transparent);
}

.nx-w .nx-faq__item {
	border-bottom: 1px solid var(--nx-line);
}

.nx-w .nx-faq__item:first-child {
	border-top: 1px solid var(--nx-line);
}

.nx-w .nx-faq__btn {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	width: 100%;
	padding: 1.5rem 0;
	font-family: var(--nx-font-heading);
	font-size: 1.125rem;
	font-weight: 500;
	line-height: 1.35;
	text-align: left;
	color: var(--nx-fg);
}

.nx-w .nx-faq__icon {
	position: relative;
	flex-shrink: 0;
	width: 2.25rem;
	height: 2.25rem;
	border-radius: 9999px;
	background: var(--nx-surface);
	color: var(--nx-fg);
	transition: background-color 0.3s, color 0.3s, transform 0.45s var(--nx-ease-spring);
}

.nx-w .nx-faq__icon::before,
.nx-w .nx-faq__icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 0.75rem;
	height: 1.5px;
	border-radius: 2px;
	background: currentColor;
	transform: translate(-50%, -50%);
	transition: transform 0.45s var(--nx-ease-spring);
}

.nx-w .nx-faq__icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.nx-w .nx-faq__item.is-open .nx-faq__icon {
	background: var(--nx-ink);
	color: #fff;
	transform: rotate(180deg);
}

.nx-w .nx-faq__item.is-open .nx-faq__icon::after {
	transform: translate(-50%, -50%) rotate(0deg);
}

.nx-w .nx-faq__a {
	display: grid;
	grid-template-rows: 0fr;
	transition: grid-template-rows 0.45s var(--nx-ease-spring);
}

.nx-w .nx-faq__item.is-open .nx-faq__a,
html:not(.nx-js) .nx-w .nx-faq__a {
	grid-template-rows: 1fr;
}

.nx-w .nx-faq__a-in {
	overflow: hidden;
}

.nx-w .nx-faq__a-in p {
	padding: 0 3.5rem 1.5rem 0;
	font-size: 0.9375rem;
	line-height: 1.7;
	color: color-mix(in srgb, var(--nx-fg) 65%, transparent);
}

@media (min-width: 640px) {
	.nx-w .nx-faq__grid { padding-inline: 2rem; }
	.nx-w .nx-faq__btn { font-size: 1.25rem; }
}

@media (min-width: 1024px) {
	.nx-w .nx-faq__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 5rem; padding-block: 7rem; }
	.nx-w .nx-faq__head { position: sticky; top: 7rem; align-self: start; }
}

/* ======================================================================
   Contact section
   ====================================================================== */

.nx-w .nx-contact {
	background: var(--nx-bg);
	color: var(--nx-fg);
}

.nx-w .nx-contact__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 3rem;
	padding: 5rem 1.25rem;
}

.nx-w .nx-contact__info {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.25rem;
}

.nx-w .nx-contact__text {
	max-width: 26rem;
	font-size: 1rem;
	line-height: 1.6;
	color: color-mix(in srgb, var(--nx-fg) 60%, transparent);
}

.nx-w .nx-contact__details {
	width: 100%;
	margin-top: 1.5rem;
	border-top: 1px solid var(--nx-line);
}

.nx-w .nx-contact__detail {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	padding: 1.125rem 0;
	border-bottom: 1px solid var(--nx-line);
}

.nx-w .nx-contact__detail dt {
	font-size: 0.75rem;
	font-weight: 500;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: color-mix(in srgb, var(--nx-fg) 45%, transparent);
}

.nx-w .nx-contact__detail dd {
	margin: 0;
	font-weight: 500;
	text-align: right;
}

.nx-w .nx-contact__detail a {
	transition: color 0.2s;
}

.nx-w .nx-contact__detail a:hover {
	color: var(--nx-accent);
}

.nx-w .nx-contact__card {
	padding: 1.5rem;
	border-radius: var(--nx-radius-card);
	background: var(--nx-surface);
}

.nx-w .nx-contact__form-title {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
	font-size: 0.875rem;
	font-weight: 500;
	color: color-mix(in srgb, var(--nx-fg) 60%, transparent);
}

.nx-w .nx-contact__row {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 1rem;
}

.nx-w .nx-contact .nx-field__control {
	background-color: var(--nx-bg);
}

.nx-w select.nx-field__control {
	-webkit-appearance: none;
	appearance: none;
	padding-right: 2.5rem;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23111' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 1rem center;
	background-size: 0.875rem;
	cursor: pointer;
}

@media (min-width: 640px) {
	.nx-w .nx-contact__grid { padding-inline: 2rem; }
	.nx-w .nx-contact__card { padding: 2.5rem; }
	.nx-w .nx-contact__row { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (min-width: 1024px) {
	.nx-w .nx-contact__grid { grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 4rem; padding-block: 7rem; }
	.nx-w .nx-contact__info { position: sticky; top: 7rem; align-self: start; }
}
