:root {
	--bg: #fafaf9;
	--bg-alt: #f5f5f4;
	--bg-card: #ffffff;
	--text: #0a0a0a;
	--text-light: #3f3f46;
	--muted: #71717a;
	--primary: #f97316;
	--primary-dark: #ea580c;
	--primary-light: #fb923c;
	--secondary: #dc2626;
	--accent: #fbbf24;
	--accent-light: #fde68a;
	--success: #10b981;
	--border: #e7e5e4;
	--border-light: #f5f5f4;
	--shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
	--shadow-sm: 0 2px 8px rgba(0,0,0,0.04), 0 1px 4px rgba(0,0,0,0.03);
	--shadow: 0 8px 24px rgba(0,0,0,0.06), 0 2px 8px rgba(0,0,0,0.04);
	--shadow-lg: 0 20px 48px rgba(0,0,0,0.08), 0 8px 20px rgba(0,0,0,0.06);
	--shadow-xl: 0 32px 64px rgba(0,0,0,0.12), 0 12px 28px rgba(0,0,0,0.08);
	--shadow-glow: 0 0 32px rgba(249, 115, 22, 0.15);
	--radius: 16px;
	--radius-lg: 24px;
	--radius-xl: 32px;
	--transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
	--transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
	--transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

* { 
	box-sizing: border-box; 
	margin: 0; 
	padding: 0; 
}

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

body {
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	background: var(--bg);
	color: var(--text);
	line-height: 1.7;
	font-size: 15px;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
	min-height: 100vh;
	position: relative;
}

body::before {
	content: '';
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 100vh;
	background: 
		radial-gradient(circle at 20% 20%, rgba(249, 115, 22, 0.05) 0%, transparent 50%),
		radial-gradient(circle at 80% 80%, rgba(251, 146, 60, 0.05) 0%, transparent 50%);
	pointer-events: none;
	z-index: 0;
}

main {
	position: relative;
	z-index: 1;
}

a { 
	color: var(--primary); 
	text-decoration: none; 
	transition: var(--transition);
}
a:hover { color: var(--secondary); }

h1, h2, h3, h4, h5, h6 {
	font-weight: 700;
	letter-spacing: -0.03em;
	color: var(--text);
	line-height: 1.2;
}
h1 { font-size: clamp(1.75rem, 5vw, 3.5rem); margin-bottom: 1rem; }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); margin-bottom: 1.5rem; }
h3 { font-size: clamp(1.1rem, 2.5vw, 1.5rem); margin-bottom: 1rem; }

p { margin-bottom: 1rem; color: var(--text-light); }

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; position: relative; }
.section-alt { 
	background: var(--bg-alt);
	padding: 100px 0;
	position: relative;
	overflow: hidden;
}
.section-alt::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--border), transparent);
}
.center { text-align: center; }
.mt-16 { margin-top: 24px; }
.mt-24 { margin-top: 40px; }
.lead { 
	font-size: 1.15rem; 
	color: var(--muted); 
	max-width: 800px; 
	margin: 0 auto 2rem;
	line-height: 1.7;
}

.grid-2, .grid-3, .grid-4 {
	display: grid; gap: 24px;
}
.grid-2 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

/* Tablet Optimizations */
@media (max-width: 1024px) {
	.container { padding: 0 20px; }
	.section { padding: 80px 0; }
	.section-alt { padding: 80px 0; }
	
	.grid-2 { grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
	.grid-3 { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px; }
	.grid-4 { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 20px; }
	
	.footer-grid { 
		grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
		gap: 32px;
	}
}

/* Mobile Optimizations */
@media (max-width: 768px) {
	body {
		font-size: 14px;
	}
	
	.container { padding: 0 24px; }
	.section { padding: 60px 0; }
	.section-alt { padding: 60px 0; }
	
	h1 {
		text-align: center;
	}
	h2 { margin-bottom: 1rem; }
	h3 { margin-bottom: 0.75rem; }
	
	.lead { 
		font-size: 1rem;
		line-height: 1.6;
		margin-bottom: 1.5rem;
	}
	
	.mt-16 { margin-top: 20px; }
	.mt-24 { margin-top: 32px; }
	
	.grid-2, .grid-3, .grid-4 {
		grid-template-columns: 1fr;
		gap: 16px;
	}
	
	.hero-logo {
		display: block;
		margin-left: auto;
		margin-right: auto;
	}
}

@media (max-width: 480px) {
	body {
		font-size: 14px;
	}
	
	.container { padding: 0 20px; }
	.section { padding: 48px 0; }
	.section-alt { padding: 48px 0; }
	
	.lead {
		font-size: 0.95rem;
	}
	
	.mt-16 { margin-top: 16px; }
	.mt-24 { margin-top: 24px; }
	
	.hero-logo {
		display: block;
		margin-left: auto;
		margin-right: auto;
	}
}

/* Ensure consistent side padding on all pages (mobile) */
@media (max-width: 768px) {
	/* Force at least ~20px on each side */
	.container { padding-left: 20px !important; padding-right: 20px !important; }

	/* When sections are not also .container, give them side padding too */
	.section:not(.container),
	.section-alt:not(.container) { padding-left: 20px !important; padding-right: 20px !important; }

	/* Header and footer containers */
	.nav { padding-left: 20px !important; padding-right: 20px !important; }
	.site-footer .container { padding-left: 20px !important; padding-right: 20px !important; }

	/* Hero content wrapper */
	.hero-content { padding-left: 20px !important; padding-right: 20px !important; }
}

@media (max-width: 480px) {
	/* Force at least ~16px on each side for very small phones */
	.container { padding-left: 16px !important; padding-right: 16px !important; }

	.section:not(.container),
	.section-alt:not(.container) { padding-left: 16px !important; padding-right: 16px !important; }

	.nav { padding-left: 16px !important; padding-right: 16px !important; }
	.site-footer .container { padding-left: 16px !important; padding-right: 16px !important; }
	.hero-content { padding-left: 16px !important; padding-right: 16px !important; }
}

/* Header */
.site-header {
	position: sticky; 
	top: 0; 
	z-index: 1000;
	background: rgba(250, 250, 249, 0.7);
	backdrop-filter: blur(24px) saturate(180%);
	-webkit-backdrop-filter: blur(24px) saturate(180%);
	border-bottom: 1px solid var(--border);
	transition: var(--transition);
}
.site-header.scrolled {
	background: rgba(250, 250, 249, 0.85);
	box-shadow: var(--shadow);
	border-bottom-color: var(--border-light);
}
.nav {
	display: flex; 
	align-items: center; 
	justify-content: space-between;
	padding: 16px 20px;
	max-width: 1200px;
	margin: 0 auto;
}
.brand {
	display: flex; 
	align-items: center; 
	gap: 12px; 
	font-weight: 700;
	font-size: 1.1rem;
	transition: var(--transition);
}
.brand:hover { 
	transform: translateY(-2px); 
	filter: brightness(1.1);
}
.brand img { 
	height: 38px; 
	width: auto;
	filter: drop-shadow(0 4px 12px rgba(249, 115, 22, 0.15));
	transition: var(--transition);
}
.brand span { display: none; }
.menu {
	display: flex; 
	align-items: center; 
	gap: 8px;
}
.menu a {
	padding: 10px 18px; 
	border-radius: 10px; 
	color: var(--text-light); 
	font-weight: 500;
	font-size: 0.9rem;
	transition: var(--transition);
	position: relative;
	overflow: hidden;
}
.menu a::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, var(--primary-light), var(--primary));
	opacity: 0;
	transition: var(--transition);
	border-radius: 10px;
}
.menu a::after {
	content: '';
	position: absolute;
	bottom: 8px;
	left: 20px;
	right: 20px;
	height: 3px;
	background: linear-gradient(90deg, var(--primary), var(--accent));
	transform: scaleX(0);
	transition: var(--transition);
	border-radius: 3px;
	z-index: 1;
}
.menu a.active,
.menu a:hover {
	color: var(--text);
	background: var(--bg-alt);
	transform: translateY(-2px);
}
.menu a.active::after,
.menu a:hover::after {
	transform: scaleX(1);
}
.menu a.active,
.menu a:hover {
	color: var(--text);
	background: var(--bg-alt);
}
.menu-toggle {
	display: none; 
	background: var(--card); 
	border: 1px solid var(--border); 
	color: var(--text);
	border-radius: 10px; 
	padding: 10px 14px;
	cursor: pointer;
	transition: var(--transition);
	box-shadow: var(--shadow-sm);
}
.menu-toggle:hover {
	box-shadow: var(--shadow);
}
@media (max-width: 900px) {
	.menu { 
		display: none; 
		position: absolute; 
		right: 16px; 
		top: 70px; 
		background: var(--card); 
		padding: 12px; 
		border: 1px solid var(--border); 
		border-radius: var(--radius); 
		flex-direction: column; 
		width: min(90vw, 280px); 
		box-shadow: var(--shadow-lg);
		align-items: stretch;
	}
	.menu.open { display: flex; }
	.menu a {
		padding: 12px 16px;
		font-size: 0.95rem;
	}
	.menu-toggle { display: inline-flex; align-items: center; gap: 8px; }
}

/* Bigger mobile menu (tablet and below) */
@media (max-width: 900px) {
	.menu { 
		/* ...existing code... */
		width: min(96vw, 380px);
		padding: 20px;
	}
	.menu a {
		/* ...existing code... */
		padding: 18px 20px;
		font-size: 1.15rem;
		min-height: 56px;
		border-radius: 16px;
	}
	.menu a + a { margin-top: 10px; }
	.menu-toggle {
		/* ...existing code... */
		padding: 14px 18px;
		font-size: 1.05rem;
		min-height: 48px;
	}
	.menu-toggle i { font-size: 1.25rem; }
}

/* Bigger on phones */
@media (max-width: 768px) {
	.menu { 
		/* sheet-style full width */
		top: 68px;
		left: 12px;
		right: 12px;
		width: calc(100vw - 24px);
		padding: 20px;
	}
	.menu a {
		padding: 20px 22px;
		font-size: 1.2rem;
		min-height: 60px;
		border-radius: 18px;
	}
	.menu-toggle {
		padding: 14px 18px;
		font-size: 1.1rem;
		min-height: 50px;
	}
}

/* Extra-small phones */
@media (max-width: 480px) {
	.menu {
		top: 60px;
		left: 10px;
		right: 10px;
		width: calc(100vw - 20px);
		padding: 18px;
	}
	.menu a {
		padding: 20px 22px;
		font-size: 1.3rem;
		min-height: 60px;
		border-radius: 18px;
	}
}

/* Hero */
.hero {
	position: relative;
	min-height: 85vh;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background: linear-gradient(135deg, var(--bg) 0%, var(--bg-alt) 100%);
}

.hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background: 
		radial-gradient(ellipse at top, rgba(249, 115, 22, 0.08) 0%, transparent 60%),
		radial-gradient(ellipse at bottom right, rgba(251, 191, 36, 0.06) 0%, transparent 60%);
	pointer-events: none;
}

#tsparticles {
	position: absolute; 
	inset: 0; 
	z-index: 0;
	pointer-events: none;
}

.hero-content {
	position: relative; 
	z-index: 1; 
	text-align: center;
	padding: 60px 20px;
	animation: fadeInUp 0.8s ease-out;
}

@keyframes fadeInUp {
	from { 
		opacity: 0; 
		transform: translateY(30px); 
	}
	to { 
		opacity: 1; 
		transform: translateY(0); 
	}
}

.hero-logo { 
	width: 120px; 
	height: auto; 
	margin-bottom: 28px;
	filter: drop-shadow(0 8px 24px rgba(249, 115, 22, 0.25));
	animation: float 6s ease-in-out infinite;
}

@keyframes float {
	0%, 100% { transform: translateY(0); }
	50% { transform: translateY(-10px); }
}

.hero h1 { 
	margin: 0 0 20px; 
	background: linear-gradient(135deg, var(--text) 0%, var(--primary) 60%, var(--accent) 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	font-weight: 800;
	letter-spacing: -0.04em;
}

.hero p { 
	color: var(--muted); 
	max-width: 700px; 
	margin: 0 auto 32px; 
	font-size: 1.1rem;
	line-height: 1.8;
}

.hero-actions { 
	display: flex; 
	gap: 12px; 
	justify-content: center; 
	flex-wrap: wrap;
}

@media (max-width: 768px) {
	.hero {
		min-height: 100vh;
		min-height: 100dvh;
	}
	
	.hero-content {
		padding: 40px 24px;
	}
	
	.hero-logo {
		width: 90px;
		margin-bottom: 24px;
		display: block;
		margin-left: auto;
		margin-right: auto;
	}
	
	.hero h1 {
		margin-bottom: 16px;
	}
	
	.hero p {
		font-size: 1rem;
		margin-bottom: 28px;
	}
	
	.hero-actions {
		gap: 12px;
		flex-direction: column;
		width: 100%;
		max-width: 320px;
		margin: 0 auto;
	}
	
	.hero-actions .btn {
		width: 100%;
		justify-content: center;
	}
}

@media (max-width: 480px) {
	.hero-content {
		padding: 32px 20px;
	}
	
	.hero-logo {
		width: 80px;
		margin-bottom: 20px;
		display: block;
		margin-left: auto;
		margin-right: auto;
	}
	
	.hero p {
		font-size: 0.95rem;
	}
}

/* Cards */
.card {
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 30px;
	box-shadow: var(--shadow-sm);
	transition: var(--transition);
	position: relative;
	overflow: hidden;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}
.card::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 4px;
	background: linear-gradient(90deg, var(--primary), var(--accent));
	transform: scaleX(0);
	transform-origin: left;
	transition: var(--transition);
}
.card::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(249, 115, 22, 0.02) 0%, transparent 100%);
	opacity: 0;
	transition: var(--transition);
	border-radius: var(--radius);
}
.card:hover::before {
	transform: scaleX(1);
}
.card:hover::after {
	opacity: 1;
}
.card:hover {
	transform: translateY(-8px) scale(1.01);
	box-shadow: var(--shadow-xl), var(--shadow-glow);
	border-color: var(--primary-light);
}
.card i {
	color: var(--primary);
	margin-bottom: 14px;
	font-size: 2rem;
	display: block;
}
.card h3 { 
	margin-top: 0; 
	color: var(--text);
	margin-bottom: 12px;
}
.card p {
	color: var(--text-light);
	line-height: 1.7;
}

/* Stats or Feature Cards */
.feature-card {
	text-align: center;
	padding: 40px 28px;
	background: linear-gradient(135deg, var(--bg-card) 0%, rgba(249, 115, 22, 0.02) 100%);
}
.feature-card i {
	font-size: 3rem;
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	display: inline-block;
	transition: var(--transition);
}
.feature-card:hover i {
	transform: scale(1.1) rotate(3deg);
}

/* Team Cards */
.team-card {
	text-align: center;
	padding: 36px 24px;
	background: linear-gradient(135deg, var(--bg-card) 0%, rgba(251, 146, 60, 0.02) 100%);
}
.team-card::before {
	background: linear-gradient(135deg, var(--primary), var(--accent));
	height: 5px;
}
.team-card h3 {
	font-size: 1.3rem;
	margin-bottom: 10px;
	font-weight: 700;
}
.team-card p {
	color: var(--muted);
	font-weight: 600;
	text-transform: uppercase;
	font-size: 0.8rem;
	letter-spacing: 0.1em;
}

/* Team photos and subtitle */
.team-card .team-photo {
	width: 160px;
	height: 160px;
	object-fit: cover;
	border-radius: 12px;
	border: 1px solid var(--border);
	margin: 0 auto 16px;
	box-shadow: var(--shadow-sm);
	background: var(--bg-card);
}
.team-card .role {
	color: var(--muted);
	font-weight: 600;
	text-transform: uppercase;
	font-size: 0.8rem;
	letter-spacing: 0.1em;
	margin-bottom: 6px;
}
.team-card .team-subtitle {
	color: var(--text-light);
	font-size: 0.6rem;
}

.team-card .team-subtitle-note {
	color: var(--text-light);
	font-size: 0.4rem;
}

.team-card .team-subtitle:empty { display: none; }

@media (max-width: 768px) {
	.team-card .team-photo { width: 130px; height: 130px; }
}
@media (max-width: 480px) {
	.team-card .team-photo { width: 110px; height: 110px; }
}

/* Timeline */
.timeline {
	position: relative;
	padding-top: 28px;
	margin-top: 12px;
}
.timeline-track {
	position: relative;
	height: 2px;
	background: var(--border);
	border-radius: 2px;
}
.timeline-node {
	position: relative; /* left aligned for first milestone */
}
.timeline-dot {
	position: absolute;
	top: -7px; /* centers over the track */
	left: 0;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--primary), var(--accent));
	border: 3px solid var(--bg-card);
	box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.08);
}
.timeline-card {
	margin-top: 14px;
	background: var(--bg-card);
	border: 1px solid var(--border);
	border-radius: var(--radius);
	padding: 16px 18px;
	box-shadow: var(--shadow-sm);
	display: inline-block;
	min-width: 220px;
}
.timeline-year {
	font-weight: 700;
	color: var(--text);
	margin-bottom: 6px;
}
.timeline-desc {
	color: var(--text-light);
}

/* Responsive timeline tweaks */
@media (max-width: 768px) {
	.timeline-card { min-width: 200px; padding: 14px 16px; }
	.timeline-dot { width: 12px; height: 12px; top: -6px; }
}
@media (max-width: 480px) {
	.timeline-card { min-width: 180px; }
}

/* Lists */
.list { 
	padding-left: 0; 
	list-style: none;
}
.list li { 
	margin-bottom: 12px; 
	padding-left: 28px;
	position: relative;
	color: var(--text-light);
}
.list li::before {
	content: '→';
	position: absolute;
	left: 0;
	color: var(--primary);
	font-weight: 600;
}
.downloads { 
	list-style: none; 
	padding: 0; 
	margin: 0; 
}
.downloads li {
	display: flex; 
	align-items: center; 
	justify-content: space-between;
	border-bottom: 1px solid var(--border); 
	padding: 20px 0;
	transition: var(--transition);
	flex-wrap: wrap;
	gap: 12px;
}
.downloads li:hover {
	padding-left: 8px;
	color: var(--primary);
}
.downloads li:first-child { padding-top: 0; }
.downloads li:last-child { border-bottom: none; padding-bottom: 0; }
.downloads li span {
	font-weight: 500;
	color: var(--text);
}

/* Buttons */
.btn {
	display: inline-flex; 
	align-items: center; 
	gap: 8px;
	padding: 13px 28px; 
	text-decoration: none; 
	font-weight: 600;
	font-size: 0.9rem;
	cursor: pointer;
	min-height: 44px;
	border-radius: 12px;
	transition: var(--transition);
	position: relative;
	border: none;
}

.btn-primary { 
	background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
	color: white;
	box-shadow: 0 4px 16px rgba(249, 115, 22, 0.3);
}
.btn-primary:hover { 
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(249, 115, 22, 0.4);
	filter: brightness(1.05);
	color: white;
}

.btn-secondary { 
	background: linear-gradient(135deg, var(--secondary) 0%, var(--primary-dark) 100%);
	color: white;
	box-shadow: 0 4px 16px rgba(220, 38, 38, 0.25);
}
.btn-secondary:hover { 
	transform: translateY(-2px);
	box-shadow: 0 8px 24px rgba(220, 38, 38, 0.35);
	filter: brightness(1.05);
	color: white;
}

.btn-outline { 
	background: transparent;
	color: var(--primary);
	box-shadow: inset 0 0 0 2px var(--primary);
}
.btn-outline:hover { 
	background: var(--primary);
	color: white;
	transform: translateY(-2px);
	box-shadow: inset 0 0 0 2px var(--primary), 0 6px 20px rgba(249, 115, 22, 0.25);
}

.btn-link { 
	color: var(--primary); 
	background: transparent; 
	padding: 4px 0;
	min-height: auto;
	box-shadow: none;
}
.btn-link:hover { 
	color: var(--secondary);
	gap: 12px;
	transform: none;
}

.btn:active {
	transform: scale(0.98);
}

@media (max-width: 768px) {
	.btn {
		padding: 12px 24px;
		font-size: 0.875rem;
		gap: 6px;
	}
	
	.btn:hover {
		transform: translateY(-1px);
	}
	
	.btn:active {
		transform: scale(0.98);
	}
	
	.btn-primary:hover,
	.btn-secondary:hover,
	.btn-outline:hover {
		color: white;
	}
	
	.btn-link:hover {
		color: var(--secondary);
	}
}

/* Footer */
.site-footer {
	border-top: 1px solid var(--border);
	background: linear-gradient(135deg, var(--bg-alt) 0%, var(--bg) 100%);
	padding: 70px 0 36px;
	color: var(--muted);
	font-size: 0.95rem;
	position: relative;
}
.site-footer::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, transparent, var(--primary), transparent);
}
.footer-grid { 
	display: grid; 
	gap: 40px; 
	grid-template-columns: 2fr 1fr 1fr;
	margin-bottom: 36px;
}
.footer-col .brand {
	margin-bottom: 16px;
}
.footer-col .brand img {
	height: 36px;
}
.footer-col h4 { 
	margin: 0 0 16px; 
	color: var(--text); 
	font-weight: 600;
	font-size: 1rem;
	letter-spacing: 0.02em;
}
.footer-links { 
	list-style: none; 
	padding: 0; 
	margin: 0; 
}
.footer-links li { margin: 10px 0; }
.footer-links a { 
	color: var(--text-light);
	transition: var(--transition);
	display: inline-block;
}
.footer-links a:hover { 
	color: var(--primary);
	transform: translateX(4px);
}
.social { 
	display: flex; 
	gap: 16px;
	margin-top: 20px;
}
.social a { 
	color: var(--text-light);
	font-size: 1.3rem;
	width: 40px;
	height: 40px;
	display: flex;
	align-items: center;
	justify-content: center;
	border-radius: 10px;
	background: var(--bg-card);
	border: 1px solid var(--border);
	transition: var(--transition);
	position: relative;
	overflow: hidden;
}
.social a::before {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, var(--primary), var(--secondary));
	opacity: 0;
	transition: var(--transition);
}
.social a:hover::before {
	opacity: 1;
}
.social a:hover { 
	color: white;
	transform: translateY(-4px) rotate(3deg);
	box-shadow: var(--shadow-lg);
	border-color: transparent;
}
.social a i {
	position: relative;
	z-index: 1;
}
.footer-bottom {
	padding-top: 24px; 
	border-top: 1px solid var(--border);
	display: flex; 
	justify-content: space-between; 
	flex-wrap: wrap; 
	gap: 16px;
	font-size: 0.9rem;
}
.footer-bottom a {
	color: var(--primary);
	font-weight: 500;
}
@media (max-width: 900px) {
	.footer-grid { grid-template-columns: 1fr; gap: 32px; }
}

@media (max-width: 768px) {
	.site-footer {
		padding: 56px 0 28px;
	}
	
	.footer-grid {
		gap: 28px;
		margin-bottom: 28px;
	}
	
	.footer-col .brand img {
		height: 32px;
	}
	
	.footer-col h4 {
		font-size: 0.95rem;
		margin-bottom: 12px;
	}
	
	.footer-links li {
		margin: 8px 0;
		font-size: 0.9rem;
	}
	
	.social {
		gap: 12px;
		margin-top: 16px;
	}
	
	.social a {
		width: 38px;
		height: 38px;
		font-size: 1.2rem;
	}
	
	.social a:hover {
		transform: translateY(-3px) rotate(3deg);
	}
	
	.footer-bottom {
		flex-direction: column;
		text-align: center;
		padding-top: 20px;
		font-size: 0.85rem;
		gap: 12px;
	}
}

/* Much smaller footer on mobile */
@media (max-width: 768px) {
	.site-footer {
		padding: 28px 0 14px;
	}
	.footer-grid {
		gap: 14px;
		margin-bottom: 12px;
	}
	.footer-col .brand img {
		height: 26px;
	}
	.footer-col h4 {
		font-size: 0.85rem;
		margin-bottom: 6px;
	}
	.footer-links li {
		margin: 4px 0;
	}
	.footer-links a {
		font-size: 0.85rem;
	}
	.social {
		gap: 6px;
	}
	.social a {
		width: 30px;
		height: 30px;
		font-size: 1rem;
	}
	.footer-bottom {
		padding-top: 10px;
		font-size: 0.8rem;
		gap: 6px;
	}
}

@media (max-width: 480px) {
	.site-footer {
		padding: 22px 0 10px;
	}
	.footer-grid {
		gap: 12px;
	}
	.footer-col .brand img {
		height: 24px;
	}
	.social a {
		width: 28px;
		height: 28px;
		font-size: 0.95rem;
	}
	.footer-bottom {
		padding-top: 8px;
		font-size: 0.78rem;
		gap: 4px;
	}
}

/* Section Headers */
.section > .container > h2,
.section-alt > .container > h2 {
	text-align: center;
	position: relative;
	padding-bottom: 20px;
	margin-bottom: 48px;
}
.section > .container > h2::after,
.section-alt > .container > h2::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 70px;
	height: 4px;
	background: linear-gradient(90deg, var(--primary), var(--accent));
	border-radius: 3px;
	box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
}

@media (max-width: 768px) {
	.section > .container > h2,
	.section-alt > .container > h2 {
		padding-bottom: 16px;
		margin-bottom: 36px;
	}
	
	.section > .container > h2::after,
	.section-alt > .container > h2::after {
		width: 60px;
		height: 3px;
	}
}

@media (max-width: 480px) {
	.section > .container > h2,
	.section-alt > .container > h2 {
		margin-bottom: 28px;
	}
}

/* Animations */
@keyframes slideInLeft {
	from { opacity: 0; transform: translateX(-30px); }
	to { opacity: 1; transform: translateX(0); }
}
@keyframes slideInRight {
	from { opacity: 0; transform: translateX(30px); }
	to { opacity: 1; transform: translateX(0); }
}

/* Scroll indicator */
.scroll-indicator {
	position: absolute;
	bottom: 40px;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
	animation: bounce 2s infinite;
	cursor: pointer;
	background: var(--bg-card);
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: var(--shadow);
	border: 1px solid var(--border);
}

@keyframes bounce {
	0%, 20%, 50%, 80%, 100% { 
		transform: translateX(-50%) translateY(0); 
	}
	40% { 
		transform: translateX(-50%) translateY(-10px); 
	}
	60% { 
		transform: translateX(-50%) translateY(-5px); 
	}
}

.scroll-indicator i {
	font-size: 1.4rem;
	color: var(--primary);
	transition: var(--transition);
}

.scroll-indicator:hover {
	transform: translateX(-50%) scale(1.08);
	box-shadow: var(--shadow-lg);
}

.scroll-indicator:hover i {
	animation: none;
}

/* Responsive improvements */
@media (max-width: 768px) {
	.hero {
		min-height: 100vh;
		min-height: 100dvh;
	}
	
	.scroll-indicator {
		bottom: 24px;
		width: 40px;
		height: 40px;
	}
	
	.scroll-indicator i {
		font-size: 1.2rem;
	}
	
	.scroll-indicator:hover {
		transform: translateX(-50%) scale(1.05);
	}
}

@media (max-width: 480px) {
	.scroll-indicator {
		bottom: 20px;
		width: 36px;
		height: 36px;
	}
	
	.scroll-indicator i {
		font-size: 1.1rem;
	}
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
	/* Improve touch targets */
	.btn {
		min-height: 48px;
		padding: 14px 32px;
	}
	
	.btn:hover {
		transform: none;
	}
	
	.btn:active {
		transform: scale(0.96);
		opacity: 0.9;
	}
	
	.btn-primary:active,
	.btn-secondary:active,
	.btn-outline:active {
		color: white;
	}
	
	.card:hover {
		transform: none;
	}
	
	.card:active {
		opacity: 0.95;
	}
	
	.menu a:hover {
		transform: none;
	}
	
	.menu a:active {
		background: var(--bg-alt);
	}
	
	.social a:hover {
		transform: none;
	}
	
	.social a:active {
		transform: scale(0.9);
	}
	
	/* Better link touch targets */
	.footer-links a {
		padding: 8px 0;
		display: block;
	}
	
	/* Improve tap feedback */
	a, button, .btn {
		-webkit-tap-highlight-color: rgba(249, 115, 22, 0.2);
	}
}

/* Additional mobile-specific improvements */
@media (max-width: 768px) {
	/* Better readability */
	body {
		font-size: 15px;
		line-height: 1.6;
	}
	
	/* Improved card spacing on mobile */
	.card {
		padding: 24px 20px;
	}
	
	.feature-card {
		padding: 32px 20px;
	}
	
	.team-card {
		padding: 28px 20px;
	}
	
	/* Better icon sizing */
	.card i {
		font-size: 1.75rem;
		margin-bottom: 12px;
	}
	
	.feature-card i {
		font-size: 2.5rem;
	}
	
	/* Optimize list spacing */
	.list li {
		margin-bottom: 10px;
		padding-left: 24px;
		font-size: 0.95rem;
	}
	
	.downloads li {
		padding: 16px 0;
		flex-direction: column;
		align-items: flex-start;
		gap: 12px;
	}
	
	.downloads li .btn {
		width: 100%;
	}
	
	/* Better table/downloads layout */
	.downloads li span {
		font-size: 0.95rem;
		padding-bottom: 4px;
	}
	
	/* Improve menu spacing */
	.menu a {
		padding: 14px 16px;
		font-size: 1rem;
		min-height: 48px;
		display: flex;
		align-items: center;
	}
	
	/* Better brand sizing */
	.brand {
		gap: 10px;
	}
	
	/* Optimize hero for mobile */
	.hero-actions {
		gap: 16px;
	}
	
	.hero-actions .btn {
		padding: 16px 32px;
		font-size: 0.95rem;
	}
	
	/* Better section spacing */
	.section,
	.section-alt {
		padding: 60px 0;
	}
	
	/* Improve heading hierarchy */
	h1 {
		line-height: 1.15;
		margin-bottom: 0.875rem;
	}
	
	h2 {
		line-height: 1.2;
		margin-bottom: 1.25rem;
	}
	
	h3 {
		line-height: 1.3;
		margin-bottom: 0.875rem;
	}
	
	/* Better paragraph spacing */
	p {
		margin-bottom: 1.25rem;
	}
	
	.lead {
		margin-bottom: 2rem;
		line-height: 1.65;
	}
	
	/* Optimize footer for mobile */
	.footer-col {
		margin-bottom: 8px;
	}
	
	.footer-col p {
		font-size: 0.9rem;
		line-height: 1.6;
	}
	
	.footer-links li {
		margin: 12px 0;
	}
	
	.footer-links a {
		padding: 8px 0;
		display: block;
		font-size: 0.95rem;
	}
	
	.social {
		justify-content: flex-start;
	}
	
	/* Better scroll indicator */
	.scroll-indicator {
		bottom: 28px;
	}
}

@media (max-width: 480px) {
	/* Extra small mobile optimization */
	body {
		font-size: 14px;
	}
	
	.container {
		padding: 0 16px;
	}
	
	.section,
	.section-alt {
		padding: 48px 0;
	}
	
	.card {
		padding: 20px 16px;
	}
	
	.feature-card {
		padding: 28px 16px;
	}
	
	.team-card {
		padding: 24px 16px;
	}
	
	.btn {
		padding: 12px 24px;
		font-size: 0.875rem;
	}
	
	.hero-actions .btn {
		padding: 14px 28px;
		font-size: 0.9rem;
	}
	
	h1 {
		margin-bottom: 0.75rem;
	}
	
	.lead {
		font-size: 0.95rem;
		margin-bottom: 1.75rem;
	}
	
	.grid-2, .grid-3, .grid-4 {
		gap: 16px;
	}
	
	.footer-col h4 {
		font-size: 0.9rem;
		margin-bottom: 10px;
	}
	
	.footer-links li {
		margin: 10px 0;
	}
	
	.footer-links a {
		font-size: 0.875rem;
	}
	
	.social a {
		width: 42px;
		height: 42px;
		font-size: 1.15rem;
	}
}

/* Landscape mobile orientation */
@media (max-width: 900px) and (orientation: landscape) {
	.hero {
		min-height: 100vh;
	}
	
	.hero-content {
		padding: 24px 20px;
	}
	
	.hero-logo {
		width: 70px;
		margin-bottom: 12px;
		display: block;
		margin-left: auto;
		margin-right: auto;
	}
	
	.hero h1 {
		font-size: clamp(1.5rem, 4vw, 2.5rem);
		margin-bottom: 12px;
	}
	
	.hero p {
		font-size: 0.95rem;
		margin-bottom: 20px;
	}
	
	.hero-actions {
		gap: 12px;
		flex-direction: row;
	}
	
	.hero-actions .btn {
		padding: 12px 24px;
		font-size: 0.875rem;
	}
	
	.scroll-indicator {
		display: none;
	}
	
	.section,
	.section-alt {
		padding: 48px 0;
	}
}

/* Safe area padding for notched devices */
@supports (padding: max(0px)) {
	@media (max-width: 768px) {
		body {
			padding-left: max(0px, env(safe-area-inset-left));
			padding-right: max(0px, env(safe-area-inset-right));
		}
		
		.site-header {
			padding-top: max(0px, env(safe-area-inset-top));
		}
		
		.site-footer {
			padding-bottom: max(20px, env(safe-area-inset-bottom));
		}
	}
}

/* Improve text selection on mobile */
@media (max-width: 768px) {
	::selection {
		background-color: var(--primary-light);
		color: white;
	}
	
	::-moz-selection {
		background-color: var(--primary-light);
		color: white;
	}
}

/* Better form elements on mobile */
@media (max-width: 768px) {
	input,
	textarea,
	select {
		font-size: 16px; /* Prevents zoom on iOS */
		padding: 12px 16px;
		border-radius: 10px;
	}
}

/* Optimize images for mobile */
@media (max-width: 768px) {
	img {
		max-width: 100%;
		height: auto;
		display: block;
	}
	
	.hero-logo,
	.brand img {
		will-change: transform;
	}
}

/* Reduce motion for mobile users who prefer it */
@media (max-width: 768px) and (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: 0.01ms !important;
		scroll-behavior: auto !important;
	}
	
	.hero-logo {
		animation: none;
	}
	
	.scroll-indicator {
		animation: none;
	}
}

/* Surface Box Style */
.surface {
	background: var(--bg-card);
	border-radius: var(--radius);
	padding: 28px 32px;
	box-shadow: none;
	border: 1px solid transparent; /* invisible border for consistent radius rendering */
}

/* Keep the section heading decoration inside the box */
.surface > h2 {
	text-align: center;
	position: relative;
	padding-bottom: 20px;
	margin-bottom: 24px;
}
.surface > h2::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	width: 70px;
	height: 4px;
	background: linear-gradient(90deg, var(--primary), var(--accent));
	border-radius: 3px;
	box-shadow: 0 2px 8px rgba(249, 115, 22, 0.3);
}

@media (max-width: 768px) {
	.surface { padding: 20px; }
}
@media (max-width: 480px) {
	.surface { padding: 16px; }
}

/* Mobile: make the top menu ~50% bigger */
@media (max-width: 900px) {
	.nav {
		/* increase header padding for larger tap targets */
		padding: 24px 24px;
	}

	.menu-toggle {
		padding: 15px 18px;
		font-size: 1.2rem;
		min-height: 54px;
		border-radius: 14px;
	}
	.menu-toggle i {
		font-size: 1.4rem;
	}

	.menu {
		/* larger dropdown "sheet" */
		padding: 18px;
		width: min(96vw, 420px);
		top: 90px; /* push down to clear bigger header */
		right: 16px;
	}

	.menu a {
		padding: 18px 24px;
		font-size: 1.35rem;
		min-height: 60px;
		border-radius: 18px;
	}
	.menu a + a {
		margin-top: 12px;
	}
}

/* Phones: stretch closer to full width with bigger touch targets */
@media (max-width: 768px) {
	.menu {
		left: 12px;
		right: 12px;
		width: calc(100vw - 24px);
		top: 78px;
	}

	.menu a {
		padding: 20px 26px;
		font-size: 1.4rem;
		min-height: 64px;
		border-radius: 20px;
	}

	.menu-toggle {
		padding: 16px 20px;
		font-size: 1.25rem;
		min-height: 56px;
	}
}

/* Solid white background and slightly smaller items when menu is open (mobile) */
@media (max-width: 900px) {
	.menu.open {
		background: #fff !important;
		border: 1px solid var(--border);
		box-shadow: var(--shadow-lg);
	}
	.menu.open a {
		font-size: 1.15rem; /* slightly smaller than default mobile open size */
	}
}

@media (max-width: 768px) {
	.menu.open {
		background: #fff !important;
	}
	.menu.open a {
		font-size: 1.2rem; /* slightly smaller than default mobile open size */
	}
}

@media (max-width: 480px) {
	.menu.open {
		background: #fff !important;
	}
	.menu.open a {
		font-size: 1.15rem; /* slightly smaller than default mobile open size */
	}
}

/* Footer compact tweaks (global) */
.site-footer {
	padding: 48px 0 24px;
}
.footer-grid {
	gap: 24px;
	margin-bottom: 20px;
}
.footer-col .brand { 
	margin-bottom: 12px; 
}
.footer-col h4 { 
	margin-bottom: 10px; 
	font-size: 0.95rem;
}
.footer-links li { 
	margin: 6px 0; 
}
.social { 
	gap: 10px; 
}
.social a {
	width: 36px;
	height: 36px;
	font-size: 1.2rem;
}
.footer-bottom {
	padding-top: 16px;
	font-size: 0.875rem;
	gap: 8px;
}

/* Footer compact tweaks (tablet) */
@media (max-width: 900px) {
	.footer-grid { gap: 20px; }
}

/* Footer compact tweaks (mobile) */
@media (max-width: 768px) {
	.site-footer { padding: 40px 0 20px; }
	.footer-grid { gap: 20px; margin-bottom: 20px; }
	.footer-col .brand img { height: 30px; }
	.footer-col h4 { font-size: 0.9rem; margin-bottom: 8px; }
	.footer-links li { margin: 6px 0; }
	.social { gap: 8px; }
	.social a { width: 34px; height: 34px; font-size: 1.1rem; }
	.footer-bottom { padding-top: 14px; font-size: 0.84rem; gap: 8px; }
}

/* Footer compact tweaks (small mobile) */
@media (max-width: 480px) {
	.site-footer { padding: 32px 0 16px; }
	.footer-grid { gap: 16px; }
	.social a { width: 32px; height: 32px; font-size: 1.05rem; }
	.footer-bottom { padding-top: 12px; font-size: 0.82rem; gap: 6px; }
}

/* Ultra-compact footer on mobile (final overrides) */
@media (max-width: 768px) {
	.site-footer {
		padding: 18px 0 10px !important;
	}
	.footer-grid {
		gap: 10px !important;
		margin-bottom: 10px !important;
	}
	.footer-col .brand { margin-bottom: 6px !important; }
	.footer-col .brand img { height: 22px !important; }

	.footer-col h4 {
		font-size: 0.8rem !important;
		margin-bottom: 4px !important;
	}

	.footer-links li { margin: 2px 0 !important; }
	.footer-links a {
		font-size: 0.82rem !important;
		line-height: 1.2 !important;
	}

	/* Compress general line-height in footer */
	.site-footer,
	.site-footer p,
	.site-footer a,
	.site-footer li {
		line-height: 1.3 !important;
	}

	.social {
		gap: 4px !important;
	}
	.social a {
		width: 28px !important;
		height: 28px !important;
		font-size: 0.95rem !important;
	}

	.footer-bottom {
		padding-top: 8px !important;
		font-size: 0.78rem !important;
		gap: 4px !important;
	}
}

@media (max-width: 480px) {
	.site-footer {
		padding: 14px 0 8px !important;
	}
	.footer-grid {
		gap: 8px !important;
		margin-bottom: 8px !important;
	}
	.footer-col .brand img { height: 20px !important; }

	.footer-col h4 {
		font-size: 0.78rem !important;
		margin-bottom: 3px !important;
	}

	.footer-links a {
		font-size: 0.78rem !important;
	}

	.social a {
		width: 26px !important;
		height: 26px !important;
		font-size: 0.9rem !important;
	}

	.footer-bottom {
		padding-top: 6px !important;
		font-size: 0.76rem !important;
		gap: 4px !important;
	}
}
