.project-page {
    max-width: 900px;
}

.project-home-link {
    display: inline-block;
    margin: 0.5rem 0 1.5rem;
    font-weight: 600;
}

.project-hero {
    padding: 2rem 1.5rem;
    margin-bottom: 2rem;
    background: #1e1e1e;
    border: 1px solid rgba(187, 134, 252, 0.28);
    border-radius: 16px;
}

body.light-theme .project-hero,
body.light-theme .project-card {
    background: #f7f4fb;
    border-color: #e2d4f5;
}

.project-hero h1 {
    color: #bb86fc;
    margin-bottom: 1rem;
}

.project-lede {
    font-size: 1.15rem;
    max-width: 48rem;
    margin: 0 auto 1rem;
}

.project-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 1.5rem;
}

.project-actions .cta-button {
    margin-top: 0;
}

.project-secondary-button {
    display: inline-block;
    padding: 0.75rem 1.25rem;
    border: 2px solid #bb86fc;
    border-radius: 2rem;
    font-weight: 600;
}

.project-section {
    margin: 2rem 0;
    text-align: left;
}

.project-section h2 {
    margin-bottom: 0.75rem;
    color: #bb86fc;
}

.project-section h3 {
    margin: 1.25rem 0 0.5rem;
}

.project-section p,
.project-section li {
    margin-bottom: 0.75rem;
}

.project-section ul,
.project-section ol {
    padding-left: 1.4rem;
}

.project-card {
    padding: 1rem 1.25rem;
    margin: 1rem 0;
    background: #1e1e1e;
    border-left: 4px solid #bb86fc;
    border-radius: 8px;
}

.project-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
    padding: 0;
    margin: 1rem 0 0;
}

.project-meta li {
    margin: 0;
    padding: 0.3rem 0.7rem;
    border: 1px solid #777;
    border-radius: 999px;
    font-size: 0.9rem;
}

.project-repo-link {
    font-weight: 600;
}

@media (max-width: 600px) {
    .project-hero {
        padding: 1.5rem 1rem;
    }

    .project-actions {
        flex-direction: column;
    }

    .project-actions a {
        text-align: center;
    }
}
