:root {
    --bg: #161b22;
    --text: #e6edf3;
    --muted: #9aa6b2;
    --max-width: 900px;
}

html {
    overflow-y: scroll;
}

html,
body {
    height: 100%;
    margin: 0;
    font-family: Inter, system-ui, Helvetica, Arial;
}

body {
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
}

.site-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: var(--max-width);
    margin: 0 auto;
}

.site-title a {
    color: var(--text);
    text-decoration: none;
    font-weight: 600;
    opacity: 1;
}

.site-nav a {
    color: var(--muted);
    margin-left: 1rem;
    text-decoration: none;
}

.content {
    max-width: var(--max-width);
    margin: 2rem auto;
    padding: 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.01), transparent);
    border-radius: 8px;
}

.site-footer {
    max-width: var(--max-width);
    margin: 2rem auto;
    padding: 1rem;
    color: var(--muted);
    font-size: 0.95rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    margin: 0;
}

.footer-icons {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

a {
    color: var(--text);
    opacity: 0.95;
    transition: opacity 0.2s ease;
}

a:hover {
    opacity: 1;
}

/* Icon link styles */
.icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    margin: 0;
    transition: opacity 0.2s ease;
    vertical-align: middle;
}

.icon-link:hover {
    opacity: 1;
}

.icon {
    width: 20px;
    height: 20px;
    color: var(--muted);
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.icon:not([src]) {
    width: 22px;
    height: 22px;
}

.icon[src$=".svg"] {
    filter: brightness(0) saturate(100%) invert(60%) sepia(5%) saturate(1200%) hue-rotate(170deg) brightness(90%) contrast(90%);
    width: 26px;
    height: 26px;
}

.icon-link:hover .icon {
    opacity: 1;
}
