@import url('https://fonts.googleapis.com/css2?family=Instrument+Serif&family=Outfit:wght@300;400;500;600&display=swap');

:root {
    --bg: #FAF7F2;
    --bg-alt: #F0EAE0;
    --text: #1C1917;
    --text-muted: #78716C;
    --accent: #B45C3A;
    --accent-hover: #9A4E31;
    --surface: #FFFFFF;
    --border: #E7E0D8;
}

body {
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--bg);
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3 { font-family: 'Instrument Serif', Georgia, serif; }

/* ─── NAV ─── */
.page-nav {
    background: rgba(250,247,242,0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    padding: 16px 0;
}
.page-nav a { text-decoration: none; }
.page-nav .nav-brand {
    font-family: 'Instrument Serif', Georgia, serif;
    font-size: 1.6rem;
    color: var(--text);
}
.page-nav .nav-links { display: flex; gap: 20px; align-items: center; }
.page-nav .nav-links a {
    color: var(--text-muted);
    font-size: 0.92rem;
    font-weight: 500;
    transition: color 0.2s;
}
.page-nav .nav-links a:hover { color: var(--text); }

/* ─── ARTICLE / TOPIC CONTENT ─── */
article, .topic-content {
    max-width: 680px;
    margin: 0 auto;
    padding: 100px 20px 80px;
}
article h1, .topic-content h1 {
    font-size: 2.4rem;
    font-weight: 400;
    line-height: 1.2;
    margin-bottom: 16px;
}
article h2, .topic-content h2 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-top: 48px;
    margin-bottom: 16px;
}
article h3, .topic-content h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.15rem;
    font-weight: 600;
    margin-top: 32px;
    margin-bottom: 10px;
}
article p, .topic-content p {
    margin-bottom: 20px;
}
.subtitle { color: var(--text-muted); font-size: 1.1rem; margin-bottom: 32px; }
.publish-date { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 40px; }
.empathy { font-size: 1.15rem; color: var(--text-muted); }

/* ─── COMPONENTS ─── */
.tldr, .insight-block {
    background: var(--bg-alt);
    border-left: 4px solid var(--accent);
    padding: 20px 24px;
    margin: 32px 0;
    border-radius: 0 8px 8px 0;
}
.tldr p, .insight-block p { margin-bottom: 0; }

.step-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 24px;
    margin-bottom: 16px;
}
.step-num {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    width: 28px; height: 28px;
    border-radius: 50%;
    text-align: center;
    line-height: 28px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 10px;
}

blockquote {
    border-left: 3px solid var(--accent);
    padding-left: 20px;
    margin: 28px 0;
    color: var(--text-muted);
    font-style: italic;
}

/* ─── CTA ─── */
.cta-box {
    background: var(--bg-alt);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 32px;
    margin: 48px 0;
    text-align: center;
}
.cta-box h3 { margin-top: 0; }
.cta-btn {
    display: inline-block;
    background: var(--accent);
    color: #fff;
    padding: 12px 32px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background 0.2s;
}
.cta-btn:hover { background: var(--accent-hover); color: #fff; }

/* ─── FAQ ─── */
.faq-section { margin-top: 48px; }
.faq-item { border-bottom: 1px solid var(--border); padding: 20px 0; }
.faq-item:last-child { border-bottom: none; }
.faq-q { font-weight: 600; margin-bottom: 8px; }
.faq-a { color: var(--text-muted); margin-bottom: 0; }

/* ─── LINKS ─── */
article a, .topic-content a, .related-section a {
    color: var(--accent);
    font-weight: 600;
    text-decoration: none;
}
article a:hover, .topic-content a:hover, .related-section a:hover { text-decoration: underline; }

/* ─── FOOTER ─── */
.page-footer {
    background: #0C0A09;
    color: #78716C;
    text-align: center;
    padding: 40px 24px;
    font-size: 0.82rem;
}
.page-footer a { color: #A8A29E; text-decoration: none; }
.page-footer a:hover { color: #D6D3D1; }
.page-footer .footer-links span { margin: 0 8px; color: #44403C; }
