:root {
    --bg-primary: #ffffff;
    --bg-secondary: #f7f6f3;
    --text-primary: #37352f;
    --text-secondary: #787774;
    --accent: #37352f;
    --border: #e9e9e7;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'SF Pro Display', 'SF Pro Text', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--bg-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

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

.page-header {
    text-align: center;
    padding: 0;
    margin-bottom: 3rem;
    border-bottom: 1px solid var(--border);
}

.project-name {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.project-name a {
    color: var(--text-primary);
    text-decoration: none;
}

.project-name a:hover {
    opacity: 0.7;
}

.project-tagline {
    color: var(--text-secondary);
    font-size: 1rem;
}

.main-content {
    margin-bottom: 4rem;
}

h1, h2, h3, h4, h5, h6 {
    color: var(--text-primary);
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.3;
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-top: 0;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 1.5rem;
}

p {
    color: var(--text-primary);
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

a {
    color: var(--accent);
    text-decoration: underline;
    transition: opacity 0.2s;
}

a:hover {
    opacity: 0.7;
}

code {
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 0.2em 0.4em;
    border-radius: 3px;
    font-size: 0.9em;
    font-family: 'SF Mono', 'Monaco', 'Inconsolata', 'Roboto Mono', monospace;
}

pre {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 6px;
    padding: 1rem;
    overflow-x: auto;
    margin: 1.5rem 0;
}

pre code {
    background: transparent;
    padding: 0;
    font-size: 0.875rem;
    line-height: 1.5;
}

ul, ol {
    margin-left: 1.5rem;
    margin-bottom: 1rem;
}

li {
    margin-bottom: 0.5rem;
    line-height: 1.6;
}

strong {
    font-weight: 600;
}

em {
    font-style: italic;
    color: var(--text-secondary);
}

footer {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid var(--border);
    margin-top: 4rem;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    color: var(--text-secondary);
    transition: color 0.2s;
    text-decoration: none;
}

.social-links a:hover {
    color: var(--text-primary);
}

.social-links svg {
    width: 18px;
    height: 18px;
}

footer p {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin: 0;
}

@media (max-width: 768px) {
    .container {
        padding: 1.5rem;
    }

    .project-name {
        font-size: 1.75rem;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    h3 {
        font-size: 1.5rem;
    }
}
