/* Base reset & typography */
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
	font-family: system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial,sans-serif;
	color: #2c3e50;
	background: #f7fbff;
	line-height: 1.6;
}

/* Accessibility: skip link */
a.skip-link {
	position: absolute; left: -999px; top: auto; width: 1px; height: 1px; overflow: hidden;
}
a.skip-link:focus {
	left: 16px; top: 12px; width: auto; height: auto;
	background: #1f6fb2; color: #fff; padding: 8px 12px; border-radius: 6px; z-index: 1000;
}

/* Links */
a { color: #1f6fb2; text-decoration: none; }
a:hover { color: #195b92; }

/* Layout containers */
.container { max-width: 960px; margin: 0 auto; padding: 24px 16px; }

/* Header */
.site-header {
	position: sticky; top: 0;
	background: rgba(255,255,255,.85);
	backdrop-filter: saturate(180%) blur(8px);
	border-bottom: 1px solid #e6eef8;
	z-index: 10;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.brand { font-weight: 800; color: #1f2d3d; }
.main-nav a { margin-left: 16px; color: #40566f; font-weight: 600; }
.main-nav a:hover { color: #1f6fb2; }

/* Footer */
.site-footer { border-top: 1px solid #e6eef8; background: #fff; }
.footer-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 0; gap: 12px; }

/* Cards */
.content-card {
	background: #fff; border: 1px solid #e6eef8; border-radius: 10px;
	padding: 20px; margin: 16px 0; box-shadow: 0 2px 10px rgba(0,0,0,.03);
}
.hero-intro { text-align: center; }

/* Reveal animation */
.reveal { opacity: 0; transform: translateY(8px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

/* Typography */
h1 { color: #1f2d3d; margin-bottom: 14px; font-size: 28px; }
h2 { color: #1f6fb2; margin: 10px 0 12px; font-size: 20px; }
p { margin: 0 0 12px; }
ul, ol { margin: 0 0 12px 18px; }
li { margin: 6px 0; }

/* KPIs */
.kpi-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 16px; }
.kpi { padding: 12px; border: 1px solid #e6eef8; border-radius: 8px; background: #fbfdff; text-align: center; }
.kpi-value { font-size: 28px; font-weight: 800; color: #2c3e50; }
.kpi-label { font-size: 13px; color: #52657a; margin-top: 6px; }

/* Social buttons */
.social-buttons { display: flex; gap: 10px; margin-top: 8px; flex-wrap: wrap; }
.social-button {
	display: inline-flex; align-items: center; justify-content: center;
	padding: 8px 12px; border-radius: 6px; background: #3498db; color: #fff; font-weight: 700;
	min-width: 86px; height: 32px; transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.social-button:hover { transform: translateY(-2px); box-shadow: 0 4px 10px rgba(0,0,0,.1); background: #2980b9; }

/* About section */
.profile-picture {
	width: 160px; height: 160px; object-fit: cover; border: 3px solid #3498DB;
	border-radius: 0!important; float: left; margin: 0 20px 10px 0;
	transition: transform .2s ease;
}
.profile-picture:hover { transform: scale(1.03); }
.content-card::after { content: ""; display: table; clear: both; }
.about-grid { display: grid; grid-template-columns: 160px 1fr; gap: 16px; align-items: start; }

/* Features */
.features-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 14px; }
.feature { padding: 12px; border: 1px solid #e6eef8; border-radius: 8px; background: #fbfdff; }

/* Responsive */
@media (max-width: 900px) {
	.kpi-grid { grid-template-columns: repeat(2,1fr); }
}
@media (max-width: 700px) {
	.features-grid { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
	.kpi-grid { grid-template-columns: 1fr; }
	.about-grid { grid-template-columns: 1fr; }
	.profile-picture { float: none; margin: 0; width: 120px; height: 120px; }
	.header-inner { padding: 8px 0; }
}