/* fieldhand.farm — colours from app/src/shell/theme.ts; system fonts like the app. */
:root {
	--ink: #14201a;
	--ink-2: #3f4d46;
	--muted: #4b5a52;
	--line: #d7ddd8;
	--surface: #ffffff;
	--surface-2: #f3f5f3;
	--brand: #14532d;
	--action: #166534;
	--header: #14532d;
	--header-fg: #e6f4ea;
	--header-rule: #86efac;
	--soft: #e6f4ea;
	color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
	:root {
		--ink: #e8ece9;
		--ink-2: #b7c1ba;
		--muted: #8b968f;
		--line: #2b332f;
		--surface: #0e1211;
		--surface-2: #1f2724;
		--brand: #7fd39a;
		--action: #7fd39a;
		--header: #0e1211;
		--header-fg: #cfe6d6;
		--header-rule: #166534;
		--soft: #12331f;
	}
}

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

html {
	font-size: 112.5%; /* 18px, the app's root size */
	-webkit-text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--surface-2);
	color: var(--ink);
	font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	line-height: 1.55;
}

a {
	color: var(--action);
	text-underline-offset: 0.15em;
}

a:focus-visible {
	outline: 3px solid var(--action);
	outline-offset: 2px;
	border-radius: 2px;
}

.skip {
	position: absolute;
	left: -999px;
}

.skip:focus {
	left: 1rem;
	top: 1rem;
	background: var(--surface);
	padding: 0.5rem 0.75rem;
	z-index: 1;
}

header.site {
	background: var(--header);
	color: var(--header-fg);
	border-bottom: 3px solid var(--header-rule);
}

header.site .bar {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-height: 56px;
}

header.site a.home {
	display: flex;
	align-items: center;
	gap: 0.6rem;
	color: inherit;
	text-decoration: none;
	font-weight: 700;
	font-size: 1.1rem;
}

header.site img {
	width: 32px;
	height: 32px;
	border-radius: 7px;
}

.wrap {
	max-width: 42rem;
	margin: 0 auto;
	padding: 0 1.1rem;
}

main.wrap {
	padding-top: 2rem;
	padding-bottom: 3rem;
}

.hero {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1rem;
	margin-bottom: 2rem;
}

.hero img {
	width: 72px;
	height: 72px;
	border-radius: 16px;
}

h1 {
	font-size: 2rem;
	line-height: 1.15;
	margin: 0;
	color: var(--brand);
}

h2 {
	font-size: 1.2rem;
	line-height: 1.3;
	margin: 2rem 0 0.5rem;
}

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

p,
ul {
	margin: 0 0 1rem;
}

.lede {
	font-size: 1.15rem;
	color: var(--ink-2);
	margin: 0;
}

.features {
	list-style: none;
	padding: 0;
	display: grid;
	gap: 0.75rem;
}

.features li {
	background: var(--surface);
	border: 1px solid var(--line);
	border-left: 4px solid var(--action);
	border-radius: 8px;
	padding: 0.85rem 1rem;
}

.features strong {
	display: block;
	margin-bottom: 0.15rem;
}

.card {
	background: var(--surface);
	border: 1px solid var(--line);
	border-radius: 8px;
	padding: 1rem 1.1rem;
	margin: 1.5rem 0;
}

.card h2 {
	margin-top: 0;
}

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

.meta {
	color: var(--muted);
	font-size: 0.95rem;
}

.policy ul {
	padding-left: 1.25rem;
}

.policy li {
	margin-bottom: 0.4rem;
}

footer.site {
	border-top: 1px solid var(--line);
	background: var(--surface);
	color: var(--muted);
	font-size: 0.9rem;
	padding: 1.25rem 0 2rem;
}

footer.site p {
	margin: 0 0 0.4rem;
}

@media (min-width: 40rem) {
	.hero {
		flex-direction: row;
		align-items: center;
	}

	h1 {
		font-size: 2.4rem;
	}

	.features {
		grid-template-columns: 1fr 1fr;
	}
}
