:root {
    --content-width: 760px;
  --bg: #0b0d12; --card: #171b25; --border: #262c3a;
  --text: #e8ebf2; --muted: #9aa3b5; --accent: #5b8cff; --green: #34d27b;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, sans-serif;
  background: var(--bg); color: var(--text); line-height: 1.7;
  -webkit-font-smoothing: antialiased;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 24px; }
nav { display: flex; align-items: center; justify-content: space-between; padding: 16px 0 40px; }
nav .home { color: var(--text); text-decoration: none; font-weight: 700; font-size: 18px; display: flex; align-items: center; gap: 10px; }
.logo-mark {
  width: 30px; height: 30px; border-radius: 7px;
  background: linear-gradient(180deg, #2a5cf2, #0d2a8c);
  display: grid; place-items: center; color: #fff; font-weight: 800; font-size: 13px;
}
.btn {
  display: inline-block; padding: 10px 18px; border-radius: 10px;
  background: linear-gradient(180deg, var(--accent), #3f6ee8);
  color: #fff; font-weight: 600; text-decoration: none; font-size: 14.5px;
}
h1 { font-size: 34px; letter-spacing: -0.02em; line-height: 1.15; margin-bottom: 14px; }
.lead { color: var(--muted); font-size: 17.5px; margin-bottom: 32px; }
h2 { font-size: 21px; margin: 36px 0 12px; }
h3 { font-size: 16.5px; margin: 22px 0 8px; }
p, li { color: var(--muted); font-size: 15.5px; margin-bottom: 12px; }
ul, ol { padding-left: 24px; margin-bottom: 14px; }
a { color: var(--accent); }
code {
  font-family: ui-monospace, "SF Mono", Menlo, monospace; font-size: 13.5px;
  background: var(--card); border: 1px solid var(--border);
  padding: 2px 6px; border-radius: 5px;
}
pre {
  background: var(--card); border: 1px solid var(--border); border-radius: 10px;
  padding: 14px 16px; overflow-x: auto; margin-bottom: 14px;
}
pre code { background: none; border: none; padding: 0; }
.steps { counter-reset: step; list-style: none; padding: 0; }
.steps li {
  counter-increment: step; position: relative; padding-left: 44px; margin-bottom: 14px;
  color: var(--text); font-size: 15.5px;
}
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 28px; height: 28px; border-radius: 8px; display: grid; place-items: center;
  background: rgba(91,140,255,0.15); color: var(--accent); font-weight: 700; font-size: 14px;
}
.steps li span { color: var(--muted); display: block; font-size: 14.5px; }
.statbox {
  background: rgba(52,210,123,0.08); border: 1px solid rgba(52,210,123,0.3);
  border-radius: 12px; padding: 16px 20px; margin: 20px 0;
}
.statbox strong { color: var(--green); }
.statbox p { margin: 0; }
table { width: 100%; border-collapse: collapse; margin: 16px 0 24px; font-size: 14.5px; }
th, td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); color: var(--muted); vertical-align: top; }
th { color: var(--text); font-size: 13.5px; text-transform: uppercase; letter-spacing: 0.04em; }
td:first-child { color: var(--text); }
.cta {
  background: var(--card); border: 1px solid var(--border); border-radius: 14px;
  padding: 28px; text-align: center; margin: 44px 0 12px;
}
.cta h2 { margin: 0 0 8px; }
.cta p { margin-bottom: 18px; }
.cta .fine { font-size: 12.5px; margin-top: 12px; margin-bottom: 0; }

/* Wide tables scroll inside their own box on small screens instead of
   overflowing the page (same class of fix as the /help min-width guard). */
@media (max-width: 700px) {
  table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
}

/* Blog */
.postmeta { color: var(--muted); font-size: 13.5px; margin: -6px 0 28px; }
.postlist { list-style: none; padding: 0; }
.postlist li { padding: 18px 0; border-bottom: 1px solid var(--border); }
.postlist li:last-child { border-bottom: none; }
.postlist .pl-title { font-weight: 650; font-size: 17px; text-decoration: none; display: block; margin-bottom: 4px; }
.postlist .pl-title:hover { text-decoration: underline; }
.postlist .pl-date { color: var(--muted); font-size: 12.5px; display: block; margin-bottom: 6px; }
.postlist p { margin-bottom: 0; font-size: 14.5px; }
