:root {
    --bg: #0b1120;
    --surface: #111a2e;
    --card: #16213a;
    --text: #e8edf7;
    --muted: #9aa8c2;
    --body: #cfd8ea;
    --accent: #22d3a6;
    --accent-2: #6d8bff;
    --border: rgba(255, 255, 255, 0.08);
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background: var(--bg); color: var(--text); line-height: 1.7; -webkit-font-smoothing: antialiased;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.wrap { width: 100%; max-width: 820px; margin: 0 auto; padding: 0 24px; }

nav {
    position: sticky; top: 0; z-index: 10;
    backdrop-filter: saturate(160%) blur(12px); background: rgba(11, 17, 32, 0.75);
    border-bottom: 1px solid var(--border);
}
nav .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; max-width: 1080px; }
.brand { display: flex; align-items: center; gap: 10px; font-weight: 700; font-size: 1.1rem; color: var(--text); }
.brand img { width: 30px; height: 30px; border-radius: 9px; }
.nav-links { display: flex; gap: 24px; font-size: 0.95rem; }
.nav-links a { color: var(--muted); }
.nav-links a:hover { color: var(--text); text-decoration: none; }

.doc { padding: 56px 0 72px; }
.doc h1 { font-size: clamp(2rem, 5vw, 2.6rem); font-weight: 800; letter-spacing: -0.02em; margin-bottom: 8px; }
.doc .updated { color: var(--muted); font-size: 0.95rem; margin-bottom: 20px; }
.callout {
    background: var(--card); border: 1px solid var(--border); border-left: 3px solid var(--accent);
    border-radius: 10px; padding: 16px 18px; margin: 22px 0; color: var(--muted); font-size: 0.97rem;
}
.callout.warn { border-left-color: #f6a94a; }
.doc h2 { font-size: 1.35rem; font-weight: 700; margin: 38px 0 12px; letter-spacing: -0.01em; }
.doc h3 { font-size: 1.08rem; font-weight: 700; margin: 22px 0 8px; }
.doc p { margin: 0 0 14px; color: var(--body); }
.doc ul { margin: 0 0 14px 22px; color: var(--body); }
.doc li { margin-bottom: 7px; }
.doc strong { color: var(--text); }

footer { border-top: 1px solid var(--border); padding: 32px 0; color: var(--muted); font-size: 0.9rem; }
footer .wrap { display: flex; flex-wrap: wrap; gap: 14px; justify-content: space-between; align-items: center; max-width: 1080px; }
footer .links a { color: var(--muted); margin-left: 16px; }
footer .links a:hover { color: var(--text); text-decoration: none; }

@media (max-width: 640px) { .nav-links { display: none; } }
