@font-face { font-family: "Geologica"; font-weight: 400; font-display: swap; src: url("../assets/fonts/geologica-400-cyrillic.woff2") format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Geologica"; font-weight: 400; font-display: swap; src: url("../assets/fonts/geologica-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
@font-face { font-family: "Golos Text"; font-weight: 400; font-display: swap; src: url("../assets/fonts/golos-text-400-cyrillic.woff2") format("woff2"); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; }
@font-face { font-family: "Golos Text"; font-weight: 400; font-display: swap; src: url("../assets/fonts/golos-text-400-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+2000-206F; }
:root { --ink: #1c1714; --mute: #6f6a66; --line: rgba(28, 23, 20, 0.12); --bg: #f4f2ef; --gut: clamp(16px, 0.5rem + 3vw, 120px); }
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--ink); font-family: "Golos Text", system-ui, -apple-system, "Segoe UI", sans-serif; font-size: clamp(15px, 0.85rem + 0.2vw, 19px); line-height: 1.6; -webkit-font-smoothing: antialiased; overflow-x: hidden; }
.top { display: flex; align-items: center; justify-content: space-between; gap: 16px; max-width: 2400px; margin: 0 auto; padding: clamp(14px, 0.6rem + 0.6vw, 28px) var(--gut); background: #161210; }
.top { max-width: none; }
.logo img { display: block; width: clamp(80px, 3.6rem + 1.6vw, 130px); height: auto; }
.back { color: #f2ede6; text-decoration: none; font-size: 14px; letter-spacing: 0.02em; }
.back:hover { text-decoration: underline; }
.docs { display: flex; flex-wrap: wrap; gap: 8px; max-width: 72rem; margin: clamp(28px, 1rem + 2vw, 64px) auto 0; padding: 0 var(--gut); }
.docs a { padding: 9px 14px; border: 1px solid var(--line); border-radius: 0; color: var(--ink); text-decoration: none; font-size: 14px; background: #fff; }
.docs a[aria-current] { background: var(--ink); color: #fff; border-color: var(--ink); }
.doc { max-width: 72rem; margin: 0 auto; padding: clamp(24px, 1rem + 1.5vw, 56px) var(--gut) clamp(60px, 3rem + 4vw, 160px); }
.doc h1 { margin: 0; font-family: "Geologica", sans-serif; font-weight: 400; font-size: clamp(28px, 1.2rem + 2vw, 60px); line-height: 1.1; letter-spacing: -0.03em; max-width: 22em; }
.ver { margin: 12px 0 clamp(24px, 1rem + 1vw, 44px); color: var(--mute); font-size: 0.9em; }
.doc h2 { margin: 2.2em 0 0.7em; font-family: "Geologica", sans-serif; font-weight: 400; font-size: clamp(18px, 0.9rem + 0.6vw, 28px); line-height: 1.25; letter-spacing: -0.01em; }
.doc h3 { margin: 1.8em 0 0.6em; font-family: "Geologica", sans-serif; font-weight: 400; font-size: clamp(16px, 0.85rem + 0.35vw, 22px); }
.doc p { margin: 0 0 0.8em; max-width: 52em; }
.doc ul { margin: 0 0 1em; padding-left: 1.2em; max-width: 52em; }
.doc li { margin: 0.25em 0; }
.doc dl { margin: 0 0 1.4em; max-width: 52em; border-top: 1px solid var(--line); background: #fff; }
.doc dl > div { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 2fr); gap: 16px; padding: 12px 16px; border-bottom: 1px solid var(--line); }
.doc dt { color: var(--mute); }
.doc dd { margin: 0; }
@media (max-width: 640px) { .doc dl > div { grid-template-columns: 1fr; gap: 4px; } }
