:root {
  --bg: #07080a;
  --line: rgba(255, 255, 255, 0.06);
  --line-2: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --text-2: #9c9c9d;
  --text-3: #86878b;
  --blue-ink: #9cbcff;
  --font: "Inter", ui-sans-serif, system-ui, -apple-system, sans-serif;
  --gutter: clamp(16px, 4vw, 40px);
  color-scheme: dark;
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scrollbar-color: #26272a var(--bg); }
body { margin: 0; background: var(--bg); color: var(--text); font: 400 16px/1.65 var(--font); letter-spacing: 0.2px; -webkit-font-smoothing: antialiased; }
::selection { background: rgba(59, 130, 246, 0.4); color: #fff; }
a { color: var(--blue-ink); text-underline-offset: 3px; text-decoration-color: rgba(156, 188, 255, 0.4); }
a:hover { color: #c6d8ff; text-decoration-color: currentColor; }
:focus-visible { outline: 2px solid var(--blue-ink); outline-offset: 3px; border-radius: 6px; }

.top { max-width: 760px; margin: 0 auto; padding: 28px var(--gutter) 0; }
.brand { display: inline-flex; align-items: center; gap: 10px; color: #fff; text-decoration: none; font-weight: 600; font-size: 15px; }
.brand img { width: 22px; height: 22px; }
.brand:hover { color: #fff; }

main.doc { max-width: 760px; margin: 0 auto; padding: 56px var(--gutter) 40px; }
.doc h1 { margin: 0; font-size: clamp(2rem, 4vw, 2.6rem); line-height: 1.15; font-weight: 600; letter-spacing: -0.02em; }
.doc .updated { margin: 8px 0 0; color: var(--text-3); font-size: 14px; }
.doc h2 { margin: 44px 0 0; font-size: 18px; font-weight: 600; line-height: 1.35; }
.doc p, .doc li { color: rgba(255, 255, 255, 0.82); max-width: 68ch; }
.doc p { margin: 10px 0 0; }
.doc ul { margin: 10px 0 0; padding-left: 20px; }
.doc li + li { margin-top: 6px; }

footer { max-width: 760px; margin: 40px auto 0; padding: 24px var(--gutter) 48px; border-top: 1px solid var(--line); font-size: 13.5px; color: var(--text-3); display: flex; flex-wrap: wrap; gap: 10px 24px; }
footer a { color: var(--text-2); }
footer a:hover { color: #fff; }

/* 404 */
body.notfound { min-height: 100vh; display: grid; place-items: center; padding: 16px; }
.notfound main { max-width: 32rem; }
.notfound h1 { margin: 0; font-size: 2rem; letter-spacing: -0.02em; font-weight: 600; }
.notfound p { color: var(--text-2); }
.btn-light {
  display: inline-flex; align-items: center; height: 36px; padding: 8px 12px; border-radius: 8px;
  font: 500 14px/16px var(--font); letter-spacing: 0.2px; text-decoration: none;
  background: #e6e6e6; color: #2f3031;
  box-shadow: 0 0 0 2px rgba(0, 0, 0, 0.5), 0 0 14px rgba(255, 255, 255, 0.19), inset 0 -1px 0.4px rgba(0, 0, 0, 0.2), inset 0 1px 0.4px #fff;
}
.btn-light:hover { background: #fff; color: #2f3031; }
