:root {
	--primary: #0E3A53;
	--primary-dark: oklch(22% 0.05 230);
	--bg: #FAFBFA;
	--surface: oklch(98.5% 0.004 210);
	--accent: #7FA98E;
	--accent-dark: oklch(46% 0.07 155);
	--text: oklch(26% 0.03 240);
	--text-muted: #8C9196;
	--border: oklch(89% 0.012 220);
	--radius: 4px;
	--radius-signature: 28px;
	--space-unit: 0.5rem;
	--font-display: 'Fraunces', ui-serif, serif;
	--font-body: 'Source Sans 3', -apple-system, BlinkMacSystemFont, sans-serif;
	--container-w: 1240px;
	--header-h: 88px;
	--ease-out: cubic-bezier(0.16, 1, 0.3, 1);
}

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

html { overflow-x: hidden; scroll-behavior: smooth; }

html, body { max-width: 100%; }

body {
	margin: 0;
	font-family: var(--font-body);
	font-size: clamp(1rem, 0.95rem + 0.2vw, 1.125rem);
	line-height: 1.6;
	color: var(--text);
	background: var(--bg);
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4 {
	font-family: var(--font-display);
	color: var(--primary);
	font-weight: 600;
	line-height: 1.12;
	margin: 0 0 0.6em;
	text-wrap: pretty;
}

h1 { font-size: clamp(2.2rem, 1.6rem + 4vw, 3.5rem); font-weight: 500; }
h2 { font-size: clamp(1.75rem, 1.4rem + 2.4vw, 2.6rem); }
h3 { font-size: clamp(1.25rem, 1.1rem + 1vw, 1.6rem); }
h4 { font-size: clamp(1.05rem, 1rem + 0.4vw, 1.25rem); }

p { margin: 0 0 1.2em; text-wrap: pretty; max-width: 65ch; }

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

ul, ol { padding-left: 1.3em; }

.eyebrow {
	font-family: var(--font-body);
	font-size: 0.8rem;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--accent-dark);
	margin: 0 0 1em;
}

.icon {
	width: 1.4em;
	height: 1.4em;
	flex: 0 0 auto;
	vertical-align: middle;
}

.skip-link {
	position: absolute;
	left: -9999px;
	top: 0;
	background: var(--primary);
	color: #fff;
	padding: 0.8em 1.2em;
	z-index: 1000;
	border-radius: var(--radius);
}
.skip-link:focus { left: 1rem; top: 1rem; }

.container {
	width: 100%;
	max-width: var(--container-w);
	margin-inline: auto;
	padding-inline: clamp(1.25rem, 4vw, 2.5rem);
}

.btn {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	padding: 0.85em 1.6em;
	border-radius: var(--radius);
	font-weight: 600;
	font-size: 0.95rem;
	border: 1px solid transparent;
	transition: transform 220ms var(--ease-out), background-color 220ms var(--ease-out), color 220ms var(--ease-out), box-shadow 220ms var(--ease-out);
	min-height: 44px;
	cursor: pointer;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: scale(0.98); }

.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: var(--primary-dark); box-shadow: 0 10px 24px -12px oklch(22% 0.05 230 / 45%); }

.btn--ghost { background: transparent; color: var(--primary); border-color: var(--border); }
.btn--ghost:hover { border-color: var(--primary); }

.btn--block { width: 100%; justify-content: center; }

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4em;
	font-weight: 600;
	color: var(--primary);
	border-bottom: 1px solid var(--border);
	padding-bottom: 0.2em;
	transition: border-color 200ms var(--ease-out), gap 200ms var(--ease-out), color 200ms var(--ease-out);
}
.text-link:hover { border-color: var(--accent-dark); gap: 0.65em; color: var(--accent-dark); }
.text-link .icon { width: 1.1em; height: 1.1em; }

.text-link--light { color: #fff; border-color: oklch(100% 0 0 / 35%); }
.text-link--light:hover { border-color: #fff; color: #fff; }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.001ms !important;
		scroll-behavior: auto !important;
	}
}
