/* Minimal typography for the public sico.software site.
   No framework, no JS, no fonts to load — system stack only. */

:root {
	--fg: #1a1a1a;
	--muted: #5c5c5c;
	--rule: #e5e5e5;
	--accent: #0a4d68;
	--bg: #ffffff;
	--code-bg: #f6f6f6;
	--max: 36rem;
}

* {
	box-sizing: border-box;
}

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

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

a {
	color: var(--accent);
	text-decoration: underline;
	text-underline-offset: 2px;
}

a:hover {
	text-decoration-thickness: 2px;
}

header.site,
footer.site {
	border-bottom: 1px solid var(--rule);
	padding: 1.25rem 1.25rem;
}

footer.site {
	border-top: 1px solid var(--rule);
	border-bottom: none;
	margin-top: 4rem;
	color: var(--muted);
	font-size: 0.875rem;
}

header.site .inner,
footer.site .inner,
main {
	max-width: var(--max);
	margin: 0 auto;
}

main {
	padding: 2.5rem 1.25rem 1rem;
}

header.site .inner {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1.5rem;
}

header.site .brand {
	font-weight: 600;
	color: var(--fg);
	text-decoration: none;
	font-size: 1.0625rem;
}

header.site nav {
	font-size: 0.9375rem;
}

header.site nav a {
	margin-left: 1rem;
	color: var(--muted);
	text-decoration: none;
}

header.site nav a:hover {
	color: var(--fg);
}

h1 {
	font-size: 1.75rem;
	line-height: 1.25;
	margin: 0 0 0.5rem;
}

h2 {
	font-size: 1.25rem;
	line-height: 1.3;
	margin: 2.25rem 0 0.5rem;
}

h3 {
	font-size: 1rem;
	margin: 1.5rem 0 0.25rem;
}

p,
ul,
ol {
	margin: 0.75rem 0;
}

ul,
ol {
	padding-left: 1.25rem;
}

li {
	margin: 0.25rem 0;
}

table {
	border-collapse: collapse;
	width: 100%;
	font-size: 0.9375rem;
	margin: 1rem 0;
}

th,
td {
	border-bottom: 1px solid var(--rule);
	padding: 0.5rem 0.5rem 0.5rem 0;
	text-align: left;
	vertical-align: top;
}

th {
	font-weight: 600;
	color: var(--muted);
	font-size: 0.8125rem;
	text-transform: uppercase;
	letter-spacing: 0.04em;
}

code {
	background: var(--code-bg);
	padding: 0.05rem 0.3rem;
	border-radius: 3px;
	font-size: 0.875em;
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.lede {
	font-size: 1.125rem;
	color: var(--muted);
	margin: 0.5rem 0 1.5rem;
}

.meta {
	color: var(--muted);
	font-size: 0.875rem;
	margin: 0 0 2rem;
}

.cards {
	display: grid;
	gap: 1rem;
	grid-template-columns: 1fr;
	margin: 1.5rem 0;
}

.card {
	border: 1px solid var(--rule);
	border-radius: 6px;
	padding: 1rem 1.125rem;
}

.card h3 {
	margin: 0 0 0.25rem;
}

.card p {
	margin: 0.25rem 0 0;
	color: var(--muted);
	font-size: 0.9375rem;
}
