/* Shared base styles: header, nav, footer, tokens. Used by blog posts and 404. */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #0f172a;
    --accent: #0ea5e9;
    --accent-dark: #0284c7;
    --text: #334155;
    --text-light: #64748b;
    --bg: #ffffff;
    --bg-light: #f8fafc;
    --border: #e2e8f0;
    --success: #10b981;
}

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

img {
    max-width: 100%;
    height: auto;
}

header {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.nav-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--primary);
    display: flex;
    align-items: center;
    gap: 0.6rem;
    text-decoration: none;
}

.logo-rose {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    object-fit: cover;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

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

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

.nav-cta {
    background: var(--accent);
    color: white !important;
    padding: 0.6rem 1.2rem;
    border-radius: 6px;
    font-weight: 600;
    transition: background 0.2s;
}

.nav-cta:hover {
    background: var(--accent-dark);
}

.mobile-menu {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

.breadcrumbs {
    max-width: 800px;
    margin: 0 auto;
    padding: 1rem 1.5rem 0;
    font-size: 0.85rem;
    color: var(--text-light);
}

.breadcrumbs a {
    color: var(--text-light);
}

.key-takeaways {
    background: var(--bg-light);
    border-left: 4px solid var(--accent);
    border-radius: 6px;
    padding: 1.25rem 1.5rem;
    margin: 0 0 2rem;
}

.key-takeaways h2 {
    font-size: 1.1rem !important;
    margin: 0 0 0.5rem !important;
}

.key-takeaways ul {
    margin: 0;
    padding-left: 1.2rem;
}

footer {
    background: var(--primary);
    color: rgba(255,255,255,0.6);
    padding: 2rem 1.5rem;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    list-style: none;
    flex-wrap: wrap;
}

.footer-links a {
    color: rgba(255,255,255,0.6);
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.footer-copy {
    font-size: 0.85rem;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu {
        display: block;
    }

    .nav-links.active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--bg);
        border-bottom: 1px solid var(--border);
        padding: 1.5rem;
        gap: 1rem;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
    }
}
