/* 
   Market Ledger 
   Minimalist Institutional CSS
   v0.1
*/

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500&family=Libre+Baskerville:wght@400;700&display=swap');

:root {
    --bg-color: #ffffff;
    --text-color: #111111;
    --text-secondary: #333333;
    --border-color: #eeeeee;
    --max-width: 1000px;
    --spacing-unit: 1rem;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
    color: var(--text-color);
}

h1 {
    font-size: 2.5rem;
    letter-spacing: -0.02em;
    margin-bottom: 2rem;
}

h2 {
    font-size: 1.75rem;
    margin-top: 3rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

h3 {
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1.5rem;
    max-width: 42em; /* Optimal line length */
    color: var(--text-secondary);
}

ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
    max-width: 42em;
}

li {
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
}

a {
    color: var(--text-color);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
}

a:hover {
    border-bottom-color: var(--text-color);
}

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

/* Header */
header {
    padding: 3rem 0;
    margin-bottom: 3rem;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 1rem;
}

.logo {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--text-color);
    letter-spacing: -0.01em;
}

nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 2rem;
}

nav li {
    margin: 0;
}

nav a {
    font-size: 0.95rem;
    font-weight: 500;
}

/* Main Content */
main {
    min-height: 60vh;
    padding-bottom: 4rem;
}

.hero-section {
    margin-bottom: 4rem;
}

.lead {
    font-size: 1.25rem;
    line-height: 1.5;
    margin-bottom: 2rem;
}

.status-indicator {
    display: inline-block;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #666;
    margin-top: 1rem;
    border: 1px solid var(--border-color);
    padding: 0.25rem 0.75rem;
}

/* Sections */
section {
    margin-bottom: 4rem;
}

/* Footer */
footer {
    border-top: 1px solid var(--border-color);
    padding: 3rem 0;
    margin-top: 4rem;
    font-size: 0.875rem;
    color: #666;
}

.footer-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-logo {
    font-family: 'Libre Baskerville', serif;
    font-weight: 700;
    color: var(--text-color);
    margin-bottom: 0.5rem;
    display: block;
}

.disclaimer {
    max-width: 600px;
    font-size: 0.8rem;
    line-height: 1.5;
    color: #888;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        align-items: flex-start;
    }
    
    nav ul {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    h1 {
        font-size: 2rem;
    }
}
