@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Inter';
    font-style: normal;
    font-weight: 400;
    src: url('./fonts/inter-v19-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

/* ubuntu-regular - latin */
@font-face {
    font-display: swap; /* Check https://developer.mozilla.org/en-US/docs/Web/CSS/@font-face/font-display for other options. */
    font-family: 'Ubuntu';
    font-style: normal;
    font-weight: 400;
    src: url('./fonts/ubuntu-v20-latin-regular.woff2') format('woff2'); /* Chrome 36+, Opera 23+, Firefox 39+, Safari 12+, iOS 10+ */
}

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

body {
    font-family: "Ubuntu", "Inter", "Crimson Text", "Libre Baskerville", Georgia, serif;
    line-height: 1.6;
    color: #2a2a2a;
    background: #fafafa;
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: #1a1a1a;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2rem;
    font-weight: 400;
    margin: 2.5rem 0 0.5rem 0;
    color: #1a1a1a;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
    font-weight: 500;
    margin: 2rem 0 0.5rem 0;
    color: #2a2a2a;
}

h4 {
    font-size: 1.25rem;
    font-weight: 500;
    margin: 1.5rem 0 0.5rem 0;
    color: #2a2a2a;
}

h5, h6 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 1.25rem 0 0.5rem 0;
    color: #3a3a3a;
}

p {
    font-size: 1.0rem;
    margin-bottom: 1.5rem;
    color: #4a4a4a;
}

ul, ol {
    margin: 0.1rem 0;
    padding-left: 2rem;
}

li {
    margin-bottom: 0.1rem;
    color: #4a4a4a;
    line-height: 1.6;
}

blockquote {
    margin: 2rem 0;
    padding: 1rem 1.5rem;
    border-left: 3px solid #e0e0e0;
    background: #f8f8f8;
    font-style: italic;
    color: #5a5a5a;
    font-style: normal !important;
}

a {
    color: #2563eb;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

a:hover {
    border-bottom-color: #2563eb;
}

strong {
    font-weight: 600;
    color: #2a2a2a;
}

em {
    font-style: italic;
}

code {
    font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
    font-size: 0.9em;
    background: #f5f5f5;
    padding: 0.2em 0.4em;
    border-radius: 3px;
    color: #c7254e;
}

hr {
    border: none;
    border-top: 1px solid #e0e0e0;
    margin: 3rem 0;
}

@media (prefers-color-scheme: dark) {
    body {
        background: #0f0f0f;
        color: #e0e0e0;
    }
    
    h1, h2 {
        color: #ffffff;
    }
    
    h3, h4 {
        color: #e0e0e0;
    }
    
    h5, h6 {
        color: #d0d0d0;
    }
    
    p, li {
        color: #c0c0c0;
    }
    
    blockquote {
        background: #1a1a1a;
        border-left-color: #333;
        color: #b0b0b0;
    }
    
    a {
        color: #60a5fa;
    }
    
    a:hover {
        border-bottom-color: #60a5fa;
    }
    
    strong {
        color: #e0e0e0;
    }
    
    code {
        background: #1a1a1a;
        color: #ff6b6b;
    }
    
    hr {
        border-top-color: #333;
    }
}