/* WhoElse landing page: additions to the Hub theme (theme.min.css, demo/software.css).
   The site's Content-Security-Policy allows no inline styles, so everything the
   template set with style="" lives here. */

/* ***** Fonts (self-hosted, Latin subset) ***** */
@font-face {
	font-family: 'Be Vietnam Pro';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url(../fonts/be-vietnam-pro-400.woff2) format('woff2');
}
@font-face {
	font-family: 'Be Vietnam Pro';
	font-style: normal;
	font-weight: 500;
	font-display: swap;
	src: url(../fonts/be-vietnam-pro-500.woff2) format('woff2');
}
@font-face {
	font-family: 'Be Vietnam Pro';
	font-style: normal;
	font-weight: 700;
	font-display: swap;
	src: url(../fonts/be-vietnam-pro-700.woff2) format('woff2');
}
@font-face {
	font-family: 'Nunito';
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
	src: url(../fonts/nunito.woff2) format('woff2');
}

/* ***** Brand ***** */
:root {
	/* The app's violet600 (lib/theme/app_colors.dart). */
	--lqd-color-primary: #8453e8;
	--lqd-color-purple-50: rgba(132, 83, 232, 0.09);
}

#lqd-site-content {
	background-image: url(../images/demo/software/bg/bg-pattern-3.svg);
}

.we-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
}

.we-brand img {
	width: 40px;
	height: 40px;
	border-radius: 10px;
	box-shadow: 0 6px 18px rgba(17, 36, 70, 0.14);
}

.we-brand-name {
	font-family: 'Nunito', sans-serif;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: -0.01em;
	color: #112446;
}

/* ***** Banner ***** */
.we-hero-phone {
	margin-right: 10%;
	margin-top: -6%;
}

.we-hero-phone img {
	width: 300px;
	height: auto;
	filter: drop-shadow(0 30px 50px rgba(17, 36, 70, 0.28));
}

.we-hero-card {
	left: 0;
	bottom: 4%;
}

.we-hero-card img {
	width: 170px;
	height: auto;
	border: 6px solid #fff;
	border-radius: 26px;
	box-shadow: 0 30px 70px rgba(17, 36, 70, 0.3);
}

@media (max-width: 1199px) {
	.banner .we-hero-phone {
		margin-right: 0;
	}

	.we-hero-card {
		left: -6%;
	}
}

@media (max-width: 991px) {
	.we-hero-phone img {
		width: 260px;
	}

	.we-hero-card img {
		width: 150px;
	}
}

/* ***** About ***** */
.we-illustration {
	max-width: 440px;
	margin: 0 auto;
}

@media (max-width: 991px) {
	/* The parallax moved the picture by up to 90px, which needed a 110px gap
	   below it. On narrow screens the picture stays still instead. */
	.about .lqd-imggrp-container {
		max-width: 320px;
		margin: 0 auto 30px;
		transform: none !important;
	}
}

/* ***** Private-by-default strip (in place of the client logos) ***** */
.we-trust {
	gap: 12px 44px;
}

.we-trust li {
	font-family: 'Nunito', sans-serif;
	font-size: 18px;
	font-weight: 700;
	color: rgba(17, 36, 70, 0.7);
}

@media (max-width: 575px) {
	.we-trust {
		flex-direction: column;
		align-items: flex-start;
		width: fit-content;
		margin: 0 auto;
	}
}

.we-trust li::before {
	content: '';
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: 12px;
	border-radius: 50%;
	background: var(--lqd-color-primary);
	opacity: 0.6;
	vertical-align: middle;
}

/* ***** How it works ***** */
.tab-items {
	background-image: linear-gradient(180deg, rgba(236, 243, 255, 0.45) 0%, rgba(255, 255, 255, 0.45) 54.78%);
}

.we-tab-art {
	justify-content: center;
}

.we-tab-art img {
	width: auto;
	max-width: 100%;
	max-height: 520px;
	border-radius: 28px;
	box-shadow: 0 30px 70px rgba(17, 36, 70, 0.18);
}

.we-tab-art img.we-no-frame {
	max-height: none;
	border-radius: 0;
	box-shadow: none;
}

/* ***** Pricing ***** */
.pricing {
	background-image: linear-gradient(270deg, #2e1a8c 0%, #9768fe 100%);
}

.pricing .lqd-pt-featured .lqd-pt-body ul {
	font-size: 19px;
}

.pricing .lqd-pt-price small:last-child {
	font-size: 0.32em;
}

.we-pricing-note {
	max-width: 640px;
	margin: 0 auto;
}

/* ***** FAQ ***** */
.faq {
	background-image: linear-gradient(115deg, rgb(243, 248, 248) 0.32%, rgb(255, 255, 255) 55.41%);
}

.icon-text a {
	color: inherit;
}

.icon-text a:hover h3 {
	color: var(--lqd-color-primary);
}

/* ***** Floating tiles ***** */
.float-icon img {
	width: 150px;
	height: auto;
	border-radius: 34px;
	box-shadow: 0 25px 50px rgba(17, 36, 70, 0.16);
}

@media (max-width: 991px) {
	.float-icon .lqd-imggrp-single {
		top: 0 !important;
		margin-bottom: 24px;
	}

	.float-icon img {
		width: 96px;
		border-radius: 24px;
	}
}

/* ***** Closing call to action and footer ***** */
.we-cta .btn {
	font-size: 18px;
}

.main-footer .footer-sec {
	padding-top: 180px;
}

.main-footer .link-white-50 a {
	color: rgba(255, 255, 255, 0.75);
}

.main-footer .link-white-50 a:hover {
	color: #fff;
}

.we-footer-note {
	font-size: 14px;
	color: rgba(255, 255, 255, 0.75);
}

.we-footer-legal {
	max-width: 720px;
	margin: 12px auto 0;
	font-size: 12px;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.7);
}

/* ***** Store badges (official artwork, unmodified) ***** */
.we-store-badges {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.we-store-badges a {
	display: inline-flex;
	transition: transform 0.2s ease;
}

.we-store-badges a:hover {
	transform: translateY(-2px);
}

.we-store-badges img {
	width: auto;
	height: 48px;
}

/* The badges are hidden with the hidden attribute until each store page is
   public. The display:flex above would otherwise override it. */
.we-store-badges[hidden] {
	display: none;
}

/* ***** Contrast ***** */
/* Feature descriptions: the theme's #7a7a7a gave 4.29:1 on white. */
.module-icon-box .text-gray-500 {
	color: #5f5f5f;
}

/* Small print under the closing button: black at 0.6 gives 5.7:1. */
.we-muted {
	color: rgba(0, 0, 0, 0.6);
}

/* "Three steps" over "See how it works" was 9.4px. */
.banner .btn-txt small {
	font-size: 12px;
}

/* ***** Keyboard focus ***** */
/* A link inside a block that hasn't played its entry animation yet would
   take focus while still invisible. Show the block as soon as anything in
   it has focus. */
[data-custom-animations=true]:focus-within > *,
[data-custom-animations=true]:focus-within .animation-element {
	opacity: 1 !important;
	transform: none !important;
}

/* ***** Reduced motion ***** */
/* The theme ignores the setting. Entry animations, parallax, floating
   images, particles and the highlight sweep all stop here; whoelse.js
   pauses the animated SVG wave. */
@media (prefers-reduced-motion: reduce) {
	body [data-custom-animations=true]:not(.ca-initvalues-applied),
	[data-custom-animations=true] > *,
	[data-custom-animations=true] .animation-element {
		opacity: 1 !important;
		transform: none !important;
	}

	[data-parallax=true] {
		transform: none !important;
	}

	[data-float] {
		animation: none !important;
	}

	.lqd-particles-bg-wrap {
		display: none;
	}

	.lqd-highlight-inner {
		transform: none !important;
		transition: none !important;
	}

	html {
		scroll-behavior: auto !important;
	}
}
