:root {
  color-scheme: dark;
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: #f6f5f4;
  background: #1e1e22;
}

* { box-sizing: border-box; }
body { margin: 0; }
a { color: #78aeed; }
code { font-family: ui-monospace, "SFMono-Regular", Consolas, monospace; }

.docs-nav {
  position: sticky;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 14px clamp(18px, 5vw, 64px);
  background: rgba(30, 30, 34, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(14px);
}

.docs-nav div { display: flex; align-items: center; gap: 20px; }
.docs-nav a { color: #deddda; text-decoration: none; }
.docs-nav strong a { color: #fff; }
.docs-nav .donate { padding: 7px 13px; color: #fff; background: #3584e4; border-radius: 999px; }

.docs {
  width: min(920px, calc(100% - 36px));
  margin: 0 auto;
  padding: 64px 0 100px;
}

.hero { margin-bottom: 54px; }
.hero h1 { margin: 0 0 12px; font-size: clamp(36px, 7vw, 64px); letter-spacing: -0.04em; }
.hero p { max-width: 700px; color: #b9b7b5; font-size: 19px; line-height: 1.6; }
h2 { margin-top: 52px; padding-top: 12px; font-size: 28px; }
h3 { margin-top: 30px; font-size: 19px; }
p, li { color: #d2d0ce; line-height: 1.65; }
.note { padding: 14px 18px; background: rgba(53, 132, 228, 0.12); border-left: 3px solid #3584e4; border-radius: 4px; }

.examples {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
}

.examples th, .examples td { padding: 11px 14px; text-align: left; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.examples th { color: #94918e; font-size: 12px; text-transform: uppercase; letter-spacing: .08em; }
.examples td:first-child { width: 52%; }
.examples tr:last-child td { border-bottom: 0; }
.examples code { color: #fff; overflow-wrap: anywhere; }

@media (max-width: 620px) {
  .docs-nav div a:not(.donate):not(:first-child) { display: none; }
  .examples th, .examples td { padding: 9px; font-size: 13px; }
}
/* SPDX-FileCopyrightText: 2026 chrns <alex@chrns.com> */
/* SPDX-License-Identifier: GPL-3.0-or-later */
