/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@import url('https://fonts.googleapis.com/css2?family=Inter:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    /* Light mode colors */
    --bg-primary: #fafafa;
    --bg-content: #fff;
    --text-primary: #1a1a1a;
    --text-secondary: #333;
    --link-color: #1a1a1a;
    --link-border: #ccc;
    --link-hover: #000;
}

@media (prefers-color-scheme: dark) {
    :root {
        /* Dark mode colors */
        --bg-primary: #0a0a0a;
        --bg-content: #1a1a1a;
        --text-primary: #e0e0e0;
        --text-secondary: #b0b0b0;
        --link-color: #e0e0e0;
        --link-border: #666;
        --link-hover: #fff;
    }
}

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.7;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    font-size: 16px;
    scroll-behavior: smooth;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.container {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Main Content */
main.content {
    min-height: 100vh;
    background-color: var(--bg-content);
    padding: 4rem 0 6rem;
    position: relative;
    transition: background-color 0.3s ease;
}

.content h1 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 3rem;
    font-weight: 400;
    margin-bottom: 3rem;
    color: var(--text-primary);
    letter-spacing: -1px;
    line-height: 1.1;
    text-align: left;
    transition: color 0.3s ease;
}

.content p {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
    font-weight: 400;
    transition: color 0.3s ease;
}

.content p:last-child {
    margin-bottom: 0;
}

.content a {
    color: var(--link-color);
    text-decoration: none;
    border-bottom: 1px solid var(--link-border);
    transition: all 0.3s ease;
}

.content a:hover {
    border-bottom-color: var(--link-hover);
    color: var(--link-hover);
}

/* Responsive Design */
@media (max-width: 768px) {
    .content h1 {
        font-size: 2.5rem;
        margin-bottom: 2rem;
    }
    
    .content p {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .content {
        padding: 3rem 0 4rem;
    }
    
    .container {
        padding: 0 1.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .content h1 {
        font-size: 2rem;
    }
    
    .content p {
        font-size: 0.95rem;
    }
}