/* ==========================================================================
   Nuvens theme styles
   Colour and size tokens come from theme.json as --wp--preset--* variables.
   Everything here is layout and ornament that theme.json cannot express.
   ========================================================================== */

:root {
	--nv-shadow-card: 0 20px 60px rgba(46, 35, 102, 0.08);
	--nv-shadow-console: 0 30px 80px rgba(46, 35, 102, 0.22);
	--nv-radius-card: 20px;
	--nv-radius-console: 28px;
	--nv-head-h: 96px;
	--nv-brand-bar: linear-gradient(90deg, #ee0fcd 0%, #8668d5 50%, #0dd0dd 100%);
	--nv-hero-image: url("../images/hero-clouds.png");
}

body {
	-webkit-font-smoothing: antialiased;
	text-wrap: pretty;
}

/* The header is fixed, so anything jumped to by anchor has to clear it or the
   heading lands underneath the bar. */
section[id],
.wp-block-group[id],
[id^="nv-"] {
	scroll-margin-top: calc(var(--nv-head-h) + 24px);
}

html {
	scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
}

h1, h2, h3, h4 {
	text-wrap: balance;
}

/* --------------------------------------------------------------------------
   Shared bits
   -------------------------------------------------------------------------- */

/* Mono eyebrow label above a heading. */
.nv-label {
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--label);
	letter-spacing: 1.5px;
	text-transform: uppercase;
	color: var(--wp--preset--color--violet-link);
	margin: 0;
}

.nv-label--ondark {
	color: #7fe6ee;
}

.nv-label--muted {
	color: var(--wp--preset--color--muted);
}

/* 6px brand gradient strip. */
.nv-brandbar {
	height: 6px;
	background: var(--nv-brand-bar);
}

/* Pill tag, e.g. "No cost" / "New". */
.nv-tag {
	display: inline-block;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 12px;
	letter-spacing: 1px;
	text-transform: uppercase;
	border: 1px solid var(--wp--preset--color--cyan);
	color: var(--wp--preset--color--cyan-deep);
	border-radius: 999px;
	padding: 2px 10px;
	line-height: 1.6;
}

/* MAP is the AWS Migration Acceleration Program: those stages can be funded,
   which is a different claim from the first two being free, so it gets a
   colour of its own rather than reusing the no-cost cyan. */
.nv-tag--map {
	border-color: var(--wp--preset--color--violet);
	color: var(--wp--preset--color--indigo);
}

.nv-tag--ondark {
	border-color: rgba(255, 255, 255, 0.4);
	color: rgba(255, 255, 255, 0.82);
}

.nv-tag--map.nv-tag--ondark {
	border-color: rgba(134, 104, 213, 0.75);
	color: #cbb9f5;
}

.nv-tag--new {
	border-color: var(--wp--preset--color--magenta);
	color: #b50a9e;
}

/* Outlined button used on the dark hero. */
.wp-block-button.nv-btn-ghost .wp-block-button__link {
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.5);
	color: #ffffff;
	padding: 12px 22px;
	font-weight: 500;
	font-size: var(--wp--preset--font-size--small);
}

.wp-block-button.nv-btn-ghost .wp-block-button__link:hover {
	background: rgba(255, 255, 255, 0.24);
	color: #ffffff;
}

/* Plain text link that sits next to a primary button. */
.nv-textlink a,
a.nv-textlink {
	font-weight: 500;
	text-underline-offset: 3px;
}

.nv-textlink--onlight a,
a.nv-textlink--onlight {
	color: var(--wp--preset--color--violet-link);
}

/* --------------------------------------------------------------------------
   Hero — one full screen of video
   -------------------------------------------------------------------------- */

.nv-hero {
	position: relative;
	overflow: hidden;
	background-color: var(--wp--preset--color--night);
	isolation: isolate;
}

.nv-hero--video {
	/* --nv-mark-w sets the width of the wordmark, and the headline is sized
	   from it so the two line up. --nv-h1-ratio is how many times the headline's
	   font size fits into the width of "We move desktops"; nudge it if the match
	   drifts once the real typeface is loaded. */
	--nv-mark-w: min(640px, 84vw);
	--nv-h1-ratio: 8.0;
	--nv-hero-gap: 26px;
	--nv-hero-pad: 40px;

	/* svh keeps mobile browser chrome from pushing the CTA off screen. */
	min-height: 100vh;
	min-height: 100svh;
	display: flex;
	flex-direction: column;
}

/* Dense UI footage makes a poor backdrop for type at full size, so it is
   pushed back out of focus and becomes colour and movement rather than
   detail. Set --nv-hero-blur to 0px for the footage sharp. */
.nv-hero__video {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	z-index: -2;
	filter: blur(var(--nv-hero-blur, 0px)) saturate(1.04);
	/* Scale past the edges so the blur has no soft border, and drift slowly
	   so the hero still breathes while the dashboard sits populated. */
	/* The footage carries its own movement, so this is only a slow push to
	   keep the frame from feeling locked. */
	transform: scale(1.03);
	animation: nv-hero-drift 48s ease-in-out infinite alternate;
}

@keyframes nv-hero-drift {
	from { transform: scale(1.03); }
	to   { transform: scale(1.09); }
}

/* Carries the white type. Darkest at the top and bottom where the nav,
   the headline and the scroll cue sit. */
.nv-hero__scrim {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		linear-gradient(
			180deg,
			rgba(15, 11, 36, 0.88) 0px,
			rgba(15, 11, 36, 0.62) 220px,
			rgba(15, 11, 36, 0.62) calc(100% - 220px),
			rgba(15, 11, 36, 0.9) 100%
		),
		radial-gradient(
			120% 90% at 50% 45%,
			rgba(46, 35, 102, 0.3) 0%,
			rgba(15, 11, 36, 0.72) 100%
		);
}

/* The headline block takes the space between the nav and the scroll cue. */
.nv-hero__inner {
	position: relative;
	flex: 1 1 auto;
	display: flex;
	flex-direction: column;
	justify-content: center;
	/* The bar is out of flow now, so the content centres below it as before. */
	padding-top: calc(var(--nv-hero-pad) + var(--nv-head-h));
	padding-bottom: var(--nv-hero-pad);
}

.nv-hero__inner > * + * {
	margin-top: var(--nv-hero-gap);
}

.nv-hero h1 {
	color: #ffffff;
	/* `!important` is not decoration here. WordPress emits every preset size as
	   `.has-hero-heading-font-size { font-size: … !important }`, and the heading
	   block in the pattern carries that class, so nothing short of `!important`
	   can tie the headline to the wordmark's width. Without it the rule below
	   is silently ignored and the two edges drift apart. */
	font-size: calc(var(--nv-mark-w) / var(--nv-h1-ratio)) !important;
	text-shadow: 0 2px 30px rgba(15, 11, 36, 0.45);
}

.nv-hero p {
	color: #ede9fa;
}

.nv-hero .wp-block-buttons {
	justify-content: center;
}

/* Large centred wordmark above the eyebrow, set to the width of the headline. */
.nv-hero__mark {
	position: relative;
	width: var(--nv-mark-w);
	margin-inline: auto;
	line-height: 0;
}

.nv-hero__mark img,
.nv-hero__mark svg {
	width: 100%;
	height: auto;
	display: block;
}

/* A band of light swept left to right, masked to the logo's own alpha so it
   only lights the marks and not the box around them. */
.nv-hero__shimmer {
	position: absolute;
	inset: 0;
	pointer-events: none;
	background-image: linear-gradient(
		100deg,
		rgba(255, 255, 255, 0) 38%,
		rgba(255, 255, 255, 0.5) 50%,
		rgba(255, 255, 255, 0) 62%
	);
	background-repeat: no-repeat;
	background-size: 220% 100%;
	background-position: -60% 0;
	/* The mask is the logo's own outline, inlined as a data URI rather than
	   pointing at a file: the stylesheet is then self-contained, and the sweep
	   cannot silently turn into a lit rectangle if the image goes missing. */
	-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 588.63 177.03'%3E%3Cpath d='M51.63,174.13v-47.12c0-11.61-8.19-19.64-17.54-19.64s-17.55,8.03-17.55,19.64v47.12H0v-47.12c0-20.49,13.7-35.69,34.09-35.69s34.09,15.37,34.09,35.69v47.12h-16.54ZM143.03,141.34c0,20.32-13.87,35.68-34.09,35.68s-34.09-15.2-34.09-35.68v-47.12h16.54v47.12c0,11.61,8.19,19.64,17.55,19.64s17.54-8.03,17.54-19.64v-47.12h16.54v47.12ZM216.56,94.22h18.55l-38.1,79.91h-11.03l-37.93-79.91h18.55l24.73,54.81,25.23-54.81ZM230.09,134.51c0-23.9,16.38-43.2,40.27-43.2s37.43,20.49,37.43,44.22v5.29h-60.32c2.67,13.32,12.53,19.98,23.73,19.98,8.86,0,16.21-4.1,21.05-10.24l12.2,11.27c-7.69,9.73-20.05,15.2-33.08,15.2-23.23,0-41.27-17.59-41.27-42.51ZM290.24,125.47c-1.5-10.42-9.69-17.93-20.55-17.93-10.19,0-19.22,6.49-22.06,17.93h42.61ZM366.1,174.13v-47.12c0-11.61-8.19-19.64-17.54-19.64s-17.55,8.03-17.55,19.64v47.12h-16.54v-47.12c0-20.49,13.7-35.69,34.09-35.69s34.09,15.37,34.09,35.69v47.12h-16.54ZM421.41,91.32c12.2,0,23.39,5.12,31.75,14l-12.2,11.27c-5.35-5.64-12.2-9.05-20.05-9.05s-12.53,3.41-12.53,7.34c0,12.98,46.79,8.02,46.79,36.03,0,17.42-15.71,26.12-31.08,26.12-13.37,0-25.56-5.8-34.76-15.71l12.2-11.27c6.01,6.66,13.7,10.76,22.39,10.76,9.36,0,14.7-4.61,14.7-9.05,0-12.98-46.79-8.54-46.79-35.86,0-16.73,14.87-24.59,29.58-24.59ZM362.44,76.71l-.99-12.06c-.15-1.44-.22-2.91-.22-4.36,0-23.16,18.84-42,42-42,15.1,0,29.11,8.17,36.56,21.32l5.14,9.07,8.32-6.28c6.87-5.19,15.07-7.93,23.71-7.93,19.24,0,35.58,13.74,38.83,32.67l1.4,8.13,8.23-.55c1-.07,1.98-.1,2.91-.1,23.16,0,42,18.84,42,42s-18.84,42-42,42h-60.19c-1.6,6.96-5.02,13.19-9.83,18.29h70.03c33.24,0,60.29-27.05,60.29-60.29s-25.09-58.29-56.64-60.18c-7.46-23.73-29.49-40.25-55.02-40.25-9.41,0-18.46,2.22-26.63,6.49-11.34-14.18-28.66-22.68-47.11-22.68-32,0-58.27,25.07-60.18,56.6-18.53,1.78-34.62,11.98-44.42,26.72,5.11,3.65,9.52,8.28,13.07,13.74,7.05-13.33,21.42-22.1,37.51-22.57,10.66-.31,13.24,2.23,13.24,2.23Z'/%3E%3C/svg%3E");
	        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 588.63 177.03'%3E%3Cpath d='M51.63,174.13v-47.12c0-11.61-8.19-19.64-17.54-19.64s-17.55,8.03-17.55,19.64v47.12H0v-47.12c0-20.49,13.7-35.69,34.09-35.69s34.09,15.37,34.09,35.69v47.12h-16.54ZM143.03,141.34c0,20.32-13.87,35.68-34.09,35.68s-34.09-15.2-34.09-35.68v-47.12h16.54v47.12c0,11.61,8.19,19.64,17.55,19.64s17.54-8.03,17.54-19.64v-47.12h16.54v47.12ZM216.56,94.22h18.55l-38.1,79.91h-11.03l-37.93-79.91h18.55l24.73,54.81,25.23-54.81ZM230.09,134.51c0-23.9,16.38-43.2,40.27-43.2s37.43,20.49,37.43,44.22v5.29h-60.32c2.67,13.32,12.53,19.98,23.73,19.98,8.86,0,16.21-4.1,21.05-10.24l12.2,11.27c-7.69,9.73-20.05,15.2-33.08,15.2-23.23,0-41.27-17.59-41.27-42.51ZM290.24,125.47c-1.5-10.42-9.69-17.93-20.55-17.93-10.19,0-19.22,6.49-22.06,17.93h42.61ZM366.1,174.13v-47.12c0-11.61-8.19-19.64-17.54-19.64s-17.55,8.03-17.55,19.64v47.12h-16.54v-47.12c0-20.49,13.7-35.69,34.09-35.69s34.09,15.37,34.09,35.69v47.12h-16.54ZM421.41,91.32c12.2,0,23.39,5.12,31.75,14l-12.2,11.27c-5.35-5.64-12.2-9.05-20.05-9.05s-12.53,3.41-12.53,7.34c0,12.98,46.79,8.02,46.79,36.03,0,17.42-15.71,26.12-31.08,26.12-13.37,0-25.56-5.8-34.76-15.71l12.2-11.27c6.01,6.66,13.7,10.76,22.39,10.76,9.36,0,14.7-4.61,14.7-9.05,0-12.98-46.79-8.54-46.79-35.86,0-16.73,14.87-24.59,29.58-24.59ZM362.44,76.71l-.99-12.06c-.15-1.44-.22-2.91-.22-4.36,0-23.16,18.84-42,42-42,15.1,0,29.11,8.17,36.56,21.32l5.14,9.07,8.32-6.28c6.87-5.19,15.07-7.93,23.71-7.93,19.24,0,35.58,13.74,38.83,32.67l1.4,8.13,8.23-.55c1-.07,1.98-.1,2.91-.1,23.16,0,42,18.84,42,42s-18.84,42-42,42h-60.19c-1.6,6.96-5.02,13.19-9.83,18.29h70.03c33.24,0,60.29-27.05,60.29-60.29s-25.09-58.29-56.64-60.18c-7.46-23.73-29.49-40.25-55.02-40.25-9.41,0-18.46,2.22-26.63,6.49-11.34-14.18-28.66-22.68-47.11-22.68-32,0-58.27,25.07-60.18,56.6-18.53,1.78-34.62,11.98-44.42,26.72,5.11,3.65,9.52,8.28,13.07,13.74,7.05-13.33,21.42-22.1,37.51-22.57,10.66-.31,13.24,2.23,13.24,2.23Z'/%3E%3C/svg%3E");
	-webkit-mask-size: 100% 100%;
	        mask-size: 100% 100%;
	-webkit-mask-repeat: no-repeat;
	        mask-repeat: no-repeat;
	animation: nv-shimmer 5s ease-in-out infinite;
}

@keyframes nv-shimmer {
	0%        { background-position: -60% 0; }
	55%, 100% { background-position: 160% 0; }
}

/* Foot of the hero: scroll cue on the left, pause control on the right. */
.nv-hero__foot {
	position: relative;
	display: flex;
	align-items: center;
	/* The scroll cue used to sit opposite the pause control. With it gone the
	   control sits on its own at the right rather than stranded on the left. */
	justify-content: flex-end;
	gap: 16px 24px;
	padding: 0 24px 28px;
	max-width: 1240px;
	margin-inline: auto;
	width: 100%;
	box-sizing: border-box;
}

.nv-hero__scroll {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	color: #ffffff;
	text-decoration: none;
	font-weight: 500;
	font-size: var(--wp--preset--font-size--small);
	padding: 12px 0;
}

.nv-hero__scroll:hover {
	color: #ffffff;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.nv-hero__scroll svg {
	width: 20px;
	height: 20px;
	animation: nv-nudge 2.4s ease-in-out infinite;
}

@keyframes nv-nudge {
	0%, 100% { transform: translateY(0); }
	50%      { transform: translateY(4px); }
}

/* Pause control for the background video. Required, not decoration:
   content that moves and loops needs a way to stop it. */
.nv-video__toggle {
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 999px;
	background: rgba(15, 11, 36, 0.45);
	color: #ffffff;
	cursor: pointer;
}

.nv-video__toggle:hover {
	background: rgba(15, 11, 36, 0.72);
	border-color: rgba(255, 255, 255, 0.8);
}

.nv-video__icon {
	width: 17px;
	height: 17px;
	fill: currentColor;
}

[data-nv-video] .nv-video__icon--play { display: none; }
[data-nv-video] .nv-video__icon--pause { display: block; }
[data-nv-video].is-paused .nv-video__icon--play { display: block; }
[data-nv-video].is-paused .nv-video__icon--pause { display: none; }

/* Short viewports: shrink the type rather than letting the hero grow past
   one screen. A 1280x720 laptop and a phone in landscape both land here. */
@media (max-height: 880px) {
	.nv-hero--video {
		--nv-mark-w: min(500px, 80vw);
		--nv-hero-gap: 18px;
		--nv-hero-pad: 20px;
	}

	/* `!important` for the same reason as the headline: core emits the preset
	   size classes with `!important`, so a plain override never lands. */
	.nv-hero .has-x-large-font-size {
		font-size: 19px !important;
		line-height: 1.5;
	}

	.nv-hero__foot {
		padding-bottom: 18px;
	}
}

@media (max-height: 680px) {
	.nv-hero--video {
		--nv-mark-w: min(380px, 72vw);
		--nv-hero-gap: 13px;
		--nv-hero-pad: 10px;
	}

	.nv-hero .has-x-large-font-size {
		font-size: 17px !important;
		line-height: 1.45;
	}

	.nv-hero__inner {
		padding-top: 12px;
		padding-bottom: 12px;
	}

	.nv-hero__inner > * + * {
		margin-top: 16px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.nv-hero__video { animation: none; transform: scale(1.03); }
	.nv-hero__scroll svg { animation: none; }
	.nv-hero__shimmer { animation: none; opacity: 0; }
	.nv-masthead-wrap .wp-block-site-logo { transition: none; }
}

/* Site header sitting over the hero. */
.nv-masthead-wrap {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
	transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

/* WordPress's admin toolbar is fixed at the top too, and `html { margin-top }`
   does not move a fixed element, so logged-in editors would otherwise see the
   bar sitting underneath it. Visitors are unaffected either way. */
.admin-bar .nv-masthead-wrap {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar .nv-masthead-wrap {
		top: 46px;
	}
}

/* Once the hero has scrolled past, the bar needs its own ground: the nav is
   white and the page below it is off-white. */
/* Solid, not translucent. Glass looked good over the hero but the page below
   is off-white, and reading page content through the bar as it scrolled past
   was the thing that made it hard to read. */
.nv-masthead-wrap.is-stuck {
	background-color: var(--wp--preset--color--night);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 30px rgba(15, 11, 36, 0.28);
}

/* While the hero's own wordmark is on screen, the one in the bar is redundant.
   It is hidden only when JS confirms there is a hero, so inner pages and the
   no-JS case keep their logo. */
.nv-masthead-wrap.is-over-hero .wp-block-site-logo {
	opacity: 0;
	transform: translateY(-6px);
	pointer-events: none;
}

.nv-masthead-wrap .wp-block-site-logo {
	opacity: 1;
	transform: none;
	transition: opacity 0.4s ease, transform 0.4s ease;
}

.nv-masthead {
	/* The wrapper is fixed, so it sits outside the constrained layout that
	   normally gives alignwide its width and side padding. Set them here. */
	max-width: 1240px;
	margin-inline: auto;
	padding-inline: 24px;
	box-sizing: border-box;
	position: relative;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 12px 32px;
}

/* The nav sits on dark ground throughout: over the video hero, and over the
   dark bar once the hero has scrolled past. Core ships
   `.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content
   { color: inherit }` at a specificity `.nv-nav a` cannot beat, so the colour
   is set on the container for `inherit` to resolve against, AND matched on
   core's own selector. Either alone has been seen to lose. */
.nv-nav,
.nv-nav .wp-block-navigation {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 32px;
	color: #ffffff;
}

.nv-nav a,
.nv-nav .wp-block-navigation-item__content.wp-block-navigation-item__content {
	color: #ffffff;
	text-decoration: none;
	font-weight: 500;
}

.nv-nav a:hover,
.nv-nav .wp-block-navigation-item__content.wp-block-navigation-item__content:hover {
	color: #ffffff;
	text-decoration: underline;
	text-underline-offset: 4px;
}

.nv-nav .wp-block-navigation__container {
	gap: 32px;
}

/* The hamburger and its close button inherit the same white. */
.nv-nav .wp-block-navigation__responsive-container-open,
.nv-nav .wp-block-navigation__responsive-container-close {
	color: #ffffff;
}

/* Core gives the open overlay no ground of its own, which would leave white
   links on white. Give it the night colour and clear the fixed bar. */
.nv-nav .wp-block-navigation__responsive-container.is-menu-open {
	background-color: var(--wp--preset--color--night);
	color: #ffffff;
	padding-top: 88px;
}

.nv-nav .wp-block-navigation__responsive-container.is-menu-open a {
	color: #ffffff;
}

/* On a phone the bar has room for a mark and a menu, not a third thing. With
   the button in, logo + hamburger + button overflow 375px and the bar wraps
   to two rows, 165px tall — a fifth of the screen. The same call to action is
   in the hero and again at the foot of the page, so drop it here. */
@media (max-width: 600px) {
	.nv-masthead .wp-block-buttons {
		display: none;
	}

	.nv-masthead .wp-block-site-logo img {
		width: 124px;
	}
}

/* --------------------------------------------------------------------------
   Stat row
   -------------------------------------------------------------------------- */

.nv-stats {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(260px, 100%), 1fr));
	gap: 32px;
}

.nv-stat {
	border-top: 1px solid var(--wp--preset--color--border-strong);
	padding-top: 20px;
}

.nv-stat__figure {
	font-size: var(--wp--preset--font-size--stat);
	line-height: 1;
	font-weight: 600;
	letter-spacing: -0.02em;
	color: var(--wp--preset--color--ink);
	margin: 0;
}

.nv-stat__caption {
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--label);
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	margin: 6px 0 0;
}

/* --------------------------------------------------------------------------
   Stage cards (how a migration runs)
   -------------------------------------------------------------------------- */

.nv-stages {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nv-stage {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--nv-radius-card);
	padding: 28px 28px 30px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: flex-start;
	transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

/* The cards are not links, so the hover is feedback rather than an invitation
   to click: a small lift and the stage’s own accent picked up in the border. */
.nv-stage:hover {
	transform: translateY(-6px);
	border-color: #8668d5;
	box-shadow: 0 18px 42px rgba(46, 35, 102, 0.14);
	background-color: #fdfbff;
}

.nv-stage:hover .nv-stage__bar {
	width: var(--nv-stage-fill, 100%);
}

.nv-stage__bar {
	transition: width 0.25s ease;
}

@media (prefers-reduced-motion: reduce) {
	.nv-stage,
	.nv-stage__bar {
		transition: none;
	}

	.nv-stage:hover {
		transform: none;
	}
}

.nv-stage__bar {
	width: 48px;
	height: 6px;
	border-radius: 3px;
	background: var(--wp--preset--color--violet);
}

.nv-stage--1 .nv-stage__bar { background: #e80fcb; }
.nv-stage--2 .nv-stage__bar { background: #c233cf; }
.nv-stage--3 .nv-stage__bar { background: #9d57d2; }
.nv-stage--4 .nv-stage__bar { background: #7879d6; }
.nv-stage--5 .nv-stage__bar { background: #4a9cd9; }
.nv-stage--6 .nv-stage__bar { background: #0dd0dd; }

.nv-stage__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 14px;
	min-height: 26px;
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--label);
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

.nv-stage h3 {
	margin: 0;
}

.nv-stage p {
	margin: 0;
	font-size: 17px;
	line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Migration record timeline
   -------------------------------------------------------------------------- */

.nv-record {
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--nv-radius-card);
	background: var(--wp--preset--color--white);
	overflow: hidden;
}

.nv-record__head {
	padding: 14px 24px;
	border-bottom: 1px solid var(--wp--preset--color--border);
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 4px 24px;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 12px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

.nv-record__body {
	padding: 0 24px 28px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	/* Vertical rules marking each month boundary. */
	background-image: linear-gradient(90deg, var(--wp--preset--color--border) 1px, transparent 1px);
	background-size: calc((100% - 48px) / 4) 100%;
	background-position: 24px 0;
	background-repeat: repeat-x;
}

.nv-record__months,
.nv-record__row {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.nv-record__month {
	padding: 14px 0 10px 12px;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 12px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

.nv-record__bar {
	border-radius: 10px;
	padding: 16px 20px;
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	justify-content: space-between;
	gap: 2px 16px;
}

.nv-record__bar strong {
	font-size: 22px;
	line-height: 1.2;
	font-weight: 600;
}

.nv-record__bar span {
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--label);
	letter-spacing: 0.5px;
	text-transform: uppercase;
}

.nv-record__bar--poc {
	grid-column: 1 / span 2;
	background: var(--wp--preset--color--violet);
	color: #ffffff;
}

.nv-record__bar--migration {
	grid-column: 3 / span 2;
	background: var(--wp--preset--color--cyan);
	color: var(--wp--preset--color--night);
}

.nv-record__arrow {
	display: flex;
	align-items: center;
	padding-top: 14px;
}

.nv-record__arrow::before {
	content: "";
	flex: 1 1 0;
	height: 2px;
	background: var(--wp--preset--color--magenta);
}

.nv-record__arrow::after {
	content: "";
	width: 14px;
	height: 14px;
	flex-shrink: 0;
	background: var(--wp--preset--color--magenta);
	transform: rotate(45deg);
}

.nv-record__outcome {
	display: flex;
	justify-content: flex-end;
}

.nv-record__outcome p {
	margin: 0;
	max-width: 520px;
	text-align: right;
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.35;
	font-weight: 500;
	color: var(--wp--preset--color--ink);
}

/* The timeline is a chart; below 700px it stops being readable as a grid. */
@media (max-width: 700px) {
	.nv-record__body {
		background-image: none;
	}

	.nv-record__months {
		display: none;
	}

	.nv-record__row {
		display: block;
	}

	.nv-record__bar--poc,
	.nv-record__bar--migration {
		grid-column: auto;
	}

	.nv-record__outcome p {
		text-align: left;
	}
}

/* --------------------------------------------------------------------------
   Platform feature grid
   -------------------------------------------------------------------------- */

.nv-features {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(340px, 100%), 1fr));
	gap: 40px 48px;
}

.nv-feature {
	display: flex;
	gap: 18px;
	align-items: flex-start;
}

.nv-feature__icon {
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--wp--preset--color--violet);
}

.nv-feature__icon svg {
	width: 22px;
	height: 22px;
	display: block;
}

.nv-feature--1 .nv-feature__icon { background: #e80fcb; }
.nv-feature--2 .nv-feature__icon { background: #b93cd0; }
.nv-feature--3 .nv-feature__icon { background: #8668d5; }
.nv-feature--4 .nv-feature__icon { background: #6a7fd9; }
.nv-feature--5 .nv-feature__icon { background: #3fa9db; }
.nv-feature--6 .nv-feature__icon { background: #0db8c4; }

.nv-feature__text {
	min-width: 0;
}

.nv-feature h3 {
	margin: 0 0 6px;
	font-size: 22px;
	line-height: 1.2;
}

.nv-feature p {
	margin: 0;
	font-size: 17px;
	line-height: 1.55;
}

/* --------------------------------------------------------------------------
   Proof cards
   -------------------------------------------------------------------------- */

/* Narrow screens get a plain auto-fit grid: one column on a phone, two on a
   tablet, no spanning. */
.nv-proofs {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(320px, 100%), 1fr));
	gap: 24px;
}

/* Wide screens only. Five cards on a three-across grid would leave a ragged
   pair, so a six-column track lets the first three span two each and the last
   two span three each — a deliberate pair rather than an orphan. The rules
   count from the end so three or four cards still lay out sanely.

   These live inside a min-width query rather than being undone in a max-width
   one: the compound :nth-child():nth-last-child() selectors outrank anything
   short of repeating them, so a reset below the breakpoint loses and the cards
   keep spanning three columns of a two-column grid, straight off the screen. */
@media (min-width: 1001px) {
	.nv-proofs {
		grid-template-columns: repeat(6, 1fr);
	}

	.nv-proof {
		grid-column: span 2;
	}

	/* The last two of five. */
	.nv-proof:nth-child(4):nth-last-child(2),
	.nv-proof:nth-child(5):nth-last-child(1) {
		grid-column: span 3;
	}

	/* Four cards: two rows of two. */
	.nv-proof:nth-child(1):nth-last-child(4),
	.nv-proof:nth-child(2):nth-last-child(3),
	.nv-proof:nth-child(3):nth-last-child(2),
	.nv-proof:nth-child(4):nth-last-child(1) {
		grid-column: span 3;
	}
}

.nv-proof {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--nv-radius-card);
	padding: 36px 32px 32px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	align-items: flex-start;
}

.nv-proof__sector {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 12px;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	margin: 0;
}

.nv-proof__figure {
	font-size: var(--wp--preset--font-size--figure);
	line-height: 0.95;
	font-weight: 700;
	letter-spacing: -0.04em;
	color: var(--wp--preset--color--indigo);
	margin: 0;
}

.nv-proof p:not(.nv-proof__sector):not(.nv-proof__figure):not(.nv-proof__link) {
	margin: 0;
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.5;
	color: var(--wp--preset--color--ink);
}

.nv-proof .nv-proof__link {
	margin-top: auto;
}

/* Pull quote and client logo pills. */
/* The quote used to share a row with the client logo row. On its own it would
   run the full 1240px, which is far too long a measure for 30px type. */
.nv-quote {
	margin: 0;
	max-width: 24ch;
}

@media (max-width: 860px) {
	.nv-quote {
		max-width: none;
	}
}

.nv-quote blockquote {
	margin: 0;
	border: 0;
	padding: 0;
	font-size: 30px;
	line-height: 1.25;
	font-weight: 600;
	letter-spacing: -0.015em;
	color: var(--wp--preset--color--ink);
}

.nv-quote figcaption,
.nv-quote cite {
	display: block;
	margin-top: 16px;
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--label);
	font-style: normal;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
}

.nv-logos {
	display: flex;
	flex-wrap: wrap;
	gap: 10px 12px;
}

.nv-logos span,
.nv-logos img {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 999px;
	padding: 8px 20px;
	font-size: 19px;
	font-weight: 600;
	color: var(--wp--preset--color--indigo);
}

.nv-logos img {
	padding: 8px 16px;
	max-height: 48px;
	width: auto;
	object-fit: contain;
}

/* --------------------------------------------------------------------------
   WorkSpaces Manager lifecycle
   -------------------------------------------------------------------------- */

.nv-lifecycle {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
	gap: 24px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nv-lifecycle__item {
	border-top: 1px solid var(--wp--preset--color--border-strong);
	padding-top: 20px;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.nv-lifecycle__when {
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--label);
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--wp--preset--color--muted);
	margin: 0;
}

.nv-lifecycle h3 {
	margin: 0;
	font-size: 22px;
	line-height: 1.2;
}

.nv-lifecycle p:not(.nv-lifecycle__when) {
	margin: 0;
	font-size: var(--wp--preset--font-size--small);
	line-height: 1.55;
}

.nv-screenshot {
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 24px;
	padding: 12px;
	box-shadow: var(--nv-shadow-card);
}

.nv-screenshot img {
	display: block;
	width: 100%;
	height: auto;
	border-radius: 14px;
	border: 1px solid #eceaf3;
}

/* Slim promo row. */
.nv-strip {
	background: var(--wp--preset--color--base);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: var(--nv-radius-card);
	padding: 28px 32px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 40px;
}

.nv-strip h3 {
	margin: 0;
	font-size: 22px;
	line-height: 1.2;
}

.nv-strip p {
	margin: 0;
	font-size: 17px;
	flex: 1 1 320px;
}

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */

.nv-contact-details {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 14px;
	line-height: 1.7;
	color: var(--wp--preset--color--body);
}

.nv-contact-details p {
	margin: 0;
}

.nv-formcard {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 24px;
	padding: 40px;
	box-shadow: var(--nv-shadow-card);
}

/* Style whatever form plugin ends up in the card. */
.nv-formcard label {
	display: block;
	font-family: var(--wp--preset--font-family--mono);
	font-size: var(--wp--preset--font-size--label);
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--wp--preset--color--body);
	margin-bottom: 8px;
}

.nv-formcard input[type="text"],
.nv-formcard input[type="email"],
.nv-formcard input[type="tel"],
.nv-formcard textarea,
.nv-formcard select {
	width: 100%;
	box-sizing: border-box;
	padding: 14px 16px;
	border: 1px solid #c9c4dc;
	border-radius: 12px;
	font-family: inherit;
	font-size: var(--wp--preset--font-size--medium);
	line-height: 1.5;
	color: var(--wp--preset--color--ink);
	background: var(--wp--preset--color--white);
}

.nv-formcard input[type="text"],
.nv-formcard input[type="email"],
.nv-formcard input[type="tel"] {
	height: 52px;
	padding-block: 0;
}

.nv-formcard textarea {
	resize: vertical;
	min-height: 140px;
}

.nv-formcard :is(input, textarea, select):focus-visible {
	outline: 2px solid var(--wp--preset--color--violet-link);
	outline-offset: 2px;
	border-color: var(--wp--preset--color--violet-link);
}

.nv-formcard button[type="submit"],
.nv-formcard input[type="submit"] {
	min-height: 56px;
	padding: 8px 32px;
	background: var(--wp--preset--color--cyan);
	color: var(--wp--preset--color--night);
	font-family: inherit;
	font-weight: 600;
	font-size: var(--wp--preset--font-size--medium);
	border: 0;
	border-radius: 999px;
	cursor: pointer;
}

.nv-formcard button[type="submit"]:hover,
.nv-formcard input[type="submit"]:hover {
	background: var(--wp--preset--color--cyan-deep);
	color: var(--wp--preset--color--white);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */

.nv-footer {
	background: var(--wp--preset--color--white);
	border-top: 1px solid var(--wp--preset--color--border);
	font-size: var(--wp--preset--font-size--small);
	color: var(--wp--preset--color--muted);
}

.nv-footer a {
	color: var(--wp--preset--color--ink);
	text-decoration: none;
}

.nv-footer a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.nv-footer__legal {
	border-top: 1px solid var(--wp--preset--color--border);
	padding-top: 24px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 32px;
	justify-content: space-between;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 12.5px;
	color: var(--wp--preset--color--muted);
}

.nv-footer__legal a {
	color: var(--wp--preset--color--muted);
}

/* --------------------------------------------------------------------------
   Sections on a white ground, between off-white ones
   -------------------------------------------------------------------------- */

.nv-band-white {
	background: var(--wp--preset--color--white);
	border-top: 1px solid var(--wp--preset--color--border);
	border-bottom: 1px solid var(--wp--preset--color--border);
}

/* --------------------------------------------------------------------------
   Accessibility
   -------------------------------------------------------------------------- */

.skip-link:focus {
	position: fixed;
	top: 8px;
	left: 8px;
	z-index: 9999;
	padding: 12px 20px;
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--ink);
	border-radius: 8px;
}

:where(a, button, input, textarea, select, summary):focus-visible {
	outline: 2px solid var(--wp--preset--color--cyan);
	outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after {
		animation-duration: 0.01ms !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
}

/* --------------------------------------------------------------------------
   Inner page header (no hero behind it)
   -------------------------------------------------------------------------- */

.nv-pagehead {
	padding-top: var(--nv-head-h);
	background:
		radial-gradient(120% 140% at 50% 0%, #2b1f63 0%, var(--wp--preset--color--night) 70%);
	color: #ede9fa;
}

.nv-pagehead :is(h1, h2, .wp-block-post-title) {
	color: #ffffff;
}

.nv-pagehead .wp-block-post-title a {
	color: #ffffff;
	text-decoration: none;
}

/* Stat blocks reused outside the stat row should not carry the top rule. */
.nv-stat.has-border-color,
.nv-strip .nv-stat {
	border-top: 0;
}

/* MAP and POC funding explainer. Player styling stays inside its unmodified iframe. */
.nv-funding{display:grid;gap:20px}
.nv-funding>.nv-label,.nv-funding__heading,.nv-funding__intro{margin:0}
.nv-funding__heading{font-size:32px;line-height:1.2}
.nv-funding__intro{font-size:var(--wp--preset--font-size--medium);line-height:1.6;color:var(--wp--preset--color--body)}
.nv-funding__embed{border-radius:20px;overflow:hidden;background:#0f0b24}
.nv-funding__embed iframe{display:block}
@media(max-width:700px){.nv-funding__heading{font-size:28px}.nv-funding__embed{aspect-ratio:auto!important;height:calc((100vw - 48px)*.5625 + 136px)}}

/* --------------------------------------------------------------------------
   Case study viewer

   "Read the case study" opens the PDF over the page rather than navigating
   away. A modal rather than window.open: popup blockers eat popups, and a
   person who came to read a case study should not lose the page they were on.

   The PDF is rendered in an iframe, with a download and an open-in-a-new-tab
   control alongside it. Those are not decoration — iOS Safari will not render
   a PDF inside a frame, so on a phone the frame is hidden and those two
   controls are the whole interface.
   -------------------------------------------------------------------------- */

.nv-doc {
	position: fixed;
	inset: 0;
	z-index: 200;
	display: none;
	align-items: center;
	justify-content: center;
	padding: 24px;
}

.nv-doc.is-open {
	display: flex;
}

.nv-doc__veil {
	position: absolute;
	inset: 0;
	background: rgba(15, 11, 36, 0.78);
	border: 0;
	padding: 0;
	cursor: pointer;
}

@supports (backdrop-filter: blur(4px)) {
	.nv-doc__veil {
		backdrop-filter: blur(4px);
	}
}

.nv-doc__panel {
	position: relative;
	display: flex;
	flex-direction: column;
	width: min(1080px, 100%);
	height: min(880px, 100%);
	background: var(--wp--preset--color--white);
	border-radius: var(--nv-radius-card);
	overflow: hidden;
	box-shadow: 0 30px 80px rgba(15, 11, 36, 0.45);
}

.nv-doc__head {
	display: flex;
	align-items: center;
	gap: 12px 20px;
	padding: 16px 18px 16px 24px;
	border-bottom: 1px solid var(--wp--preset--color--border);
	background: var(--wp--preset--color--white);
}

.nv-doc__title {
	font-weight: 600;
	color: var(--wp--preset--color--ink);
	margin: 0;
	margin-right: auto;
	font-size: 17px;
	line-height: 1.3;
}

.nv-doc__act {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	flex: none;
	font-family: var(--wp--preset--font-family--mono);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	text-decoration: none;
	color: var(--wp--preset--color--indigo);
	border: 1px solid var(--wp--preset--color--border-strong);
	border-radius: 999px;
	padding: 9px 16px;
	background: none;
	cursor: pointer;
	white-space: nowrap;
}

.nv-doc__act:hover {
	color: var(--wp--preset--color--indigo);
	border-color: var(--wp--preset--color--violet);
	background: rgba(134, 104, 213, 0.08);
	text-decoration: none;
}

.nv-doc__close {
	width: 38px;
	height: 38px;
	padding: 0;
	justify-content: center;
}

.nv-doc__close svg {
	width: 16px;
	height: 16px;
	stroke: currentColor;
	fill: none;
	stroke-width: 2;
	stroke-linecap: round;
}

.nv-doc__body {
	flex: 1;
	min-height: 0;
	background: var(--wp--preset--color--base);
	position: relative;
}

.nv-doc__frame {
	width: 100%;
	height: 100%;
	border: 0;
	display: block;
}

/* Shown only when the frame cannot be used. */
.nv-doc__fallback {
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 18px;
	height: 100%;
	padding: 32px 24px;
	text-align: center;
}

.nv-doc.is-plain .nv-doc__frame {
	display: none;
}

.nv-doc.is-plain .nv-doc__fallback {
	display: flex;
}

body.nv-doc-open {
	overflow: hidden;
}

@media (max-width: 680px) {
	.nv-doc {
		padding: 0;
	}

	.nv-doc__panel {
		width: 100%;
		height: 100%;
		border-radius: 0;
	}

	.nv-doc__head {
		padding: 12px 12px 12px 16px;
		flex-wrap: wrap;
	}

	.nv-doc__title {
		font-size: 15px;
		width: 100%;
		margin-right: 0;
	}
}

/* --------------------------------------------------------------------------
   WPForms inside the contact card

   WPForms scopes its own styles with an ID (#wpforms-37 .wpforms-field-medium
   and friends), which no amount of class specificity can beat, and WPForms
   Lite offers no "disable styling" option to turn them off. So these carry
   `!important`. They are confined to .nv-formcard, so nothing outside the
   contact card is affected.

   If the form is ever rebuilt its ID changes, which is exactly why none of
   these selectors mention one.
   -------------------------------------------------------------------------- */

.nv-formcard .wpforms-container,
.nv-formcard .wpforms-form {
	margin: 0 !important;
}

/* WPForms caps field width at 60% for "medium". The card is already a narrow
   column, so every field runs the full width of it. */
.nv-formcard .wpforms-field-medium,
.nv-formcard .wpforms-field-large,
.nv-formcard .wpforms-field-small,
.nv-formcard input[type="text"],
.nv-formcard input[type="email"],
.nv-formcard input[type="tel"],
.nv-formcard textarea {
	max-width: 100% !important;
	width: 100% !important;
}

.nv-formcard .wpforms-form input[type="text"],
.nv-formcard .wpforms-form input[type="email"],
.nv-formcard .wpforms-form input[type="tel"],
.nv-formcard .wpforms-form textarea {
	border: 1px solid #c9c4dc !important;
	border-radius: 12px !important;
	background: var(--wp--preset--color--white) !important;
	color: var(--wp--preset--color--ink) !important;
	font-family: var(--wp--preset--font-family--display) !important;
	font-size: var(--wp--preset--font-size--medium) !important;
	line-height: 1.5 !important;
	padding: 14px 16px !important;
	box-shadow: none !important;
}

.nv-formcard .wpforms-form input[type="text"],
.nv-formcard .wpforms-form input[type="email"],
.nv-formcard .wpforms-form input[type="tel"] {
	height: 52px !important;
	padding-block: 0 !important;
}

.nv-formcard .wpforms-form textarea {
	min-height: 140px !important;
	resize: vertical !important;
}

.nv-formcard .wpforms-form :is(input, textarea):focus {
	outline: 2px solid var(--wp--preset--color--violet-link) !important;
	outline-offset: 2px;
	border-color: var(--wp--preset--color--violet-link) !important;
}

.nv-formcard .wpforms-form .wpforms-field-label {
	font-family: var(--wp--preset--font-family--mono) !important;
	font-size: var(--wp--preset--font-size--label) !important;
	font-weight: 500 !important;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--wp--preset--color--body) !important;
	margin-bottom: 8px !important;
}

.nv-formcard .wpforms-form .wpforms-field-description {
	font-size: var(--wp--preset--font-size--small) !important;
	color: var(--wp--preset--color--muted) !important;
	margin-top: 8px !important;
}

.nv-formcard .wpforms-form .wpforms-required-label {
	color: var(--wp--preset--color--magenta) !important;
}

.nv-formcard .wpforms-form .wpforms-field {
	padding: 0 0 20px !important;
}

/* The submit button is the page's primary action, so it matches every other
   call to action rather than arriving in the plugin's blue. */
.nv-formcard .wpforms-form button[type="submit"] {
	min-height: 56px !important;
	padding: 8px 32px !important;
	background: var(--wp--preset--color--cyan) !important;
	color: var(--wp--preset--color--night) !important;
	border: 0 !important;
	border-radius: 999px !important;
	font-family: var(--wp--preset--font-family--display) !important;
	font-size: var(--wp--preset--font-size--medium) !important;
	font-weight: 600 !important;
	width: auto !important;
	margin: 4px 0 0 !important;
}

.nv-formcard .wpforms-form button[type="submit"]:hover {
	background: var(--wp--preset--color--cyan-deep) !important;
	color: var(--wp--preset--color--white) !important;
}

.nv-formcard .wpforms-form .wpforms-error {
	color: var(--wp--preset--color--magenta) !important;
	font-size: var(--wp--preset--font-size--small) !important;
}

.nv-formcard .wpforms-confirmation-container-full {
	background: rgba(13, 208, 221, 0.10) !important;
	border: 1px solid var(--wp--preset--color--cyan) !important;
	border-radius: 12px !important;
	color: var(--wp--preset--color--ink) !important;
	padding: 20px 22px !important;
	margin: 0 !important;
}

/* --------------------------------------------------------------------------
   Continuous prose on inner pages

   The landing page's 1240px measure is right for cards and columns and far
   too long for running text — it was coming out at about 110 characters a
   line. Around 70 is the comfortable range, so text pages get their own
   width while anything deliberately wide (an image, a table) still escapes.
   -------------------------------------------------------------------------- */

/* Left-aligned, not centred: the page title above it is left-aligned, and a
   centred column under a left-aligned title reads as a mistake.

   `!important` because core's constrained layout sets `margin-left: auto;
   margin-right: auto !important` on every child, which nothing short of this
   can override. That is the third place WordPress forces a value this way —
   see also the hero type sizes and the WPForms styling. */
.nv-prose .wp-block-post-content > * {
	max-width: 42rem;
	margin-left: 0 !important;
	margin-right: auto !important;
}

/* The page title sat hard against the viewport edge. Its group is alignwide
   inside a flow layout, so it gets neither the width nor the side padding
   that a constrained parent would have given it — the same trap the fixed
   masthead fell into. */
.nv-pagehead .alignwide {
	max-width: 1240px;
	margin-inline: auto;
	padding-inline: 24px;
	box-sizing: border-box;
}

.nv-prose .wp-block-post-content > .alignwide,
.nv-prose .wp-block-post-content > .alignfull,
.nv-prose .wp-block-post-content > figure,
.nv-prose .wp-block-post-content > table,
.nv-prose .wp-block-post-content > .wp-block-table {
	max-width: none;
}

.nv-prose .wp-block-post-content > * + * {
	margin-top: 20px;
}

.nv-prose .wp-block-post-content > h2 {
	margin-top: 52px;
}

.nv-prose .wp-block-post-content > h2:first-child {
	margin-top: 0;
}

.nv-prose .wp-block-post-content > .nv-label {
	margin-top: 8px;
}

/* Cookie names and the like read as values rather than prose. */
.nv-prose code {
	font-family: var(--wp--preset--font-family--mono);
	font-size: 0.88em;
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--border);
	border-radius: 5px;
	padding: 2px 6px;
	color: var(--wp--preset--color--indigo);
	white-space: nowrap;
}

.nv-prose .wp-block-post-content ul {
	padding-left: 1.3em;
}

.nv-prose .wp-block-post-content li + li {
	margin-top: 10px;
}

/* Case-study cards: the existing PDF link covers the tile, preserving
   the accessible link and the existing case-study dialog behaviour. */
.nv-proof{position:relative;cursor:pointer;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease,background-color .22s ease}
.nv-proof .nv-proof__link,.nv-proof .nv-proof__link a{position:static}
.nv-proof .nv-proof__link a::after{content:"";position:absolute;inset:0;z-index:1;border-radius:var(--nv-radius-card)}
.nv-proof:hover,.nv-proof:focus-within{transform:translateY(-6px);border-color:#8668d5;box-shadow:0 18px 42px rgba(46,35,102,.14);background-color:#fdfbff}
.nv-proof:focus-within{outline:2px solid #8668d5;outline-offset:3px}
.nv-quote{max-width:none;width:100%;margin-top:48px}
.nv-quote blockquote{max-width:none;width:100%;font-size:clamp(16px,1.65vw,22px);line-height:1.45}
.nv-quote blockquote p{margin:0;white-space:nowrap;text-wrap:normal}
@media(max-width:1000px){.nv-quote blockquote{font-size:20px}.nv-quote blockquote p{white-space:normal}}
@media(prefers-reduced-motion:reduce){.nv-proof{transition:none}.nv-proof:hover,.nv-proof:focus-within{transform:none}}

/* Hover bar reaches this stage’s share of the six-stage migration. */
.nv-stage--1{--nv-stage-fill:16.666667%}
.nv-stage--2{--nv-stage-fill:33.333333%}
.nv-stage--3{--nv-stage-fill:50%}
.nv-stage--4{--nv-stage-fill:66.666667%}
.nv-stage--5{--nv-stage-fill:83.333333%}
.nv-stage--6{--nv-stage-fill:100%}

/* Homepage platform features as individual cards. */
.home .nv-features{gap:24px;align-items:stretch}
.home .nv-features>.nv-feature{flex-direction:column;gap:18px;margin:0!important;padding:28px;background:#f7f6fb;border:1px solid #e6e2f2;border-top:4px solid var(--nv-feature-accent,#8668d5);border-radius:20px;box-sizing:border-box;height:100%;box-shadow:0 6px 20px rgba(46,35,102,.04)}
.home .nv-feature--1{--nv-feature-accent:#e80fcb}
.home .nv-feature--2{--nv-feature-accent:#b93cd0}
.home .nv-feature--3{--nv-feature-accent:#8668d5}
.home .nv-feature--4{--nv-feature-accent:#6a7fd9}
.home .nv-feature--5{--nv-feature-accent:#3fa9db}
.home .nv-feature--6{--nv-feature-accent:#0db8c4}
@media(max-width:600px){.home .nv-features>.nv-feature{padding:24px}}

/* Subtle hover treatment for homepage platform cards. */
.home .nv-features>.nv-feature{transition:transform .24s ease,box-shadow .24s ease,border-color .24s ease,background-color .24s ease}
.home .nv-feature__icon{transition:transform .24s ease}
@media(hover:hover) and (pointer:fine){
 .home .nv-features>.nv-feature:hover{transform:translateY(-6px);background:#fff;border-color:var(--nv-feature-accent);box-shadow:0 16px 32px rgba(46,35,102,.12)}
 .home .nv-feature:hover .nv-feature__icon{transform:scale(1.06)}
}
@media(prefers-reduced-motion:reduce){
 .home .nv-features>.nv-feature,.home .nv-feature__icon{transition:none}
 .home .nv-features>.nv-feature:hover,.home .nv-feature:hover .nv-feature__icon{transform:none}
}
