:root {
  --bg: #0b0f1a;
  --surface: #131a2b;
  --border: #223052;
  --text: #e8ecf5;
  --muted: #8b97b5;
  --accent: #5b8cff;
}

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

body {
  min-height: 100vh;
  background: radial-gradient(1200px 600px at 50% -10%, #17224a 0%, var(--bg) 60%);
  color: var(--text);
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
}

header, main, footer {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 16px;
}

header { padding-top: 72px; padding-bottom: 40px; text-align: center; }
header h1 { font-size: clamp(2rem, 6vw, 3.2rem); letter-spacing: -0.02em; }
header h1 span { color: var(--accent); }
header p { margin-top: 12px; color: var(--muted); font-size: 1.1rem; }

main { flex: 1; padding-bottom: 48px; }

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.card {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 24px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 16px;
  color: inherit;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.card:hover,
.card:focus-visible {
  transform: translateY(-4px);
  border-color: var(--accent);
  box-shadow: 0 12px 32px rgba(91, 140, 255, 0.18);
  outline: none;
}

.card .icon { font-size: 2rem; }
.card h2 { font-size: 1.4rem; }
.card .tagline { color: var(--accent); font-size: 0.9rem; font-weight: 600; }
.card .desc { color: var(--muted); flex: 1; }
.card .link { margin-top: 8px; font-size: 0.9rem; color: var(--text); }

footer { padding-top: 24px; padding-bottom: 32px; text-align: center; color: var(--muted); font-size: 0.85rem; }
