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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background: #0f1117;
  color: #e1e4e8;
  min-height: 100vh;
}

.container {
  max-width: 720px;
  margin: 0 auto;
  padding: 3rem 1.5rem;
}

header {
  text-align: center;
  margin-bottom: 3rem;
}

header h1 {
  font-size: 2rem;
  font-weight: 600;
  color: #f0f0f0;
}

.tagline {
  color: #8b949e;
  margin-top: 0.25rem;
  font-size: 0.95rem;
}

section {
  margin-bottom: 2.5rem;
}

section h2 {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #8b949e;
  margin-bottom: 0.5rem;
}

.section-note {
  font-size: 0.75rem;
  color: #6e7681;
  margin-bottom: 0.5rem;
}

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

.card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  padding: 1.25rem 0.75rem;
  background: #161b22;
  border: 1px solid #30363d;
  border-radius: 8px;
  text-decoration: none;
  color: #e1e4e8;
  transition: border-color 0.15s, background 0.15s;
}

.card:hover {
  border-color: #58a6ff;
  background: #1c2230;
}

.card .icon {
  font-size: 1.75rem;
}

.card .name {
  font-weight: 500;
  font-size: 0.95rem;
}

.card .desc {
  font-size: 0.75rem;
  color: #8b949e;
  text-align: center;
}

.card.protected {
  border-style: dashed;
}

.card.protected .name::after {
  content: " 🔒";
  font-size: 0.7rem;
}

footer {
  text-align: center;
  color: #484f58;
  font-size: 0.75rem;
  margin-top: 3rem;
}

@media (max-width: 480px) {
  .container {
    padding: 2rem 1rem;
  }

  .grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
