:root {
  --primary: #2563eb;
  --bg: #f8fafc;
  --card: #ffffff;
  --text: #1f2937;
  --muted: #6b7280;
}

* {
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
}

.container {
  max-width: 1100px;
  margin: auto;
  padding: 40px 20px;
}

.header {
  text-align: center;
  margin-bottom: 40px;
}

.header h1 {
  font-size: 2.2rem;
  margin-bottom: 10px;
}

.header p {
  color: var(--muted);
  max-width: 700px;
  margin: auto;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  background: var(--card);
  border-radius: 14px;
  padding: 22px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
  transition: transform 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
}

.card h2 {
  font-size: 1.2rem;
  margin-bottom: 14px;
  color: var(--primary);
}

.card ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.card li {
  margin-bottom: 12px;
}

.card a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}

.card a span {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
}

.footer-note {
  margin-top: 50px;
  background: #e0e7ff;
  border-radius: 14px;
  padding: 25px;
  text-align: center;
}

.footer-note a {
  color: var(--primary);
  font-weight: 600;
  text-decoration: none;
}

@media (max-width: 600px) {
  .header h1 {
    font-size: 1.8rem;
  }
}