/* Sections */
section {
    padding: 64px 0;
    border-bottom: 1px solid #e5e5e5;
}

section:last-of-type {
    border-bottom: none;
}

h1 {
    font-size: 2.4rem;
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 32px;
}

h3 {
    font-size: 1.05rem;
    font-weight: 600;
}

/* Hero */
#hero .tagline {
    font-size: 1.2rem;
    color: #555;
    margin: 12px 0 20px;
}

#hero p {
    font-size: 1rem;
    color: #444;
    max-width: 560px;
}

/* Skills */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 24px;
}

.skill-group h3 {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #888;
    margin-bottom: 8px;
}

.skill-group p {
    font-size: 0.95rem;
    color: #333;
}

/* Project cards */
.project-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 20px;
    margin-bottom: 32px;
}

.card {
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 24px;
    background: #fff;
}

.card h3 {
    margin-bottom: 8px;
}

.card p {
    font-size: 0.9rem;
    color: #555;
    margin-bottom: 16px;
}

.card-links a {
    font-size: 0.85rem;
    text-decoration: none;
    border-radius: 4px;
    padding: 4px 10px;
    margin-right: 8px;
    display: inline-block;
}

.card-links a.btn-demo {
    background: #2563eb;
    color: #fff;
    border: 1px solid #2563eb;
}

.card-links a.btn-demo:hover {
    background: #1d4ed8;
    border-color: #1d4ed8;
}

.card-links a.btn-repo {
    color: #1a1a1a;
    border: 1px solid #d0d0d0;
    background: transparent;
}

.card-links a.btn-repo:hover {
    background: #f0f0f0;
}

/* Blog list */
.blog-list {
    list-style: none;
    margin-bottom: 32px;
}

.blog-list li {
    padding: 20px 0;
    border-bottom: 1px solid #f0f0f0;
}

.blog-list li:last-child {
    border-bottom: none;
}

.blog-list .post-meta {
    font-size: 0.8rem;
    color: #888;
    margin-bottom: 4px;
}

.blog-list h3 a {
    text-decoration: none;
    color: #1a1a1a;
}

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

.blog-list .excerpt {
    font-size: 0.9rem;
    color: #555;
    margin-top: 4px;
}

.empty-state {
    color: #888;
    font-size: 0.95rem;
    font-style: italic;
}

/* See-all link */
.see-all {
    font-size: 0.9rem;
    text-decoration: none;
    color: #1a1a1a;
    font-weight: 500;
}

.see-all:hover {
    text-decoration: underline;
}

@media (max-width: 600px) {
    h1 {
        font-size: 1.8rem;
    }

    section {
        padding: 48px 0;
    }
}

a.btn-repo.disabled {
    pointer-events: none;
    color: lightgrey;
    cursor: default;
}
