*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --bg: #0a0d12; --surface: #111621; --border: #21262d;
  --text: #e6edf3; --muted: #7d8590; --green: #3fb950;
  --red: #f85149; --yellow: #d29922; --cyan: #39d0dc;
  --blue: #58a6ff; --accent: #238636;
}
body { background: var(--bg); color: var(--text); font-family: 'Inter', sans-serif; line-height: 1.6; }
nav {
  position: sticky; top: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 40px; background: rgba(10,13,18,0.9);
  backdrop-filter: blur(12px); border-bottom: 1px solid var(--border);
}
.logo { font-weight: 700; display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--text); }
.logo span { color: var(--cyan); }
.nav-cta { padding: 8px 18px; border-radius: 6px; background: var(--accent); color: #fff; font-weight: 600; font-size: 0.85rem; text-decoration: none; }
.layout { display: grid; grid-template-columns: 240px 1fr; max-width: 1200px; margin: 0 auto; min-height: calc(100vh - 57px); }
.sidebar { padding: 32px 24px; border-right: 1px solid var(--border); position: sticky; top: 57px; height: calc(100vh - 57px); overflow-y: auto; }
.sidebar-section { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 24px 0 8px; }
.sidebar a { display: block; padding: 6px 12px; border-radius: 6px; color: var(--muted); text-decoration: none; font-size: 0.88rem; transition: color .15s, background .15s; }
.sidebar a:hover { color: var(--text); background: var(--surface); }
.content { padding: 48px 56px; max-width: 860px; }
.content h1 { font-size: 2.2rem; font-weight: 800; margin-bottom: 12px; }
.content h2 { font-size: 1.4rem; font-weight: 700; margin: 48px 0 16px; padding-top: 48px; border-top: 1px solid var(--border); }
.content h2:first-of-type { border-top: none; }
.content h3 { font-size: 1rem; font-weight: 700; margin: 24px 0 12px; color: var(--cyan); }
.content p { color: var(--muted); margin-bottom: 16px; font-size: 0.95rem; }
.content p strong { color: var(--text); }
pre { background: #0d1117; border: 1px solid var(--border); border-radius: 8px; padding: 20px; overflow-x: auto; margin-bottom: 20px; position: relative; }
code { font-family: 'JetBrains Mono', monospace; font-size: 0.82rem; line-height: 1.7; }
.lang-label { position: absolute; top: 10px; right: 14px; font-family: 'JetBrains Mono', monospace; font-size: 0.7rem; color: var(--muted); text-transform: uppercase; }
.hl-key { color: #58a6ff; }
.hl-str { color: #a5d6ff; }
.hl-comment { color: #484f58; }
.hl-green { color: #3fb950; }
.hl-purple { color: #d2a8ff; }
table { width: 100%; border-collapse: collapse; margin-bottom: 24px; font-size: 0.88rem; }
th { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); color: var(--muted); font-weight: 600; font-size: 0.78rem; text-transform: uppercase; }
td { padding: 12px; border-bottom: 1px solid var(--border); vertical-align: top; }
tr:last-child td { border-bottom: none; }
.alert { background: rgba(57,208,220,0.06); border: 1px solid rgba(57,208,220,0.2); border-radius: 8px; padding: 16px 20px; margin-bottom: 20px; font-size: 0.9rem; }
.alert strong { color: var(--cyan); }
.badge-verdict { padding: 3px 10px; border-radius: 4px; font-family: 'JetBrains Mono', monospace; font-size: 0.78rem; font-weight: 600; }
.badge-compliant { background: rgba(63,185,80,0.1); color: var(--green); }
.badge-non { background: rgba(248,81,73,0.1); color: var(--red); }
.badge-human { background: rgba(210,153,34,0.1); color: var(--yellow); }
@media (max-width: 768px) {
  .layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .content { padding: 32px 20px; }
}
