:root {
	--wp-liteweight-font-family: "Roboto", sans-serif;
	--container-max: 1200px;
	--wide-max: 1400px;
	--gutter: 24px;
	--section-space: 80px;
	--section-space-mobile: 56px;
	--color-bg: #f7f9fc;
	--color-surface: #fff;
	--color-text: #18212b;
	--color-muted: #667085;
	--color-border: #dbe3ec;
	--radius: 16px;
	--shadow: 0 10px 30px rgba(16, 24, 40, .08);
	--space-1: .25rem;
	--space-2: .5rem;
	--space-3: .75rem;
	--space-4: 1rem;
	--space-5: 1.5rem;
	--space-6: 2rem;
	--space-8: 3rem;
}

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

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	min-width: 320px;
	margin: 0;
	overflow-x: hidden;
	background: var(--color-bg);
	color: var(--color-text);
	font-family: var(--wp-liteweight-font-family);
	line-height: 1.5;
	text-rendering: optimizeLegibility;
}

body,
button,
input,
select,
textarea {
	font: inherit;
}

/*
 * Keep legacy Elementor pages aligned with the site typography. Elementor's
 * global variables cover kit-driven styles; the text-only selectors also fix
 * old widgets with a saved font family. Icon fonts and code samples are left
 * alone deliberately.
 */
body.elementor-page {
	--e-global-typography-primary-font-family: "Roboto", sans-serif;
	--e-global-typography-secondary-font-family: "Roboto", sans-serif;
	--e-global-typography-text-font-family: "Roboto", sans-serif;
	--e-global-typography-accent-font-family: "Roboto", sans-serif;
	font-family: var(--wp-liteweight-font-family);
}

body.elementor-page .elementor {
	font-family: var(--wp-liteweight-font-family);
}

body.elementor-page .elementor :where(
	h1,
	h2,
	h3,
	h4,
	h5,
	h6,
	p,
	a,
	li,
	dt,
	dd,
	blockquote,
	figcaption,
	label,
	button,
	input,
	select,
	textarea,
	th,
	td,
	.elementor-heading-title,
	.elementor-button-text,
	.elementor-icon-list-text,
	.elementor-tab-title,
	.elementor-tab-content
) {
	font-family: var(--wp-liteweight-font-family) !important;
}

img,
picture,
svg,
video {
	display: block;
	max-width: 100%;
	height: auto;
}

iframe {
	max-width: 100%;
	border: 0;
}

button,
input,
select,
textarea {
	max-width: 100%;
}

a {
	color: inherit;
}

/* Core layout utilities. */
.section {
	width: 100%;
	padding: var(--section-space) var(--gutter);
}

.section--tight {
	padding-block: 48px;
}

.section--flush {
	padding-block: 0;
}

.container {
	width: 100%;
	max-width: var(--container-max);
	margin-inline: auto;
}

.container--wide {
	max-width: var(--wide-max);
}

.container--fluid {
	max-width: none;
}

.component-page,
.component-page__content {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.component-page {
	overflow-x: clip;
}

.component-page .wp-ui-flat-component,
.component-page .wp-ui-component-block {
	width: 100%;
	max-width: none;
	margin-inline: 0;
}

.alignfull {
	width: 100vw;
	max-width: 100vw;
	margin-right: calc(50% - 50vw);
	margin-left: calc(50% - 50vw);
}

.alignwide {
	width: min(var(--wide-max), calc(100vw - 48px));
	max-width: none;
	margin-inline: auto;
}

/* Display and composition utilities. */
.block { display: block; }
.inline-block { display: inline-block; }
.flex { display: flex; }
.inline-flex { display: inline-flex; }
.grid { display: grid; }
.hidden { display: none !important; }

.flex-wrap { flex-wrap: wrap; }
.flex-column { flex-direction: column; }
.items-start { align-items: flex-start; }
.items-center { align-items: center; }
.items-end { align-items: flex-end; }
.justify-start { justify-content: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.grow { flex-grow: 1; }
.shrink-0 { flex-shrink: 0; }

.grid-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.gap-1 { gap: var(--space-1); }
.gap-2 { gap: var(--space-2); }
.gap-3 { gap: var(--space-3); }
.gap-4 { gap: var(--space-4); }
.gap-5 { gap: var(--space-5); }
.gap-6 { gap: var(--space-6); }
.gap-8 { gap: var(--space-8); }

/* Spacing utilities. */
.m-0 { margin: 0; }
.mx-auto { margin-inline: auto; }
.mt-0 { margin-top: 0; }
.mt-2 { margin-top: var(--space-2); }
.mt-4 { margin-top: var(--space-4); }
.mt-6 { margin-top: var(--space-6); }
.mt-8 { margin-top: var(--space-8); }
.mb-0 { margin-bottom: 0; }
.mb-2 { margin-bottom: var(--space-2); }
.mb-4 { margin-bottom: var(--space-4); }
.mb-6 { margin-bottom: var(--space-6); }
.mb-8 { margin-bottom: var(--space-8); }
.p-0 { padding: 0; }
.p-2 { padding: var(--space-2); }
.p-4 { padding: var(--space-4); }
.p-5 { padding: var(--space-5); }
.p-6 { padding: var(--space-6); }
.px-4 { padding-inline: var(--space-4); }
.px-6 { padding-inline: var(--space-6); }
.py-4 { padding-block: var(--space-4); }
.py-6 { padding-block: var(--space-6); }
.py-8 { padding-block: var(--space-8); }

/* Sizing, text, and surface utilities. */
.w-full { width: 100%; }
.max-w-none { max-width: none; }
.max-w-prose { max-width: 70ch; }
.text-left { text-align: left; }
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-sm { font-size: .875rem; }
.text-lg { font-size: 1.125rem; }
.text-muted { color: var(--color-muted); }
.font-normal { font-weight: 400; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.leading-tight { line-height: 1.2; }
.leading-relaxed { line-height: 1.7; }
.surface { background: var(--color-surface); }
.border { border: 1px solid var(--color-border); }
.rounded { border-radius: var(--radius); }
.rounded-full { border-radius: 999px; }
.shadow { box-shadow: var(--shadow); }
.overflow-hidden { overflow: hidden; }
.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 768px) {
	:root {
		--gutter: 16px;
	}

	.section {
		padding-block: var(--section-space-mobile);
	}

	.alignwide {
		width: min(100%, calc(100vw - 32px));
	}

	.grid-2,
	.grid-3,
	.grid-4 {
		grid-template-columns: minmax(0, 1fr);
	}

	.mobile-hidden {
		display: none !important;
	}

	.mobile-block {
		display: block !important;
	}
}

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

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

