/* Base: minimal reset compatible with Elementor, typography utilities, accessibility helpers. */
*,
*::before,
*::after {
	box-sizing: border-box;
}

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

body {
	margin: 0;
	background-color: var(--sa-background);
	color: var(--sa-foreground);
	font-family: var(--sa-font-sans);
	font-size: 1rem;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}

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

img {
	height: auto;
}

h1,
h2,
h3,
h4 {
	font-family: var(--sa-font-display);
	text-wrap: balance;
}

p {
	text-wrap: pretty;
}

a {
	color: inherit;
}

:focus-visible {
	outline: 2px solid var(--sa-ring);
	outline-offset: 2px;
}

.sa-site {
	overflow-x: clip;
}

.sa-site:focus {
	outline: none;
}

.sa-icon {
	display: block;
	width: 1rem;
	height: 1rem;
	flex-shrink: 0;
}

/* Accessibility */
.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;
}

.sa-skip-link:focus {
	position: fixed !important;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 100;
	width: auto;
	height: auto;
	clip: auto;
	margin: 0;
	padding: 0.75rem 1.25rem;
	border-radius: var(--sa-radius-full);
	background: var(--sa-ink);
	color: var(--sa-background);
	font-weight: 600;
	text-decoration: none;
	white-space: normal;
}

/* Type scale utilities (source @utility rules) */
.sa-display { font-family: var(--sa-font-display); font-size: var(--sa-text-display); line-height: 1.1; font-weight: 700; letter-spacing: -0.03em; }
.sa-h1 { font-family: var(--sa-font-display); font-size: var(--sa-text-h1); line-height: 1.08; font-weight: 900; letter-spacing: -0.025em; }
.sa-h2 { font-family: var(--sa-font-display); font-size: var(--sa-text-h2); line-height: 1.12; font-weight: 900; letter-spacing: -0.02em; }
.sa-h3 { font-family: var(--sa-font-display); font-size: var(--sa-text-h3); line-height: 1.35; font-weight: 700; letter-spacing: -0.01em; }
.sa-lead { font-size: var(--sa-text-lead); line-height: 1.5; font-weight: 500; }
.sa-body { font-size: var(--sa-text-body); line-height: 1.6; font-weight: 400; }
.sa-label { font-size: var(--sa-text-label); line-height: 1.35; font-weight: 600; }
.sa-eyebrow-text { font-size: var(--sa-text-eyebrow); line-height: 1.2; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; }
.sa-script { font-family: var(--sa-font-script); font-weight: 400; letter-spacing: normal; }

/* Containers */
.sa-container {
	width: 100%;
	max-width: var(--sa-container-6xl);
	margin-inline: auto;
	padding-inline: var(--sa-gutter);
}

/* Standard (non-Elementor) content */
.sa-main--standard,
.sa-standard-page .sa-main {
	padding-top: 9rem;
	padding-bottom: 6rem;
}

.sa-prose {
	max-width: calc(48rem + 2 * var(--sa-gutter));
}

.sa-prose .sa-h1 {
	margin: 0 0 1.5rem;
}

.sa-entry > * + * {
	margin-top: 1.25em;
}

.sa-list {
	list-style: none;
	margin: 2rem 0 0;
	padding: 0;
	display: grid;
	gap: 2rem;
}

.sa-notfound {
	text-align: center;
	display: grid;
	justify-items: center;
	gap: 1rem;
}

.sa-notfound__code {
	margin: 0;
	font-size: 4.5rem;
	font-weight: 700;
	line-height: 1;
}

.sa-notfound .sa-h2,
.sa-notfound .sa-lead {
	margin: 0;
}

.sa-notfound .sa-lead {
	color: var(--sa-muted-foreground);
}
