body {
    margin: 0;
    padding: 0;
    font-family:
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        Roboto,
        sans-serif;
    background-color: #fff;
    color: #030712;
    line-height: 1.6;
    animation: fadeIn 0.8s ease; /* subtle fade-in */
}

main {
    max-width: 33%;
    min-width: 300px;
    margin: 5rem auto;
}

/* Headings */
h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    line-height: 1.3;
}

h2 {
    font-size: 1.4rem;
    margin-top: 2rem;
    line-height: 1.4;
}

/* Paragraphs */
p {
    margin-bottom: 1rem;
    color: #4b5563;
}

.intro {
    font-size: 1.2rem;
    font-weight: 400;
    color: #111827;
}

.intro span {
    font-weight: bold;
    color: #030712;
}

.intro span img {
    height: 24px;
    vertical-align: top;
    margin-right: 1px;
}

span.icon {
    font-weight: normal;
    display: inline-block;
    transition: transform 0.2s ease;
    margin-right: 2px;
}

span.icon:hover {
    transform: scale(1.05);
    cursor: pointer;
}

span.icon img {
    vertical-align: middle;
    margin-top: -2px;
}

span.events {
    color: #4338ca;
}

span.announce {
    color: #be185d;
}

span.files {
    color: #1d4ed8;
}

span.discuss {
    color: #16a34a;
}

/* Features list */
ul#feature-list {
    list-style: none;
    padding: 0;
}

ul#feature-list li {
    margin-bottom: 0.8rem;
    color: #9ca3af; /* inactive state */
    transition:
        color 0.4s ease,
        font-weight 0.4s ease;
}

ul#feature-list li.active {
    color: #111827;
    font-weight: 500;
    transform: scale(1.02);
    transition:
        transform 0.3s ease,
        color 0.4s ease,
        font-weight 0.4s ease;
}

ul#feature-list li:hover {
    color: #111827;
    font-weight: 500;
    cursor: pointer;
}

/* Links */
a {
    color: #2563eb;
    text-decoration: underline;
}

a:hover {
    color: #1d4ed8;
}

.changelog {
    margin: 1rem auto;
    max-width: 600px;
    font-family: system-ui, sans-serif;
}

.changelog ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.changelog li {
    padding: 0.5rem 0;
    display: flex;
    flex-wrap: wrap;
}

.changelog .date {
    color: #6b7280;
    margin-right: 0.5rem;
    min-width: 150px;
    margin-top: 1px;
}

.changelog .update {
    color: #030712;
    font-size: 1.1rem;
    font-weight: 500;
}

/* Footer */
footer {
    margin-top: 10vh;
    padding: 1rem 0;
    border-top: 1px solid #f3f4f6;
    color: #9ca3af;
}

/* Responsive */
@media (max-width: 768px) {
    main {
        max-width: 90%;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
