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

:root {
    --color-bg: rgba(250, 250, 250, 0.91);
    --color-text: #000;
    --color-link: #676767;
    --color-link-hover: #000;
}

[data-theme="dark"] {
    --color-bg: #121212;
    --color-text: #e0e0e0;
    --color-link: #a0a0a0;
    --color-link-hover: #e0e0e0;
}

body {
    font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
    font-size: 13px;
    line-height: 1.9;
    color: var(--color-text);
    background-color: var(--color-bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    transition: background-color 0.3s, color 0.3s;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 60px 40px;
}

/* Header */
header {
    margin-bottom: 40px;
}

.header-row {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    gap: 0;
    margin-bottom: 0;
}

h1 {
    font-size: 38px;
    font-weight: 300;
    line-height: 1.4;
    margin-right: 30px;
}

.header-right {
    display: flex;
    flex-direction: column;
    gap: 2px;
    padding-top: 4px;
}

.header-right-top {
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-pic {
    width: 32px;
    height: 32px;
    object-fit: cover;
}

.nav-links {
    font-size: 13px;
    font-weight: 300;
    color: var(--color-text);
}

.nav-links a {
    font-size: 13px;
    font-weight: 300;
}

.tagline {
    font-size: 15px;
    font-weight: 600;
    text-align: left;
    line-height: 1.9;
}

/* Main Content */
main p {
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 13px;
    line-height: 1.9;
    font-weight: 300;
}

main ul {
    margin-left: 28px;
    margin-bottom: 10px;
}

main ul li {
    font-size: 13px;
    line-height: 1.9;
    font-weight: 300;
    margin-bottom: 0;
}

.intro {
    margin-bottom: 20px;
    font-size: 13px;
    font-weight: 300;
}

a {
    color: var(--color-link);
    text-decoration: underline;
    font-weight: 300;
    transition: color 0.3s;
}

a:hover {
    color: var(--color-link-hover);
}

strong {
    font-weight: 600;
}

/* Theme Toggle */
.theme-toggle {
    background: none;
    border: 1px solid var(--color-link);
    color: var(--color-text);
    font-family: inherit;
    font-size: 12px;
    font-weight: 300;
    padding: 4px 10px;
    cursor: pointer;
    border-radius: 4px;
    transition: border-color 0.3s, color 0.3s;
    margin-left: auto;
}

.theme-toggle:hover {
    border-color: var(--color-text);
}

/* Responsive */
@media (max-width: 600px) {
    .container {
        padding: 40px 20px;
    }

    .header-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .header-right {
        padding-top: 0;
    }

    h1 {
        font-size: 28px;
    }
}
