:root { color-scheme: dark; }
* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", sans-serif;
  background: #0b1f33;
  color: #e8eef5;
  line-height: 1.55;
}
.wrap { max-width: 68rem; margin: 0 auto; padding: 1.5rem 1.25rem 3rem; }
header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin-bottom: 1.5rem;
}
.brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  color: inherit;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
}
.brand img { width: 40px; height: 40px; border-radius: 10px; }
nav { display: flex; flex-wrap: wrap; gap: 0.35rem 0.9rem; }
nav a { color: #7eb6ff; }
nav a[aria-current="page"] { color: #fff; text-decoration: none; font-weight: 600; }
a { color: #7eb6ff; }
a:hover { color: #fff; }
h1 { font-size: 1.8rem; line-height: 1.25; margin: 0 0 0.75rem; }
h2 { font-size: 1.28rem; margin: 2rem 0 0.5rem; }
h3 { font-size: 1.05rem; margin: 1.4rem 0 0.4rem; }
p { margin: 0.6rem 0; }
ul, ol { padding-left: 1.25rem; }
li { margin: 0.3rem 0; }
ul.flow { list-style: none; padding-left: 0; }
hr { border: 0; border-top: 1px solid #3d5a78; margin: 1.5rem 0; }
.table-wrap { overflow-x: auto; margin: 1rem 0 1.25rem; }
table { border-collapse: collapse; width: 100%; }
th, td {
  border-bottom: 1px solid #3d5a78;
  padding: 0.45rem 0.6rem;
  vertical-align: top;
  text-align: left;
}
th { color: #fff; font-weight: 600; }
td code { white-space: nowrap; }
pre {
  background: #152a40;
  padding: 0.85rem 1rem;
  overflow-x: auto;
  border-radius: 8px;
}
code { font-family: Consolas, "Cascadia Mono", monospace; font-size: 0.92em; }
p code, li code, td code, h1 code, h2 code, h3 code {
  background: #152a40;
  padding: 0.1em 0.35em;
  border-radius: 4px;
}
pre code { background: none; padding: 0; font-size: 0.88rem; }
figure { margin: 1rem 0 1.25rem; }
figure img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  border: 1px solid #3d5a78;
}
figcaption { color: #c5d0dc; font-size: 0.92rem; margin-top: 0.4rem; }
footer {
  margin-top: 2.5rem;
  padding-top: 1rem;
  border-top: 1px solid #3d5a78;
  color: #c5d0dc;
}
