:root {
  --bg: #ffffff; --fg: #1c2129; --muted: #5d6878; --line: #e3e7ee; --panel: #f5f7fa;
  --accent: #f5b800; --accent-fg: #14181f; --link: #0b62c4; --code: #f2f4f7;
}
@media (prefers-color-scheme: dark) {
  :root { --bg: #14181f; --fg: #eef1f5; --muted: #9aa6b6; --line: #2a313d; --panel: #1c222b;
          --link: #6cb2ff; --code: #1f2630; }
}
* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--bg); color: var(--fg);
  font: 17px/1.6 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif; }
a { color: var(--link); }
.wrap { max-width: 880px; margin: 0 auto; padding: 0 20px; }
.site-header { border-bottom: 1px solid var(--line); background: var(--panel); }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 24px; padding-top: 12px; padding-bottom: 12px; }
.brand { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: 20px; color: var(--fg); text-decoration: none; }
.brand img { border-radius: 6px; }
.ver { font-size: 13px; font-weight: 600; color: var(--muted); }
nav { display: flex; gap: 16px; }
nav a { color: var(--fg); text-decoration: none; font-size: 15px; }
nav a:hover { text-decoration: underline; }
.langs { margin-left: auto; gap: 10px; }
.langs a { font-size: 13px; color: var(--muted); }
.langs a[aria-current] { color: var(--fg); font-weight: 700; }
.content { padding-top: 28px; padding-bottom: 48px; }
h1 { font-size: 34px; line-height: 1.2; margin: 8px 0 12px; }
h2 { font-size: 24px; margin: 40px 0 12px; padding-top: 8px; border-top: 1px solid var(--line); }
h3 { font-size: 18px; margin: 24px 0 6px; }
.lead { font-size: 20px; color: var(--muted); margin-top: 0; }
img { max-width: 100%; height: auto; border-radius: 10px; }
.cta { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; margin: 20px 0 28px; }
.button { display: inline-block; padding: 10px 18px; border-radius: 8px; background: var(--accent); color: var(--accent-fg);
  font-weight: 700; text-decoration: none; }
.button.secondary { background: transparent; color: var(--fg); border: 1px solid var(--line); }
.small { font-size: 14px; color: var(--muted); }
code, pre { font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace; font-size: 14px; background: var(--code); }
code { padding: 1px 5px; border-radius: 4px; }
pre { padding: 14px 16px; border-radius: 8px; overflow-x: auto; }
pre code { padding: 0; }
table { border-collapse: collapse; width: 100%; margin: 12px 0; font-size: 15px; }
th, td { border: 1px solid var(--line); padding: 8px 10px; text-align: left; vertical-align: top; }
th { background: var(--panel); }
.faq h3 { margin-top: 20px; }
.site-footer { border-top: 1px solid var(--line); background: var(--panel); padding: 18px 0; font-size: 14px; color: var(--muted); }
.site-footer p { margin: 4px 0; }
/* small screens: long paths and tables must not widen the page */
.content { overflow-wrap: break-word; }
td code, li code, p code { overflow-wrap: anywhere; word-break: break-word; }
table { display: block; max-width: 100%; overflow-x: auto; }
@media (max-width: 600px) {
  body { font-size: 16px; }
  h1 { font-size: 28px; }
  .langs { margin-left: 0; }
  th, td { padding: 6px 8px; }
}
