:root {
    --bg-color: #fdfdfb;
    --text-color: #1a1a1a;
    --accent-color: #8b0000; /* Deep red for a serious tone */
    --muted-color: #666;
    --border-color: #eee;
    --font-serif: 'Crimson Pro', serif;
    --font-sans: 'Inter', sans-serif;
    --max-width: 700px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: var(--font-serif);
    font-size: 1.25rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 2rem;
}

nav {
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
    margin-bottom: 4rem;
}

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

.logo {
    font-family: var(--font-sans);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-decoration: none;
    color: var(--text-color);
    font-size: 0.9rem;
}

.nav-links a {
    font-family: var(--font-sans);
    font-size: 0.9rem;
    text-decoration: none;
    color: var(--muted-color);
    margin-left: 1.5rem;
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--accent-color);
}

article {
    margin-bottom: 6rem;
}

h1, h2, h3, h4 {
    font-family: var(--font-sans);
    line-height: 1.2;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    color: #000;
}

h1 {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 2rem;
    border-bottom: 4px solid var(--accent-color);
    display: inline-block;
    padding-bottom: 0.5rem;
}

h2 {
    font-size: 1.8rem;
    font-weight: 700;
    margin-top: 4rem;
    color: var(--accent-color);
}

h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 2rem;
}

p {
    margin-bottom: 1.5rem;
}

a {
    color: var(--accent-color);
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
}

a:hover {
    color: #000;
}

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

li {
    margin-bottom: 0.5rem;
}

footer {
    padding: 4rem 0;
    border-top: 1px solid var(--border-color);
    color: var(--muted-color);
    font-family: var(--font-sans);
    font-size: 0.8rem;
    text-align: center;
}

/* Responsive */
@media (max-width: 600px) {
    body {
        font-size: 1.1rem;
    }
    h1 {
        font-size: 2.2rem;
    }
    .container {
        padding: 0 1.5rem;
    }
}
