/*
Theme Name: FlexiScan Twenty Twenty-Five
Theme URI: https://example.com/flexiscan
Author: FlexiScan
Author URI: https://example.com
Description: A clean landing page child theme for FlexiScan, built on Twenty Twenty-Five.
Template: twentytwentyfive
Requires at least: 6.7
Tested up to: 6.9
Requires PHP: 7.2
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: flexiscan
*/

@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap");

:root {
	--flexi-ink: #101828;
	--flexi-muted: #526070;
	--flexi-line: #d7e2ea;
	--flexi-surface: #ffffff;
	--flexi-soft: #f4f9fc;
	--flexi-green: #20bf55;
	--flexi-teal: #0f9f8f;
	--flexi-cyan: #0ea5c6;
	--flexi-yellow: #e8ff63;
}

html {
	scroll-behavior: smooth;
}

body {
	background: var(--flexi-soft);
	color: var(--flexi-ink);
	font-family: "Inter", Arial, sans-serif;
	font-weight: 400;
	letter-spacing: 0;
	margin: 0;
}

body .wp-site-blocks {
	padding-left: 0;
	padding-right: 0;
}

a {
	color: inherit;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

.flexi-site-header {
	background: rgba(255, 255, 255, 0.92);
	border-bottom: 1px solid var(--flexi-line);
	position: sticky;
	top: 0;
	z-index: 20;
}

.flexi-nav {
	align-items: center;
	display: flex;
	gap: 24px;
	justify-content: space-between;
	margin: 0 auto;
	max-width: 1180px;
	padding: 16px 24px;
}

.flexi-logo {
	align-items: center;
	display: inline-flex;
	font-size: 1rem;
	font-weight: 800;
	gap: 10px;
	text-decoration: none;
}

.flexi-logo-mark {
	align-items: center;
	background: var(--flexi-green);
	border-radius: 8px;
	color: #ffffff;
	display: inline-flex;
	font-size: 0.9rem;
	height: 32px;
	justify-content: center;
	width: 32px;
}

.flexi-nav-links {
	align-items: center;
	display: flex;
	gap: 18px;
}

.flexi-nav-links a {
	color: var(--flexi-muted);
	font-size: 0.95rem;
	font-weight: 600;
	text-decoration: none;
}

.flexi-nav-links a:hover {
	color: var(--flexi-ink);
}

.flexi-main {
	background: linear-gradient(180deg, #ffffff 0%, #f4f9fc 100%);
}

.flexi-section {
	margin: 0 auto;
	max-width: 1180px;
	padding: 82px 24px;
}

.flexi-hero {
	display: grid;
	gap: 42px;
	grid-template-columns: minmax(0, 0.94fr) minmax(320px, 1.06fr);
	min-height: 720px;
	padding-bottom: 56px;
	padding-top: 86px;
}

.flexi-hero-copy {
	align-self: center;
}

.flexi-kicker {
	align-items: center;
	color: var(--flexi-teal);
	display: inline-flex;
	font-size: 0.82rem;
	font-weight: 800;
	gap: 8px;
	letter-spacing: 0;
	margin: 0 0 16px;
	text-transform: uppercase;
}

.flexi-kicker::before {
	background: var(--flexi-green);
	border-radius: 999px;
	content: "";
	height: 9px;
	width: 9px;
}

.flexi-hero h1,
.flexi-section h2,
.flexi-final h2 {
	color: var(--flexi-ink);
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.02;
	margin: 0;
}

.flexi-hero h1 {
	font-size: 4.5rem;
	max-width: 760px;
}

.flexi-section h2,
.flexi-final h2 {
	font-size: 3rem;
	max-width: 760px;
}

.flexi-lede {
	color: var(--flexi-muted);
	font-size: 1.25rem;
	line-height: 1.65;
	margin: 24px 0 0;
	max-width: 700px;
}

.flexi-actions {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 34px;
}

.flexi-button {
	align-items: center;
	background: var(--flexi-ink);
	border: 1px solid var(--flexi-ink);
	border-radius: 8px;
	color: #ffffff;
	display: inline-flex;
	font-size: 1rem;
	font-weight: 800;
	justify-content: center;
	min-height: 52px;
	padding: 0 24px;
	text-decoration: none;
}

.flexi-button:hover {
	background: #263241;
}

.flexi-button.secondary {
	background: #ffffff;
	border-color: var(--flexi-line);
	color: var(--flexi-ink);
}

.flexi-proof {
	color: var(--flexi-muted);
	font-size: 0.95rem;
	font-weight: 600;
	margin-top: 18px;
}

.flexi-hero-media {
	align-self: center;
}

.flexi-hero-media img,
.flexi-wide-shot img,
.flexi-shot img {
	display: block;
	height: auto;
	width: 100%;
}

.flexi-hero-media img {
	border-radius: 8px;
	box-shadow: 0 28px 70px rgba(16, 24, 40, 0.22);
}

.flexi-trust {
	border-bottom: 1px solid var(--flexi-line);
	border-top: 1px solid var(--flexi-line);
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	padding-bottom: 28px;
	padding-top: 28px;
}

.flexi-stat {
	background: #ffffff;
	border: 1px solid var(--flexi-line);
	border-radius: 8px;
	padding: 20px;
}

.flexi-stat strong {
	display: block;
	font-size: 1.05rem;
	font-weight: 800;
}

.flexi-stat span {
	color: var(--flexi-muted);
	display: block;
	font-size: 0.95rem;
	line-height: 1.5;
	margin-top: 6px;
}

.flexi-feature-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	margin-top: 38px;
}

.flexi-feature {
	background: var(--flexi-surface);
	border: 1px solid var(--flexi-line);
	border-radius: 8px;
	padding: 24px;
}

.flexi-feature b {
	color: var(--flexi-teal);
	display: block;
	font-size: 0.9rem;
	font-weight: 800;
	margin-bottom: 12px;
}

.flexi-feature h3 {
	font-size: 1.15rem;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.25;
	margin: 0;
}

.flexi-feature p {
	color: var(--flexi-muted);
	font-size: 0.98rem;
	line-height: 1.6;
	margin: 14px 0 0;
}

.flexi-workflow {
	align-items: center;
	display: grid;
	gap: 46px;
	grid-template-columns: minmax(320px, 1fr) minmax(0, 0.9fr);
}

.flexi-steps {
	counter-reset: flexi-steps;
	display: grid;
	gap: 16px;
	margin-top: 30px;
}

.flexi-step {
	background: #ffffff;
	border: 1px solid var(--flexi-line);
	border-radius: 8px;
	counter-increment: flexi-steps;
	display: grid;
	gap: 16px;
	grid-template-columns: 44px minmax(0, 1fr);
	padding: 18px;
}

.flexi-step::before {
	align-items: center;
	background: var(--flexi-yellow);
	border: 1px solid #d7ec36;
	border-radius: 8px;
	content: counter(flexi-steps);
	display: flex;
	font-weight: 800;
	height: 42px;
	justify-content: center;
	width: 42px;
}

.flexi-step h3 {
	font-size: 1.1rem;
	margin: 0;
}

.flexi-step p {
	color: var(--flexi-muted);
	font-size: 0.98rem;
	line-height: 1.55;
	margin: 6px 0 0;
}

.flexi-wide-shot {
	margin-top: 34px;
}

.flexi-wide-shot img,
.flexi-shot img {
	border-radius: 8px;
}

.flexi-app-grid {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 38px;
}

.flexi-app-shot {
	background: #ffffff;
	border: 1px solid var(--flexi-line);
	border-radius: 8px;
	overflow: hidden;
}

.flexi-app-shot figure {
	background: #f7fafc;
	margin: 0;
	padding: 24px 18px;
	text-align: center;
}

.flexi-app-shot img {
	border-radius: 8px;
	display: block;
	height: auto;
	margin: 0 auto;
	max-height: 440px;
	max-width: min(100%, 240px);
	object-fit: contain;
	width: auto;
}

.flexi-app-shot div {
	padding: 22px;
}

.flexi-app-shot h3 {
	font-size: 1.2rem;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.25;
	margin: 0;
}

.flexi-app-shot p {
	color: var(--flexi-muted);
	font-size: 0.98rem;
	line-height: 1.6;
	margin: 12px 0 0;
}

.flexi-final {
	background: #101828;
	color: #ffffff;
	margin-top: 24px;
}

.flexi-final .flexi-section {
	align-items: center;
	display: grid;
	gap: 28px;
	grid-template-columns: minmax(0, 1fr) auto;
}

.flexi-final h2,
.flexi-final .flexi-lede {
	color: #ffffff;
}

.flexi-final .flexi-lede {
	opacity: 0.78;
}

.flexi-final .flexi-button {
	background: var(--flexi-green);
	border-color: var(--flexi-green);
	color: #06210f;
	white-space: nowrap;
}

.flexi-related-section {
	background: #ffffff;
	padding: 78px 24px;
}

.flexi-related-wrap {
	margin: 0 auto;
	max-width: 1180px;
}

.flexi-related-heading {
	font-size: 2.4rem;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.1;
	margin: 0 0 12px;
}

.flexi-related-intro {
	color: var(--flexi-muted);
	font-size: 1.05rem;
	line-height: 1.6;
	margin: 0 0 34px;
	max-width: 680px;
}

.flexi-related-list .wp-block-post-template {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.flexi-related-list .wp-block-post {
	border: 1px solid var(--flexi-line);
	border-radius: 8px;
	padding: 22px;
}

.flexi-related-list .wp-block-post-title {
	font-size: 1.2rem;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.3;
	margin: 0 0 10px;
}

.flexi-related-list .wp-block-post-title a {
	text-decoration: none;
}

.flexi-related-list .wp-block-post-excerpt {
	color: var(--flexi-muted);
	font-size: 0.96rem;
	line-height: 1.6;
}

.flexi-blog-main {
	background: #ffffff;
	min-height: 70vh;
	padding: 72px 24px;
}

.flexi-blog-wrap {
	margin: 0 auto;
	max-width: 920px;
}

.flexi-blog-title {
	font-size: 3rem;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.08;
	margin: 0 0 18px;
}

.flexi-blog-intro {
	color: var(--flexi-muted);
	font-size: 1.1rem;
	line-height: 1.6;
	margin: 0 0 42px;
	max-width: 680px;
}

.flexi-blog-list .wp-block-post {
	border-bottom: 1px solid var(--flexi-line);
	padding: 28px 0;
}

.flexi-blog-list .wp-block-post-title {
	font-size: 1.55rem;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.2;
	margin: 0 0 10px;
}

.flexi-blog-list .wp-block-post-title a {
	text-decoration: none;
}

.flexi-blog-list .flexi-post-categories {
	color: var(--flexi-teal);
	font-size: 0.92rem;
	font-weight: 700;
	margin: 8px 0 10px;
}

.flexi-blog-list .flexi-post-categories a {
	color: inherit;
	text-decoration: none;
}

.flexi-blog-list .wp-block-post-excerpt {
	color: var(--flexi-muted);
	font-size: 1rem;
	line-height: 1.65;
}

.flexi-post-main {
	background: #ffffff;
	min-height: 70vh;
	padding: 72px 24px;
}

.flexi-post-wrap {
	margin: 0 auto;
	max-width: 820px;
}

.flexi-post-wrap .wp-block-post-title {
	font-size: 3rem;
	font-weight: 800;
	letter-spacing: 0;
	line-height: 1.08;
}

.flexi-post-wrap .wp-block-post-content {
	color: #263241;
	font-size: 1.08rem;
	line-height: 1.75;
}

@media (max-width: 980px) {
	.flexi-hero,
	.flexi-workflow,
	.flexi-final .flexi-section {
		grid-template-columns: 1fr;
	}

	.flexi-hero {
		min-height: 0;
		padding-top: 62px;
	}

	.flexi-feature-grid,
	.flexi-app-grid,
	.flexi-related-list .wp-block-post-template,
	.flexi-trust {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.flexi-hero h1,
	.flexi-section h2,
	.flexi-final h2,
	.flexi-blog-title,
	.flexi-post-wrap .wp-block-post-title {
		font-size: 2.75rem;
	}
}

@media (max-width: 680px) {
	.flexi-nav {
		align-items: flex-start;
		flex-direction: column;
	}

	.flexi-nav-links {
		flex-wrap: wrap;
	}

	.flexi-section,
	.flexi-blog-main,
	.flexi-post-main {
		padding-left: 18px;
		padding-right: 18px;
	}

	.flexi-feature-grid,
	.flexi-app-grid,
	.flexi-related-list .wp-block-post-template,
	.flexi-trust {
		grid-template-columns: 1fr;
	}

	.flexi-app-shot img {
		max-height: 420px;
		max-width: min(100%, 230px);
	}

	.flexi-hero h1,
	.flexi-section h2,
	.flexi-final h2,
	.flexi-blog-title,
	.flexi-post-wrap .wp-block-post-title {
		font-size: 2.25rem;
	}

	.flexi-lede {
		font-size: 1.08rem;
	}

	.flexi-button {
		width: 100%;
	}
}
