:root {
	--bg: #f6f4ed;
	--surface: #fffdf7;
	--surface-strong: #ece7d7;
	--text: #14322f;
	--muted: #56706c;
	--brand: #0d8a5b;
	--brand-strong: #086b46;
	--line: #d8d2bf;
	--shadow: 0 18px 40px rgba(20, 50, 47, 0.08);
	--radius: 22px;
	--max: 1180px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background:
		radial-gradient(circle at top left, rgba(13, 138, 91, 0.08), transparent 32%),
		linear-gradient(180deg, #f7f4e8 0%, #f3f0e7 100%);
	color: var(--text);
	font: 400 18px/1.6 Georgia, "Times New Roman", serif;
}

a {
	color: inherit;
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.14em;
}

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

.container {
	width: min(var(--max), calc(100% - 2rem));
	margin: 0 auto;
}

.flow > * + * {
	margin-top: 1rem;
}

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

.skip-link:focus {
	left: 1rem;
	top: 1rem;
	z-index: 99;
	background: #fff;
	padding: 0.75rem 1rem;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 20;
	backdrop-filter: blur(14px);
	background: rgba(247, 244, 232, 0.9);
	border-bottom: 1px solid rgba(216, 210, 191, 0.85);
}

.site-header__inner,
.site-footer__grid,
.hero__grid,
.content-grid--two {
	display: grid;
	gap: 1.5rem;
}

.site-header__inner {
	padding: 1rem 0;
	align-items: center;
}

.site-branding {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.site-title {
	display: inline-block;
	font-size: 1.4rem;
	font-weight: 700;
	text-decoration: none;
}

.site-tagline,
.entry-meta,
.eyebrow,
.breadcrumbs,
.archive-description,
.entry-intro {
	color: var(--muted);
}

.menu,
.footer-links,
.check-list {
	margin: 0;
	padding: 0;
	list-style: none;
}

.menu--primary {
	display: flex;
	flex-wrap: wrap;
	gap: 0.9rem 1.25rem;
}

.menu--primary a {
	text-decoration: none;
	font-size: 0.98rem;
}

.site-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.75rem;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 0.8rem 1.15rem;
	border-radius: 999px;
	background: var(--brand);
	color: #fff;
	text-decoration: none;
	font-weight: 700;
	border: 1px solid var(--brand);
}

.button:hover,
.button:focus-visible {
	background: var(--brand-strong);
	border-color: var(--brand-strong);
}

.button--ghost {
	background: transparent;
	color: var(--text);
	border-color: var(--line);
}

.hero,
.section,
.site-main {
	padding: 2rem 0;
}

.context-panel {
	padding: 1.25rem 1.35rem;
	border: 1px solid var(--line);
	border-radius: calc(var(--radius) - 6px);
	background: rgba(236, 231, 215, 0.42);
}

.hero__grid,
.site-footer__grid {
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.hero__content,
.hero__panel,
.card,
.entry-card,
.entry-content-wrap,
.empty-state,
.section--tint .container,
.site-footer {
	background: rgba(255, 253, 247, 0.72);
}

.hero__content,
.hero__panel,
.card,
.entry-card,
.entry-content-wrap,
.empty-state {
	padding: 1.5rem;
	border: 1px solid var(--line);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
}

.hero__content h1 {
	margin: 0;
	font-size: clamp(2rem, 4vw, 4.4rem);
	line-height: 1.02;
	letter-spacing: -0.04em;
	max-width: 13ch;
}

.hero__summary {
	max-width: 58ch;
	font-size: 1.05rem;
}

.hero__panel {
	background: linear-gradient(180deg, rgba(236, 231, 215, 0.9), rgba(255, 253, 247, 0.92));
}

.eyebrow {
	margin: 0;
	font: 700 0.82rem/1.2 Arial, sans-serif;
	text-transform: uppercase;
	letter-spacing: 0.18em;
}

.section-heading h2,
.archive-header h1,
.entry-title,
.card-title {
	margin: 0;
	line-height: 1.1;
}

.section-heading h2,
.archive-header h1 {
	font-size: clamp(1.75rem, 3vw, 3rem);
	max-width: 18ch;
}

.content-grid--two {
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.section--tint {
	background: rgba(236, 231, 215, 0.55);
	border-top: 1px solid rgba(216, 210, 191, 0.65);
	border-bottom: 1px solid rgba(216, 210, 191, 0.65);
}

.card-grid,
.post-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1rem;
}

.card h3,
.entry-title,
.footer-heading {
	font-size: 1.2rem;
}

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

.check-list li,
.footer-links li {
	position: relative;
	padding-left: 1.2rem;
}

.check-list li::before,
.footer-links li::before {
	content: "•";
	position: absolute;
	left: 0;
	color: var(--brand);
}

.faq-list {
	display: grid;
	gap: 0.9rem;
}

.faq-list details {
	padding: 1rem 1.1rem;
	border: 1px solid var(--line);
	border-radius: 16px;
	background: rgba(255, 253, 247, 0.85);
}

.faq-list summary {
	cursor: pointer;
	font-weight: 700;
}

.breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	font-size: 0.94rem;
}

.site-footer {
	margin-top: 2rem;
	padding: 2rem 0 1.2rem;
	border-top: 1px solid var(--line);
}

.site-footer__meta {
	padding-top: 1rem;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 1rem;
	font-size: 0.95rem;
	color: var(--muted);
}

@media (min-width: 980px) {
	.site-header__inner {
		grid-template-columns: 1.2fr 1fr auto;
	}
}

@media (max-width: 979px) {
	.primary-nav {
		order: 3;
	}
}

@media (max-width: 640px) {
	body {
		font-size: 17px;
	}

	.container {
		width: min(var(--max), calc(100% - 1.2rem));
	}

	.hero__content h1 {
		max-width: none;
	}
}
