* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font: 16px/1.65 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: #0b0d10; color: #e6e8eb; -webkit-font-smoothing: antialiased;
}
a { color: #60a5fa; text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 2px solid #3b82f6; outline-offset: 2px; border-radius: 4px; }

.wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }

.site-nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11,13,16,0.9); backdrop-filter: blur(12px);
  border-bottom: 1px solid #1a1d23; padding: 14px 0;
}
.site-nav .wrap { max-width: 1100px; display: flex; justify-content: space-between; align-items: center; }
.logo { font-weight: 700; font-size: 15px; letter-spacing: -0.01em; color: #e6e8eb; }
.logo:hover { text-decoration: none; }
.nav-links { display: flex; gap: 16px; align-items: center; font-size: 14px; }
.nav-links a { color: #8b939e; }
.nav-links a:hover { color: #e6e8eb; text-decoration: none; }

.btn {
  display: inline-block; padding: 11px 20px; border-radius: 10px;
  font-weight: 600; font-size: 14px; transition: filter .15s, transform .1s;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn-primary { background: #3b82f6; color: #fff; }
.btn-primary:hover { filter: brightness(1.1); transform: translateY(-1px); }

main { padding: 48px 0 24px; }
article { padding-bottom: 8px; }
h1 { font-size: 38px; line-height: 1.15; letter-spacing: -0.02em; font-weight: 700; margin-bottom: 18px; }
h2 { font-size: 24px; letter-spacing: -0.01em; font-weight: 700; margin: 40px 0 12px; }
p { margin-bottom: 16px; color: #c9ced6; }
.lead { font-size: 19px; color: #a4abb6; margin-bottom: 8px; }
ul, ol { margin: 0 0 16px 22px; color: #c9ced6; }
li { margin-bottom: 6px; }

pre {
  background: #14171c; border: 1px solid #232830; border-radius: 10px;
  padding: 16px 18px; overflow-x: auto; margin: 0 0 18px;
}
code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
  font-size: 13.5px; color: #e6e8eb;
}
p code, li code {
  background: #14171c; border: 1px solid #232830; border-radius: 6px;
  padding: 1px 6px; font-size: 13px; color: #93c5fd;
}

.cta {
  background: linear-gradient(135deg, #14171c 0%, #1a2340 100%);
  border: 1px solid #232830; border-radius: 16px; padding: 32px;
  margin: 40px 0 24px;
}
.cta h2 { margin-top: 0; }
.cta p { margin-bottom: 20px; }

.related { margin-top: 8px; }
.related ul { list-style: none; margin-left: 0; }
.related li { margin-bottom: 8px; }

footer {
  border-top: 1px solid #1a1d23; margin-top: 56px; padding: 32px 0;
  color: #565e6b; font-size: 13px; text-align: center;
}
footer a { color: #8b939e; }

@media (max-width: 640px) {
  h1 { font-size: 28px; }
  h2 { font-size: 20px; }
  .lead { font-size: 17px; }
}
