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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    line-height: 1.6;
    color: #222;
    background: #fafafa;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    padding: 3rem 1rem;
}

main {
    max-width: 52rem;
    width: 100%;
}

h1 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
    text-align: center;
}

.tagline {
    color: #555;
    margin-bottom: 2rem;
    text-align: center;
}

nav ul {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem 1.5rem;
    margin-bottom: 3rem;
}

nav a {
    color: #0366d6;
    text-decoration: none;
    font-size: 1.05rem;
}

nav a:hover {
    text-decoration: underline;
}

.projects + .projects {
    margin-top: 3rem;
}

.projects h2 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.5rem;
}

.category {
    margin-bottom: 2rem;
}

.category h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 0.5rem;
}

.repo-list {
    list-style: none;
    margin-left: 0;
}

.repo-list li {
    padding: 0.3rem 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

.repo-list a {
    color: #0366d6;
    text-decoration: none;
    font-weight: 500;
}

.repo-list a:hover {
    text-decoration: underline;
}

.stars {
    color: #b08800;
    font-size: 0.85rem;
}
