/* Shared styles for /blog posts. Mirrors the token + typography
 * conventions of enforcement/case.css so the brand reads consistently
 * across the SEO-content surfaces. Blog-specific elements (subhead,
 * byline meta line, prose body, soft CTA) are defined here.
 *
 * Each blog post links this file:
 *   <link rel="stylesheet" href="/blog/post.css">
 *
 * The /blog/index.html keeps its own inline styles (different layout:
 * post-card list).
 */

:root {
  --navy: #0f1729;
  --amber: #e5a211;
  --teal: #14b8a6;
  --red: #b91c1c;
  --gray-50: #f8fafc;
  --gray-100: #f1f5f9;
  --gray-200: #e2e8f0;
  --gray-400: #94a3b8;
  --gray-600: #475569;
  --gray-700: #334155;
  --gray-900: #0f172a;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  font-family: 'DM Sans', -apple-system, sans-serif;
  color: var(--gray-900);
  background: #fff;
  line-height: 1.7;
}

a { color: var(--navy); }

nav.top {
  padding: 18px 32px;
  border-bottom: 1px solid var(--gray-100);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
nav.top a.brand {
  font-weight: 600;
  font-size: 16px;
  text-decoration: none;
  color: var(--navy);
}
nav.top a.brand b { color: var(--amber); }
nav.top .right a {
  margin-left: 24px;
  font-size: 14px;
  color: var(--gray-600);
  text-decoration: none;
}

main {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 32px 96px;
}

.breadcrumb {
  font-size: 13px;
  color: var(--gray-600);
  margin-bottom: 24px;
}
.breadcrumb a { color: var(--gray-600); }

h1 {
  font-family: 'DM Serif Display', serif;
  font-size: 38px;
  line-height: 1.15;
  margin: 0 0 12px;
}

.subhead {
  font-size: 19px;
  color: var(--gray-700);
  line-height: 1.5;
  margin: 0 0 24px;
}

.byline {
  font-size: 13px;
  color: var(--gray-600);
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--gray-200);
}
.byline span { margin-right: 12px; }
.byline span + span:before { content: "·"; margin-right: 12px; color: var(--gray-400); }

article p {
  font-size: 17px;
  margin: 0 0 18px;
}

article h2 {
  font-family: 'DM Serif Display', serif;
  font-size: 24px;
  font-weight: 600;
  margin: 40px 0 12px;
  line-height: 1.3;
}

article h3 {
  font-size: 18px;
  font-weight: 600;
  margin: 28px 0 8px;
  color: var(--gray-900);
}

article ul, article ol {
  padding-left: 22px;
  margin: 0 0 18px;
}
article li {
  font-size: 17px;
  margin-bottom: 8px;
}

article blockquote {
  margin: 18px 0;
  padding: 12px 22px;
  border-left: 3px solid var(--amber);
  background: var(--gray-50);
  font-size: 16px;
  color: var(--gray-700);
}

article a {
  color: var(--navy);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-color: var(--gray-400);
}
article a:hover { text-decoration-color: var(--amber); }

.cta {
  margin: 40px 0 24px;
  padding: 24px 28px;
  background: var(--navy);
  color: #fff;
  border-radius: 10px;
  font-size: 16px;
}
.cta b { color: var(--amber); }
.cta a {
  color: var(--amber);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
}

.sources {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
  font-size: 13px;
  color: var(--gray-600);
  line-height: 1.6;
}

.footer {
  margin-top: 32px;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
  font-size: 13px;
  color: var(--gray-600);
}

@media (max-width: 640px) {
  h1 { font-size: 28px; }
  .subhead { font-size: 17px; }
  article p, article li { font-size: 16px; }
  article h2 { font-size: 22px; }
}
