:root {
	--color-ink: #1b2430;
	--color-slate: #4a5568;
	--color-accent: #2563eb;
	--color-bg: #ffffff;
	--color-bg-alt: #f5f7fa;
	--color-border: #e2e8f0;
	--max-width: 1080px;
}

* { box-sizing: border-box; }

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
	color: var(--color-ink);
	background: var(--color-bg);
	line-height: 1.6;
}

.wrap {
	max-width: var(--max-width);
	margin: 0 auto;
	padding: 0 1.5rem;
}

a { color: var(--color-accent); text-decoration: none; }
a:hover { text-decoration: underline; }

/* Header / nav */
.site-header {
	border-bottom: 1px solid var(--color-border);
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 1rem;
	padding-bottom: 1rem;
	position: relative;
}

.brand {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	font-weight: 600;
	font-size: 1.1rem;
	color: var(--color-ink);
}
.brand:hover { text-decoration: none; }
.brand img { height: 32px; width: auto; }

.site-nav {
	display: flex;
	gap: 1.5rem;
}
.site-nav a {
	color: var(--color-slate);
	font-weight: 500;
}
.site-nav a.is-active,
.site-nav a:hover {
	color: var(--color-accent);
}

.nav-toggle,
.nav-toggle__label {
	display: none;
}

@media (max-width: 640px) {
	.nav-toggle__label {
		display: flex;
		flex-direction: column;
		justify-content: center;
		gap: 4px;
		width: 28px;
		height: 22px;
		cursor: pointer;
	}
	.nav-toggle__label span {
		display: block;
		height: 2px;
		background: var(--color-ink);
	}
	.site-nav {
		display: none;
		flex-direction: column;
		gap: 0;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background: var(--color-bg);
		border-bottom: 1px solid var(--color-border);
		padding: 0.5rem 1.5rem 1rem;
	}
	.site-nav a { padding: 0.6rem 0; }
	.nav-toggle:checked ~ .site-nav {
		display: flex;
	}
}

/* Layout sections */
main { min-height: 60vh; }

.hero {
	padding: 4rem 0 3rem;
	text-align: center;
	background: var(--color-bg-alt);
	border-bottom: 1px solid var(--color-border);
}
.hero h1 {
	font-size: 2.25rem;
	margin: 0 0 0.75rem;
}
.hero p {
	max-width: 640px;
	margin: 0 auto;
	color: var(--color-slate);
	font-size: 1.1rem;
}

.section {
	padding: 3rem 0;
}
.section h2 {
	font-size: 1.6rem;
	margin-bottom: 1.5rem;
}

.cards {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1.5rem;
}
.card {
	border: 1px solid var(--color-border);
	border-radius: 8px;
	padding: 1.5rem;
}
.card h3 {
	margin-top: 0;
	font-size: 1.1rem;
}
.card p {
	color: var(--color-slate);
	margin-bottom: 0;
}

.cta {
	background: var(--color-ink);
	color: #fff;
	text-align: center;
	padding: 3rem 1.5rem;
	border-radius: 8px;
}
.cta h2 { color: #fff; margin-top: 0; }
.cta p { color: #cbd5e1; }
.button {
	display: inline-block;
	background: var(--color-accent);
	color: #fff;
	padding: 0.75rem 1.5rem;
	border-radius: 6px;
	font-weight: 600;
	margin-top: 0.5rem;
}
.button:hover { text-decoration: none; opacity: 0.9; }

/* Forms */
.form-field {
	margin-bottom: 1.25rem;
}
.form-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.4rem;
	font-size: 0.9rem;
}
.form-field input,
.form-field textarea {
	width: 100%;
	padding: 0.65rem 0.75rem;
	border: 1px solid var(--color-border);
	border-radius: 6px;
	font: inherit;
}
.form-field textarea { min-height: 140px; resize: vertical; }

.alert {
	padding: 1rem 1.25rem;
	border-radius: 6px;
	margin-bottom: 1.5rem;
}
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }

/* Footer */
.site-footer {
	border-top: 1px solid var(--color-border);
	padding: 2rem 0;
	color: var(--color-slate);
	font-size: 0.9rem;
}
.site-footer__inner {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 0.5rem;
}
.site-footer p { margin: 0; }
