/* martiallaw.wiki */
* { margin: 0; padding: 0; box-sizing: border-box; }
body { background: #fafafa; color: #1a1a1a; font-family: 'Inter', sans-serif; line-height: 1.75; }
.navy-bar { width: 100%; height: 3px; background: #1e3a5f; }
.hero { max-width: 900px; margin: 0 auto; padding: 2rem 1.5rem; }
.brand { font-family: 'Merriweather', serif; font-weight: 700; font-size: 1.5rem; }
.updated { font-size: 0.7rem; color: #737373; display: block; margin-top: 0.25rem; }
.wiki-layout { max-width: 900px; margin: 0 auto; padding: 0 1.5rem 2rem; display: flex; gap: 2rem; }
.sidebar { width: 180px; flex-shrink: 0; position: sticky; top: 1rem; align-self: flex-start; background: #f0f0f0; padding: 1rem; border-radius: 4px; }
.nav-link { display: block; font-size: 0.75rem; color: #737373; padding: 0.3rem 0 0.3rem 10px; border-left: 2px solid transparent; margin-bottom: 0.2rem; cursor: pointer; }
.nav-link.active { color: #2563eb; border-left-color: #1e3a5f; }
.article { flex: 1; min-width: 0; }
.section { position: relative; padding-left: 2.5rem; margin-bottom: 1.5rem; }
.section-num { position: absolute; left: 0; top: 2px; font-weight: 600; color: #1e3a5f; font-size: 0.9rem; }
.section-title { font-family: 'Merriweather', serif; font-weight: 700; font-size: 1.2rem; margin-bottom: 0.5rem; }
.section-body { font-size: 0.9rem; }
.footnote { font-size: 0.65rem; color: #2563eb; cursor: pointer; }
.section-rule { border: none; border-top: 1px solid #d4d4d4; margin-top: 1.5rem; }
.reference-panel { width: 200px; flex-shrink: 0; background: #f5f5f0; padding: 1rem; border-radius: 4px; align-self: flex-start; }
.ref-title { font-size: 0.8rem; font-weight: 600; margin-bottom: 0.5rem; }
.ref-item { font-size: 0.7rem; color: #525252; margin-bottom: 0.3rem; }
.ref-num { font-family: 'Fira Code', monospace; font-size: 0.65rem; color: #1e3a5f; }
.wiki-footer { max-width: 900px; margin: 0 auto; padding: 1.5rem; border-top: 1px solid #d4d4d4; text-align: center; }
.footer-text { font-size: 0.8rem; color: #737373; }
.footer-brand { font-size: 0.6rem; color: #a3a3a3; display: block; margin-top: 0.3rem; }
.fade-in { opacity: 0; transform: translateY(12px); transition: opacity 0.5s ease, transform 0.5s ease; }
.fade-in.visible { opacity: 1; transform: translateY(0); }
