/* =========================================================================
   VuePod — vuepod.css
   Deep-sea / glass aesthetic for an aquarium · reptile · terrarium camera.
   Display: Outfit  |  Body: Hanken Grotesk
   ========================================================================= */

:root {
	--vp-bg: #0a1f44;
	--vp-ink: #020617;
	--vp-white: #ffffff;
	--vp-sky: #7dd3fc;
	--vp-sky-deep: #38bdf8;
	--vp-slate: #64748b;
	--vp-border: rgba( 255, 255, 255, 0.14 );
	--vp-border-soft: rgba( 255, 255, 255, 0.08 );

	--vp-text: #eaf2ff;
	--vp-text-dim: #aab8d4;
	--vp-text-mut: #7c8bab;

	--vp-surface: rgba( 255, 255, 255, 0.035 );
	--vp-surface-2: rgba( 255, 255, 255, 0.06 );

	--vp-font-display: 'Outfit', ui-sans-serif, system-ui, sans-serif;
	--vp-font-body: 'Hanken Grotesk', ui-sans-serif, system-ui, sans-serif;

	--vp-maxw: 1180px;
	--vp-radius: 18px;
	--vp-radius-sm: 12px;
	--vp-radius-lg: 28px;

	--vp-shadow: 0 24px 60px -24px rgba( 2, 6, 23, 0.8 );
	--vp-glow: 0 0 0 1px rgba( 125, 211, 252, 0.35 ), 0 18px 50px -16px rgba( 56, 189, 248, 0.35 );

	--vp-ease: cubic-bezier( 0.22, 1, 0.36, 1 );
}

/* ---------- Base ---------- */
* { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: 92px; }

body.vp {
	margin: 0;
	font-family: var( --vp-font-body );
	color: var( --vp-text );
	background-color: var( --vp-ink );
	background-image:
		radial-gradient( 1200px 600px at 78% -8%, rgba( 56, 189, 248, 0.14 ), transparent 60% ),
		radial-gradient( 900px 600px at 8% 12%, rgba( 30, 64, 130, 0.45 ), transparent 55% ),
		linear-gradient( 180deg, #061230 0%, var( --vp-ink ) 38%, #04102a 100% );
	background-attachment: fixed;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	line-height: 1.6;
	overflow-x: hidden;
}

/* Fine grain for depth. */
body.vp::before {
	content: '';
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
	opacity: 0.04;
	background-image: url( "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='160' height='160'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E" );
}

body.vp .vp-page { position: relative; z-index: 1; }

img { max-width: 100%; height: auto; display: block; }
a { color: var( --vp-sky ); text-decoration: none; }

h1, h2, h3, h4 {
	font-family: var( --vp-font-display );
	font-weight: 700;
	line-height: 1.06;
	letter-spacing: -0.018em;
	margin: 0;
	color: #fff;
}

/* ---------- Layout primitives ---------- */
.vp-container {
	width: 100%;
	max-width: var( --vp-maxw );
	margin-inline: auto;
	padding-inline: clamp( 20px, 5vw, 40px );
}

.vp-section { padding-block: clamp( 48px, 6.5vw, 92px ); position: relative; }

.vp-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-family: var( --vp-font-display );
	font-weight: 600;
	font-size: 0.78rem;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var( --vp-sky );
}
.vp-eyebrow::before {
	content: '';
	width: 22px;
	height: 1px;
	background: linear-gradient( 90deg, var( --vp-sky ), transparent );
}

.vp-h2 {
	font-size: clamp( 1.9rem, 4.2vw, 3rem );
	margin-top: 16px;
}

.vp-lede {
	color: var( --vp-text-dim );
	font-size: clamp( 1.02rem, 1.6vw, 1.18rem );
	max-width: 56ch;
	margin-top: 14px;
}

.vp-section__head { max-width: 720px; margin-bottom: clamp( 36px, 5vw, 60px ); }

/* ---------- Buttons ---------- */
.vp-btn {
	--btn-bg: var( --vp-surface-2 );
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	font-family: var( --vp-font-display );
	font-weight: 600;
	font-size: 1rem;
	line-height: 1;
	padding: 15px 26px;
	border-radius: 999px;
	border: 1px solid var( --vp-border );
	color: var( --vp-text );
	background: var( --btn-bg );
	cursor: pointer;
	transition: transform 0.25s var( --vp-ease ), box-shadow 0.25s var( --vp-ease ), background 0.25s var( --vp-ease ), border-color 0.25s var( --vp-ease );
	will-change: transform;
}
.vp-btn:hover { transform: translateY( -2px ); }

.vp-btn--primary {
	border-color: transparent;
	color: #03182e;
	background: linear-gradient( 135deg, #aee7ff 0%, var( --vp-sky ) 45%, var( --vp-sky-deep ) 100% );
	box-shadow: 0 14px 34px -12px rgba( 56, 189, 248, 0.6 );
}
.vp-btn--primary:hover { box-shadow: 0 20px 44px -12px rgba( 56, 189, 248, 0.75 ); color: #03182e; }

.vp-btn--ghost { background: var( --vp-surface ); }
.vp-btn--ghost:hover { background: var( --vp-surface-2 ); border-color: rgba( 255, 255, 255, 0.28 ); color: #fff; }

.vp-btn--lg { padding: 18px 34px; font-size: 1.08rem; }
.vp-btn--block { width: 100%; }

/* "Full setup guide" CTA under the How-it-works steps. */
.vp-steps__cta { margin-top: clamp( 32px, 5vw, 48px ); text-align: center; }
.vp-steps__cta-link span { transition: transform 0.25s var( --vp-ease ); }
.vp-steps__cta-link:hover span { transform: translateX( 4px ); }

/* ---------- Announcement bar ---------- */
.vp-announce {
	position: relative;
	z-index: 30;
	text-align: center;
	font-family: var( --vp-font-display );
	font-weight: 500;
	font-size: 0.86rem;
	letter-spacing: 0.01em;
	color: #04182e;
	padding: 9px 16px;
	background: linear-gradient( 90deg, var( --vp-sky ) 0%, #bff0ff 50%, var( --vp-sky ) 100% );
}
.vp-announce strong { font-weight: 700; }

/* ---------- Header ---------- */
.vp-header {
	position: sticky;
	top: 0;
	z-index: 40;
	transition: background 0.3s var( --vp-ease ), border-color 0.3s var( --vp-ease ), backdrop-filter 0.3s var( --vp-ease );
	border-bottom: 1px solid transparent;
}
.vp-header.is-stuck {
	background: rgba( 6, 14, 33, 0.72 );
	backdrop-filter: blur( 16px ) saturate( 140% );
	-webkit-backdrop-filter: blur( 16px ) saturate( 140% );
	border-bottom-color: var( --vp-border-soft );
}
.vp-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	min-height: 70px;
}
.vp-logo {
	font-family: var( --vp-font-display );
	font-weight: 800;
	font-size: 1.32rem;
	letter-spacing: -0.02em;
	color: #fff;
	display: inline-flex;
	align-items: center;
	gap: 9px;
}
.vp-logo:hover { color: var( --vp-sky ); }
.vp-logo__mark {
	width: 22px; height: 22px; border-radius: 7px;
	background: linear-gradient( 135deg, var( --vp-sky ), var( --vp-sky-deep ) );
	box-shadow: 0 0 0 3px rgba( 125, 211, 252, 0.18 );
	position: relative;
}
.vp-logo__mark::after {
	content: ''; position: absolute; inset: 6px;
	border-radius: 50%; background: #04182e;
	box-shadow: inset 0 0 0 2px rgba( 255, 255, 255, 0.5 );
}

.vp-nav__list {
	display: flex;
	align-items: center;
	gap: 30px;
	list-style: none;
	margin: 0; padding: 0;
}
.vp-nav__list a {
	font-family: var( --vp-font-display );
	font-weight: 500;
	font-size: 0.96rem;
	color: var( --vp-text-dim );
	transition: color 0.2s var( --vp-ease );
}
.vp-nav__list a:hover { color: #fff; }

.vp-header__right { display: flex; align-items: center; gap: 14px; }

.vp-nav-toggle {
	display: none;
	width: 44px; height: 44px;
	padding: 0; /* global button padding (10px 20px) left ~2px of content box — squeezed the icon into a dot */
	border: 1px solid var( --vp-border );
	border-radius: 12px;
	background: var( --vp-surface );
	color: #fff;
	cursor: pointer;
	align-items: center; justify-content: center;
}
.vp-nav-toggle svg { flex-shrink: 0; }
.vp-nav-toggle svg { width: 20px; height: 20px; display: block; }
.vp-nav-toggle .vp-nav-toggle__close { display: none; }
body.vp-nav-open .vp-nav-toggle__open { display: none; }
body.vp-nav-open .vp-nav-toggle__close { display: block; }

/* ---------- Hero ---------- */
.vp-hero { padding-block: clamp( 40px, 6vw, 84px ) clamp( 30px, 5vw, 64px ); position: relative; }
.vp-hero__inner {
	display: grid;
	grid-template-columns: 1.02fr 1fr;
	gap: clamp( 32px, 5vw, 72px );
	align-items: center;
}
.vp-hero__title {
	font-size: clamp( 2.6rem, 6.4vw, 4.6rem );
	letter-spacing: -0.03em;
}
.vp-hero__sub {
	color: var( --vp-text-dim );
	font-size: clamp( 1.06rem, 1.8vw, 1.28rem );
	max-width: 30ch;
	margin-top: 22px;
}
.vp-hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; }
.vp-hero__cue {
	margin-top: 30px;
	display: inline-flex; align-items: center; gap: 10px;
	color: var( --vp-text-mut ); font-size: 0.85rem;
	font-family: var( --vp-font-display ); letter-spacing: 0.04em;
}
/* Scroll cue uses the exact brand logo mark (.vp-logo__mark) — no extra icon styles needed. */

/* ---------- Hero viewport (the "living window") ---------- */
.vp-hero__stage { position: relative; }
.vp-viewport { position: relative; }

.vp-viewport__frame {
	position: relative;
	aspect-ratio: 4 / 3;
	border-radius: var( --vp-radius-lg );
	overflow: hidden;
	background: #02101f;
	border: 1px solid rgba( 255, 255, 255, 0.16 );
	box-shadow:
		var( --vp-shadow ),
		inset 0 1px 0 rgba( 255, 255, 255, 0.22 ),
		inset 0 0 0 1px rgba( 255, 255, 255, 0.04 );
}
/* Bright glass rim + sheen. */
.vp-viewport__frame::after {
	content: '';
	position: absolute; inset: 0;
	border-radius: inherit;
	pointer-events: none;
	background: linear-gradient( 135deg, rgba( 255, 255, 255, 0.22 ) 0%, rgba( 255, 255, 255, 0 ) 26%, rgba( 255, 255, 255, 0 ) 72%, rgba( 125, 211, 252, 0.16 ) 100% );
	box-shadow: inset 0 0 60px rgba( 2, 6, 23, 0.55 );
}

.vp-scene {
	position: absolute; inset: 0;
	opacity: 0;
	transform: scale( 1.06 );
	transition: opacity 1.1s var( --vp-ease ), transform 6s linear;
	background-size: cover;
	background-position: center;
}
.vp-scene.is-active { opacity: 1; transform: scale( 1 ); }

/* Optional hero background video (Settings → hero_video). When set, it covers
   the gradient carousel; the dots/scenes hide. HUD (z-index 3) stays on top. */
.vp-viewport__video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; display: block; }
.vp-viewport--video .vp-scene { display: none; }
.vp-viewport--video .vp-viewport__dots { display: none; }

/* Placeholder "worlds" — tasteful gradients per species (used until real footage). */
.vp-scene--reef    { background:
	radial-gradient( 60% 50% at 30% 30%, rgba( 255, 138, 110, 0.55 ), transparent 60% ),
	radial-gradient( 50% 60% at 78% 70%, rgba( 45, 212, 191, 0.6 ), transparent 60% ),
	linear-gradient( 160deg, #0a3a4a, #06283a 70%, #041b2e ); }
.vp-scene--beardie { background:
	radial-gradient( 70% 60% at 70% 22%, rgba( 255, 196, 102, 0.6 ), transparent 60% ),
	radial-gradient( 60% 60% at 25% 80%, rgba( 196, 122, 64, 0.5 ), transparent 60% ),
	linear-gradient( 160deg, #5a3a1e, #3a2614 70%, #241407 ); }
.vp-scene--betta   { background:
	radial-gradient( 55% 55% at 35% 40%, rgba( 244, 114, 182, 0.55 ), transparent 60% ),
	radial-gradient( 60% 60% at 72% 72%, rgba( 99, 102, 241, 0.6 ), transparent 60% ),
	linear-gradient( 160deg, #2a1b54, #1b1142 70%, #120b2e ); }
.vp-scene--gecko   { background:
	radial-gradient( 60% 55% at 32% 32%, rgba( 250, 232, 120, 0.45 ), transparent 60% ),
	radial-gradient( 60% 60% at 75% 75%, rgba( 132, 204, 110, 0.55 ), transparent 60% ),
	linear-gradient( 160deg, #2f4a1f, #213516 70%, #14230d ); }
.vp-scene--turtle  { background:
	radial-gradient( 65% 50% at 50% 18%, rgba( 186, 230, 253, 0.4 ), transparent 60% ),
	radial-gradient( 60% 60% at 30% 78%, rgba( 110, 170, 120, 0.5 ), transparent 60% ),
	linear-gradient( 160deg, #15493f, #0e352f 70%, #08231f ); }
.vp-scene--planted { background:
	radial-gradient( 60% 70% at 60% 12%, rgba( 190, 255, 170, 0.45 ), transparent 55% ),
	radial-gradient( 55% 60% at 24% 82%, rgba( 34, 197, 94, 0.5 ), transparent 60% ),
	linear-gradient( 160deg, #1d4a2a, #133420 70%, #0b2315 ); }
.vp-scene--desktop { background:
	radial-gradient( 60% 55% at 70% 28%, rgba( 186, 230, 253, 0.5 ), transparent 60% ),
	radial-gradient( 60% 60% at 26% 76%, rgba( 99, 130, 200, 0.45 ), transparent 60% ),
	linear-gradient( 160deg, #1d3360, #142348 70%, #0c1730 ); }

/* Camera HUD overlay — sells "live feed from inside the glass". */
.vp-viewport__hud {
	position: absolute; inset: 0;
	padding: 16px;
	display: flex; flex-direction: column; justify-content: space-between;
	pointer-events: none;
	z-index: 3;
}
.vp-viewport__hud::before,
.vp-viewport__hud::after {
	content: '';
	position: absolute;
	width: 26px; height: 26px;
	border: 2px solid rgba( 255, 255, 255, 0.55 );
}
.vp-viewport__hud::before { top: 14px; left: 14px; border-right: 0; border-bottom: 0; border-top-left-radius: 6px; }
.vp-viewport__hud::after { bottom: 14px; right: 14px; border-left: 0; border-top: 0; border-bottom-right-radius: 6px; }

.vp-hud__top { display: flex; justify-content: space-between; align-items: center; }
.vp-hud__live {
	display: inline-flex; align-items: center; gap: 7px;
	font-family: var( --vp-font-display ); font-weight: 600;
	font-size: 0.72rem; letter-spacing: 0.14em;
	color: #fff; text-transform: uppercase;
	background: rgba( 4, 16, 30, 0.5 );
	border: 1px solid rgba( 255, 255, 255, 0.18 );
	padding: 5px 10px; border-radius: 999px;
	backdrop-filter: blur( 6px );
}
.vp-hud__live i {
	width: 7px; height: 7px; border-radius: 50%;
	background: #ff5c5c; box-shadow: 0 0 0 0 rgba( 255, 92, 92, 0.7 );
	animation: vp-pulse 1.8s infinite;
}
@keyframes vp-pulse {
	0% { box-shadow: 0 0 0 0 rgba( 255, 92, 92, 0.6 ); }
	70% { box-shadow: 0 0 0 8px rgba( 255, 92, 92, 0 ); }
	100% { box-shadow: 0 0 0 0 rgba( 255, 92, 92, 0 ); }
}
.vp-hud__brand {
	font-family: var( --vp-font-display ); font-weight: 700;
	font-size: 0.74rem; letter-spacing: 0.16em; text-transform: uppercase;
	color: rgba( 255, 255, 255, 0.7 );
}
.vp-viewport__caption {
	align-self: flex-start;
	font-family: var( --vp-font-display ); font-weight: 600;
	font-size: 0.92rem; color: #fff;
	background: rgba( 4, 16, 30, 0.55 );
	border: 1px solid rgba( 255, 255, 255, 0.18 );
	padding: 8px 14px; border-radius: 999px;
	backdrop-filter: blur( 6px );
}

.vp-viewport__dots { display: flex; gap: 8px; justify-content: center; margin-top: 18px; }
.vp-viewport__dot {
	width: 9px; height: 9px; border-radius: 50%;
	border: 0; padding: 0; cursor: pointer;
	background: rgba( 255, 255, 255, 0.22 );
	transition: width 0.3s var( --vp-ease ), background 0.3s;
}
.vp-viewport__dot.is-active { width: 24px; border-radius: 999px; background: var( --vp-sky ); }

/* Floating glow behind the device. */
.vp-hero__stage::before {
	content: '';
	position: absolute; inset: -8% -6% -12% -6%;
	z-index: -1;
	background: radial-gradient( 60% 60% at 60% 40%, rgba( 56, 189, 248, 0.28 ), transparent 70% );
	filter: blur( 30px );
}

/* ---------- Category signal bar ---------- */
.vp-catbar {
	border-block: 1px solid var( --vp-border-soft );
	background: rgba( 255, 255, 255, 0.02 );
}
.vp-catbar__inner {
	display: flex; flex-wrap: wrap; gap: 10px 14px;
	align-items: center; justify-content: center;
	padding-block: 18px;
}
.vp-catbar__label {
	font-family: var( --vp-font-display ); font-weight: 500;
	font-size: 0.8rem; letter-spacing: 0.12em; text-transform: uppercase;
	color: var( --vp-text-mut ); margin-right: 6px;
}
.vp-catbar__item {
	display: inline-flex; align-items: center; gap: 8px;
	font-family: var( --vp-font-display ); font-weight: 500; font-size: 0.95rem;
	color: var( --vp-text-dim );
	padding: 8px 15px; border-radius: 999px;
	border: 1px solid var( --vp-border-soft );
	background: var( --vp-surface );
	transition: color 0.2s, border-color 0.2s, transform 0.2s var( --vp-ease );
}
.vp-catbar__item:hover { color: #fff; border-color: var( --vp-border ); transform: translateY( -2px ); }
.vp-catbar__item span { font-size: 1.05rem; line-height: 1; }

/* ---------- Value props ---------- */
.vp-values__grid {
	display: grid;
	grid-template-columns: repeat( 3, 1fr );
	gap: clamp( 16px, 2.4vw, 28px );
}
.vp-value {
	padding: 32px 28px;
	border-radius: var( --vp-radius );
	border: 1px solid var( --vp-border-soft );
	background: var( --vp-surface );
	position: relative;
	transition: transform 0.3s var( --vp-ease ), border-color 0.3s, background 0.3s;
}
.vp-value:hover { transform: translateY( -4px ); border-color: var( --vp-border ); background: var( --vp-surface-2 ); }
.vp-value__num {
	font-family: var( --vp-font-display ); font-weight: 700;
	font-size: 0.85rem; color: var( --vp-sky );
	width: 38px; height: 38px; border-radius: 11px;
	display: inline-flex; align-items: center; justify-content: center;
	border: 1px solid rgba( 125, 211, 252, 0.3 );
	background: rgba( 125, 211, 252, 0.08 );
}
.vp-value__title { font-size: 1.28rem; margin-top: 20px; }
.vp-value__text { color: var( --vp-text-dim ); margin-top: 10px; }

/* ---------- Use cases ---------- */
.vp-cases__grid {
	display: grid;
	grid-template-columns: repeat( 5, 1fr );
	gap: clamp( 14px, 1.6vw, 20px );
}
.vp-case {
	border-radius: var( --vp-radius );
	overflow: hidden;
	border: 1px solid var( --vp-border-soft );
	background: var( --vp-surface );
	display: flex; flex-direction: column;
	transition: transform 0.3s var( --vp-ease ), border-color 0.3s;
}
.vp-case:hover { transform: translateY( -5px ); border-color: var( --vp-border ); }
.vp-case__media {
	aspect-ratio: 4 / 5;
	position: relative;
	background-size: cover; background-position: center;
}
.vp-case__media::after {
	content: ''; position: absolute; inset: 0;
	background: linear-gradient( 180deg, transparent 40%, rgba( 4, 12, 28, 0.85 ) 100% );
}
.vp-case__badge {
	position: absolute; top: 12px; left: 12px; z-index: 2;
	font-family: var( --vp-font-display ); font-weight: 600; font-size: 0.7rem;
	letter-spacing: 0.06em; text-transform: uppercase;
	color: rgba( 255, 255, 255, 0.85 );
	background: rgba( 4, 16, 30, 0.82 );
	border: 1px solid rgba( 255, 255, 255, 0.16 );
	padding: 4px 9px; border-radius: 999px; backdrop-filter: blur( 6px );
}
.vp-case__body { padding: 18px 18px 22px; display: flex; flex-direction: column; flex: 1; }
.vp-case__title { font-size: 1.16rem; }
.vp-case__text { color: var( --vp-text-dim ); font-size: 0.95rem; margin-top: 8px; flex: 1; }
.vp-case__cta {
	margin-top: 16px;
	font-family: var( --vp-font-display ); font-weight: 600; font-size: 0.92rem;
	color: var( --vp-sky );
	display: inline-flex; align-items: center; gap: 7px;
	transition: gap 0.2s var( --vp-ease );
}
.vp-case:hover .vp-case__cta { gap: 12px; }

/* ---------- Features (merged: highlights + what you can shoot) ---------- */
.vp-features__grid {
	display: grid;
	grid-template-columns: repeat( 4, 1fr );
	gap: clamp( 16px, 1.8vw, 24px );
}
.vp-features__cases { margin-top: clamp( 44px, 6vw, 78px ); }
.vp-features__sublabel { display: block; margin-bottom: clamp( 16px, 2.2vw, 24px ); }

/* Hero product image — shown when a hero_product_image URL is set; it replaces
   the gradient scene carousel. A transparent packshot floats directly on the
   dark stage (no frame box), sized large. */
.vp-hero__product { display: flex; align-items: center; justify-content: center; }
.vp-hero__product-img {
	display: block;
	width: 100%;
	max-width: 680px;
	height: auto;
	transform: scale( 1.2 );
	transform-origin: center center;
	filter: drop-shadow( 0 30px 60px rgba( 0, 0, 0, 0.55 ) );
}
/* The 1.2 upscale visually overflows the viewport on phones (≈ +14px past the
   right edge), which makes the whole page horizontally pannable. Full width
   is plenty on small screens. */
@media ( max-width: 720px ) {
	.vp-hero__product-img { transform: none; }
}

/* ---------- How it works ---------- */
.vp-steps__grid {
	display: grid;
	grid-template-columns: repeat( 5, 1fr );
	gap: clamp( 14px, 2vw, 26px );
	position: relative;
}
.vp-steps__grid::before {
	content: '';
	position: absolute; top: 19px; left: 8%; right: 8%;
	height: 1px;
	background: linear-gradient( 90deg, transparent, var( --vp-border ), transparent );
}
.vp-step { position: relative; }
.vp-step__num {
	width: 40px; height: 40px; border-radius: 50%;
	display: inline-flex; align-items: center; justify-content: center;
	font-family: var( --vp-font-display ); font-weight: 700;
	color: #04182e; background: linear-gradient( 135deg, #aee7ff, var( --vp-sky ) );
	box-shadow: 0 8px 24px -8px rgba( 56, 189, 248, 0.6 );
	position: relative; z-index: 1;
}
.vp-step__title { font-size: 1.16rem; margin-top: 18px; }
.vp-step__text { color: var( --vp-text-dim ); font-size: 0.95rem; margin-top: 8px; }

/* ---------- Email capture ---------- */
.vp-email__inner {
	border-radius: var( --vp-radius-lg );
	border: 1px solid var( --vp-border );
	background:
		radial-gradient( 80% 120% at 100% 0%, rgba( 56, 189, 248, 0.16 ), transparent 60% ),
		var( --vp-surface );
	padding: clamp( 30px, 5vw, 56px );
	display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: center;
}
.vp-email__title { font-size: clamp( 1.6rem, 3vw, 2.2rem ); }
.vp-email__sub { color: var( --vp-text-dim ); margin-top: 10px; }
.vp-email__form { display: flex; gap: 10px; flex-wrap: wrap; }
.vp-email__field {
	flex: 1; min-width: 220px;
	background: rgba( 2, 8, 22, 0.5 );
	border: 1px solid var( --vp-border );
	border-radius: 999px;
	padding: 15px 20px;
	color: #fff; font-family: var( --vp-font-body ); font-size: 1rem;
}
.vp-email__field::placeholder { color: var( --vp-text-mut ); }
.vp-email__field:focus { outline: none; border-color: var( --vp-sky ); box-shadow: 0 0 0 3px rgba( 125, 211, 252, 0.18 ); }
.vp-email__note { color: var( --vp-text-mut ); font-size: 0.82rem; margin-top: 12px; }
.vp-email__msg { margin-top: 12px; font-size: 0.95rem; min-height: 1.2em; }
.vp-email__msg.is-ok { color: #7ee0a8; }
.vp-email__msg.is-err { color: #ff9b9b; }
.vp-hp { position: absolute !important; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Final CTA ---------- */
.vp-final { text-align: center; }
.vp-final__inner { max-width: 760px; margin-inline: auto; }
.vp-final__title { font-size: clamp( 2rem, 4.6vw, 3.2rem ); }
.vp-final__actions { margin-top: 30px; display: flex; justify-content: center; }

/* ---------- Footer ---------- */
.vp-footer {
	border-top: 1px solid var( --vp-border-soft );
	background: rgba( 2, 8, 22, 0.45 );
	margin-top: 20px;
}
.vp-footer__top {
	display: grid;
	grid-template-columns: 1.4fr 2fr;
	gap: clamp( 32px, 5vw, 64px );
	padding-block: clamp( 48px, 7vw, 80px );
}
.vp-footer__tagline { color: var( --vp-text-dim ); margin-top: 16px; max-width: 34ch; }
.vp-footer__social { display: flex; gap: 12px; margin-top: 22px; }
.vp-footer__social a {
	width: 42px; height: 42px; border-radius: 12px;
	border: 1px solid var( --vp-border );
	background: var( --vp-surface );
	display: inline-flex; align-items: center; justify-content: center;
	color: var( --vp-text-dim );
	font-family: var( --vp-font-display ); font-weight: 600; font-size: 0.8rem;
	transition: color 0.2s, border-color 0.2s, transform 0.2s var( --vp-ease );
}
.vp-footer__social a:hover { color: #fff; border-color: var( --vp-sky ); transform: translateY( -2px ); }
.vp-footer__social svg { width: 17px; height: 17px; display: block; }
.vp-footer__cols { display: grid; grid-template-columns: repeat( 3, 1fr ); gap: 24px; }
.vp-footer__col h4 {
	font-family: var( --vp-font-display ); font-weight: 600; font-size: 0.8rem;
	letter-spacing: 0.12em; text-transform: uppercase; color: var( --vp-text-mut );
	margin-bottom: 14px;
}
.vp-footer__col ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.vp-footer__col a { color: var( --vp-text-dim ); font-size: 0.96rem; }
.vp-footer__col a:hover { color: #fff; }
.vp-footer__bottom {
	border-top: 1px solid var( --vp-border-soft );
	padding-block: 22px;
	display: flex; flex-wrap: wrap; gap: 10px 24px; justify-content: space-between;
	color: var( --vp-text-mut ); font-size: 0.86rem;
}

/* ---------- Reveal animation (only hides when JS is active) ---------- */
.vp-js [data-vp-reveal] {
	opacity: 0;
	transform: translateY( 22px );
	transition: opacity 0.7s var( --vp-ease ), transform 0.7s var( --vp-ease );
}
.vp-js [data-vp-reveal].is-visible { opacity: 1; transform: none; }
.vp-js [data-vp-reveal][data-vp-delay='1'] { transition-delay: 0.08s; }
.vp-js [data-vp-reveal][data-vp-delay='2'] { transition-delay: 0.16s; }
.vp-js [data-vp-reveal][data-vp-delay='3'] { transition-delay: 0.24s; }
.vp-js [data-vp-reveal][data-vp-delay='4'] { transition-delay: 0.32s; }

/* ---------- Coming soon ---------- */
.vp-coming {
	min-height: 100vh;
	display: flex; align-items: center; justify-content: center;
	text-align: center; padding: 40px 20px;
}
.vp-coming__inner { max-width: 620px; }
.vp-coming__logo {
	font-family: var( --vp-font-display ); font-weight: 800; font-size: 1.5rem;
	display: inline-flex; align-items: center; gap: 10px; color: #fff; margin-bottom: 30px;
}
.vp-coming__title { font-size: clamp( 2.2rem, 6vw, 3.6rem ); }
.vp-coming__sub { color: var( --vp-text-dim ); font-size: 1.15rem; margin-top: 18px; }
.vp-coming__form { margin-top: 30px; display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }

/* ---------- Content pages (prose) ---------- */
.vp-doc-wrap { max-width: 820px; }
.vp-doc__head { margin-bottom: 30px; }
.vp-prose { color: var( --vp-text-dim ); font-size: 1.04rem; line-height: 1.75; }
.vp-prose > * + * { margin-top: 1.1em; }
.vp-prose h2 { font-size: 1.55rem; margin-top: 1.9em; color: #fff; }
.vp-prose h3 { font-size: 1.22rem; margin-top: 1.5em; color: #fff; }
.vp-prose a { color: var( --vp-sky ); text-decoration: underline; text-underline-offset: 3px; }
.vp-prose ul, .vp-prose ol { padding-left: 1.35em; }
.vp-prose li { margin-top: 0.5em; }
.vp-prose strong { color: var( --vp-text ); }
.vp-prose blockquote { border-left: 3px solid var( --vp-sky ); margin: 1.4em 0 0; padding: 4px 0 4px 18px; color: var( --vp-text ); }
.vp-prose hr { border: 0; border-top: 1px solid var( --vp-border-soft ); margin: 2em 0; }
.vp-todo {
	display: inline-block; font-family: var( --vp-font-display ); font-weight: 600;
	font-size: 0.7rem; letter-spacing: 0.08em; text-transform: uppercase;
	color: #ffce8a; background: rgba( 255, 206, 138, 0.1 );
	border: 1px solid rgba( 255, 206, 138, 0.32 ); padding: 3px 9px; border-radius: 999px;
	vertical-align: middle;
}
.vp-email__form .vp-email__msg { flex-basis: 100%; margin-top: 4px; }

/* Closing CTA appended to doc pages (e.g. FAQ): a contact line + a button back
   to the product so the page never dead-ends. */
.vp-doc-cta-note { margin-top: 36px; }
.vp-doc-cta { margin-top: 14px; }
/* The doc-page content anchor colour (GeneratePress) outranks .vp-btn--primary's
   own dark text, leaving the button label nearly invisible — pin it back. */
.vp-doc-cta a.vp-btn,
.vp-doc-cta a.vp-btn:hover,
.vp-doc-cta a.vp-btn:focus { color: #03182e; text-decoration: none; }

/* ---------- Responsive ---------- */
@media ( max-width: 980px ) {
	.vp-hero__inner { grid-template-columns: 1fr; }
	.vp-hero__copy { order: 1; }
	.vp-hero__stage { order: 2; max-width: 540px; }
	.vp-hero__sub { max-width: 46ch; }
	.vp-values__grid { grid-template-columns: 1fr; }
	.vp-features__grid { grid-template-columns: repeat( 2, 1fr ); }
	.vp-cases__grid { grid-template-columns: repeat( 2, 1fr ); }
	.vp-steps__grid { grid-template-columns: repeat( 2, 1fr ); gap: 28px; }
	.vp-steps__grid::before { display: none; }
	.vp-email__inner { grid-template-columns: 1fr; }
	.vp-footer__top { grid-template-columns: 1fr; }
}

@media ( max-width: 860px ) {
	/* Hamburger kicks in at 860 (was 720): the desktop header row (logo + 5-item
	   nav + language switcher + Buy Now) fit English down to ~720, but the longer
	   translated nav labels (fr/es/de, e.g. "Questions fréquentes" + "Acheter
	   maintenant") pushed the row past the viewport at ~721–860 — visible as
	   horizontal scroll on iPad portrait (768px). Collapsing to the drawer across
	   this whole band fixes every language; showing a hamburger on a tablet is
	   expected behaviour. */
	.vp-nav {
		/* top/right/bottom/left spelled out — `inset` shorthand breaks on older iOS
		   Safari, leaving the panel unpositioned (menu text floating with no bg).
		   Slide-in animates `right`, NOT transform: the translateX(100%) parking
		   spot widened the page's scrollable area by the drawer's 320px (the
		   whole site could be panned sideways on phones); an off-viewport fixed
		   box via a negative offset adds no scroll range. */
		position: fixed; top: 0; right: -380px; bottom: 0; left: auto;
		height: 100%;
		width: min( 82vw, 340px );
		/* visibility:hidden while parked: browsers count even off-viewport fixed
		   boxes into the page's scrollable area, which let the whole site be
		   panned sideways by the drawer's width. The 0s/0.32s visibility delays
		   keep the slide-out animation visible before the panel vanishes. */
		visibility: hidden;
		transition: right 0.32s var( --vp-ease ), visibility 0s 0.32s;
		background: #060e21;
		border-left: 1px solid var( --vp-border );
		padding: 90px 28px 28px;
		z-index: 45;
	}
	.vp-nav.is-open {
		right: 0;
		visibility: visible;
		transition: right 0.32s var( --vp-ease ), visibility 0s 0s;
		box-shadow: -30px 0 60px -20px rgba( 0, 0, 0, 0.7 );
	}
	/* Dim the page behind the open drawer so the menu always reads on a backdrop. */
	body.vp-nav-open::after {
		content: '';
		position: fixed; top: 0; right: 0; bottom: 0; left: 0;
		background: rgba( 2, 8, 23, 0.65 );
		z-index: 44;
	}
	/* The sticky buy bar yields while the menu is open. */
	body.vp-nav-open .vp-buybar { display: none; }
	/* Keep the header (and its X button) clickable ABOVE the open drawer.
	   The header's own z-index (40) sits below the drawer (45), and the
	   toggle's z-index is trapped inside the header's stacking context —
	   without this, the close button is unreachable and the menu can't be
	   dismissed on touch devices. */
	body.vp-nav-open .vp-header { z-index: 50; }
	/* iOS WebKit: an ancestor with backdrop-filter turns position:fixed
	   descendants into absolutely-positioned ones — the drawer (a child of
	   the sticky header) got trapped inside the 72px header box once
	   .is-stuck's blur kicked in, painting no panel behind the menu items.
	   The drawer + dim backdrop cover the page anyway, so drop the blur
	   while the menu is open. */
	body.vp-nav-open .vp-header,
	body.vp-nav-open .vp-header.is-stuck {
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
	}
	.vp-nav__list { flex-direction: column; align-items: flex-start; gap: 22px; }
	.vp-nav__list a { font-size: 1.15rem; }
	.vp-nav-toggle { display: inline-flex; position: relative; z-index: 46; }
	.vp-header__cta { display: none; }
	body.vp-nav-open { overflow: hidden; }
	.vp-cases__grid { grid-template-columns: 1fr 1fr; }
	.vp-footer__cols { grid-template-columns: 1fr 1fr; }
	.vp-footer__bottom { flex-direction: column; }
}

@media ( max-width: 480px ) {
	.vp-cases__grid { grid-template-columns: 1fr; }
	.vp-steps__grid { grid-template-columns: 1fr; }
	.vp-features__grid { grid-template-columns: 1fr; }
	.vp-hero__actions .vp-btn { width: 100%; }
}

/* ---------- Motion preferences ---------- */
@media ( prefers-reduced-motion: reduce ) {
	html { scroll-behavior: auto; }
	*, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
	.vp-scene { transition: opacity 0.4s linear; transform: none; }
}

/* =========================================================================
   Language switcher (Polylang, Round 21) — globe chip in the nav with a
   small dropdown. Inside .vp-nav so it also lands in the mobile menu.
   ========================================================================= */
.vp-lang {
	position: relative;
	display: inline-flex;
	align-items: center;
}
.vp-lang__toggle {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 7px 12px;
	background: rgba( 255, 255, 255, 0.05 );
	border: 1px solid rgba( 255, 255, 255, 0.12 );
	border-radius: 999px;
	color: var( --vp-text-dim, #aab8d4 );
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	line-height: 1;
	cursor: pointer;
	transition: color 0.2s ease, border-color 0.2s ease;
}
.vp-lang__toggle:hover,
.vp-lang__toggle[aria-expanded="true"] {
	color: #fff;
	border-color: rgba( 255, 255, 255, 0.3 );
}
.vp-lang__toggle svg { flex-shrink: 0; }
.vp-lang__list {
	position: absolute;
	top: calc( 100% + 8px );
	right: 0;
	min-width: 150px;
	margin: 0;
	padding: 6px;
	list-style: none;
	background: #0b1f3f;
	border: 1px solid rgba( 255, 255, 255, 0.12 );
	border-radius: 12px;
	box-shadow: 0 18px 44px -16px rgba( 2, 6, 23, 0.9 );
	z-index: 120;
}
.vp-lang__list[hidden] { display: none; }
.vp-lang__list li { margin: 0; }
.vp-lang__list a {
	display: block;
	padding: 8px 12px;
	border-radius: 8px;
	color: var( --vp-text-dim, #aab8d4 );
	font-size: 0.86rem;
	font-weight: 500;
	text-decoration: none;
}
.vp-lang__list a:hover { background: rgba( 255, 255, 255, 0.06 ); color: #fff; }
.vp-lang__list a.is-current { color: var( --vp-sky, #7dd3fc ); font-weight: 600; }

/* Little country flags (Polylang's inline images) in the chip + dropdown. */
.vp-lang__flag { display: inline-flex; align-items: center; flex-shrink: 0; }
.vp-lang__flag img { width: 17px; height: auto; border-radius: 2px; display: block; }
.vp-lang__list a { display: flex; align-items: center; gap: 9px; }

/* The switcher lives in .vp-header__right (next to Buy Now / the hamburger),
   so it stays on the header row at every width and is reachable on mobile
   without opening the drawer. The dropdown is right-aligned and absolutely
   positioned at all sizes. */
@media ( max-width: 720px ) {
	.vp-lang__toggle { padding: 7px 10px; }
}
