*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: "Courier New", Courier, monospace;
  background: #2b2b2b;
  color: #ccc;
  font-size: 15px;
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
}

a {
  color: #6ba4e8;
}

a:hover {
  color: #a0c8ff;
}

/* ── Sidebar ────────────────────────────────────────────── */

.sidebar {
  width: 200px;
  min-height: 100vh;
  background: #242424;
  border-right: 1px solid #3a3a3a;
  padding: 24px 16px;
  position: fixed;
  top: 0;
  left: 0;
  overflow-y: auto;
}

.sidebar .logo {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  text-decoration: none;
  color: #ccc;
}

.sidebar .logo img {
  width: 28px;
  height: 28px;
  border-radius: 4px;
}

.sidebar .logo span {
  font-size: 18px;
  font-weight: bold;
  letter-spacing: 1px;
}

.sidebar .version {
  color: #666;
  font-size: 11px;
  margin-bottom: 24px;
}

.sidebar nav a {
  display: block;
  padding: 4px 8px;
  color: #888;
  text-decoration: none;
  font-size: 13px;
  border-left: 2px solid transparent;
}

.sidebar nav a:hover {
  color: #ccc;
  background: #303030;
  border-left-color: #555;
}

.sidebar nav a.active {
  color: #ccc;
  border-left-color: #6ba4e8;
}

.sidebar nav .section {
  color: #555;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 1px;
  padding: 16px 8px 4px;
}

/* ── Main content ───────────────────────────────────────── */

.content {
  margin-left: 200px;
  padding: 32px 40px;
  max-width: 720px;
  flex: 1;
}

.content h1 {
  font-size: 22px;
  font-weight: bold;
  color: #ddd;
  margin-bottom: 4px;
}

.content .last-updated {
  color: #555;
  font-size: 12px;
  margin-bottom: 28px;
}

.content h2 {
  font-size: 16px;
  font-weight: bold;
  color: #bbb;
  margin-top: 28px;
  margin-bottom: 10px;
}

.content p {
  margin-bottom: 12px;
  color: #999;
}

.content ul {
  padding-left: 20px;
  margin-bottom: 12px;
}

.content li {
  color: #999;
  margin-bottom: 4px;
}

.content strong {
  color: #ccc;
  font-weight: bold;
}

.content code {
  background: #333;
  padding: 1px 5px;
  font-size: 13px;
}

.content hr {
  border: none;
  border-top: 1px solid #3a3a3a;
  margin: 28px 0;
}

.content .contact {
  color: #666;
  font-size: 13px;
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid #3a3a3a;
}

/* ── Responsive ─────────────────────────────────────────── */

@media (max-width: 600px) {
  .sidebar {
    position: static;
    width: 100%;
    min-height: auto;
    border-right: none;
    border-bottom: 1px solid #3a3a3a;
    padding: 16px;
  }

  .sidebar nav {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
  }

  .sidebar nav .section {
    width: 100%;
  }

  body {
    flex-direction: column;
  }

  .content {
    margin-left: 0;
    padding: 24px 16px;
  }
}
