:root {
	--brand: #98bf0e;
	--brand-dark: #7ea00b;
	--ink: #1f2937;
	--ink-soft: #374151;
	--muted: #6b7280;
	--bg: #ffffff;
	--bg-soft: #f6f9ec;
	--bg-card: #ffffff;
	--border: #e5e7eb;
	--radius: 12px;
	--maxw: 1100px;
	--shadow: 0 1px 2px rgba(15, 23, 42, .04), 0 4px 12px rgba(15, 23, 42, .06);
}

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

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

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

img { max-width: 100%; height: auto; display: block; border: 0; }

a { color: var(--brand-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, h4 { color: var(--ink); line-height: 1.2; margin: 0 0 .5em; font-weight: 700; }
h1 { font-size: clamp(2.25rem, 1.5rem + 3vw, 3.5rem); letter-spacing: -.02em; }
h2 { font-size: clamp(1.5rem, 1.1rem + 1.5vw, 2.125rem); letter-spacing: -.01em; }
h3 { font-size: 1.125rem; }
p  { margin: 0 0 1em; }

.wrap {
	max-width: var(--maxw);
	margin: 0 auto;
	padding: 0 1.25rem;
}

/* Header */
.site-header {
	border-top: 4px solid var(--brand);
	border-bottom: 1px solid var(--border);
	background: var(--bg);
	position: sticky;
	top: 0;
	z-index: 10;
}
.site-header .wrap {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding-top: .85rem;
	padding-bottom: .85rem;
}
.brand img { height: 40px; width: auto; }
.utility { display: flex; gap: .25rem; flex-wrap: wrap; }
.utility a {
	display: inline-block;
	padding: .4rem .75rem;
	border-radius: 999px;
	color: var(--ink-soft);
	font-size: .95rem;
	font-weight: 500;
}
.utility a:hover { background: var(--bg-soft); color: var(--brand-dark); text-decoration: none; }

/* Hero */
.hero {
	background: linear-gradient(135deg, var(--brand) 0%, #b9d63d 100%);
	color: #fff;
	padding: clamp(3rem, 4vw + 2rem, 6rem) 0;
}
.hero h1 { color: #fff; margin-bottom: .35em; }
.hero .tagline {
	font-size: clamp(1.05rem, .85rem + .8vw, 1.35rem);
	max-width: 48rem;
	color: rgba(255, 255, 255, .95);
}
.hero-cta { margin-top: 1.75rem; margin-bottom: 0; }

/* CTA buttons */
.cta {
	display: inline-block;
	background: #fff;
	color: var(--brand-dark);
	padding: .85rem 1.6rem;
	border-radius: 999px;
	font-weight: 600;
	font-size: 1rem;
	box-shadow: var(--shadow);
	transition: transform .12s ease, box-shadow .12s ease, background .12s ease;
}
.cta:hover {
	background: #fff;
	color: var(--brand-dark);
	transform: translateY(-1px);
	box-shadow: 0 2px 4px rgba(15, 23, 42, .06), 0 8px 20px rgba(15, 23, 42, .10);
	text-decoration: none;
}
.cta-light {
	background: var(--brand);
	color: #fff;
}
.cta-light:hover { background: var(--brand-dark); color: #fff; }

/* Features */
.features { padding: clamp(3rem, 4vw + 2rem, 5rem) 0; }
.features h2 { margin-bottom: 1.5rem; }
.grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 1rem;
}
.card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 1.25rem 1.25rem 1rem;
	transition: border-color .12s ease, transform .12s ease, box-shadow .12s ease;
}
.card:hover {
	border-color: var(--brand);
	transform: translateY(-2px);
	box-shadow: var(--shadow);
}
.card h3 {
	color: var(--brand-dark);
	margin-bottom: .4em;
}
.card p { margin: 0; color: var(--ink-soft); font-size: .98rem; }

/* Tech section */
.tech {
	background: var(--bg-soft);
	padding: clamp(3rem, 4vw + 2rem, 5rem) 0;
	border-top: 1px solid var(--border);
	border-bottom: 1px solid var(--border);
}
.tech h2 { margin-bottom: 1.5rem; }
.tech-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 1.5rem 1.25rem;
}
.tech-grid h3 { color: var(--brand-dark); margin-bottom: .4em; font-size: 1rem; text-transform: uppercase; letter-spacing: .04em; }
.tech-grid ul { list-style: none; padding: 0; margin: 0; }
.tech-grid li {
	padding: .25rem 0 .25rem 1rem;
	position: relative;
	color: var(--ink-soft);
}
.tech-grid li::before {
	content: "";
	position: absolute;
	left: 0;
	top: .75em;
	width: .4rem;
	height: .4rem;
	background: var(--brand);
	border-radius: 50%;
}

/* CTA band */
.cta-band {
	text-align: center;
	padding: clamp(3rem, 4vw + 2rem, 5rem) 0;
}
.cta-band h2 { margin-bottom: .5rem; }
.cta-band p { color: var(--muted); }
.cta-band p:last-child { margin-top: 1.5rem; margin-bottom: 0; }

/* Footer */
.site-footer {
	background: var(--ink);
	color: rgba(255, 255, 255, .85);
	padding: 2.5rem 0 1.5rem;
}
.site-footer .wrap {
	display: flex;
	flex-direction: column;
	gap: 1.25rem;
}
.site-footer h3 {
	color: #fff;
	font-size: 1rem;
	text-transform: uppercase;
	letter-spacing: .06em;
	margin-bottom: .75em;
}
.site-footer p { margin: 0 0 .75em; font-size: .95rem; }
.site-footer a { color: #d6e89a; }
.site-footer a:hover { color: #fff; }
.site-footer .copy {
	margin: 0;
	padding-top: 1rem;
	border-top: 1px solid rgba(255, 255, 255, .12);
	color: rgba(255, 255, 255, .55);
	font-size: .85rem;
}

/* Responsive nudges */
@media (min-width: 720px) {
	.site-footer .wrap {
		flex-direction: row;
		align-items: flex-end;
		justify-content: space-between;
	}
	.site-footer .copy {
		border: 0;
		padding-top: 0;
		text-align: right;
	}
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
	.cta, .card { transition: none; }
	.cta:hover, .card:hover { transform: none; }
}

/* Language switch */
.utility a.lang { border: 1px solid var(--border); margin-left: .25rem; }
