/* ==========================================================================
   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;
}

.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.6;
	--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 {
	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;
	-webkit-mask-image: url("../images/nuvens-logo-large.png");
	        mask-image: url("../images/nuvens-logo-large.png");
	-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;
	justify-content: space-between;
	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. */
.nv-masthead-wrap.is-stuck {
	background-color: rgba(15, 11, 36, 0.92);
	box-shadow: 0 1px 0 rgba(255, 255, 255, 0.08), 0 8px 30px rgba(15, 11, 36, 0.28);
}

@supports (backdrop-filter: blur(10px)) {
	.nv-masthead-wrap.is-stuck {
		background-color: rgba(15, 11, 36, 0.72);
		backdrop-filter: blur(12px) saturate(1.2);
	}
}

/* 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;
}

.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
   -------------------------------------------------------------------------- */

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

.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. */
.nv-quote {
	margin: 0;
}

.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;
}
