:root {
	--blue-600: #2563eb;
	--blue-800: #1e3a8a;
	--navy-950: #0f172a;
	--slate-700: #334155;
	--slate-500: #64748b;
	--slate-200: #dbe3ef;
	--slate-100: #f1f5f9;
	--blue-100: #dbeafe;
	--white: #ffffff;
	--mint-500: #10b981;
	--amber-500: #f59e0b;

	--bg: #f8fafc;
	--bg-strong: #ffffff;
	--surface: rgba(255, 255, 255, 0.82);
	--surface-solid: #ffffff;
	--surface-soft: #eef5ff;
	--surface-invert: #0f172a;
	--text: #0f172a;
	--text-muted: #475569;
	--text-soft: #64748b;
	--text-invert: #ffffff;
	--border: rgba(15, 23, 42, 0.12);
	--border-strong: rgba(37, 99, 235, 0.28);
	--shadow-sm: 0 10px 28px rgba(15, 23, 42, 0.08);
	--shadow-md: 0 20px 54px rgba(15, 23, 42, 0.12);
	--shadow-blue: 0 18px 38px rgba(37, 99, 235, 0.24);

	--font-sans: Inter, Manrope, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	--container: 1180px;
	--container-wide: 1320px;
	--radius-xs: 6px;
	--radius-sm: 8px;
	--radius-md: 14px;
	--radius-lg: 22px;
	--space-1: 0.25rem;
	--space-2: 0.5rem;
	--space-3: 0.75rem;
	--space-4: 1rem;
	--space-5: 1.25rem;
	--space-6: 1.5rem;
	--space-8: 2rem;
	--space-10: 2.5rem;
	--space-12: 3rem;
	--space-16: 4rem;
	--space-20: 5rem;
	--header-height: 72px;
	--ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

@media (prefers-color-scheme: dark) {
	:root {
		color-scheme: dark;
		--bg: #08111f;
		--bg-strong: #0f172a;
		--surface: rgba(15, 23, 42, 0.78);
		--surface-solid: #111c2f;
		--surface-soft: #12233d;
		--surface-invert: #ffffff;
		--text: #f8fafc;
		--text-muted: #cbd5e1;
		--text-soft: #94a3b8;
		--text-invert: #0f172a;
		--border: rgba(219, 234, 254, 0.16);
		--border-strong: rgba(147, 197, 253, 0.38);
		--shadow-sm: 0 12px 32px rgba(0, 0, 0, 0.26);
		--shadow-md: 0 24px 60px rgba(0, 0, 0, 0.34);
		--shadow-blue: 0 20px 42px rgba(37, 99, 235, 0.3);
	}
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--header-height) + 1rem);
}

body {
	margin: 0;
	background:
		radial-gradient(circle at top left, rgba(37, 99, 235, 0.12), transparent 34rem),
		var(--bg);
	color: var(--text);
	font-family: var(--font-sans);
	font-size: 16px;
	line-height: 1.6;
	text-rendering: optimizeLegibility;
	-webkit-font-smoothing: antialiased;
}

body.nav-open {
	overflow: hidden;
}

img,
svg {
	display: block;
	max-width: 100%;
}

img {
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

a:hover {
	color: var(--blue-600);
}

a:focus-visible,
button:focus-visible {
	outline: 3px solid rgba(37, 99, 235, 0.42);
	outline-offset: 3px;
}

button {
	font: inherit;
}

h1,
h2,
h3,
p {
	margin-top: 0;
}

h1,
h2,
h3 {
	color: var(--text);
	line-height: 1.06;
	letter-spacing: 0;
}

h1 {
	margin-bottom: var(--space-5);
	font-size: clamp(2.15rem, 5.8vw, 3.65rem);
	font-weight: 820;
	max-width: 11.6ch;
}

h2 {
	margin-bottom: var(--space-4);
	font-size: clamp(2rem, 5vw, 3.2rem);
	font-weight: 780;
}

h3 {
	margin-bottom: var(--space-3);
	font-size: 1.15rem;
	font-weight: 780;
}

p {
	margin-bottom: var(--space-4);
	color: var(--text-muted);
}

.screen-reader-text,
.skip-link:not(:focus) {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.skip-link:focus {
	position: fixed;
	top: var(--space-4);
	left: var(--space-4);
	z-index: 1000;
	padding: var(--space-3) var(--space-4);
	background: var(--surface-invert);
	color: var(--text-invert);
	border-radius: var(--radius-sm);
}

.site-container {
	width: min(100% - 2rem, var(--container));
	margin-inline: auto;
}

.section {
	position: relative;
	padding: clamp(3.5rem, 8vw, 6.5rem) 0;
}

.section-kicker {
	display: inline-flex;
	align-items: center;
	gap: var(--space-2);
	margin-bottom: var(--space-4);
	color: var(--blue-600);
	font-size: 0.78rem;
	font-weight: 820;
	text-transform: uppercase;
	letter-spacing: 0;
}

.section-kicker::before {
	content: "";
	width: 1.75rem;
	height: 2px;
	background: currentColor;
	border-radius: 999px;
}

.section-heading {
	max-width: 760px;
}

.section-heading p {
	max-width: 650px;
	font-size: 1.03rem;
}

.section-heading--center {
	margin-inline: auto;
	text-align: center;
}

.section-heading--center .section-kicker {
	justify-content: center;
}

.section-heading--center p {
	margin-inline: auto;
}

.button,
.header-cta,
.footer-social {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: var(--space-2);
	min-height: 48px;
	padding: 0.82rem 1.05rem;
	border: 1px solid transparent;
	border-radius: var(--radius-sm);
	font-weight: 760;
	line-height: 1.15;
	transition: transform 180ms var(--ease), background-color 180ms var(--ease), border-color 180ms var(--ease), color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.button svg,
.header-cta svg,
.footer-social svg {
	width: 1.05rem;
	height: 1.05rem;
	fill: currentColor;
	flex: 0 0 auto;
}

.button:hover,
.header-cta:hover,
.footer-social:hover {
	transform: translateY(-2px);
}

.button--primary,
.header-cta {
	background: var(--blue-600);
	color: var(--white);
	box-shadow: var(--shadow-blue);
}

.button--primary:hover,
.header-cta:hover {
	background: var(--blue-800);
	color: var(--white);
}

.button--secondary {
	background: var(--surface);
	color: var(--text);
	border-color: var(--border);
	box-shadow: var(--shadow-sm);
	backdrop-filter: blur(16px);
}

.button--secondary:hover {
	border-color: var(--border-strong);
	color: var(--blue-600);
}

.button--light {
	background: var(--white);
	color: var(--blue-800);
	box-shadow: var(--shadow-blue);
}

.button--light:hover {
	color: var(--navy-950);
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: rgba(255, 255, 255, 0.78);
	border-bottom: 1px solid transparent;
	backdrop-filter: blur(18px);
	transition: background-color 180ms var(--ease), border-color 180ms var(--ease), box-shadow 180ms var(--ease);
}

.admin-bar .site-header {
	top: 32px;
}

.site-header.is-scrolled {
	background: rgba(255, 255, 255, 0.94);
	border-color: var(--border);
	box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
}

@media (prefers-color-scheme: dark) {
	.site-header {
		background: rgba(8, 17, 31, 0.72);
	}

	.site-header.is-scrolled {
		background: rgba(8, 17, 31, 0.94);
		box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
	}
}

.header-inner {
	display: grid;
	grid-template-columns: auto auto;
	align-items: center;
	gap: var(--space-4);
	min-height: var(--header-height);
}

.site-brand {
	display: inline-flex;
	align-items: center;
	color: var(--text);
}

.custom-logo-link img,
.brand-logo {
	width: auto;
	max-height: 44px;
}

.brand-logo--reverse {
	display: none;
}

@media (prefers-color-scheme: dark) {
	.brand-logo--light {
		display: none;
	}

	.brand-logo--reverse {
		display: block;
	}
}

.nav-toggle {
	justify-self: end;
	display: inline-flex;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	background: var(--surface-solid);
	border: 1px solid var(--border);
	border-radius: var(--radius-sm);
	color: var(--text);
	cursor: pointer;
	box-shadow: var(--shadow-sm);
}

.nav-toggle-lines,
.nav-toggle-lines::before,
.nav-toggle-lines::after {
	display: block;
	width: 18px;
	height: 2px;
	background: currentColor;
	border-radius: 999px;
	transition: transform 180ms var(--ease), opacity 180ms var(--ease);
}

.nav-toggle-lines {
	position: relative;
}

.nav-toggle-lines::before,
.nav-toggle-lines::after {
	content: "";
	position: absolute;
	left: 0;
}

.nav-toggle-lines::before {
	top: -6px;
}

.nav-toggle-lines::after {
	top: 6px;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines {
	background: transparent;
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::before {
	transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] .nav-toggle-lines::after {
	transform: translateY(-6px) rotate(-45deg);
}

.site-nav {
	position: fixed;
	top: calc(var(--header-height) + 0.75rem);
	left: 1rem;
	right: 1rem;
	z-index: 120;
	max-height: calc(100vh - var(--header-height) - 1.5rem);
	overflow-y: auto;
	padding: var(--space-3);
	background: var(--surface-solid);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-md);
	opacity: 0;
	visibility: hidden;
	transform: translateY(-10px) scale(0.98);
	transform-origin: top center;
	transition: opacity 180ms var(--ease), visibility 180ms var(--ease), transform 180ms var(--ease);
}

.site-nav.is-open {
	opacity: 1;
	visibility: visible;
	transform: translateY(0) scale(1);
}

.primary-menu,
.primary-menu .sub-menu,
.footer-links {
	list-style: none;
	padding: 0;
	margin: 0;
}

.primary-menu {
	display: grid;
	gap: var(--space-1);
}

.primary-menu a {
	display: flex;
	align-items: center;
	min-height: 42px;
	padding: 0.65rem 0.75rem;
	border-radius: var(--radius-sm);
	color: var(--text-muted);
	font-weight: 700;
}

.primary-menu a:hover,
.primary-menu a:focus-visible {
	background: var(--surface-soft);
	color: var(--blue-600);
}

.primary-menu .sub-menu {
	margin: 0 0 var(--space-2) var(--space-3);
	padding-left: var(--space-2);
	border-left: 1px solid var(--border);
}

.primary-menu .sub-menu a {
	min-height: 36px;
	font-size: 0.94rem;
	font-weight: 640;
}

.header-cta {
	display: none;
	white-space: nowrap;
}

.hero-section {
	position: relative;
	overflow: clip;
	padding: clamp(2.25rem, 5.6vw, 4rem) 0 clamp(2.5rem, 5.8vw, 4.5rem);
	background:
		linear-gradient(135deg, rgba(219, 234, 254, 0.74), transparent 38%),
		var(--bg);
}

.hero-grid {
	display: grid;
	gap: var(--space-10);
	align-items: center;
}

.hero-copy {
	max-width: 680px;
}

.hero-lede {
	max-width: 610px;
	font-size: clamp(1rem, 2vw, 1.14rem);
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
	margin: var(--space-6) 0 var(--space-5);
}

.hero-focus-list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-2);
	padding: 0;
	margin: 0;
	list-style: none;
}

.hero-focus-list li {
	padding: 0.42rem 0.68rem;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: 999px;
	color: var(--text-muted);
	font-size: 0.88rem;
	font-weight: 720;
	backdrop-filter: blur(14px);
}

.hero-media {
	position: relative;
	margin: 0;
}

.hero-media img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
}

.hero-proof-card {
	position: relative;
	display: grid;
	gap: var(--space-1);
	margin: -2rem auto 0;
	width: min(92%, 420px);
	padding: var(--space-4);
	background: var(--surface-solid);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-md);
	color: var(--text);
}

.proof-label {
	color: var(--blue-600);
	font-size: 0.76rem;
	font-weight: 820;
	text-transform: uppercase;
}

.value-section {
	background: var(--bg-strong);
}

.section-split {
	display: grid;
	gap: var(--space-8);
	align-items: start;
}

.value-stack,
.process-list {
	display: grid;
	gap: var(--space-4);
}

.feature-row,
.process-card,
.service-card,
.result-card {
	background: var(--surface-solid);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
}

.feature-row {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: var(--space-4);
	padding: var(--space-5);
}

.feature-row__number,
.step-number,
.result-card__metric {
	color: var(--blue-600);
	font-size: 0.82rem;
	font-weight: 840;
	text-transform: uppercase;
}

.feature-row p,
.process-card p,
.result-card p {
	margin-bottom: 0;
}

.services-section {
	background: linear-gradient(180deg, var(--bg), var(--bg-strong));
}

.service-grid {
	display: grid;
	gap: var(--space-4);
	margin-top: var(--space-10);
}

.service-card {
	display: grid;
	gap: var(--space-4);
	min-height: 250px;
	padding: var(--space-5);
	transition: transform 200ms var(--ease), border-color 200ms var(--ease), box-shadow 200ms var(--ease);
}

.service-card:hover {
	transform: translateY(-5px);
	border-color: var(--border-strong);
	box-shadow: var(--shadow-md);
}

.service-icon {
	display: inline-flex;
	width: 48px;
	height: 48px;
	align-items: center;
	justify-content: center;
	border-radius: var(--radius-sm);
	background: var(--surface-soft);
	color: var(--blue-600);
}

.service-icon svg {
	width: 26px;
	height: 26px;
	fill: currentColor;
}

.service-title {
	color: var(--text);
	font-size: 1.22rem;
	font-weight: 800;
}

.service-copy {
	color: var(--text-muted);
}

.service-link {
	align-self: end;
	color: var(--blue-600);
	font-size: 0.92rem;
	font-weight: 760;
}

.process-section {
	background: var(--bg-strong);
}

.process-grid {
	display: grid;
	gap: var(--space-8);
	align-items: start;
}

.process-card {
	padding: var(--space-5);
}

.process-card ul {
	display: grid;
	gap: var(--space-2);
	padding-left: 1.1rem;
	margin: 0;
	color: var(--text-muted);
}

.results-section {
	background:
		linear-gradient(135deg, rgba(37, 99, 235, 0.14), transparent 42%),
		var(--navy-950);
}

.results-section .section-heading h2,
.results-section .result-card h3 {
	color: var(--white);
}

.results-section .section-heading p,
.results-section .result-card p {
	color: rgba(255, 255, 255, 0.72);
}

.results-section .section-kicker {
	color: #93c5fd;
}

.results-grid {
	display: grid;
	gap: var(--space-4);
	margin-top: var(--space-10);
}

.result-card {
	padding: var(--space-6);
	background: rgba(255, 255, 255, 0.08);
	border-color: rgba(255, 255, 255, 0.14);
	box-shadow: none;
}

.strategy-section {
	background: var(--bg);
}

.strategy-panel {
	display: grid;
	gap: var(--space-6);
	align-items: center;
	padding: clamp(1.25rem, 4vw, 2.25rem);
	background:
		linear-gradient(135deg, rgba(219, 234, 254, 0.75), transparent 55%),
		var(--surface-solid);
	border: 1px solid var(--border);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow-md);
}

.strategy-copy {
	max-width: 760px;
}

.strategy-copy p:last-child {
	margin-bottom: 0;
}

.strategy-action {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-3);
}

.site-footer {
	background: var(--navy-950);
	color: var(--white);
}

.site-footer a {
	color: rgba(255, 255, 255, 0.86);
}

.site-footer a:hover {
	color: var(--white);
}

.footer-grid {
	display: grid;
	gap: var(--space-8);
	padding: var(--space-16) 0 var(--space-8);
}

.footer-brand {
	margin-bottom: var(--space-5);
}

.footer-logo {
	width: min(230px, 100%);
	height: auto;
}

.footer-about h2,
.footer-nav h2,
.footer-contact h2 {
	margin-bottom: var(--space-4);
	color: var(--white);
	font-size: 1rem;
}

.footer-about p,
.footer-contact p {
	color: rgba(255, 255, 255, 0.7);
}

.footer-email {
	display: inline-flex;
	margin-bottom: var(--space-3);
	color: rgba(255, 255, 255, 0.9);
	font-weight: 760;
}

.footer-social {
	min-height: 42px;
	padding: 0.65rem 0.85rem;
	background: rgba(255, 255, 255, 0.08);
	color: var(--white);
	border-color: rgba(255, 255, 255, 0.14);
	box-shadow: none;
}

.footer-links {
	display: grid;
	gap: var(--space-2);
}

.footer-links a {
	color: rgba(255, 255, 255, 0.72);
}

.footer-contact .button {
	margin-top: var(--space-2);
}

.footer-bottom {
	padding: var(--space-5) 0;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.footer-bottom p {
	margin: 0;
	color: rgba(255, 255, 255, 0.68);
	font-size: 0.9rem;
}

.content-page {
	padding: var(--space-16) 0;
	background: var(--bg);
}

.content-shell {
	max-width: 860px;
	padding: var(--space-8);
	background: var(--surface-solid);
	border: 1px solid var(--border);
	border-radius: var(--radius-md);
	box-shadow: var(--shadow-sm);
}

.entry-header h1 {
	font-size: clamp(2rem, 5vw, 3rem);
}

.entry-content a {
	color: var(--blue-600);
	text-decoration: underline;
	text-underline-offset: 0.2em;
}

.entry-content img {
	height: auto;
	border-radius: var(--radius-sm);
}

.reveal {
	opacity: 1;
	transform: none;
}

@media (prefers-reduced-motion: no-preference) {
	.reveal {
		opacity: 0;
		transform: translateY(18px);
		transition: opacity 560ms var(--ease), transform 560ms var(--ease);
	}

	.reveal.is-visible {
		opacity: 1;
		transform: translateY(0);
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
