*, *::before, *::after { box-sizing: border-box; }
:root {
  color-scheme: dark;
  --bg: #0f1115;
  --surface: #1a1d24;
  --surface-hover: #232733;
  --border: #2a2f3a;
  --text: #e6e8ec;
  --muted: #8a8f99;
  --accent: #7aa2f7;
}
html, body { margin: 0; padding: 0; }
body {
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Pretendard', 'Apple SD Gothic Neo', sans-serif;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1rem;
}
main {
  width: 100%;
  max-width: 720px;
}
h1 {
  margin: 0 0 .5rem;
  font-size: 1.75rem;
  letter-spacing: -.02em;
}
p.lead {
  margin: 0 0 2rem;
  color: var(--muted);
}
ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: .75rem;
}
a.card {
  display: flex;
  flex-direction: column;
  gap: .25rem;
  padding: 1rem 1.1rem;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 10px;
  color: inherit;
  text-decoration: none;
  transition: background .15s ease, border-color .15s ease, transform .15s ease;
}
a.card:hover, a.card:focus-visible {
  background: var(--surface-hover);
  border-color: var(--accent);
  transform: translateY(-1px);
  outline: none;
}
.icon { font-size: 1.4rem; line-height: 1; margin-bottom: .25rem; }
.name { font-weight: 600; }
.desc { font-size: .85rem; color: var(--muted); }
