/*
 * The public marketing site at groundcrewlabs.ai.
 *
 * Plain CSS, no framework. Two things only: readable prose for the legal
 * documents, and a simple landing page. Dark mode follows the OS.
 */

:root {
	--bg: #fdfbf6;
	--ink: #1c1812;
	--muted: #6b6258;
	--line: #e4ded1;
	--surface: #f4efe4;
	--accent: #ff5a1f;
	--accent-ink: #a8380c;
	--on-accent: #14110d;
}

@media (prefers-color-scheme: dark) {
	:root {
		--bg: #131009;
		--ink: #f3efe6;
		--muted: #9a9081;
		--line: #2a241a;
		--surface: #1a160f;
		--accent: #ff5a1f;
		--accent-ink: #ff8a5c;
		--on-accent: #14110d;
	}
}

* {
	box-sizing: border-box;
}

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

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

.page {
	max-width: 760px;
	margin: 0 auto;
	padding: 56px 24px 96px;
}

header.site-head {
	border-bottom: 1px solid var(--line);
	padding-bottom: 20px;
	margin-bottom: 28px;
}

.site-name {
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: var(--accent-ink);
	text-decoration: none;
}

h1 {
	font-size: 32px;
	line-height: 1.18;
	margin: 12px 0 6px;
}

h2 {
	font-size: 19px;
	margin: 34px 0 10px;
}

h3 {
	font-size: 16px;
	margin: 22px 0 8px;
}

p,
ul,
ol {
	margin: 0 0 14px;
}

ul,
ol {
	padding-left: 22px;
}

li {
	margin: 0 0 6px;
}

a {
	color: var(--accent-ink);
}

strong {
	font-weight: 600;
}

.meta {
	color: var(--muted);
	font-size: 13px;
	margin: 0;
}

.lede {
	font-size: 18px;
	color: var(--muted);
}

table {
	width: 100%;
	border-collapse: collapse;
	margin: 0 0 18px;
	font-size: 14px;
}

th,
td {
	text-align: left;
	padding: 8px 10px;
	border-bottom: 1px solid var(--line);
	vertical-align: top;
}

th {
	font-weight: 600;
	color: var(--muted);
}

code {
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: 13px;
}

.callout {
	border: 1px solid var(--line);
	border-left: 3px solid var(--accent);
	border-radius: 6px;
	padding: 12px 16px;
	margin: 0 0 20px;
	background: var(--surface);
}

.callout p:last-child {
	margin-bottom: 0;
}

.actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	margin: 30px 0 8px;
}

.cta {
	background: var(--accent);
	color: var(--on-accent);
	font-weight: 600;
	text-decoration: none;
	padding: 10px 20px;
	border-radius: 8px;
}

.cta:hover {
	filter: brightness(0.95);
}

.quiet {
	color: var(--muted);
	text-decoration: none;
}

.quiet:hover {
	color: var(--ink);
	text-decoration: underline;
}

footer.site-foot {
	margin-top: 44px;
	padding-top: 20px;
	border-top: 1px solid var(--line);
	font-size: 13px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
}

footer.site-foot a {
	color: var(--muted);
	text-decoration: none;
}

footer.site-foot a:hover {
	color: var(--ink);
	text-decoration: underline;
}

@media (max-width: 639px) {
	.page {
		padding: 32px 16px 64px;
	}

	h1 {
		font-size: 26px;
	}
}
