*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; background: #f9f9f8; color: #1a1a1a; line-height: 1.6; }
a { color: #534AB7; text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: #3C3489; }

.nav { background: #fff; border-bottom: 1px solid #e8e8e5; padding: 14px 24px; display: flex; align-items: center; justify-content: space-between; }
.brand { display: flex; align-items: center; gap: 8px; text-decoration: none; }
.brand-icon { width: 28px; height: 28px; background: #534AB7; border-radius: 7px; display: flex; align-items: center; justify-content: center; }
.brand-name { font-size: 17px; font-weight: 700; color: #1a1a1a; }
.brand-name span { color: #534AB7; }
.nav-cta { background: #534AB7; color: #fff; padding: 8px 16px; border-radius: 8px; text-decoration: none; font-size: 14px; font-weight: 600; }
.nav-cta:hover { background: #3C3489; color: #fff; }

article { max-width: 720px; margin: 0 auto; padding: 64px 24px 80px; }

.meta { font-size: 13px; color: #888; letter-spacing: 0.06em; text-transform: uppercase; margin-bottom: 14px; }
.meta span { color: #534AB7; }

h1 { font-size: clamp(28px, 4.5vw, 40px); line-height: 1.15; letter-spacing: -0.01em; margin-bottom: 18px; color: #1a1a1a; }
.lede { font-size: 18px; line-height: 1.6; color: #444; margin-bottom: 36px; padding-bottom: 24px; border-bottom: 1px solid #e8e8e5; }

h2 { font-size: 24px; line-height: 1.25; margin-top: 40px; margin-bottom: 14px; color: #1a1a1a; letter-spacing: -0.005em; }
h3 { font-size: 18px; line-height: 1.3; margin-top: 28px; margin-bottom: 10px; color: #1a1a1a; }
p { margin-bottom: 18px; color: #2a2a2a; font-size: 16px; }
ul, ol { margin: 0 0 22px 24px; }
li { margin-bottom: 8px; color: #2a2a2a; }

.template { background: #fff; border: 1px solid #e8e8e5; border-left: 4px solid #534AB7; border-radius: 8px; padding: 18px 22px; margin: 18px 0 26px; font-size: 15px; color: #2a2a2a; }
.template-label { font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase; color: #534AB7; font-weight: 700; margin-bottom: 10px; }

.callout { background: rgba(83, 74, 183, 0.05); border-left: 3px solid #534AB7; padding: 16px 20px; margin: 26px 0; border-radius: 0 8px 8px 0; font-size: 15px; color: #2a2a2a; }
.callout strong { color: #534AB7; }

table { width: 100%; border-collapse: collapse; margin: 18px 0 26px; font-size: 14px; }
table th { background: #f0eff5; padding: 10px 14px; text-align: left; font-weight: 600; color: #1a1a1a; border-bottom: 1px solid #e0e0db; }
table td { padding: 10px 14px; border-bottom: 1px solid #f0eff5; color: #2a2a2a; }
table tbody tr:hover { background: #fafaf8; }

.cta-block { background: #1e1b3a; color: #fff; border-radius: 12px; padding: 32px; margin-top: 48px; text-align: center; }
.cta-block h3 { color: #fff; margin-top: 0; font-size: 22px; }
.cta-block p { color: rgba(255,255,255,0.75); margin-bottom: 20px; }
.cta-btn { display: inline-block; background: #534AB7; color: #fff; padding: 12px 28px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 15px; }
.cta-btn:hover { background: #6b62d0; color: #fff; }

.related-posts { margin-top: 56px; padding-top: 32px; border-top: 1px solid #e8e8e5; }
.related-posts h3 { font-size: 13px; letter-spacing: 0.1em; text-transform: uppercase; color: #888; font-weight: 600; margin-bottom: 16px; }
.related-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 12px; }
.related-link { background: #fff; border: 1px solid #e8e8e5; border-radius: 8px; padding: 14px 16px; text-decoration: none; color: inherit; transition: border-color 0.15s; display: block; }
.related-link:hover { border-color: #534AB7; }
.related-link-title { font-size: 14px; font-weight: 600; color: #1a1a1a; line-height: 1.3; }

footer { background: #1a1a1a; padding: 36px 24px; }
.footer-inner { max-width: 1000px; margin: 0 auto; display: flex; flex-direction: column; align-items: center; gap: 14px; font-size: 13px; color: #666; text-align: center; }
.footer-sister { font-size: 11px; color: #555; padding-top: 16px; border-top: 1px solid #2a2a2a; width: 100%; }
.footer-sister a { color: #888; text-decoration: underline; }
.footer-sister a:hover { color: #fff; }

@media (max-width: 600px) {
  article { padding: 40px 20px 60px; }
  .cta-block { padding: 24px 20px; }
}
