/* Base: reset, variables, typography */
:root {
	--color-bg: #f6f7f9;
	--color-surface: #ffffff;
	--color-text: #1a1d26;
	--color-muted: #5c6370;
	--color-accent: #2563eb;
	--color-accent-hover: #1d4ed8;
	--color-border: #e2e5eb;
	--font-sans: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	--space-1: 0.5rem;
	--space-2: 1rem;
	--space-3: 1.5rem;
	--space-4: 2rem;
	--space-6: 3rem;
	--radius: 8px;
	--shadow: 0 1px 3px rgba(26, 29, 38, 0.08);
	--container: 72rem;
}

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

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

body {
	margin: 0;
	font-family: var(--font-sans);
	font-size: 1rem;
	line-height: 1.6;
	color: var(--color-text);
	background: var(--color-bg);
}

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

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

img {
	max-width: 100%;
	height: auto;
	vertical-align: middle;
}

h1, h2, h3 {
	line-height: 1.25;
	margin-top: 0;
}

p {
	margin: 0 0 var(--space-2);
}

.screen-reader-text {
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	width: 1px;
	overflow: hidden;
	position: absolute;
	word-wrap: normal !important;
}

.prose {
	max-width: 42rem;
}

.prose > *:last-child {
	margin-bottom: 0;
}

.empty-state {
	color: var(--color-muted);
	padding: var(--space-4);
	text-align: center;
}
