
* { box-sizing: border-box; margin: 0; padding: 0; }
html, body { height: 100%; }
body {
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial;
	background: #f5f7fb;
	color: #0f1724;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}
header {
	text-align: center;
	padding: 3rem 1rem;
	background: linear-gradient(90deg, rgba(110,168,254,0.08), rgba(183,224,255,0.06));
	border-bottom: 1px solid rgba(0,0,0,0.04);
}
h1 { font-size: 1.8rem; margin-bottom: 0.25rem; }
.subtitle { color: #475569; }
main { flex: 1; padding: 2rem; max-width: 900px; margin: 0 auto; width: 100%; }
.homeworks { list-style: none; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 1rem; }
.card {
	display: block;
	background: #ffffff;
	padding: 1rem;
	border-radius: 10px;
	box-shadow: 0 6px 18px rgba(16,24,40,0.06);
	text-decoration: none;
	color: inherit;
	transition: transform .12s ease, box-shadow .12s ease;
}
.card:hover { transform: translateY(-4px); box-shadow: 0 10px 24px rgba(16,24,40,0.08); }
.card h2 { margin-bottom: 0.5rem; font-size: 1.1rem; }
.card p { color: #475569; font-size: 0.95rem; }
footer { padding: 1rem; text-align: center; color: #94a3b8; font-size: 0.9rem; border-top: 1px solid rgba(0,0,0,0.04); }

@media (max-width: 420px) {
	header { padding: 2rem 0.5rem; }
	h1 { font-size: 1.4rem; }
}
