body { margin: 0; background: #0a0a0d; color: #cfccc6; font-family: 'Manrope', system-ui, sans-serif; line-height: 1.7; font-size: 16px; }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 24px; }
header.top { border-bottom: 1px solid rgba(255,255,255,0.08); background: rgba(10,10,13,0.9); }
header.top .wrap { max-width: 1180px; display: flex; align-items: center; justify-content: space-between; padding: 16px 28px; }
.brand { display: flex; align-items: center; gap: 10px; color: #f4f2ee; font-family: 'Space Grotesk', sans-serif; font-weight: 600; text-decoration: none; }
.badge { width: 30px; height: 30px; border-radius: 7.5px; background: linear-gradient(135deg, #fa2d48, #7c5cff); display: flex; align-items: center; justify-content: center; }
.back { color: #cfccc6; font-size: 14px; font-weight: 600; }
.hright { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; justify-content: flex-end; }
.lang { display: flex; gap: 4px; }
.lang a { padding: 4px 9px; border-radius: 6px; font-size: 12.5px; font-weight: 700; color: #a8a5a0; text-decoration: none; }
.lang a[aria-current] { color: #f4f2ee; background: rgba(255,255,255,0.1); }
.lang a:hover { color: #fff; }
h1, h2, h3 { font-family: 'Space Grotesk', sans-serif; color: #f4f2ee; line-height: 1.25; letter-spacing: -0.01em; }
h1 { font-size: 36px; margin: 48px 0 8px; }
h2 { font-size: 22px; margin: 36px 0 8px; }
p, li { color: #cfccc6; }
ul { padding-left: 22px; }
a { color: #f4f2ee; text-underline-offset: 3px; }
a:hover { color: #ff7a8c; }
a:focus-visible { outline: 2px solid #fff; outline-offset: 3px; border-radius: 4px; }
.langs, .updated { color: #a8a5a0; font-size: 14px; margin: 0 0 8px; }
section[lang] { padding-top: 12px; margin-top: 28px; border-top: 1px solid rgba(255,255,255,0.08); scroll-margin-top: 16px; }
code { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 0.92em; color: #f4f2ee; }
.skip { position: absolute; left: -9999px; top: 8px; background: #fff; color: #0a0a0d; padding: 10px 16px; border-radius: 8px; font-weight: 700; z-index: 10; }
.skip:focus { left: 8px; }
footer { margin-top: 72px; border-top: 1px solid rgba(255,255,255,0.08); padding: 28px 0 40px; font-size: 14px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer p { color: #a8a5a0; margin: 14px 0 0; font-size: 13px; }
@media (prefers-reduced-motion: no-preference) { html { scroll-behavior: smooth; } }
