/* Long Arc — clean, scientific, trust-building */

:root {
    --bg: #0a0e1a;
    --bg-card: #111827;
    --text: #e2e8f0;
    --text-muted: #94a3b8;
    --accent: #3b82f6;
    --accent-dim: #1e3a5f;
    --border: #1e293b;
    --mono: 'JetBrains Mono', monospace;
    --sans: 'Inter', -apple-system, sans-serif;
}

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

html {
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.7;
}

/* ── Navigation ── */

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.5rem 1rem;
}

.nav-logo {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text);
    text-decoration: none;
    letter-spacing: 0.02em;
}

.nav-links {
    display: flex;
    gap: 1.5rem;
}

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

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

/* ── Main content ── */

main {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 1.5rem 4rem;
}

/* ── Hero ── */

.hero {
    padding: 4rem 0 2rem;
    border-bottom: 1px solid var(--border);
    margin-bottom: 2.5rem;
}

.hero h1 {
    font-size: 3rem;
    font-weight: 600;
    letter-spacing: -0.02em;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-muted);
    font-weight: 400;
}

/* ── Manifesto ── */

.manifesto {
    margin-bottom: 3rem;
}

.manifesto p {
    margin-bottom: 1.25rem;
    color: var(--text-muted);
    font-size: 1.05rem;
}

/* ── Fund cards ── */

.funds-overview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

@media (max-width: 640px) {
    .funds-overview {
        grid-template-columns: 1fr;
    }
}

.fund-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.75rem;
}

.fund-card h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.fund-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 1.25rem;
}

.fund-metrics {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 1.25rem;
}

.metric {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-family: var(--mono);
    font-size: 1.3rem;
    font-weight: 500;
    color: var(--text);
}

.metric-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.fund-link {
    color: var(--accent);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.fund-link:hover {
    text-decoration: underline;
}

.vault-link {
    display: block;
    margin-top: 0.5rem;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ── Article pages ── */

article {
    padding-top: 2rem;
}

article h1 {
    font-size: 2rem;
    font-weight: 600;
    letter-spacing: -0.01em;
    margin-bottom: 1.5rem;
}

article h2 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border);
}

article p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

article strong {
    color: var(--text);
    font-weight: 500;
}

article ul, article ol {
    margin-bottom: 1rem;
    padding-left: 1.5rem;
    color: var(--text-muted);
}

article li {
    margin-bottom: 0.4rem;
}

article em {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* ── Tables ── */

table {
    width: 100%;
    border-collapse: collapse;
    margin: 1rem 0 1.5rem;
    font-size: 0.95rem;
}

th {
    text-align: left;
    padding: 0.6rem 1rem;
    border-bottom: 2px solid var(--border);
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

td {
    padding: 0.5rem 1rem;
    border-bottom: 1px solid var(--border);
}

/* Right-align numeric columns */
td:last-child, th:last-child {
    text-align: right;
    font-family: var(--mono);
}

/* ── Footer ── */

footer {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ── Code blocks ── */

code {
    font-family: var(--mono);
    font-size: 0.9em;
    background: var(--bg-card);
    padding: 0.15em 0.4em;
    border-radius: 3px;
}

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

pre code {
    background: none;
    padding: 0;
}
