:root {
	--green: #16a34a;
	--green-dark: #15803d;
	--green-bg: #ecfdf5;
	--ink: #0f172a;
	--ink-soft: #334155;
	--muted: #64748b;
	--surface: #ffffff;
	--bg: #f8fafc;
	--border: #e2e8f0;
	--radius: 14px;
	--shadow: 0 6px 24px rgba(15, 23, 42, 0.08);
	--shadow-lg: 0 12px 40px rgba(15, 23, 42, 0.12);
	--max-w: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
	margin: 0;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.6;
	color: var(--ink);
	background: var(--bg);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

a { color: var(--green-dark); }

/* ===== Topbar ===== */
.topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 12px 20px;
	background: var(--surface);
	border-bottom: 1px solid var(--border);
	position: sticky;
	top: 0;
	z-index: 10;
}

.brand {
	display: flex;
	align-items: center;
	gap: 10px;
	text-decoration: none;
	color: var(--ink);
	font-weight: 700;
}

.brand__logo {
	width: 32px;
	height: 32px;
	border-radius: 8px;
}

.brand__name { font-size: 1.05rem; }

.topnav {
	display: flex;
	gap: 8px;
}

.topnav a {
	padding: 8px 12px;
	border-radius: 8px;
	text-decoration: none;
	color: var(--ink-soft);
	font-weight: 500;
	font-size: 0.95rem;
}

.topnav a:hover { background: var(--green-bg); color: var(--green-dark); }

/* ===== Hero ===== */
.hero {
	padding: 48px 20px 56px;
	background:
		radial-gradient(circle at 20% 0%, rgba(22, 163, 74, 0.12), transparent 50%),
		radial-gradient(circle at 80% 100%, rgba(22, 163, 74, 0.08), transparent 50%),
		var(--bg);
	text-align: center;
}

.hero__inner {
	max-width: var(--max-w);
	margin: 0 auto;
}

.hero__logo {
	width: 96px;
	height: 96px;
	border-radius: 22px;
	box-shadow: var(--shadow-lg);
	margin-bottom: 20px;
}

.hero__title {
	font-size: clamp(2rem, 7vw, 3.5rem);
	margin: 0 0 12px;
	letter-spacing: -0.02em;
	color: var(--ink);
}

.hero__tagline {
	font-size: clamp(1rem, 3vw, 1.2rem);
	color: var(--ink-soft);
	max-width: 560px;
	margin: 0 auto 32px;
}

.hero__tagline strong { color: var(--green-dark); font-weight: 600; }

/* ===== CTAs ===== */
.cta-group {
	display: flex;
	flex-direction: column;
	gap: 12px;
	max-width: 360px;
	margin: 0 auto;
}

.cta {
	display: flex;
	align-items: center;
	gap: 14px;
	padding: 14px 20px;
	background: var(--surface);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	color: var(--ink);
	text-decoration: none;
	font-weight: 500;
	box-shadow: var(--shadow);
	transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
	text-align: left;
}

.cta:hover {
	transform: translateY(-2px);
	box-shadow: var(--shadow-lg);
	border-color: var(--green);
}

.cta:active { transform: translateY(0); }

.cta__icon {
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: var(--green-bg);
	color: var(--green-dark);
	border-radius: 10px;
	font-size: 1.2rem;
	flex-shrink: 0;
}

.cta__text {
	display: flex;
	flex-direction: column;
	line-height: 1.25;
}

.cta__label { font-size: 1rem; font-weight: 600; }

.cta__sub {
	font-size: 0.82rem;
	color: var(--muted);
	margin-top: 2px;
}

.cta--primary {
	background: var(--green);
	border-color: var(--green);
	color: white;
}

.cta--primary .cta__icon { background: rgba(255, 255, 255, 0.2); color: white; }
.cta--primary .cta__sub { color: rgba(255, 255, 255, 0.85); }
.cta--primary:hover { background: var(--green-dark); border-color: var(--green-dark); }

.cta--ghost { background: transparent; box-shadow: none; }
.cta--ghost:hover { background: var(--surface); }

/* ===== Features ===== */
.features {
	padding: 56px 20px;
	background: var(--surface);
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}

.features__grid {
	max-width: var(--max-w);
	margin: 0 auto;
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

.feature {
	padding: 24px;
	background: var(--bg);
	border-radius: var(--radius);
	border: 1px solid var(--border);
}

.feature__icon {
	font-size: 2rem;
	margin-bottom: 12px;
}

.feature h3 {
	margin: 0 0 6px;
	font-size: 1.15rem;
	color: var(--ink);
}

.feature p {
	margin: 0;
	color: var(--ink-soft);
	font-size: 0.95rem;
}

.feature em { color: var(--green-dark); font-style: normal; font-weight: 500; }

/* ===== Footer ===== */
.footer {
	padding: 32px 20px 48px;
	text-align: center;
	color: var(--muted);
	font-size: 0.9rem;
	background: var(--bg);
}

.footer strong { color: var(--ink-soft); }

/* ===== Tablet & desktop ===== */
@media (min-width: 640px) {
	.hero { padding: 72px 20px 80px; }
	.hero__logo { width: 112px; height: 112px; }
	.cta-group { flex-direction: row; flex-wrap: wrap; justify-content: center; max-width: none; }
	.cta { min-width: 220px; }
	.features__grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
	.features { padding: 72px 20px; }
}

@media (min-width: 980px) {
	.features__grid { grid-template-columns: repeat(4, 1fr); }
}

/* ===== Reduce motion ===== */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	.cta { transition: none; }
	.cta:hover { transform: none; }
}
