
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;1,400&family=Open+Sans:wght@600;700&display=swap');

/* --- Global & Color Palette --- */
:root {
    --bg-color: #1f2023;       /* Deep charcoal, not pure black */
    --text-color: #e8e6e3;     /* Soft, warm off-white */
    --heading-color: #ffffff;  /* Pure white for sharp headings */
    --accent-color: #7bb0ff;   /* A pleasant, readable blue for links */
    --border-color: #3a3b3f;   /* Subtle border for separation */
}

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'EB Garamond', 'Iowan Old Style', 'Apple Garamond', 'URW Garamond L', 'Palatino', serif;
    font-size: 1.125rem;
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;

    display: flex;
    justify-content: center;
    padding: 40px 20px;
}

.container {
    max-width: 720px;
    width: 100%;
}

/* --- Navigation --- */
header {
    margin-bottom: 60px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
}

nav {
    font-family: 'Open Sans', 'Helvetica Neue', 'Arial', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

nav a {
    color: var(--text-color);
    text-decoration: none;
    margin-right: 25px;
    transition: color 0.2s ease-in-out;
}

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

nav a.active {
    color: var(--heading-color);
    font-weight: 700;
}

/* --- Typography --- */
h1, h2, h3 {
    font-family: 'Open Sans', 'Helvetica Neue', 'Arial', sans-serif;
    font-weight: 700;
    color: var(--heading-color);
    line-height: 1.3;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}

h1 { font-size: 2.5rem; letter-spacing: -0.02em; }
h2 { font-size: 1.75rem; }
h3 { font-size: 1.25rem; }

p {
    margin-bottom: 1.5rem;
}

strong {
    font-weight: bold;
    color: var(--heading-color);
}

/* --- Links & Lists --- */
a {
    color: var(--accent-color);
    text-decoration: none;
    transition: all 0.2s ease-in-out;
}

a:hover {
    color: var(--heading-color);
    text-decoration: underline;
}

ul {
    padding-left: 25px;
    list-style-type: disc;
}

li {
    margin-bottom: 1rem;
    padding-left: 5px;
}

li::marker {
    color: var(--accent-color);
}

/* --- Miscellaneous --- */
hr {
    border: 0;
    border-top: 1px solid var(--border-color);
    margin: 3rem auto;
}
