:root {
  --purple-50: #f5f3ff;
  --purple-100: #ede9fe;
  --purple-200: #ddd6fe;
  --purple-600: #7c3aed;
  --purple-700: #6d28d9;
  --ink: #0f172a;
  --ink-soft: #475569;
  --ink-muted: #64748b;
  --line: #e7e5f4;
  --bg-soft: #faf9ff;
  --shadow-sm: 0 1px 2px rgba(15,23,42,.06);
  --shadow-md: 0 10px 30px rgba(76,29,149,.10);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: var(--ink); background: #fff; line-height: 1.7; -webkit-font-smoothing: antialiased;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

/* Nav */
.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,.8); backdrop-filter: saturate(180%) blur(14px);
  border-bottom: 1px solid rgba(231,229,244,.8);
}
.nav-inner { max-width: 1140px; margin: 0 auto; padding: 0 24px; height: 70px; display: flex; align-items: center; justify-content: space-between; }
.brand-logo { height: 40px; width: auto; object-fit: contain; }
.nav-cta { display: inline-flex; align-items: center; gap: 8px; font-weight: 700; font-size: 14px; color: var(--purple-700); background: var(--purple-50); padding: 10px 18px; border-radius: 999px; transition: background .15s, transform .15s; }
.nav-cta:hover { background: var(--purple-100); transform: translateY(-1px); }

/* Article */
.article { max-width: 760px; margin: 0 auto; padding: 40px 24px 20px; }
.crumb { font-size: 13px; font-weight: 600; color: var(--ink-muted); margin-bottom: 22px; }
.crumb a:hover { color: var(--purple-700); }
.cat { display: inline-block; font-size: 11px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--purple-700); background: var(--purple-100); padding: 6px 13px; border-radius: 999px; }
.article h1 { font-size: clamp(28px, 4.6vw, 42px); font-weight: 800; letter-spacing: -.025em; line-height: 1.12; margin: 18px 0 0; color: var(--ink); }
.meta { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 18px; padding-bottom: 26px; border-bottom: 1px solid var(--line); font-size: 13px; font-weight: 600; color: var(--ink-muted); }
.meta .author { color: var(--ink); font-weight: 800; }

/* Featured hero image */
.hero-img { width: 100%; height: clamp(220px, 40vw, 400px); object-fit: cover; border-radius: 18px; margin: 26px 0 4px; box-shadow: var(--shadow-md); background: var(--bg-soft); }
.hero-cap { font-size: 12px; font-weight: 600; color: var(--ink-muted); margin-top: 6px; }

/* Content */
.content { padding: 30px 0 10px; }
.content > p { font-size: 17px; color: var(--ink-soft); margin: 0 0 20px; }
.content .lead { font-size: 19px; color: var(--ink); font-weight: 500; }
.content h2 { font-size: 25px; font-weight: 800; letter-spacing: -.02em; color: var(--ink); margin: 38px 0 14px; }
.content h3 { font-size: 19px; font-weight: 800; color: var(--ink); margin: 26px 0 10px; }
.content ul, .content ol { margin: 0 0 20px; padding-left: 22px; }
.content li { font-size: 17px; color: var(--ink-soft); margin-bottom: 9px; }
.content li strong { color: var(--ink); }
.content a { color: var(--purple-700); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }
.content blockquote { margin: 24px 0; padding: 16px 22px; border-left: 4px solid var(--purple-600); background: var(--bg-soft); border-radius: 0 12px 12px 0; font-size: 17px; font-style: italic; color: var(--ink); }

/* Key takeaways callout */
.callout { margin: 26px 0; padding: 22px 24px; border: 1px solid var(--purple-200); background: var(--purple-50); border-radius: 16px; }
.callout h4 { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--purple-700); margin-bottom: 12px; }
.callout ul { margin: 0; padding-left: 20px; }
.callout li { font-size: 15px; margin-bottom: 7px; }

/* CTA box */
.cta-box { margin: 40px 0 10px; padding: 36px 32px; border-radius: 20px; background: var(--purple-600); color: #fff; text-align: center; }
.cta-box h3 { font-size: 23px; font-weight: 800; letter-spacing: -.02em; }
.cta-box p { color: rgba(255,255,255,.85); margin-top: 8px; font-size: 15px; }
.cta-box a { display: inline-flex; margin-top: 20px; background: #fff; color: var(--purple-700); font-weight: 800; font-size: 15px; padding: 13px 26px; border-radius: 999px; transition: transform .15s; }
.cta-box a:hover { transform: translateY(-2px); }

/* Related */
.related { max-width: 760px; margin: 0 auto; padding: 30px 24px 10px; }
.related h4 { font-size: 13px; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; color: var(--purple-700); margin-bottom: 16px; }
.related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.related-grid a { padding: 16px 18px; border: 1px solid var(--line); border-radius: 14px; font-weight: 700; font-size: 15px; color: var(--ink); transition: border-color .15s, transform .15s, box-shadow .15s; }
.related-grid a:hover { border-color: var(--purple-200); transform: translateY(-2px); box-shadow: var(--shadow-md); color: var(--purple-700); }
@media (max-width: 560px) { .related-grid { grid-template-columns: 1fr; } }

/* Footer */
.site-foot { margin-top: 50px; border-top: 1px solid var(--line); }
.foot-inner { max-width: 1140px; margin: 0 auto; padding: 30px 24px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 14px; font-size: 13px; font-weight: 600; color: var(--ink-muted); }
.foot-inner a:hover { color: var(--purple-700); }
