@font-face {
  font-family: 'Unbounded'; font-weight: 700; font-display: swap;
  src: url(/fonts/unbounded-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Unbounded'; font-weight: 700; font-display: swap;
  src: url(/fonts/unbounded-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Montserrat'; font-weight: 400 600; font-display: swap;
  src: url(/fonts/montserrat-cyrillic.woff2) format('woff2');
  unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
}
@font-face {
  font-family: 'Montserrat'; font-weight: 400 600; font-display: swap;
  src: url(/fonts/montserrat-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --night: #030601;
  --deep: #102108;
  --moss: #28401a;
  --acid: #7dff00;
  --acid-soft: #a9ff4d;
  --text: #e8ffd6;
  --muted: #8aad72;
  --display: 'Unbounded', 'Montserrat', -apple-system, sans-serif;
  --body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: radial-gradient(120% 90% at 0% 0%, var(--deep) 0%, var(--night) 70%) fixed, var(--night);
  color: var(--text);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

.doc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  max-width: 52rem;
  margin: 0 auto;
  padding: 1.5rem 16px 0;
}
.doc-header a {
  color: var(--text);
  text-decoration: none;
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
}
.doc-header a:hover { color: var(--acid-soft); }
.doc-header nav { display: flex; gap: 1.25rem; flex-wrap: wrap; }
.doc-header nav a { font-family: var(--body); font-weight: 600; font-size: .9rem; color: var(--muted); }

article {
  max-width: 52rem;
  margin: 0 auto;
  padding: 2rem 16px 3rem;
}
article h1 {
  margin: 0 0 .5rem;
  font-family: var(--display);
  font-weight: 700;
  font-size: clamp(1.6rem, 4vw, 2.4rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
}
.edition { margin: 0 0 2rem; color: var(--muted); font-size: .9rem; }
article h2 {
  margin: 2.25rem 0 .75rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--moss);
  font-family: var(--display);
  font-weight: 700;
  font-size: 1.1rem;
  line-height: 1.3;
}
article p, article li { color: #d6ecc4; }
article p { margin: 0 0 .75rem; }
article ol, article ul { margin: 0 0 .75rem; padding-left: 1.4rem; }
article li { margin-bottom: .35rem; }
article a { color: var(--acid-soft); }
article strong { color: var(--text); }

table.req { width: 100%; border-collapse: collapse; margin: .5rem 0 1rem; }
table.req th, table.req td {
  text-align: left;
  vertical-align: top;
  padding: .55rem .75rem;
  border-bottom: 1px solid var(--moss);
}
table.req th { width: 38%; color: var(--muted); font-weight: 500; }

footer {
  max-width: 52rem;
  margin: 0 auto;
  padding: 1.5rem 16px 2rem;
  border-top: 1px solid var(--moss);
  font-size: .85rem;
  color: var(--muted);
}
footer a { color: var(--muted); }
