/* ==========================================================================
   VigiLearn theme — measurements from Figma "Home_updated" (1512 × 12489).
   Breakpoints: 1240, 1100, 960, 768, 600, 420.
   ========================================================================== */

:root {
	--navy: #020617;
	--ink: #0f172a;
	--slate-800: #1e293b;
	--slate-700: #334155;
	--slate-600: #475569;
	--slate-500: #64748b;
	--slate-400: #94a3b8;
	--slate-300: #cbd5e1;
	--slate-200: #e2e8f0;
	--slate-100: #f1f5f9;
	--slate-50: #f8fafc;
	--orange: #f97316;
	--orange-600: #ea580c;
	--orange-brand: #f26628;
	--green: #16a34a;
	--green-700: #15803d;
	--green-800: #166534;
	--green-brand: #4db84a;
	--purple: #9333ea;
	--red: #dc2626;

	--f-head: "Bricolage Grotesque", "Poppins", system-ui, sans-serif;
	--f-body: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;

	--gutter: clamp(16px, 5.3vw, 80px);
	--container: 1352px;
	--radius: 16px;
	--ease: cubic-bezier(.22, 1, .36, 1);
	--ease-in-out: cubic-bezier(.65, 0, .35, 1);
	--header-h: 49px;

	--fs-h2: clamp(1.625rem, 1rem + 1.65vw, 2.25rem);
	--fs-lead: clamp(1rem, .95rem + .25vw, 1.125rem);
}

/* --------------------------------------------------------------------------
   Base
   -------------------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; overflow-x: clip; }
html.lenis, html.lenis body { height: auto; }
.lenis.lenis-smooth { scroll-behavior: auto !important; }
.lenis.lenis-stopped { overflow: hidden; }
body {
	margin: 0;
	background: #fff;
	color: var(--navy);
	font-family: var(--f-body);
	font-size: 16px;
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: clip;
	text-rendering: optimizeLegibility;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; cursor: pointer; }
h1, h2, h3, h4, p, ul, ol, dl, dd, figure, blockquote { margin: 0; }
ul, ol { padding: 0; list-style: none; }
address { font-style: normal; }
::selection { background: var(--orange); color: #fff; }
:focus-visible { outline: 2px solid var(--orange); outline-offset: 3px; border-radius: 4px; }

.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.skip-link {
	position: fixed; top: 12px; left: 12px; z-index: 1000; padding: 10px 18px;
	background: var(--orange); color: #fff; border-radius: 8px; font-weight: 600;
	transform: translateY(-160%); transition: transform .3s var(--ease);
}
.skip-link:focus { transform: none; }

.container {
	width: 100%;
	max-width: calc(var(--container) + var(--gutter) * 2);
	margin-inline: auto;
	padding-inline: var(--gutter);
}
.container--narrow { max-width: calc(1122px + var(--gutter) * 2); }
.container--contact { max-width: calc(1232px + var(--gutter) * 2); }
.container--metrics { max-width: calc(1197px + var(--gutter) * 2); }
.container--entry { max-width: calc(820px + var(--gutter) * 2); }

.section { position: relative; }
.section-head { display: flex; flex-direction: column; align-items: center; text-align: center; }
.section-title {
	font-family: var(--f-head);
	font-size: var(--fs-h2);
	font-weight: 700;
	line-height: 1.2;
	letter-spacing: -.01em;
	color: var(--ink);
}
.section-lead {
	max-width: 810px;
	margin-top: 24px;
	color: var(--slate-800);
	font-size: 16px;
	line-height: 1.8;
	text-align: center;
}

/* Heading colour tokens */
.hl--orange { color: var(--orange); }
.hl--green { color: var(--green); }
.hl--purple { color: var(--purple); }
.hl--red { color: var(--red); }
.hl--yellow { color: #facc15; }
.hl--grad, .hl--grad .w__i {
	background: linear-gradient(90deg, #f97316, #f75119);
	-webkit-background-clip: text; background-clip: text;
	color: transparent;
}
.hl--outline {
	color: transparent;
	-webkit-text-stroke: 1.5px var(--green);
	letter-spacing: .2em;
	margin-right: -.2em;
}

/* --------------------------------------------------------------------------
   Badge (green pill)
   -------------------------------------------------------------------------- */
.badge {
	display: inline-flex; align-items: center; gap: 10px;
	padding: 8px 24px;
	border-radius: 100px;
	background: var(--green);
	color: #f8fafc;
	font-size: 14px; font-weight: 600; line-height: 21px; letter-spacing: .6px;
	text-transform: uppercase;
	white-space: nowrap;
	max-width: 100%;
}
.badge__text { overflow: hidden; text-overflow: ellipsis; }
.badge__dot {
	position: relative; flex: none;
	width: 10px; height: 10px; border-radius: 50%;
	background: #fff;
	box-shadow: 0 0 0 3px rgba(255, 255, 255, .5);
}
.badge__dot::after {
	content: ""; position: absolute; inset: -3px; border-radius: 50%;
	border: 2px solid currentColor; opacity: 0;
	animation: vl-ping 2.4s var(--ease) infinite;
}
.badge--light {
	background: #fff; color: var(--green-800);
	padding: 8px 16px; font-weight: 500; letter-spacing: 0;
	box-shadow: 0 0 12px rgba(255, 255, 255, .45);
}
.badge--light .badge__dot { background: var(--green); box-shadow: 0 0 0 3px rgba(22, 163, 74, .25); }
.badge--light .badge__dot::after { border-color: var(--green); }
.badge--glass {
	background: rgba(240, 253, 244, .2);
	border: 1px solid rgba(22, 163, 74, .5);
	color: #fff; font-weight: 500; letter-spacing: 0;
	-webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px);
	box-shadow: 0 0 12px rgba(22, 163, 74, .35);
}
.badge--glass .badge__dot { box-shadow: 0 0 0 3px rgba(255, 255, 255, .25); }
@keyframes vl-ping {
	0% { transform: scale(.6); opacity: .9; }
	80%, 100% { transform: scale(2.4); opacity: 0; }
}

/* --------------------------------------------------------------------------
   Buttons
   -------------------------------------------------------------------------- */
.btn {
	position: relative; isolation: isolate; overflow: hidden;
	display: inline-flex; align-items: center; justify-content: center; gap: 10px;
	min-height: 56px; padding: 8px 32px;
	border-radius: 8px; border: 1px solid transparent;
	font-size: 14px; font-weight: 500; line-height: 20px; white-space: nowrap;
	transition: background-color .35s var(--ease), border-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease), transform .35s var(--ease);
	will-change: transform;
}
.btn--sm { min-height: 48px; padding: 8px 14px; }
.btn--primary { background: var(--orange); color: #fafafa; }
.btn--primary:hover { background: var(--orange-600); box-shadow: 0 12px 28px -10px rgba(249, 115, 22, .7); }
.btn--outline { border-color: #e5e5e5; color: #f5f5f5; background: transparent; }
.btn--outline:hover { background: #fff; color: var(--navy); border-color: #fff; }
.btn--ghost { min-height: 48px; padding: 8px 10px; color: #fff; }
.btn--ghost .btn__label { background: linear-gradient(currentColor, currentColor) 0 100% / 0 1px no-repeat; transition: background-size .4s var(--ease); }
.btn--ghost:hover .btn__label { background-size: 100% 1px; }
.btn__icon { width: 20px; height: 20px; transition: transform .35s var(--ease); }
.btn:hover .btn__icon { transform: translateX(4px); }

/* --------------------------------------------------------------------------
   Preloader: a 3D logo sequence (GSAP drives it in main.js). Stars fly toward
   the camera, the two triangles arrive as extruded solids from opposite
   depths, lock together, the wordmark flips up, a light sweeps across, then
   the camera dives through the logo and the panels lift away.
   -------------------------------------------------------------------------- */
.preloader { position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center; pointer-events: all; perspective: 1100px; }
.preloader__panel { position: absolute; inset: 0; clip-path: inset(0% 0% 0% 0%); will-change: clip-path; }
.preloader__panel--green { background: var(--green-800); }
.preloader__panel--dark { overflow: hidden; background: radial-gradient(120% 90% at 50% 50%, #0c1734 0%, #040a1c 55%, #010309 100%); }
.preloader__halo { position: absolute; left: 50%; top: 50%; width: 900px; height: 900px; margin: -450px 0 0 -450px; border-radius: 50%; background: radial-gradient(circle, rgba(242, 102, 40, .18) 0%, rgba(77, 184, 74, .12) 32%, rgba(37, 99, 235, .06) 50%, transparent 68%); }
.preloader__space { position: absolute; inset: 0; perspective: 700px; transform-style: preserve-3d; }
.preloader__star { position: absolute; left: 50%; top: 50%; width: 2px; height: 2px; margin: -1px; border-radius: 50%; background: #fff; box-shadow: 0 0 6px 1px rgba(255, 255, 255, .5); will-change: transform, opacity; }
.preloader__star--g { background: #86efac; box-shadow: 0 0 8px 1px rgba(77, 184, 74, .7); }
.preloader__star--o { background: #fdba74; box-shadow: 0 0 8px 1px rgba(242, 102, 40, .7); }
.preloader__vignette { position: absolute; inset: 0; background: radial-gradient(ellipse at center, transparent 45%, rgba(0, 0, 0, .65) 100%); }
.preloader__grain { position: absolute; inset: -50%; opacity: .06; 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='.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E"); animation: vl-grain 1s steps(6) infinite; }
@keyframes vl-grain { 0% { transform: translate(0, 0); } 20% { transform: translate(-4%, 3%); } 40% { transform: translate(3%, -5%); } 60% { transform: translate(-6%, -2%); } 80% { transform: translate(5%, 4%); } 100% { transform: translate(0, 0); } }

.preloader__stage { position: relative; display: flex; align-items: center; justify-content: center; color: #fff; transform-style: preserve-3d; will-change: transform, opacity; }
.preloader__mark3d { position: relative; flex: none; width: 92px; height: 119px; transform-style: preserve-3d; will-change: transform; }
.preloader__solid { position: absolute; inset: 0; transform-style: preserve-3d; will-change: transform; }
.preloader__layer, .preloader__face { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.preloader__layer { transform: translateZ(calc(var(--z) * -1.6px)); opacity: 0; }
.preloader__face { transform: translateZ(0); }
.preloader__tri { stroke-dasharray: 1; stroke-dashoffset: 1; }
.preloader__fill { opacity: 0; }
.preloader__word { overflow: hidden; height: 70px; display: flex; align-items: center; perspective: 600px; }
.preloader__word-inner { padding-left: 16px; transform-origin: 50% 100%; }
.preloader__wordsvg { display: block; width: 176px; height: auto; }
.preloader__wordsvg .logo__mark { display: none; }
.preloader__sheen { position: absolute; inset: -20px -40px; pointer-events: none; background: linear-gradient(105deg, transparent 38%, rgba(255, 255, 255, .55) 50%, transparent 62%); mix-blend-mode: overlay; transform: translateX(-120%); }
.preloader__reflect { position: absolute; left: 50%; top: calc(50% + 86px); width: 340px; height: 60px; margin-left: -170px; border-radius: 50%; background: radial-gradient(ellipse, rgba(242, 102, 40, .22), rgba(77, 184, 74, .1) 45%, transparent 70%); filter: blur(10px); opacity: 0; }
html.vl-loaded .preloader, .vl-no-anim .preloader, html:not(.js) .preloader { display: none; }
@media (max-width: 600px) {
	.preloader__mark3d { width: 66px; height: 85px; }
	.preloader__wordsvg { width: 128px; }
	.preloader__word { height: 52px; }
	.preloader__reflect { top: calc(50% + 64px); width: 240px; margin-left: -120px; }
}

/* --------------------------------------------------------------------------
   Header
   -------------------------------------------------------------------------- */
.site-header {
	position: fixed; left: 0; right: 0; top: 0; z-index: 100;
	padding-top: 60px;
	pointer-events: none;
	transition: transform .5s var(--ease), padding .5s var(--ease);
}
.admin-bar .site-header { top: 32px; }
.site-header__bar {
	pointer-events: auto;
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
	width: calc(100% - (36px + var(--gutter)) * 2);
	max-width: 1280px;
	margin-inline: auto;
	padding: 0;
	border-radius: 14px;
	transition: background-color .5s var(--ease), padding .5s var(--ease), width .5s var(--ease), max-width .5s var(--ease), box-shadow .5s var(--ease), backdrop-filter .5s var(--ease);
}
.site-header.is-scrolled { padding-top: 12px; }
.site-header.is-scrolled .site-header__bar {
	width: calc(100% - 24px);
	max-width: 1320px;
	padding: 10px 10px 10px 20px;
	background: rgba(2, 6, 23, .78);
	-webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
	box-shadow: 0 10px 40px -12px rgba(2, 6, 23, .45), inset 0 0 0 1px rgba(255, 255, 255, .06);
}
.site-header.is-hidden { transform: translateY(calc(-100% - 20px)); }

.logo { display: inline-flex; flex: none; color: #fff; }
.logo__svg { width: 154px; height: auto; overflow: visible; }
.logo__img { max-height: 49px; width: auto; }
.logo__tri { stroke-dasharray: 1; stroke-dashoffset: 0; }

.nav { flex: 1; display: flex; justify-content: center; }
.nav__list { display: flex; align-items: center; gap: 12px; }
.nav__list > li { position: relative; }
.nav__list > li > a {
	display: inline-flex; align-items: center; gap: 6px;
	padding: 6px 10px; border-radius: 8px;
	color: #fff; font-size: 14px; font-weight: 500; line-height: 20px;
	transition: background-color .3s var(--ease);
}
.nav__list > li > a:hover, .nav__list > li:focus-within > a { background: rgba(255, 255, 255, .08); }
.nav__list .current-menu-item > a, .nav__list .current-menu-ancestor > a { color: var(--orange); }
.nav__list .menu-item-has-children > a::after {
	content: ""; width: 8px; height: 5px; margin-left: 12px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 5'%3E%3Cpath d='M4 5 0 1l1-1 3 3 3-3 1 1z'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 5'%3E%3Cpath d='M4 5 0 1l1-1 3 3 3-3 1 1z'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform .35s var(--ease);
}
.nav__list .menu-item-has-children:hover > a::after, .nav__list .menu-item-has-children:focus-within > a::after { transform: rotate(180deg); }
.nav__list .sub-menu {
	position: absolute; top: calc(100% + 14px); left: 0;
	min-width: 196px; padding: 2px;
	border-radius: 10px;
	background: rgba(2, 6, 23, .82);
	-webkit-backdrop-filter: blur(18px); backdrop-filter: blur(18px);
	box-shadow: 0 24px 48px -12px rgba(0, 0, 0, .4), inset 0 0 0 1px rgba(255, 255, 255, .08);
	opacity: 0; visibility: hidden;
	transform: translateY(-8px) scale(.98); transform-origin: 20% 0;
	transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s .4s;
}
.nav__list .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -16px; height: 16px; }
.nav__list li:hover > .sub-menu, .nav__list li:focus-within > .sub-menu {
	opacity: 1; visibility: visible; transform: none;
	transition: opacity .3s var(--ease), transform .4s var(--ease), visibility 0s;
}
.nav__list .sub-menu a {
	display: block; padding: 8px 14px; margin: 4px; border-radius: 6px;
	color: #fff; font-size: 14px; font-weight: 500; line-height: 20px;
	transition: background-color .25s var(--ease), padding .3s var(--ease), color .25s;
}
.nav__list .sub-menu a:hover { background: rgba(255, 255, 255, .08); padding-left: 20px; color: var(--orange); }

.site-header__actions { display: flex; align-items: center; gap: 16px; flex: none; }

.burger {
	display: none; position: relative;
	width: 48px; height: 48px; border: 0; border-radius: 10px;
	background: rgba(255, 255, 255, .08);
}
.burger__line {
	position: absolute; left: 14px; right: 14px; height: 2px; border-radius: 2px; background: #fff;
	transition: transform .45s var(--ease), top .45s var(--ease);
}
.burger__line:nth-child(2) { top: 19px; }
.burger__line:nth-child(3) { top: 27px; }
.burger[aria-expanded="true"] .burger__line:nth-child(2) { top: 23px; transform: rotate(45deg); }
.burger[aria-expanded="true"] .burger__line:nth-child(3) { top: 23px; transform: rotate(-45deg); }

.mobile-menu {
	position: fixed; inset: 0; z-index: 90;
	background: var(--navy);
	color: #fff;
	padding: 140px var(--gutter) 40px;
	overflow-y: auto;
	clip-path: circle(0% at calc(100% - 48px) 84px);
	transition: clip-path .7s var(--ease-in-out);
}
.mobile-menu[hidden] { display: block; visibility: hidden; }
.mobile-menu.is-open { clip-path: circle(150% at calc(100% - 48px) 84px); visibility: visible; }
.mobile-menu__inner { max-width: 560px; margin: 0 auto; display: flex; flex-direction: column; min-height: 100%; }
.mobile-menu__list > li { border-bottom: 1px solid rgba(255, 255, 255, .08); overflow: hidden; }
.mobile-menu__list > li > a {
	display: flex; justify-content: space-between; align-items: center;
	padding: 16px 0;
	font-family: var(--f-head); font-size: clamp(24px, 6vw, 32px); font-weight: 600; line-height: 1.2;
	transform: translateY(110%);
	transition: transform .7s var(--ease), color .3s;
}
.mobile-menu.is-open .mobile-menu__list > li > a { transform: none; }
.mobile-menu__list > li:nth-child(2) > a { transition-delay: .05s; }
.mobile-menu__list > li:nth-child(3) > a { transition-delay: .1s; }
.mobile-menu__list > li:nth-child(4) > a { transition-delay: .15s; }
.mobile-menu__list > li:nth-child(5) > a { transition-delay: .2s; }
.mobile-menu__list > li:nth-child(6) > a { transition-delay: .25s; }
.mobile-menu__list a:hover { color: var(--orange); }
.mobile-menu__list .sub-menu { display: grid; grid-template-columns: 1fr 1fr; gap: 4px 16px; padding: 0 0 16px; }
.mobile-menu__list .sub-menu a { display: block; padding: 6px 0; color: rgba(255, 255, 255, .7); font-size: 15px; }
.mobile-menu__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.mobile-menu__actions .btn { flex: 1 1 200px; }
body.menu-open { overflow: hidden; }

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero { padding: 36px 36px 0; }
.hero__card {
	position: relative; isolation: isolate; overflow: hidden;
	min-height: 695px;
	max-width: 2200px; margin: 0 auto;
	display: flex; align-items: center; justify-content: center;
	padding: 162px var(--gutter) 100px;
	border-radius: 20px;
	background: var(--navy);
	color: #fff;
}
.hero__bg { position: absolute; inset: 0; z-index: -1; pointer-events: none; }
.hero__grid { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__line { stroke-dasharray: 1; stroke-dashoffset: 0; }
.hero__beam { stroke-dasharray: 90 2200; stroke-dashoffset: 90; animation: vl-beam 7s linear infinite; opacity: .9; }
.hero__beam--2 { animation-duration: 9s; animation-delay: -3s; stroke-dasharray: 120 2400; }
.hero__beam--3 { animation-duration: 8s; animation-delay: -5s; }
.hero__beam--4 { animation-duration: 11s; animation-delay: -1s; stroke-dasharray: 120 2400; }
@keyframes vl-beam { to { stroke-dashoffset: -2300; } }
.hero__node-ring { transform-box: fill-box; transform-origin: center; animation: vl-node 3s var(--ease) infinite; animation-delay: calc(var(--i) * -.45s); }
@keyframes vl-node { 0%, 100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.9); opacity: .25; } }
.hero__glow {
	position: absolute; width: 900px; height: 900px; right: -420px; top: -560px;
	background: radial-gradient(circle, rgba(138, 253, 180, .2), transparent 62%);
	animation: vl-float 14s ease-in-out infinite alternate;
}
@keyframes vl-float { to { transform: translate(-60px, 60px) scale(1.08); } }

.hero__content { position: relative; width: 100%; max-width: 860px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.hero__title {
	margin-top: 32px;
	font-family: var(--f-head);
	font-size: clamp(2.125rem, .9rem + 3.3vw, 3.5rem);
	font-weight: 800;
	line-height: 1.286;
	letter-spacing: .07em;
	color: #fff;
	text-wrap: balance;
}
.hero__text { max-width: 820px; margin-top: 24px; color: var(--slate-50); font-size: var(--fs-lead); line-height: 2; }
.hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 16px; margin-top: 32px; }
.hero__scroll {
	position: absolute; left: 50%; bottom: 22px; translate: -50% 0;
	width: 24px; height: 38px; border-radius: 12px; border: 1.5px solid rgba(255, 255, 255, .25);
}
.hero__scroll span { position: absolute; left: 50%; top: 7px; width: 3px; height: 7px; margin-left: -1.5px; border-radius: 2px; background: #fff; animation: vl-scroll 2s var(--ease) infinite; }
@keyframes vl-scroll { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* Split words (added by JS) */
.w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; margin-bottom: -.08em; }
.w__i { display: inline-block; will-change: transform; }

/* --------------------------------------------------------------------------
   Trusted logos
   -------------------------------------------------------------------------- */
.trusted { padding: 40px 0; }
.trusted__label {
	display: table; margin: 0 auto;
	padding: 8px 32px; border-radius: 12px;
	background: var(--navy); color: #fefefe;
	font-size: 16px; font-weight: 600; line-height: 24px; letter-spacing: 1.9px; text-transform: uppercase; text-align: center;
}
.trusted__logos { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 24px 48px; margin-top: 32px; }
.trusted__logo { width: 227px; height: 88px; display: grid; place-items: center; }
.trusted__logo img { max-height: 88px; width: auto; object-fit: contain; border-radius: 8.8px; transition: transform .5s var(--ease), filter .5s var(--ease); }
.trusted__logo:hover img { transform: translateY(-4px) scale(1.03); }

/* --------------------------------------------------------------------------
   Decorations shared
   -------------------------------------------------------------------------- */
.mark { position: absolute; pointer-events: none; z-index: 0; }
.mark__stroke { stroke-dasharray: 1; stroke-dashoffset: 0; }
.lines { position: absolute; pointer-events: none; overflow: visible; }
.lines path { stroke-dasharray: 1; stroke-dashoffset: 0; }

/* --------------------------------------------------------------------------
   About / who we are
   -------------------------------------------------------------------------- */
.about { padding: 40px 0; z-index: 1; }
.about .container { position: relative; z-index: 1; }
.about__mark { width: 942px; max-width: 92vw; left: 50%; top: -54px; transform: translateX(-50%); opacity: .14; }
.about__lines { left: -32px; top: 302px; width: 302px; }
.about__title { margin-top: 35px; font-weight: 600; line-height: 1.5; }
.about__frame {
	position: relative;
	margin-top: 14px;
	padding: 18px;
	border-radius: 28px;
	background: rgba(250, 245, 255, .2);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	box-shadow: 0 0 40px rgba(15, 23, 42, .1);
}
.about__media { position: relative; aspect-ratio: 1086 / 614; border-radius: 18px; overflow: hidden; background: #0c1a12; }
.about__poster { width: 100%; height: 100%; object-fit: cover; object-position: 50% 89%; transform: scale(1.04); }
.about__tint { position: absolute; inset: 0; background: rgba(0, 31, 7, .62); transition: opacity .6s var(--ease); }
.about__media iframe, .about__media video { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; background: #000; }
.about__play {
	position: absolute; left: 50%; top: 50%;
	transform: translate(-50%, -50%);
	display: inline-flex; align-items: center; gap: 15px;
	padding: clamp(10px, 1.3vw, 19px) clamp(16px, 1.8vw, 27px);
	border: 0; border-radius: 999px;
	background: #fff; color: #0c3b2e;
	font-size: clamp(14px, 1.55vw, 23px); font-weight: 600; line-height: 1.5;
	white-space: nowrap;
	box-shadow: 0 20px 50px -20px rgba(0, 0, 0, .5);
	transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
button.about__play:hover { transform: translate(-50%, -50%) scale(1.04); box-shadow: 0 24px 60px -18px rgba(0, 0, 0, .65); }
.about__play-dot { position: relative; width: 13px; height: 13px; border-radius: 50%; background: #0c3b2e; flex: none; }
.about__play-dot::after { content: ""; position: absolute; inset: 0; border-radius: 50%; border: 2px solid #0c3b2e; animation: vl-ping 2s var(--ease) infinite; }
.about__media.is-playing .about__play, .about__media.is-playing .about__tint, .about__media.is-playing .about__poster { opacity: 0; pointer-events: none; }
.about__text { max-width: 1028px; margin: 38px auto 0; color: var(--slate-600); font-size: var(--fs-lead); line-height: 1.61; text-align: center; }
.about__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; max-width: 937px; margin: 41px auto 0; }
.vm { position: relative; min-height: 148px; padding: 24px; border-radius: 12px; border: 1px solid; }
.vm--vision { background: #f0fdf4; border-color: #bbf7d0; }
.vm--mission { background: #fff7ed; border-color: #fed7aa; }
.vm__icon { position: absolute; pointer-events: none; opacity: .5; transition: transform .8s var(--ease); }
.vm--vision .vm__icon { width: 80px; right: 0; top: -4px; }
.vm--mission .vm__icon { width: 118px; right: -16px; top: -40px; }
.vm:hover .vm__icon { transform: rotate(-8deg) scale(1.08); }
.vm__title { font-family: var(--f-head); font-size: 20px; font-weight: 700; line-height: 30px; text-transform: uppercase; }
.vm--vision .vm__title { color: var(--green); }
.vm--mission .vm__title { color: var(--orange); }
.vm__text { margin-top: 11px; max-width: 409px; color: var(--ink); font-size: 16px; line-height: 1.8; position: relative; }
.about__note {
	max-width: 949px; margin: 29px auto 0;
	padding: 16px 24px;
	border-left: 12px solid #a855f7;
	background: #f3e8ff;
	color: var(--navy); font-size: 16px; line-height: 26px;
}

/* --------------------------------------------------------------------------
   Products
   -------------------------------------------------------------------------- */
.products { padding: 40px 0 48px; background: var(--slate-50); overflow: hidden; }
.products .container { position: relative; z-index: 1; }
.products__mark { width: 942px; max-width: 92vw; left: 50%; top: 0; transform: translateX(-50%); opacity: .08; }
.products__blob { position: absolute; border-radius: 50%; pointer-events: none; }
.products__blob--h { width: 536px; height: 79px; left: calc(50% + 371px); top: 29px; background: rgba(109, 33, 8, .1); }
.products__blob--v { width: 89px; height: 537px; left: calc(50% + 595px); top: -200px; background: rgba(8, 109, 37, .1); }
.products__shape { position: absolute; width: 877px; left: calc(50% - 33px); bottom: -130px; pointer-events: none; opacity: .9; }
.products__title { display: inline-block; margin-top: 40px; padding-bottom: 2px; font-weight: 600; line-height: 1.5; border-bottom: 1.5px solid var(--orange); }
.products__title .hl + .hl { margin-left: .2em; }
.products__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-top: 40px; }
.product {
	position: relative;
	padding: 20px 20px 32px;
	border-radius: 24px;
	background: #fff;
	box-shadow: 0 0 50px rgba(15, 23, 42, .05);
	transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.product:hover { transform: translateY(-8px); box-shadow: 0 30px 60px -20px rgba(15, 23, 42, .18); }
.product__link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.product__media { aspect-ratio: 397 / 296; border-radius: 16px; overflow: hidden; background: var(--slate-100); }
.product__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.product:hover .product__img { transform: scale(1.06); }
.product__eyebrow { margin-top: 43px; font-family: var(--f-head); font-size: 16px; font-weight: 500; line-height: 1.2; text-transform: uppercase; color: var(--slate-700); }
.product__name { display: flex; align-items: center; gap: 12px; margin-top: 17px; font-size: clamp(26px, 2.1vw, 32px); font-weight: 700; line-height: 1.5; color: var(--navy); }
.product__logo { width: 32px; height: 32px; object-fit: contain; flex: none; }
.product__arrow { width: 26px; height: 26px; margin-left: auto; color: var(--orange); opacity: 0; transform: translateX(-12px); transition: opacity .4s var(--ease), transform .4s var(--ease); }
.product:hover .product__arrow { opacity: 1; transform: none; }
.product__text { margin-top: 20px; color: var(--navy); font-size: 16px; line-height: 2; }

/* --------------------------------------------------------------------------
   Markets
   -------------------------------------------------------------------------- */
.markets { padding: 68px 0 46px; overflow: hidden; }
.markets .container { position: relative; z-index: 1; }
.markets__heading { position: relative; margin-top: 19px; }
.markets__lines { width: 313px; right: -40px; top: 4px; opacity: .55; transform: rotate(-22deg) scaleY(.5); transform-origin: 0 0; }
.markets__title { position: relative; padding: 27px 0; }
.markets__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; max-width: 1292px; margin: 40px auto 0; }
.market {
	overflow: hidden; display: flex; flex-direction: column;
	border: 1px solid var(--slate-300); border-radius: 16px;
	background: #fff;
	box-shadow: 0 10px 48px rgba(15, 23, 42, .06);
	transition: transform .6s var(--ease), box-shadow .6s var(--ease);
}
.market:hover { transform: translateY(-6px); box-shadow: 0 30px 60px -24px rgba(15, 23, 42, .22); }
.market__media { aspect-ratio: 420 / 232; overflow: hidden; }
.market__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.market:hover .market__img { transform: scale(1.06); }
.market__body { padding: 18px 16px 32px 16px; }
.market__eyebrow { padding-left: 4px; font-family: var(--f-head); font-size: 16px; font-weight: 500; line-height: 1.2; text-transform: uppercase; color: var(--slate-500); }
.market__title { margin-top: 14px; font-family: var(--f-head); font-size: 24px; font-weight: 700; line-height: 1.2; color: var(--ink); max-width: 300px; }
.market__text { margin-top: 12px; color: var(--slate-600); font-size: 16px; line-height: 1.8; }
.pill-deco { position: absolute; width: 369px; height: 47px; border-radius: 500px; opacity: .2; pointer-events: none; }
.pill-deco--g1 { background: var(--green); left: -45px; top: 253px; }
.pill-deco--o1 { background: var(--orange); left: -266px; top: 353px; }
.pill-deco--g2 { background: var(--green); right: -282px; bottom: 89px; }
.pill-deco--o2 { background: var(--orange); right: -61px; bottom: -11px; }

/* --------------------------------------------------------------------------
   Offline-first
   -------------------------------------------------------------------------- */
.offline { background: var(--navy); color: #fff; overflow: hidden; min-height: 607px; display: flex; align-items: center; }
.offline__media { position: absolute; top: 0; bottom: 0; left: 46.4%; right: 0; overflow: hidden; }
.offline__img { width: 100%; height: 100%; object-fit: cover; object-position: 0 50%; transform: scale(1.12); }
.offline__media::before { content: ""; position: absolute; inset: 0 auto 0 0; width: 18%; background: linear-gradient(90deg, rgba(2, 6, 23, .5), transparent); z-index: 1; }
.offline__inner { position: relative; z-index: 1; padding-top: 45px; padding-bottom: 45px; }
.offline__content { max-width: 609px; }
.offline__title { margin-top: 24px; color: #fff; font-weight: 600; line-height: 1.5; }
.offline__text { max-width: 566px; margin-top: 24px; font-size: 16px; line-height: 1.8; }
.offline__points {
	max-width: 594px; margin-top: 24px; padding: 4px 22px;
	border-radius: 12px;
	background: rgba(255, 255, 255, .04);
	border: 1px solid rgba(255, 255, 255, .16);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
}
.offline__points li { position: relative; padding: 24px 40px 24px 28px; font-size: 16px; line-height: 1.8; }
.offline__points li + li { border-top: 1px solid var(--slate-400); }
.offline__points li::before { content: ""; position: absolute; left: 10px; top: 35px; width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 0 0 rgba(22, 163, 74, .6); animation: vl-dot 2.6s infinite; }
@keyframes vl-dot { 70% { box-shadow: 0 0 0 8px rgba(22, 163, 74, 0); } 100% { box-shadow: 0 0 0 0 rgba(22, 163, 74, 0); } }

/* --------------------------------------------------------------------------
   AI Studio
   -------------------------------------------------------------------------- */
.ai { padding: 80px 0; }
.ai .container { max-width: calc(1238px + var(--gutter) * 2); }
.ai__card {
	position: relative; isolation: isolate; overflow: hidden;
	min-height: 548px;
	display: flex; align-items: center; justify-content: center;
	padding: 64px var(--gutter) 56px;
	border-radius: 24px;
	background: var(--navy);
	color: #fff;
}
.ai__bg { position: absolute; inset: 0; z-index: -1; }
.ai__bg img { position: absolute; max-width: none; pointer-events: none; }
.ai__texture { inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .04; }
.ai__hand { width: 102%; height: 153%; left: 1.2%; top: -19%; object-fit: cover; opacity: .25; }
.ai__robot { width: 27%; min-width: 220px; height: auto; left: 50%; bottom: -60%; transform: translateX(-50%); opacity: .5; }
.ai__shade { position: absolute; inset: -2% -1%; background: linear-gradient(100deg, rgba(15, 23, 42, .9), rgba(51, 79, 144, 0)); }
.orb { position: absolute; border-radius: 50%; filter: blur(90px); pointer-events: none; animation: vl-orb 12s ease-in-out infinite alternate; }
.orb--lime { width: 281px; height: 281px; left: 39%; top: 58%; background: #84cc16; opacity: .2; }
.orb--indigo { width: 257px; height: 257px; right: -16px; top: -28px; background: #4f46e5; opacity: .7; animation-delay: -4s; }
.orb--orange { width: 257px; height: 257px; left: -34px; top: -46px; background: var(--orange); opacity: .3; animation-delay: -8s; }
@keyframes vl-orb { 50% { transform: translate(30px, -20px) scale(1.12); } 100% { transform: translate(-20px, 25px) scale(.95); } }
.ai__content { max-width: 680px; display: flex; flex-direction: column; align-items: center; text-align: center; }
.ai__title { margin-top: 24px; font-family: var(--f-head); font-size: clamp(1.5rem, 1rem + 1.4vw, 2rem); font-weight: 700; line-height: 1.2; }
.ai__text { margin-top: 20px; font-size: 16px; line-height: 1.8; }
.ai__chips { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; width: calc(100% + 80px); max-width: 90vw; margin: 98px -40px 0; }
.chip {
	padding: 10px 20px; border-radius: 9999px; border: 1px solid;
	font-size: 14px; font-weight: 500; line-height: 21px;
	-webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px);
	transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.chip:hover { transform: translateY(-3px); }
.chip--1 { background: rgba(59, 130, 246, .09); border-color: rgba(59, 130, 246, .25); color: #60a5fa; }
.chip--2 { background: rgba(132, 204, 22, .09); border-color: rgba(132, 204, 22, .25); color: #a3e635; }
.chip--3 { background: rgba(139, 92, 246, .09); border-color: rgba(139, 92, 246, .25); color: #c4b5fd; }
.chip--4 { background: rgba(249, 112, 102, .09); border-color: rgba(249, 112, 102, .25); color: #fda4af; }
.chip--1:hover { box-shadow: 0 0 24px rgba(59, 130, 246, .35); }
.chip--2:hover { box-shadow: 0 0 24px rgba(132, 204, 22, .35); }
.chip--3:hover { box-shadow: 0 0 24px rgba(139, 92, 246, .35); }
.chip--4:hover { box-shadow: 0 0 24px rgba(249, 112, 102, .35); }

/* --------------------------------------------------------------------------
   Five reasons (flip cards)
   -------------------------------------------------------------------------- */
.reasons { padding: 68px 0 72px; overflow: hidden; background: #f8f8f8; isolation: isolate; }
.reasons__bg {
	position: absolute; inset: 0; z-index: -2;
	background: url("../images/reasons-bg.webp") center / cover no-repeat;
	opacity: .08; filter: grayscale(1) contrast(1.2);
}
.reasons__waves { position: absolute; left: -28%; width: 148%; bottom: 0; height: 66%; z-index: -1; pointer-events: none; }
.reasons__wave--back { opacity: .35; }
.reasons__wave--front { opacity: .45; }
.reasons__title { max-width: 672px; margin-top: 33px; font-weight: 600; line-height: 1.5; text-transform: uppercase; }
.reasons__grid {
	display: grid; grid-template-columns: repeat(4, minmax(0, 302px));
	justify-content: center; column-gap: 38px; row-gap: 53px;
	margin-top: 57px;
	perspective: 1600px;
}
.flip { height: 455px; }
.flip:nth-child(5) { grid-column: 4; }
.flip__inner {
	position: relative; display: block; width: 100%; height: 100%;
	padding: 0; border: 0; background: none; text-align: left;
	transform-style: preserve-3d;
	transition: transform .9s var(--ease);
}
.flip:hover .flip__inner, .flip__inner:focus-visible, .flip__inner.is-flipped { transform: rotateY(180deg); }
.flip__face {
	position: absolute; inset: 0;
	display: flex; flex-direction: column;
	border-radius: 8px; overflow: hidden;
	-webkit-backface-visibility: hidden; backface-visibility: hidden;
}
.flip__front { padding: 24px; border: 1px solid var(--slate-200); box-shadow: 0 10px 50px rgba(15, 23, 42, .06); }
.flip--1 .flip__front { background: #fff7ed; }
.flip--2 .flip__front { background: #eff6ff; }
.flip--3 .flip__front { background: #f7fee7; }
.flip--4 .flip__front { background: #faf5ff; }
.flip--5 .flip__front { background: #ecfeff; }
.flip__icon { width: 72px; height: 72px; margin: 4px; color: var(--slate-800); }
.flip__num {
	position: absolute; left: 24px; top: 191px;
	font-family: var(--f-head); font-size: 277px; font-weight: 500; line-height: 1; letter-spacing: -.02em;
	color: var(--slate-300); opacity: .28;
	pointer-events: none; white-space: nowrap;
}
.flip__title { position: relative; margin-top: auto; font-family: var(--f-head); font-size: clamp(30px, 2.65vw, 40px); font-weight: 600; line-height: 1.5; color: var(--slate-700); }
.flip__back { transform: rotateY(180deg); padding: 64px 26px 26px; color: #fff; box-shadow: 0 20px 55px -10px rgba(15, 23, 42, .35); }
.flip--1 .flip__back { background: #92400e; }
.flip--2 .flip__back { background: #1e40af; }
.flip--3 .flip__back { background: #3f6212; }
.flip--4 .flip__back { background: #6b21a8; }
.flip--5 .flip__back { background: #155e75; }
.flip__badge { position: absolute; top: 14px; right: 14px; display: grid; place-items: center; width: 62px; height: 62px; border-radius: 8px; background: #fff; color: var(--slate-800); box-shadow: 0 4px 8px rgba(0, 0, 0, .12); }
.flip__badge .icon { width: 44px; height: 44px; }
.flip__back-title { padding-right: 48px; font-family: var(--f-head); font-size: clamp(24px, 2vw, 30px); font-weight: 600; line-height: 1.5; text-transform: uppercase; }
.flip__text { margin-top: 20px; font-size: clamp(17px, 1.4vw, 21px); line-height: 1.8; }

/* --------------------------------------------------------------------------
   Metrics
   -------------------------------------------------------------------------- */
.metrics { padding: 64px 0 29px; }
.metrics__title { text-align: center; font-family: var(--f-head); font-size: var(--fs-h2); font-weight: 600; line-height: 1.14; letter-spacing: 1.4px; text-transform: uppercase; color: var(--orange); }
.metrics__grid { display: grid; grid-template-columns: repeat(4, 1fr); margin-top: 52px; }
.metric { display: flex; flex-direction: column; align-items: center; gap: 12px; padding: 20px 32px; text-align: center; }
.metric + .metric { border-left: 1px solid #e5e7eb; }
.metric__value { font-size: clamp(30px, 2.65vw, 40px); font-weight: 700; line-height: 1.5; color: var(--navy); font-variant-numeric: tabular-nums; white-space: nowrap; }
.metric__label { max-width: 190px; font-size: 14px; line-height: 20px; color: var(--navy); }
.metrics__banner {
	margin-top: 40px; padding: 12px;
	border: 1px solid var(--slate-300); border-radius: 8px;
	background: var(--green); color: #fff;
	font-size: 16px; font-style: italic; line-height: 24px; text-align: center;
}

/* --------------------------------------------------------------------------
   Integrations
   -------------------------------------------------------------------------- */
.integrations { padding: 68px 0 72px; overflow: hidden; isolation: isolate; }
.integrations__bg { position: absolute; inset: 0; z-index: -1; background: url("../images/integrations-bg.webp") center / cover no-repeat; }
.integrations__bg::before { content: ""; position: absolute; inset: 0; background: rgba(254, 254, 254, .6); -webkit-backdrop-filter: blur(30px); backdrop-filter: blur(30px); }
.integrations__blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .35; animation: vl-orb 14s ease-in-out infinite alternate; }
.integrations__blob--1 { width: 380px; height: 180px; left: 18%; top: 44%; background: #5eead4; }
.integrations__blob--2 { width: 420px; height: 200px; left: 42%; top: 40%; background: #fca5a5; animation-delay: -5s; }
.integrations__blob--3 { width: 360px; height: 180px; right: 10%; top: 42%; background: #fde68a; animation-delay: -9s; }
.integrations__title { margin-top: 54px; line-height: 1.5; text-transform: uppercase; }
.integrations__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; margin-top: 98px; }
.integration {
	padding: 32px 12px 36px 40px;
	border: 1px solid var(--slate-300); border-radius: 16px;
	background: #fff;
	transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
}
.integration:hover { transform: translateY(-6px); border-color: transparent; box-shadow: 0 24px 50px -20px rgba(15, 23, 42, .25); }
.integration__icon { display: block; width: 44px; height: 44px; border-radius: 8px; overflow: hidden; }
.integration__icon img { width: 100%; height: 100%; object-fit: contain; }
.integration__name { letter-spacing: -.015em; margin-top: 12px; font-size: clamp(20px, 1.6vw, 24px); font-weight: 700; line-height: 1.5; color: var(--ink); }
.integration__text { margin-top: 12px; max-width: 245px; color: var(--slate-600); font-size: 16px; line-height: 1.8; }

/* --------------------------------------------------------------------------
   Testimonials (card deck)
   -------------------------------------------------------------------------- */
.testimonials { padding: 61px 0 66px; background: #451a03; color: #fff; overflow: hidden; }
.testimonials__title { text-align: center; font-size: clamp(28px, 2.8vw, 42px); font-weight: 700; line-height: 1.5; }
.deck { display: grid; max-width: 868px; margin: 44px auto 0; padding-bottom: 56px; outline: none; touch-action: pan-y; }
.deck__card {
	grid-area: 1 / 1;
	display: flex; align-items: center; gap: 26px;
	min-height: 280px; padding: 36px 30px;
	border-radius: 24px;
	background: var(--slate-50); color: var(--navy);
	transform-origin: 50% 100%;
	transition: transform .8s var(--ease), background-color .8s var(--ease), opacity .6s var(--ease);
	will-change: transform;
}
.deck__card[data-pos="0"] { z-index: 3; }
.deck__card[data-pos="1"] { z-index: 2; transform: translateY(32px) scale(.965); background: var(--slate-300); }
.deck__card[data-pos="2"] { z-index: 1; transform: translateY(56px) scale(.93); background: var(--slate-400); }
.deck__card:not([data-pos="0"]) > * { opacity: 0; transition: opacity .4s; }
.deck__card[data-pos="0"] > * { opacity: 1; transition: opacity .6s .25s; }
.deck__card[data-pos="3"], .deck__card[data-pos="4"] { opacity: 0; transform: translateY(70px) scale(.9); }
.deck__card.is-leaving { transform: translateY(-40px) rotate(-3deg) scale(1.02); opacity: 0; z-index: 4; }
.deck__photo { flex: none; width: 195px; height: 195px; border-radius: 50%; overflow: hidden; background: #c4c4c4; }
.deck__photo img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 20%; }
.deck__quote p { font-size: clamp(16px, 1.35vw, 20px); line-height: 1.8; }
.deck__name { display: block; font-size: clamp(16px, 1.35vw, 20px); font-weight: 600; line-height: 1.8; }
.deck__role { display: block; color: var(--orange-brand); font-size: clamp(15px, 1.35vw, 20px); font-weight: 500; line-height: 1.8; }
.deck__dots { display: flex; justify-content: center; align-items: center; gap: 12px; margin-top: 16px; }
.deck__dot { width: 10px; height: 10px; padding: 0; border: 0; border-radius: 50%; background: rgba(203, 213, 225, .6); transition: width .4s var(--ease), background-color .4s; }
.deck__dot.is-active { width: 14px; height: 14px; background: #fff; }

/* --------------------------------------------------------------------------
   Security
   -------------------------------------------------------------------------- */
.security { padding: 80px 0; }
.security__title { max-width: 860px; margin-top: 40px; line-height: 1.5; }
.security__subtitle { margin-top: 40px; color: var(--ink); font-size: 18px; line-height: 32px; }
.security__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 12px; }
.sec-card {
	position: relative; overflow: hidden;
	min-height: 152px; padding: 24px;
	border: 1px solid var(--slate-200); border-radius: 16px; background: #fff;
	box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
	transition: border-color .4s, box-shadow .4s var(--ease), transform .4s var(--ease);
}
.sec-card::before { content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 3px; background: linear-gradient(var(--orange), var(--green)); transform: scaleY(0); transform-origin: top; transition: transform .6s var(--ease); }
.sec-card:hover { border-color: var(--slate-300); box-shadow: 0 16px 40px -20px rgba(15, 23, 42, .25); transform: translateY(-3px); }
.sec-card:hover::before { transform: none; }
.sec-card__title { font-family: var(--f-head); font-size: 20px; font-weight: 600; line-height: 1.5; color: var(--ink); }
.sec-card__text { margin-top: 16px; color: var(--slate-600); font-size: 16px; line-height: 1.8; }

/* --------------------------------------------------------------------------
   Blog
   -------------------------------------------------------------------------- */
.news { padding: 48px 0 56px; background: var(--slate-50); }
.section-head--tight .section-title { margin-top: 16px; }
.news__layout { display: grid; grid-template-columns: minmax(0, 800fr) minmax(0, 513fr); gap: 40px; margin-top: 40px; align-items: start; }
.post-feature {
	position: relative; display: flex; flex-direction: column;
	padding: 40px; border: 1px solid var(--slate-100); border-radius: 16px;
	background: #fff; box-shadow: 0 0 24px rgba(15, 23, 42, .05);
	transition: box-shadow .5s var(--ease), transform .5s var(--ease);
}
.post-feature:hover { box-shadow: 0 30px 60px -28px rgba(15, 23, 42, .3); transform: translateY(-4px); }
.post-feature__link, .post-card__link { position: absolute; inset: 0; z-index: 2; border-radius: inherit; }
.post-feature__cat { font-size: 14px; font-weight: 600; line-height: 16px; text-transform: uppercase; color: #1e3a8a; letter-spacing: .02em; }
.post-feature__title { margin-top: 12px; font-family: var(--f-head); font-size: clamp(24px, 2.1vw, 32px); font-weight: 700; line-height: 1.19; color: var(--slate-800); }
.post-feature__excerpt { margin-top: 12px; color: var(--slate-700); font-size: var(--fs-lead); line-height: 1.61; }
.post-feature__media { margin-top: 24px; aspect-ratio: 716 / 317; border-radius: 12px; overflow: hidden; }
.post-feature__img, .post-card__img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease); }
.post-feature:hover .post-feature__img, .post-card:hover .post-card__img { transform: scale(1.06); }
.post-date { margin-top: 24px; color: #6b7280; font-size: 12px; font-weight: 500; line-height: 16px; }
.news__list { display: grid; gap: 12px; }
.post-card {
	position: relative; display: grid; grid-template-columns: 189px 1fr; min-height: 220px;
	border: 1px solid var(--slate-200); border-radius: 8px; overflow: hidden;
	background: #fff; box-shadow: 0 1px 2px rgba(15, 23, 42, .05);
	transition: box-shadow .5s var(--ease), transform .5s var(--ease);
}
.post-card:hover { box-shadow: 0 20px 40px -24px rgba(15, 23, 42, .35); transform: translateX(-4px); }
.post-card__media { overflow: hidden; background: var(--slate-100); }
.post-card__body { display: flex; flex-direction: column; justify-content: space-between; padding: 24px; }
.post-card__title { font-size: 18px; font-weight: 600; line-height: 28px; color: #111827; }
.post-card .post-date { margin-top: 16px; }
.news__more { margin-top: 32px; }

/* --------------------------------------------------------------------------
   CTA
   -------------------------------------------------------------------------- */
.cta { overflow: hidden; background: var(--green-800); color: #fff; isolation: isolate; }
.cta__glow { position: absolute; width: 367px; height: 367px; left: 0; top: -84px; border-radius: 50%; background: #22c55e; filter: blur(150px); opacity: .9; z-index: -1; }
.cta__circle { position: absolute; width: 522px; height: 522px; left: -14px; top: 421px; border-radius: 50%; background: #f0fdf4; box-shadow: 0 0 0 14px rgba(34, 197, 94, .35), 0 4px 4px rgba(0, 0, 0, .25); z-index: -1; }
.cta__mark { width: 520px; right: -300px; bottom: -150px; transform: rotate(90deg); z-index: -1; }
.cta__mark .mark__stroke { stroke-width: 28; }
.cta__inner { position: relative; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 570px); align-items: center; gap: 48px; min-height: 492px; padding-top: 14px; padding-bottom: 14px; }
.cta__content { padding: 74px 0 74px 33px; max-width: 578px; }
.cta__title { font-family: var(--f-head); font-size: var(--fs-h2); font-weight: 800; line-height: 1.19; letter-spacing: 1.4px; }
.cta__text { margin-top: 40px; max-width: 506px; font-size: 16px; line-height: 1.5; }
.cta__content .btn { margin-top: 40px; }
.cta__frame {
	padding: 13px; border-radius: 20px;
	background: rgba(250, 245, 255, .2);
	-webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px);
	box-shadow: 0 0 28px rgba(0, 0, 0, .12);
	margin-right: -23px;
}
.cta__img { width: 100%; aspect-ratio: 544 / 437; object-fit: cover; border-radius: 13px; }

/* --------------------------------------------------------------------------
   Contact
   -------------------------------------------------------------------------- */
.contact { padding: 56px 0; }
.contact__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 48px; }
.contact__grid--info { margin-top: 13px; }
.contact-card {
	display: flex; flex-direction: column; gap: 12px;
	min-height: 150px; padding: 23px;
	border: .5px solid var(--slate-200); border-radius: 16px; background: #fff;
	box-shadow: 0 4px 20px rgba(15, 23, 42, .05), 0 0 20px rgba(15, 23, 42, .03);
	transition: transform .4s var(--ease), box-shadow .4s var(--ease);
}
.contact-card:hover { transform: translateY(-4px); box-shadow: 0 20px 40px -18px rgba(15, 23, 42, .2); }
.contact-card--info { min-height: 120px; padding: 24px; gap: 10px; }
.contact-card__country, .contact-card__label { font-family: var(--f-head); font-weight: 500; line-height: 1.2; text-transform: uppercase; }
.contact-card__country { font-size: 18px; color: var(--green-700); }
.contact-card__label { font-size: 16px; color: var(--slate-600); }
.contact-card__address { color: var(--slate-600); font-size: var(--fs-lead); line-height: 1.78; }
.contact-card__value { color: var(--slate-800); font-size: var(--fs-lead); font-weight: 500; line-height: 32px; overflow-wrap: anywhere; }
.contact-card__value a, a.contact-card__value { transition: color .3s; }
.contact-card__value a:hover, a.contact-card__value:hover { color: var(--orange); }
.contact-card__sep { margin: 0 12px; color: var(--slate-600); font-weight: 600; }

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer { padding: 64px 0 12px; background: var(--navy); color: #fff; }
.site-footer__row, .site-footer__bottom { max-width: 1280px; }
.site-footer__row { display: flex; justify-content: space-between; gap: 48px; }
.site-footer__brand { max-width: 320px; }
.site-footer__logo .logo__svg { width: 154px; }
.site-footer__tagline { margin-top: 16px; font-size: 14px; line-height: 20px; }
.site-footer__note { margin-top: 16px; font-size: 14px; font-style: italic; line-height: 21px; color: var(--slate-100); }
.site-footer__links { display: grid; grid-template-columns: 204px 204px 140px; }

.site-footer__title { font-size: 14px; font-weight: 700; line-height: 21px; }
.site-footer__menu { display: grid; gap: 16px; margin-top: 16px; line-height: 20px; }
.site-footer__menu a { font-size: 13px; line-height: 20px; transition: color .3s, padding .3s var(--ease); }
.site-footer__menu a:hover { color: var(--orange); padding-left: 4px; }
.site-footer__bottom { display: flex; justify-content: space-between; align-items: center; gap: 24px; margin-top: 64px; padding: 32px 0 20px; border-top: 1px solid #e5e7eb; }
.site-footer__copy { font-size: 12px; line-height: 18px; }
.site-footer__social { display: flex; gap: 32px; }
.site-footer__social a { display: block; transition: color .3s, transform .4s var(--ease); }
.site-footer__social a:hover { color: var(--orange); transform: translateY(-3px); }
.site-footer__social .icon { width: 24px; height: 24px; }

/* --------------------------------------------------------------------------
   Fallback pages
   -------------------------------------------------------------------------- */
.page-hero { padding: 180px 0 48px; background: var(--navy); color: #fff; text-align: center; }
.page-hero .section-title { color: #fff; margin-top: 16px; }
.page-hero .section-lead { margin-inline: auto; color: var(--slate-300); }
.page-hero .btn { margin-top: 32px; }
.page-hero--404 { min-height: 80vh; display: grid; place-items: center; }
.section--listing { padding: 64px 0; }
.listing { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 24px; }
.listing__item { border: 1px solid var(--slate-200); border-radius: 16px; overflow: hidden; background: #fff; }
.listing__media img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.listing__body { padding: 24px; }
.listing__title { font-family: var(--f-head); font-size: 22px; line-height: 1.3; }
.listing__excerpt { margin-top: 12px; color: var(--slate-600); }
.entry { padding: 160px 0 80px; }
.entry__media { margin-top: 32px; border-radius: 16px; overflow: hidden; }
.entry__content { margin-top: 32px; color: var(--slate-700); }
.entry__content > * + * { margin-top: 1em; }
.entry__content a { color: var(--orange); text-decoration: underline; }
body:not(.home) .site-header .site-header__bar { background: rgba(2, 6, 23, .9); padding: 10px 10px 10px 20px; }
body:not(.home) .site-header { padding-top: 16px; }

/* --------------------------------------------------------------------------
   Animation start states (only while the animation script is in charge)
   -------------------------------------------------------------------------- */
html.js body:not(.vl-motion-off):not(.vl-customizing) [data-hero],
html.js body:not(.vl-motion-off):not(.vl-customizing) [data-reveal] { visibility: hidden; }
html.vl-no-anim body [data-hero],
html.vl-no-anim body [data-reveal] { visibility: visible !important; }

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 1240px) {
	.nav__list { gap: 2px; }
	.site-header__actions { gap: 8px; }
	.reasons__grid { grid-template-columns: repeat(3, minmax(0, 302px)); }
	.flip:nth-child(5) { grid-column: auto; }
	.flip:nth-child(4) { grid-column: 2; }
	.cta__frame { margin-right: 0; }
	.site-footer__links { grid-template-columns: repeat(3, 170px); }
}

@media (max-width: 1100px) {
	.nav, .site-header__actions .btn--ghost { display: none; }
	.burger { display: block; }
	.hero { padding: 20px 20px 0; }
	.site-header { padding-top: 40px; }
	.site-header__bar { width: calc(100% - (20px + var(--gutter)) * 2); }
	.products__grid, .markets__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.integrations__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.integration__text { max-width: none; }
	.news__layout { grid-template-columns: 1fr; }
	.metrics__grid { grid-template-columns: repeat(2, 1fr); row-gap: 16px; }
	.metric:nth-child(3) { border-left: 0; }
	.site-footer__row { flex-direction: column; }
	.site-footer__links { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.contact__grid { grid-template-columns: 1fr; }
	.contact__grid { max-width: 560px; margin-inline: auto; }
}

@media (max-width: 960px) {
	.hero__card { min-height: 0; padding-top: 150px; padding-bottom: 96px; }
	.reasons__grid { grid-template-columns: repeat(2, minmax(0, 302px)); }
	.flip:nth-child(4) { grid-column: auto; }
	.flip:nth-child(5) { grid-column: 1 / -1; justify-self: center; width: min(100%, 302px); }
	.offline { flex-direction: column; align-items: stretch; }
	.offline__media { position: relative; left: 0; height: 56vw; max-height: 460px; order: 2; }
	.offline__media::before { display: none; }
	.offline__img { object-position: 30% 40%; }
	.offline__inner { padding-top: 56px; padding-bottom: 56px; }
	.cta__inner { grid-template-columns: 1fr; gap: 0; padding-bottom: 56px; }
	.cta__content { padding: 56px 0 40px; }
	.cta__circle { top: auto; bottom: -440px; }
	.deck__card { flex-direction: column; text-align: center; padding: 32px 24px; gap: 20px; }
	.deck__photo { width: 140px; height: 140px; }
	.about__cards { grid-template-columns: 1fr; max-width: 560px; }
	.security__grid { grid-template-columns: 1fr; }
	.products__blob, .products__mark { display: none; }
}

@media (max-width: 768px) {
	:root { --header-h: 44px; }
	.section-title, .hero__title { text-wrap: balance; }
	.site-header { padding-top: 30px; }
	.site-header__bar { width: calc(100% - 28px - var(--gutter) * 2); }
	.site-header.is-scrolled .site-header__bar { padding: 8px 8px 8px 14px; }
	.site-header__actions .btn { display: none; }
	.logo__svg { width: 128px; }
	.hero { padding: 12px 12px 0; }
	.hero__card { padding: 128px 20px 88px; border-radius: 16px; }
	.hero__title { letter-spacing: .03em; }
	.hero__title br { display: none; }
	.hero__badge { white-space: normal; text-align: left; font-size: 12px; line-height: 1.4; }
	.hero__actions { width: 100%; }
	.hero__actions .btn { flex: 1 1 220px; }
	.trusted__logos { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
	.trusted__logo { width: auto; height: 72px; }
	.trusted__logo img { max-height: 72px; }
	.trusted__label { font-size: 13px; letter-spacing: 1.2px; padding: 8px 20px; }
	.about__title { line-height: 1.35; }
	.about__frame { padding: 8px; border-radius: 18px; }
	.about__media { border-radius: 12px; }
	.about__play { gap: 10px; }
	.about__lines, .markets__lines { display: none; }
	.products__grid, .markets__grid, .integrations__grid { grid-template-columns: 1fr; max-width: 520px; margin-inline: auto; }
	.product__eyebrow { margin-top: 28px; }
	.pill-deco { display: none; }
	.ai { padding: 48px 0; }
	.ai__card { padding: 48px 20px; border-radius: 20px; min-height: 0; }
	.ai__chips { margin-top: 48px; }
	.ai__hand { width: 220%; left: -60%; }
	.reasons__grid { grid-template-columns: minmax(0, 360px); row-gap: 20px; }
	.flip, .flip:nth-child(5) { height: 400px; width: auto; justify-self: stretch; }
	.flip__num { top: 160px; font-size: 230px; }
	.metrics__grid { grid-template-columns: 1fr 1fr; margin-top: 32px; }
	.metric { padding: 16px 8px; }
	.metrics__banner { font-size: 14px; }
	.integrations__title, .integrations__grid { margin-top: 32px; }
	.integration { padding: 28px; }
	.security { padding: 56px 0; }
	.security__title, .security__subtitle { margin-top: 24px; }
	.post-feature { padding: 24px; }
	.post-card { grid-template-columns: 120px 1fr; min-height: 150px; }
	.post-card__body { padding: 16px; }
	.post-card__title { font-size: 16px; line-height: 24px; }
	.news__more .btn { width: 100%; }
	.cta__content { padding-left: 0; }
	.cta__content .btn { width: 100%; }
	.cta__mark { display: none; }
	.site-footer__links { grid-template-columns: 1fr 1fr; gap: 32px 16px; }
	.site-footer__links .site-footer__col:last-child { width: auto; }
	.site-footer__bottom { flex-direction: column-reverse; align-items: flex-start; }
	.mark { display: none; }
	.vm__icon { opacity: .35; }
}

@media (max-width: 420px) {
	.hero__card { padding-top: 116px; }
	.about__play span:last-child { white-space: normal; text-align: left; }
	.about__play { width: max-content; max-width: 86%; }
	.metric__value { font-size: 26px; }
	.metric__label { font-size: 12px; }
	.deck__photo { width: 110px; height: 110px; }
}

@media (min-width: 1920px) {
	.hero__card { min-height: 760px; }
}

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
	html.js body [data-hero], html.js body [data-reveal] { visibility: visible !important; }
	.preloader { display: none !important; }
	.hero__beam { display: none; }
}

@media (max-width: 782px) { .admin-bar .site-header { top: 46px; } }
@media (max-width: 600px) { .admin-bar .site-header { top: 0; } .admin-bar.menu-open .site-header { top: 46px; } }

/* Grain over the "five reasons" waves (replaces an SVG filter that Chrome clips on wide screens). */
.reasons__waves + .container::before { content: none; }
.reasons::after {
	content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 45%; z-index: -1; pointer-events: none; opacity: .5;
	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='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 .45 0 0 0 0 .72 0 0 0 0 .5 0 0 0 .5 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
	-webkit-mask-image: linear-gradient(transparent, #000 45%); mask-image: linear-gradient(transparent, #000 45%);
}

/* --------------------------------------------------------------------------
   Hero scene: a large robot hand from the left reaching for a large earth on
   the right, with a 150px gap between fingertip and planet (scaled down on
   small screens). Sizes use container units of the hero card.
   Fingertip sits at 94.9% / 14.3% of the hand image; the earth's nearest
   edge at 9.3% / 46% of the earth image.
   -------------------------------------------------------------------------- */
.hero__card { container-type: inline-size; --gap-half: clamp(22px, 5.4cqw, 78px); }
.hero__hand { position: absolute; width: 52cqw; left: calc(50cqw - var(--gap-half) - 49.35cqw); top: calc(50% - 5.5cqw); animation: vl-reach 5s ease-in-out infinite alternate; }
.hero__hand img { width: 100%; height: auto; filter: drop-shadow(0 30px 40px rgba(0, 0, 0, .55)); }
.hero__earth { position: absolute; width: 62cqw; aspect-ratio: 450 / 800; left: calc(50cqw + var(--gap-half) - 5.77cqw); top: calc(50% - 50.6cqw); animation: vl-earth 9s ease-in-out infinite alternate; }
.hero__earth img { width: 100%; height: 100%; object-fit: contain; }
.hero__atmo { position: absolute; left: 3%; top: 30%; width: 22%; height: 32%; border-radius: 50%; background: radial-gradient(ellipse at 100% 50%, rgba(96, 165, 250, .55), rgba(96, 165, 250, 0) 70%); filter: blur(14px); animation: vl-atmo 2.6s ease-in-out infinite alternate; }
.hero__veil { position: absolute; inset: 0; background: radial-gradient(ellipse 42% 46% at 50% 47%, rgba(2, 6, 23, .62), rgba(2, 6, 23, .25) 60%, rgba(2, 6, 23, 0) 80%), linear-gradient(180deg, rgba(2, 6, 23, .35), rgba(2, 6, 23, 0) 30%, rgba(2, 6, 23, 0) 75%, rgba(2, 6, 23, .45)); pointer-events: none; }
.hero__spark { position: absolute; left: 50%; top: 50%; width: calc(var(--gap-half) * 2); height: 2px; margin: -1px 0 0 calc(var(--gap-half) * -1); background: linear-gradient(90deg, rgba(147, 197, 253, 0), rgba(191, 219, 254, .95), rgba(147, 197, 253, 0)); box-shadow: 0 0 18px 4px rgba(96, 165, 250, .45); border-radius: 2px; animation: vl-spark 1.8s ease-in-out infinite; }
.hero__spark::after { content: ""; position: absolute; left: 50%; top: 50%; width: 14px; height: 14px; margin: -7px 0 0 -7px; border-radius: 50%; background: radial-gradient(circle, #fff, rgba(147, 197, 253, 0) 70%); }
@keyframes vl-reach { 0% { translate: -6px 3px; rotate: -1deg; } 100% { translate: 6px -4px; rotate: 1.2deg; } }
@keyframes vl-earth { 0% { translate: 6px 0; rotate: 0deg; } 100% { translate: -6px 8px; rotate: -2deg; } }
@keyframes vl-atmo { from { opacity: .5; } to { opacity: 1; } }
@keyframes vl-spark { 0%, 100% { opacity: .25; scale: .6 1; } 50% { opacity: 1; scale: 1 1; } }

/* --------------------------------------------------------------------------
   Ambient motion: every background shape keeps moving slowly. These use the
   individual translate / rotate / scale properties, so they combine with the
   scroll and entrance transforms GSAP sets on the same elements.
   -------------------------------------------------------------------------- */
@keyframes vl-amb-float { 0% { translate: 0 0; rotate: 0deg; } 50% { translate: 22px -26px; rotate: 4deg; } 100% { translate: -16px 18px; rotate: -3deg; } }
@keyframes vl-amb-sway { from { rotate: -5deg; } to { rotate: 5deg; } }
@keyframes vl-amb-pulse { 0%, 100% { scale: 1; } 50% { scale: 1.09; } }
@keyframes vl-amb-drift { from { translate: 0 0; } to { translate: 0 -26px; } }
@keyframes vl-amb-wave { 0% { translate: 0 0; } 50% { translate: -160px 18px; } 100% { translate: 110px -12px; } }
@keyframes vl-amb-pan { from { translate: -14px -10px; } to { translate: 14px 10px; } }
@keyframes vl-amb-zoom { from { scale: 1; } to { scale: 1.08; } }
.mark { animation: vl-amb-float 7s ease-in-out infinite alternate; }
.mark > g { transform-box: fill-box; transform-origin: 50% 50%; animation: vl-amb-sway 5s ease-in-out infinite alternate; }
.lines { animation: vl-amb-float 4s ease-in-out infinite alternate; }
.hero__grid { animation: vl-amb-pan 9s ease-in-out infinite alternate; }
.reasons__wave { transform-box: fill-box; }
.reasons__wave--back { animation: vl-amb-wave 7s ease-in-out infinite alternate; }
.reasons__wave--front { animation: vl-amb-wave 5s ease-in-out infinite alternate-reverse; }
.pill-deco { animation: vl-amb-drift 3s ease-in-out infinite alternate; }
.pill-deco--o1, .pill-deco--o2 { animation-duration: 3s; animation-direction: alternate-reverse; }
.products__shape { animation: vl-amb-sway 9s ease-in-out infinite alternate; transform-origin: 70% 60%; }
.cta__glow, .cta__circle { animation: vl-amb-float 6s ease-in-out infinite alternate; }
.cta__circle { animation-duration: 8s; }
.offline__points li::before { animation-duration: 2.6s; }
.ring, .band__ring, .phero__ring, .phero__arc, .green-hero__ring, .blog-hero__circle { animation: vl-amb-pulse 4s ease-in-out infinite; }
.ring:nth-child(2n), .band__ring--2, .blog-hero__circle--2 { animation-duration: 5s; animation-delay: -3s; }
.team__tris { animation: vl-amb-sway 7s ease-in-out infinite alternate; }
.story__pattern { animation: vl-amb-drift 6s ease-in-out infinite alternate; }
.demo__mark, .phero__tri { animation: vl-amb-float 6s ease-in-out infinite alternate; }
.band__circle, .band__glow, .green-hero__blob, .faq-hero__glow, .posts__beam { animation: vl-amb-float 7s ease-in-out infinite alternate; }
.posts__beam--2 { animation-duration: 10s; animation-direction: alternate-reverse; }

/* ==========================================================================
   Round 3 refinements
   ========================================================================== */

/* Menu: white hover pill, liquid-glass dropdown -------------------------- */
.nav__list > li > a { transition: background-color .35s var(--ease), color .35s var(--ease), box-shadow .35s var(--ease); }
.nav__list > li > a:hover, .nav__list > li:focus-within > a, .nav__list > li:hover > a { background: #fff; color: var(--navy); box-shadow: 0 8px 24px -10px rgba(255, 255, 255, .5); }
.nav__list > .current-menu-item > a:hover, .nav__list > .current-menu-ancestor > a:hover { color: var(--orange); }
.nav__list .sub-menu {
	overflow: hidden; isolation: isolate; padding: 6px; border-radius: 16px;
	background: linear-gradient(145deg, rgba(255, 255, 255, .22), rgba(255, 255, 255, .06) 45%, rgba(120, 180, 255, .1));
	border: 1px solid rgba(255, 255, 255, .28);
	-webkit-backdrop-filter: blur(22px) saturate(190%) brightness(1.08); backdrop-filter: blur(22px) saturate(190%) brightness(1.08);
	box-shadow: inset 0 1px 1px rgba(255, 255, 255, .7), inset 0 -12px 24px rgba(255, 255, 255, .07), inset 10px 0 24px rgba(147, 197, 253, .08), 0 28px 60px -16px rgba(0, 0, 0, .55);
}
/* Moving caustics (an animated SVG turbulence) give the water look. */
.nav__list .sub-menu::after {
	content: ""; position: absolute; inset: -40%; z-index: -1; pointer-events: none; opacity: .3; mix-blend-mode: soft-light;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='400' height='400'%3E%3Cfilter id='w'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.022 .034' numOctaves='2' seed='3'%3E%3Canimate attributeName='baseFrequency' dur='9s' values='.022 .034;.03 .022;.022 .034' repeatCount='indefinite'/%3E%3C/feTurbulence%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 5 -2.6'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23w)'/%3E%3C/svg%3E") center / 400px 400px;
	animation: vl-water 7s linear infinite;
}
.nav__list .sub-menu > li { position: relative; z-index: 1; }
.nav__list .sub-menu a { margin: 2px 0; border-radius: 10px; color: #fff; text-shadow: 0 1px 2px rgba(0, 0, 0, .25); }
.nav__list .sub-menu a:hover { background: #fff; color: var(--navy); padding-left: 20px; text-shadow: none; }
@keyframes vl-water { from { background-position: 0 0; } to { background-position: 400px 200px; } }

/* Buttons: fill grows from where the cursor enters, label rolls up ------- */
.btn { --fill: var(--navy); --fill-text: #fff; }
.btn--primary { --fill: #0b1220; }
.btn--outline { --fill: #fff; --fill-text: var(--navy); }
.btn--light { --fill: var(--navy); --fill-text: #fff; }
.btn--primary::before, .btn--outline::before, .btn--light::before {
	content: ""; position: absolute; left: var(--mx, 50%); top: var(--my, 100%); z-index: -1;
	width: 260%; aspect-ratio: 1; border-radius: 50%; background: var(--fill);
	transform: translate(-50%, -50%) scale(0); transition: transform .6s cubic-bezier(.65, 0, .35, 1);
}
.btn--primary:hover::before, .btn--outline:hover::before, .btn--light:hover::before { transform: translate(-50%, -50%) scale(1); }
.btn--primary:hover, .btn--outline:hover, .btn--light:hover { background: transparent; color: var(--fill-text); }
.btn--primary:hover { background: var(--orange); box-shadow: inset 0 0 0 1.5px var(--orange), 0 14px 30px -12px rgba(249, 115, 22, .65); }
.btn--outline:hover { background: transparent; border-color: #fff; }
.btn__label { display: inline-block; overflow: hidden; vertical-align: top; }
.btn__roll { position: relative; display: inline-block; transition: transform .55s cubic-bezier(.65, 0, .35, 1); }
.btn__roll::after { content: attr(data-text); position: absolute; left: 0; top: 100%; white-space: nowrap; }
.btn:hover .btn__roll { transform: translateY(-100%); }
.btn:hover .btn__icon { animation: vl-icon-out .55s cubic-bezier(.65, 0, .35, 1); transform: none; }
@keyframes vl-icon-out { 0% { translate: 0 0; opacity: 1; } 45% { translate: 14px 0; opacity: 0; } 50% { translate: -14px 0; opacity: 0; } 100% { translate: 0 0; opacity: 1; } }

/* Offline-first: the text never runs under the photo ------------------- */
.offline__content { max-width: min(609px, 42vw); }
.offline__media { left: calc(max(0px, (100% - var(--container) - var(--gutter) * 2) / 2) + var(--gutter) + min(609px, 42vw) + 40px); }
@media (max-width: 960px) { .offline__content { max-width: none; } .offline__media { left: 0; } }

/* AI Studio: full-bleed card that opens to full screen on scroll -------- */
.ai { padding: 0; }
.ai .container { max-width: none; padding: 0; }
.ai__card { min-height: 100vh; border-radius: 0; padding-top: 96px; padding-bottom: 96px; }
.ai__bg img { filter: blur(8px); }
.ai__texture { filter: blur(2px); }
.ai__shade { background: linear-gradient(100deg, rgba(15, 23, 42, .88), rgba(51, 79, 144, .25)); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
.chip { border: 0; color: #fff; font-weight: 600; box-shadow: 0 10px 24px -12px rgba(0, 0, 0, .6); }
.chip--1 { background: #3b82f6; color: #fff; }
.chip--2 { background: #65a30d; color: #fff; }
.chip--3 { background: #8b5cf6; color: #fff; }
.chip--4 { background: #f43f5e; color: #fff; }
.chip:hover { transform: translateY(-3px) scale(1.04); }

/* Products: the two crossed ellipses spin like a fan -------------------- */
.products__fan { position: absolute; left: calc(50% + 639px); top: 68px; width: 0; height: 0; pointer-events: none; animation: vl-fan 9s linear infinite; }
.products__fan .products__blob { position: absolute; left: auto; top: auto; animation: none; -webkit-backdrop-filter: blur(4px); backdrop-filter: blur(4px); }
.products__fan .products__blob--h { background: rgba(109, 33, 8, .16); }
.products__fan .products__blob--v { background: rgba(8, 109, 37, .16); }
.products__fan .products__blob--h { width: 536px; height: 79px; margin: -39.5px 0 0 -268px; }
.products__fan .products__blob--v { width: 89px; height: 537px; margin: -268.5px 0 0 -44.5px; }
@keyframes vl-fan { to { rotate: 360deg; } }
@media (max-width: 960px) { .products__fan { display: none; } }

/* Why VigiLearn: two hands come together and shake ---------------------- */
.reasons__hands { position: absolute; left: 50%; top: 52%; width: min(980px, 92vw); aspect-ratio: 1; translate: -50% -50%; z-index: -2; pointer-events: none; opacity: .32; filter: grayscale(.15) contrast(1.05); }
.reasons__hand { position: absolute; inset: 0; background: url("../images/reasons-bg.webp") center / contain no-repeat; }
.reasons__hand--l { clip-path: inset(0 49% 0 0); }
.reasons__hand--r { clip-path: inset(0 0 0 51%); }

/* ==========================================================================
   Hero v3 (from the client's reference screenshot): full-bleed dark hero,
   header spread to the edges, a dimmed robot hand rising in the lower left
   behind the paragraph and a large earth entering from the right.
   ========================================================================== */
.home .logo__svg { width: 158px; }

.hero { padding: 36px 36px 0; }
.hero__card { min-height: max(695px, calc(100vh - 36px)); max-width: 2200px; border-radius: 20px; padding-top: 162px; padding-bottom: 110px; background: radial-gradient(120% 90% at 50% 0%, #0a1430 0%, var(--navy) 55%, #01040f 100%); }
.hero__glow { opacity: .55; }

/* Hand: fingertip (94.9% / 14.3% of the image) at about 38vw, 370px. */
.hero__hand { width: 56cqw; max-width: none; left: -3.14cqw; top: calc(370px - 5.93cqw); animation: vl-reach 6s ease-in-out infinite alternate; }
.hero__hand img { filter: brightness(.55) saturate(.55) contrast(1.05) drop-shadow(0 30px 40px rgba(0, 0, 0, .6)); }
/* Earth: nearest edge (9.3% / 46% of the image) at about 76vw, 340px. */
.hero__earth { width: 55cqw; left: calc(44.89cqw + 120px); top: calc(340px - 45cqw); animation: vl-earth 10s ease-in-out infinite alternate; }
.hero__earth img { filter: brightness(.78) saturate(.9); }
.hero__atmo { left: 4%; top: 36%; width: 14%; height: 26%; opacity: .5; }
.hero__spark { display: none; }
.hero__veil { background: linear-gradient(180deg, rgba(2, 6, 23, .25), rgba(2, 6, 23, 0) 25%, rgba(2, 6, 23, 0) 70%, rgba(2, 6, 23, .55)), radial-gradient(ellipse 40% 42% at 50% 48%, rgba(2, 6, 23, .45), rgba(2, 6, 23, 0) 75%); }
.hero__lines line { stroke-opacity: .09; }

.hero__badge { padding: 9px 18px; font-size: 14px; letter-spacing: .02em; }
.hero__title { margin-top: 28px; }
.hero__text { max-width: 640px; margin-top: 30px; font-size: clamp(16px, 1rem + .25vw, 19px); line-height: 1.95; color: #fff; }
.hero__actions { margin-top: 40px; }

@media (max-width: 768px) {
	.hero__card { min-height: 0; padding-top: 120px; padding-bottom: 96px; }
	.hero__hand { width: 92cqw; left: -34cqw; top: auto; bottom: -2%; opacity: .28; }
	.hero__earth { width: 115cqw; left: 62cqw; top: -10cqw; }
	.hero__atmo { display: none; }
}
/* GSAP animates the wrappers' opacity on entrance, so the dimming lives on the images. */
.hero__hand img { opacity: .34; }
.hero__earth img { opacity: .7; }
@media (max-width: 768px) { .hero__hand img { opacity: .55; } .hero__earth img { opacity: .75; } }

/* Buttons: calm, premium hover (nothing moves sideways). */
.btn--primary::before, .btn--outline::before, .btn--light::before { transition: transform .9s cubic-bezier(.19, 1, .22, 1); }
.btn__roll { transition: transform .75s cubic-bezier(.19, 1, .22, 1); }
.btn:hover .btn__icon { animation: none; transform: none; }
.btn { transition: background-color .5s var(--ease), border-color .5s var(--ease), color .6s var(--ease), box-shadow .6s var(--ease); }
.btn--primary:hover { box-shadow: inset 0 0 0 1.5px var(--orange), 0 18px 40px -18px rgba(249, 115, 22, .75); }
.btn--outline:hover { box-shadow: 0 18px 40px -20px rgba(255, 255, 255, .45); }

/* Why VigiLearn: card 5 always sits in the right-hand column. */
@media (max-width: 960px) and (min-width: 769px) {
	.flip:nth-child(5) { grid-column: 2; justify-self: stretch; width: auto; }
}
@media (max-width: 768px) { .flip:nth-child(5) { grid-column: auto; } }
/* Preloader start states in CSS, so nothing flashes before the script runs. */
.preloader__mark3d { opacity: 0; }
.preloader__word { width: 0; }
.preloader__word-inner { opacity: 0; }
.preloader__sheen { opacity: 0; mix-blend-mode: screen; background: linear-gradient(105deg, transparent 42%, rgba(255, 255, 255, .28) 50%, transparent 58%); }
.preloader__word-inner { flex: 0 0 auto; width: max-content; }
.preloader__wordsvg { min-width: 176px; }
@media (max-width: 600px) { .preloader__wordsvg { min-width: 128px; } }

/* Hero scene anchored to the full card (container = .hero__bg, which spans the
   whole card), so the arm always runs off the left edge and the planet always
   covers the right, top and bottom edges, at any screen size.
   Fingertip (94.9% / 14.3% of the hand) sits at the card's centre line,
   53% down; the earth's nearest edge (9.3% / 46%) sits 120px to its right. */
.hero__card { container-type: normal; }
.hero__bg { container-type: inline-size; }
.hero__hand { width: 56cqw; left: -3.14cqw; top: calc(53% - 5.93cqw); }
.hero__earth { width: max(55cqw, 120px); height: auto; left: calc(50cqw + 120px - 5.12cqw); top: calc(53% - 44.98cqw); }
@media (max-width: 768px) {
	.hero__hand { width: 92cqw; left: -34cqw; top: auto; bottom: 0; }
	.hero__earth { width: auto; height: 116%; top: -8%; left: 60cqw; }
}
/* Tall windows: the earth also scales with the hero's height so it always
   covers the top and bottom edges (cqh needs a size container). */
.hero__bg { container-type: size; }
.hero__earth {
	--ew: max(55cqw, calc((100cqh + 80px) * .5625));
	width: var(--ew);
	left: calc(50cqw + 120px - .093 * var(--ew));
	top: min(calc(53cqh - .818 * var(--ew)), -40px);
}
@media (max-width: 768px) { .hero__earth { --ew: auto; width: auto; height: 116%; top: -8%; left: 60cqw; } }

/* Phones: the hero fills the whole screen, edge to edge. */
@media (max-width: 768px) {
	.hero { padding: 0; }
	.hero__card { border-radius: 0; min-height: 100vh; min-height: 100svh; padding: 104px 20px 120px; }
	.hero__hand { width: 84cqw; left: -27.7cqw; top: calc(90cqh - 8.9cqw); bottom: auto; }
	.hero__hand img { opacity: .5; }
	.hero__earth { height: 112%; top: -6%; left: 58cqw; }
	.hero__scroll { bottom: 18px; }
}
@media (max-width: 768px) {
	.hero__card { padding-top: 96px; padding-bottom: 96px; }
	.hero__title { margin-top: 22px; font-size: clamp(27px, 7.6vw, 34px); line-height: 1.22; }
	.hero__text { margin-top: 18px; font-size: 15px; line-height: 1.75; }
	.hero__actions { margin-top: 26px; gap: 12px; }
	.hero__actions .btn { min-height: 52px; }
}

/* Phones: more room between the header and the hero text, and a bigger hand
   reaching up from the bottom-left toward the earth. */
@media (max-width: 768px) {
	.hero__card { padding-top: 132px; }
	.hero__hand { width: 128cqw; left: -61.5cqw; top: calc(84cqh - 13.5cqw); }
	.hero__hand img { opacity: .55; }
	.hero__earth { height: 104%; top: -2%; left: 64cqw; }
}

/* Responsive audit fixes: bigger tap areas (visuals unchanged), smaller page
   headings on phones, no overflowing plan names, readable small labels. */
.site-footer__social { gap: 12px; }
.site-footer__social a { padding: 10px; margin: -10px 0; }
.deck__dot { position: relative; }
.deck__dot::before { content: ""; position: absolute; inset: -12px; }
.leader__in { padding: 11px; margin: -11px; }
.psync__label { font-size: 11px; }
@media (max-width: 600px) {
	.page-banner__title--xl { font-size: clamp(34px, 9.4vw, 40px); }
	.plan__name { white-space: normal; }
	.section-title { font-size: clamp(24px, 6.6vw, 30px); }
}
@media (max-width: 600px) { .band__title br, .faq-hero__title br, .support__title br, .cta__title br { display: none; } }

/* ==========================================================================
   Phone refinements (round 5)
   ========================================================================== */
.mobile-menu { overscroll-behavior: contain; -webkit-overflow-scrolling: touch; }
@media (max-width: 768px) {
	.mobile-menu { padding-bottom: 56px; }

	/* Hero: header clear of the text; hand and earth face each other at mid
	   height (fingertip and planet edge level, a small gap between). */
	.hero__card { padding-top: 158px; align-items: flex-start; }
	.hero__card { --pg: clamp(16px, 6cqw, 30px); }
	.hero__hand { width: 82cqw; left: calc(50cqw - var(--pg) - 77.8cqw); top: calc(56cqh - 8.67cqw); bottom: auto; }
	.hero__hand img { opacity: .5; }
	.hero__earth { width: auto; height: 126cqh; left: calc(50cqw + var(--pg) - 6.59cqh); top: calc(56cqh - 57.96cqh); }
	.hero__earth img { opacity: .62; }
	.hero__veil { background: radial-gradient(ellipse 70% 40% at 50% 50%, rgba(2, 6, 23, .55), rgba(2, 6, 23, .15) 70%, rgba(2, 6, 23, 0)), linear-gradient(180deg, rgba(2, 6, 23, .5), rgba(2, 6, 23, 0) 22%, rgba(2, 6, 23, 0) 75%, rgba(2, 6, 23, .5)); }

	/* Trusted-by institution logos: smaller, in one tidy grid. */
	.trusted { padding: 28px 0; }
	.trusted__logos { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px 16px; margin-top: 20px; }
	.trusted__logo { height: 52px; }
	.trusted__logo img { max-height: 40px; max-width: 78%; }
	.trusted__label { font-size: 11px; padding: 7px 16px; letter-spacing: 1px; }

	/* Who we serve: shorter photos. */
	.market__media { aspect-ratio: 16 / 8; }

	/* AI Studio: much lighter blur so the scene stays visible. */
	.ai__bg img { filter: blur(1.5px); }
	.ai__texture { filter: none; }
	.ai__shade { -webkit-backdrop-filter: none; backdrop-filter: none; background: linear-gradient(180deg, rgba(15, 23, 42, .78), rgba(15, 23, 42, .6) 50%, rgba(15, 23, 42, .8)); }
	.ai__card { min-height: 0; padding-top: 72px; padding-bottom: 72px; }
	.ai__chips { margin-top: 36px; gap: 8px; width: 100%; max-width: none; margin-left: 0; margin-right: 0; }
	.chip { font-size: 12.5px; padding: 8px 14px; }

	/* Security, hosting & compliance. */
	.security { padding: 56px 0; }
	.security .badge { white-space: normal; text-align: center; line-height: 1.35; }
	.security__title { margin-top: 20px; font-size: clamp(20px, 5.6vw, 24px); line-height: 1.4; }
	.security__subtitle { margin-top: 28px; font-size: 12px; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase; color: var(--orange); text-align: left; }
	.security__grid { gap: 10px; margin-top: 12px; }
	.sec-card { min-height: 0; padding: 18px 18px 18px 20px; border-radius: 12px; }
	.sec-card::before { transform: none; }
	.sec-card__title { font-size: 17px; line-height: 1.35; }
	.sec-card__text { margin-top: 8px; font-size: 14px; line-height: 1.65; }

	/* Headings, eyebrows and leads: one consistent phone scale. */
	.badge { font-size: 12px; padding: 7px 16px; letter-spacing: .4px; gap: 8px; }
	.badge__dot { width: 8px; height: 8px; }
	.section-lead, .about__text { font-size: 15px; line-height: 1.7; }
	.about__title, .products__title, .reasons__title, .integrations__title, .markets__title { font-size: clamp(22px, 6.2vw, 28px); }
	.reasons__title { margin-top: 20px; }
	.integrations__title { margin-top: 24px; }
	.metrics__title { font-size: clamp(22px, 6.2vw, 28px); letter-spacing: .6px; }
	.testimonials__title { font-size: clamp(24px, 6.8vw, 30px); }
	.offline__title, .cta__title { font-size: clamp(24px, 6.8vw, 30px); }
	.product__eyebrow, .market__eyebrow { font-size: 12.5px; letter-spacing: .3px; }
	.product__name { font-size: 24px; }
	.market__title { font-size: 20px; }
	.contact .section-title { font-size: clamp(22px, 6.2vw, 28px); }
	.contact-card__country { font-size: 15px; }
	.contact-card__address, .contact-card__value { font-size: 15px; }
	.site-footer { padding-top: 48px; }
}
/* Phones: hand and earth meet in the open space below the buttons. */
@media (max-width: 768px) {
	.hero__hand { top: calc(79cqh - 8.67cqw); }
	.hero__hand img { opacity: .62; }
	.hero__earth { height: 172cqh; left: calc(50cqw + var(--pg) - 9cqh); top: calc(79cqh - 79.12cqh); }
	.hero__earth img { opacity: .72; }
}
/* Phones: keep 190px below the buttons; hand and earth meet 110px above the
   bottom edge, whatever the phone's height. */
@media (max-width: 768px) {
	.hero__card { padding-bottom: 190px; }
	.hero__hand { top: calc(100cqh - 110px - 8.67cqw); }
	.hero__earth { --eh: calc((100cqh - 110px) / .44); height: var(--eh); left: calc(50cqw + var(--pg) - .0523 * var(--eh)); top: calc(100cqh - 110px - .46 * var(--eh)); }
	.hero__scroll { display: none; }
}
@media (max-width: 768px) {
	.hero__hand { width: 112cqw; left: calc(50cqw - var(--pg) - 106.3cqw); top: calc(100cqh - 110px - 11.85cqw); }
	.hero__hand img { opacity: .72; }
}
@media (max-width: 768px) {
	.hero__card { padding-bottom: 280px; }
	.hero__hand { top: calc(100cqh - 205px - 11.85cqw); }
	.hero__earth { --eh: calc((100cqh - 205px) / .44); top: calc(100cqh - 205px - .46 * var(--eh)); }
}
/* Phones: hand and earth meet at mid-height (as on desktop), behind the text. */
@media (max-width: 768px) {
	.hero__card { padding-bottom: 110px; }
	.hero__hand { width: 112cqw; left: calc(50cqw - var(--pg) - 106.3cqw); top: calc(50cqh - 11.85cqw); }
	.hero__hand img { opacity: .62; }
	.hero__earth { --eh: 112cqh; height: var(--eh); left: calc(50cqw + var(--pg) - .0523 * var(--eh)); top: calc(50cqh - .46 * var(--eh)); }
	.hero__earth img { opacity: .66; }
	.hero__veil { background: radial-gradient(ellipse 85% 34% at 50% 46%, rgba(2, 6, 23, .38), rgba(2, 6, 23, 0) 75%), linear-gradient(180deg, rgba(2, 6, 23, .45), rgba(2, 6, 23, 0) 20%, rgba(2, 6, 23, 0) 80%, rgba(2, 6, 23, .45)); }
	.hero__title, .hero__text { text-shadow: 0 2px 14px rgba(2, 6, 23, .85), 0 1px 3px rgba(2, 6, 23, .9); }
}
@media (max-width: 768px) { .hero__hand img { opacity: .78; filter: brightness(.7) saturate(.6) contrast(1.05) drop-shadow(0 20px 30px rgba(0, 0, 0, .6)); } }

/* Header: the scrolled bar's blur lives on a pseudo-element so the dropdown
   (a child of the bar) can run its own backdrop-filter against the page.
   A backdrop-filter on an ancestor would otherwise stop the dropdown's blur. */
.site-header__bar { position: relative; isolation: isolate; }
.site-header__bar::before {
	content: ""; position: absolute; inset: 0; z-index: -1; border-radius: inherit; pointer-events: none;
	opacity: 0; transition: opacity .5s var(--ease);
	-webkit-backdrop-filter: blur(16px) saturate(140%); backdrop-filter: blur(16px) saturate(140%);
}
.site-header.is-scrolled .site-header__bar { -webkit-backdrop-filter: none; backdrop-filter: none; }
.site-header.is-scrolled .site-header__bar::before { opacity: 1; }
/* Dropdown glass: a dark tint under the sheen keeps white text readable over light sections. */
.nav__list .sub-menu {
	background: linear-gradient(145deg, rgba(255, 255, 255, .2), rgba(255, 255, 255, .05) 45%, rgba(120, 180, 255, .1)), rgba(2, 6, 23, .5);
	-webkit-backdrop-filter: blur(var(--submenu-blur, 24px)) saturate(180%); backdrop-filter: blur(var(--submenu-blur, 24px)) saturate(180%);
}
/* Every top-level menu item, the current page included, gets the white hover pill. */
.nav__list > li > a:hover, .nav__list > li:hover > a, .nav__list > li:focus-within > a,
.page-template-product .nav__list > .current-menu-item > a:hover { background: var(--menu-hover-bg, #fff); color: var(--menu-hover-text, var(--navy)); border-radius: 8px; }
.nav__list .sub-menu a:hover { background: var(--menu-hover-bg, #fff); color: var(--menu-hover-text, var(--navy)); }
.nav__list > .current-menu-item > a:hover, .nav__list > .current_page_item > a:hover, .nav__list > .current-menu-ancestor > a:hover { color: var(--orange); }

/* ==========================================================================
   Buttons, round 5: slower, calmer hovers with two distinct styles.
   Primary   (.btn--primary): a dark fill spreads from where the cursor enters,
             a soft light sweep crosses the button and the label rolls up.
   Secondary (.btn--outline, .btn--light): a curved fill rises from the bottom
             like a wave; the label stays still and only changes colour.
   Speeds are set by --btn-speed (Customizer: Site-wide settings).
   ========================================================================== */
.btn { --btn-ease: cubic-bezier(.65, .05, .3, 1); transition: background-color calc(var(--btn-speed, 1s) * .8) var(--btn-ease), border-color calc(var(--btn-speed, 1s) * .8) var(--btn-ease), color calc(var(--btn-speed, 1s) * .7) var(--btn-ease), box-shadow var(--btn-speed, 1s) var(--btn-ease); }

/* Primary */
.btn--primary::before { transition: transform calc(var(--btn-speed, 1s) * 1.2) var(--btn-ease); }
.btn--primary::after {
	content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
	background: linear-gradient(105deg, transparent 30%, rgba(255, 255, 255, .28) 48%, rgba(255, 255, 255, .06) 56%, transparent 70%);
	translate: -120% 0;
}
.btn--primary:hover::after { translate: 120% 0; transition: translate calc(var(--btn-speed, 1s) * 1.4) var(--btn-ease) .08s; }
.btn--primary .btn__label, .btn--primary .btn__icon { position: relative; z-index: 1; }
.btn--primary .btn__roll { transition: transform calc(var(--btn-speed, 1s) * .95) var(--btn-ease); }
.btn--primary:hover .btn__roll { transform: translateY(-100%); }
.btn--primary .btn__icon { transition: transform calc(var(--btn-speed, 1s) * .9) var(--btn-ease); }
.btn--primary:hover .btn__icon { transform: translateX(4px); }

/* Secondary */
.btn--outline::before, .btn--light::before {
	left: -10%; top: 100%; width: 120%; height: 160%; aspect-ratio: auto;
	border-radius: 50% 50% 0 0 / 40% 40% 0 0;
	transform: none; translate: 0 0;
	transition: translate calc(var(--btn-speed, 1s) * 1.1) var(--btn-ease), border-radius calc(var(--btn-speed, 1s) * 1.1) var(--btn-ease);
}
.btn--outline:hover::before, .btn--light:hover::before { transform: none; translate: 0 -100%; border-radius: 0; }
.btn--outline .btn__roll, .btn--light .btn__roll, .btn--outline:hover .btn__roll, .btn--light:hover .btn__roll { transform: none; transition: none; }
.btn--outline .btn__roll::after, .btn--light .btn__roll::after { display: none; }
.btn--outline .btn__label, .btn--light .btn__label { overflow: visible; }
.btn--outline .btn__icon, .btn--light .btn__icon { transition: transform calc(var(--btn-speed, 1s) * .9) var(--btn-ease); }
.btn--outline:hover .btn__icon, .btn--light:hover .btn__icon { transform: translateX(4px); }
.btn--outline:hover { box-shadow: 0 18px 40px -22px rgba(255, 255, 255, .5); }
.btn--light:hover { box-shadow: 0 18px 40px -22px rgba(15, 23, 42, .45); }

/* Ghost (header text link): slower underline. */
.btn--ghost .btn__label { transition: background-size calc(var(--btn-speed, 1s) * .8) var(--btn-ease); }

@media (prefers-reduced-motion: reduce) {
	.btn, .btn::before, .btn::after, .btn__roll, .btn__icon { transition-duration: .01s !important; }
	.btn--primary:hover::after { translate: -120% 0; }
}

/* The dropdown's moving "water" texture only runs while the dropdown is open. */
.nav__list .sub-menu::after { animation-play-state: paused; }
.nav__list li:hover > .sub-menu::after, .nav__list li:focus-within > .sub-menu::after { animation-play-state: running; }
