:root {
    --bronze: #c7915b;
    --brown: #83542e;
    --dark: #1a1a1a;
    --cream: #faf8f5;
    --warm-gray: #f5f0eb;
    --text: #2d2d2d;
    --text-light: #6b6b6b;
    --white: #ffffff;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    font-family: 'DM Sans', -apple-system, BlinkMacSystemFont, sans-serif;
    color: var(--text);
    background: var(--white);
    line-height: 1.8;
}
h1, h2, h3, h4 { font-family: 'Wix Madefor Display', sans-serif; line-height: 1.3; }

/* Site Nav */
.site-nav {
    position: sticky; top: 0; z-index: 100;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(199,145,91,0.12);
    padding: 14px 32px;
    display: flex; align-items: center; justify-content: space-between;
}
.site-nav-logo img { height: 36px; }
.site-nav-links {
    display: flex; gap: 28px; list-style: none; align-items: center;
}
.site-nav-links a {
    text-decoration: none; color: var(--text);
    font-weight: 500; font-size: 14px; transition: color 0.2s;
}
.site-nav-links a:hover { color: var(--bronze); }
.site-nav-cta {
    background: var(--bronze) !important; color: var(--white) !important;
    padding: 8px 22px; border-radius: 9999px; font-weight: 600 !important;
    font-size: 13px !important; transition: background 0.2s;
}
.site-nav-cta:hover { background: var(--brown) !important; }
.site-nav-toggle {
    display: none; background: none; border: none; cursor: pointer; padding: 8px;
}
.site-nav-toggle span {
    display: block; width: 22px; height: 2px; background: var(--text);
    margin: 5px 0; transition: all 0.3s;
}
@media (max-width: 640px) {
    .site-nav { padding: 12px 20px; }
    .site-nav-links { display: none; }
    .site-nav-links.open {
        display: flex; flex-direction: column;
        position: absolute; top: 100%; left: 0; right: 0;
        background: var(--white); padding: 20px; gap: 14px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.08);
        border-bottom: 1px solid rgba(199,145,91,0.12);
    }
    .site-nav-toggle { display: block; }
}

/* Article */
article {
    max-width: 720px; margin: 0 auto; padding: 48px 24px 60px;
}
.article-meta {
    margin-bottom: 32px;
}
.article-meta .category {
    display: inline-block; background: rgba(199,145,91,0.1); color: var(--brown);
    font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px;
    padding: 4px 12px; border-radius: 100px; margin-bottom: 16px;
}
.article-meta h1 {
    font-size: 36px; font-weight: 800; color: var(--dark);
    margin-bottom: 16px; letter-spacing: -0.5px;
}
.article-meta .subtitle {
    font-size: 18px; color: var(--text-light); line-height: 1.6; margin-bottom: 16px;
}
.article-meta .byline {
    font-size: 14px; color: var(--text-light);
    display: flex; align-items: center; gap: 8px;
}
.article-meta .byline strong { color: var(--text); }
.article-meta .byline .sep { color: #d0d0d0; }

/* Table of Contents */
.toc {
    background: var(--cream); border-radius: 12px; padding: 24px 28px;
    margin-bottom: 40px; border: 1px solid rgba(199,145,91,0.12);
}
.toc h3 {
    font-size: 14px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; color: var(--text-light); margin-bottom: 12px;
}
.toc ol {
    list-style: none; counter-reset: toc;
}
.toc ol li {
    counter-increment: toc; margin-bottom: 8px;
}
.toc ol li::before {
    content: counter(toc) "."; color: var(--bronze); font-weight: 700;
    margin-right: 8px; font-size: 14px;
}
.toc a {
    color: var(--text); text-decoration: none; font-size: 15px; font-weight: 500;
    transition: color 0.2s;
}
.toc a:hover { color: var(--bronze); }

/* Content */
article h2 {
    font-size: 26px; font-weight: 700; color: var(--dark);
    margin: 48px 0 16px; padding-top: 8px;
}
article h3 {
    font-size: 20px; font-weight: 600; color: var(--dark);
    margin: 32px 0 12px;
}
article p {
    font-size: 16px; margin-bottom: 20px; color: var(--text);
}
article ul, article ol {
    margin: 0 0 20px 24px; font-size: 16px;
}
article li {
    margin-bottom: 8px; color: var(--text);
}
article strong { color: var(--dark); }
article a { color: var(--bronze); text-decoration: underline; text-underline-offset: 2px; }
article a:hover { color: var(--brown); }

/* Callout boxes */
.callout {
    background: var(--cream); border-left: 4px solid var(--bronze);
    padding: 20px 24px; border-radius: 0 10px 10px 0;
    margin: 28px 0; font-size: 15px;
}
.callout strong { display: block; margin-bottom: 4px; color: var(--dark); }

/* Key takeaway */
.key-takeaway {
    background: rgba(199,145,91,0.08); border: 1px solid rgba(199,145,91,0.2);
    border-radius: 12px; padding: 24px 28px; margin: 32px 0;
}
.key-takeaway h4 {
    font-size: 14px; font-weight: 700; text-transform: uppercase;
    letter-spacing: 1px; color: var(--bronze); margin-bottom: 8px;
}
.key-takeaway p { margin-bottom: 0; font-size: 15px; }

/* CTA section */
.article-cta {
    background: var(--dark); border-radius: 16px; padding: 40px 32px;
    text-align: center; margin: 48px 0 32px;
}
.article-cta h3 {
    color: var(--white); font-size: 24px; margin: 0 0 12px;
}
.article-cta p {
    color: rgba(255,255,255,0.7); font-size: 16px; margin-bottom: 24px;
}
.article-cta a.cta-btn {
    display: inline-block; background: var(--bronze); color: white;
    padding: 14px 32px; border-radius: 10px; text-decoration: none;
    font-weight: 700; font-size: 16px; font-family: 'Wix Madefor Display', sans-serif;
    transition: background 0.2s;
}
.article-cta a.cta-btn:hover { background: var(--brown); }

/* Newsletter CTA */
.newsletter-cta {
    background: var(--cream); border-radius: 12px; padding: 28px;
    border: 1px solid rgba(199,145,91,0.15); margin: 32px 0;
    text-align: center;
}
.newsletter-cta h4 {
    font-size: 18px; color: var(--dark); margin-bottom: 8px;
}
.newsletter-cta p {
    font-size: 14px; color: var(--text-light); margin-bottom: 16px;
}
.newsletter-cta a {
    display: inline-block; color: var(--bronze); font-weight: 700;
    font-size: 15px;
}

/* Footer */
.blog-footer {
    background: var(--cream); padding: 40px 24px;
    border-top: 1px solid rgba(199,145,91,0.12);
    text-align: center;
}
.blog-footer-inner {
    max-width: 720px; margin: 0 auto;
}
.blog-footer-links {
    list-style: none; display: flex; justify-content: center;
    gap: 24px; flex-wrap: wrap; margin-bottom: 16px;
}
.blog-footer-links a {
    color: var(--text-light); text-decoration: none; font-size: 14px; font-weight: 500;
    transition: color 0.2s;
}
.blog-footer-links a:hover { color: var(--bronze); }
.blog-footer .copyright {
    font-size: 13px; color: var(--text-light);
}

@media (max-width: 600px) {
    .article-meta h1 { font-size: 28px; }
    article h2 { font-size: 22px; }
    article { padding: 32px 20px 48px; }
    .article-cta { padding: 32px 24px; }
    .toc { padding: 20px; }
}
