:root {
  --brand: rgb(11, 35, 152);
  --brand-hi: #3a5bff;
  --bg: #f6f7fc;
  --surface: #ffffff;
  --text: #0c1233;
  --muted: #56608a;
  --line: #e1e5f3;
  --good: #19b37a;
}
@media (prefers-color-scheme: dark) {
  :root:not([data-theme="light"]) {
    --bg: #050a26;
    --surface: #0b1441;
    --text: #eef1ff;
    --muted: #9aa5d6;
    --line: #1c2766;
  }
}
* { box-sizing: border-box; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font: 17px/1.6 "Readex Pro", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
}
a { color: var(--brand-hi); }
.wrap { max-width: 760px; margin: 0 auto; padding: 0 16px; }
header.site { padding: 20px 0; }
header.site .wrap { display: flex; align-items: center; gap: 12px; }
header.site a.brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--text); font-weight: 600; font-size: 20px; }
header.site img { width: 36px; height: 36px; border-radius: 9px; }
header.site nav { margin-left: auto; display: flex; gap: 16px; font-size: 15px; }
header.site nav a { color: var(--muted); text-decoration: none; }
.hero {
  background: radial-gradient(120% 120% at 20% 0%, var(--brand-hi) 0%, var(--brand) 45%, #040b3a 100%);
  color: #fff;
  padding: 72px 0 80px;
  text-align: center;
}
.hero img { width: 112px; height: 112px; border-radius: 26px; box-shadow: 0 20px 60px rgba(0,0,0,.35); }
.hero h1 { font-size: clamp(36px, 7vw, 56px); margin: 24px 0 4px; line-height: 1.1; }
.hero .ar { font-size: 22px; opacity: .8; }
.hero p { max-width: 520px; margin: 16px auto 0; opacity: .9; }
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(210px, 1fr)); gap: 14px; margin: 40px 0; }
.card { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 18px; }
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }
main.doc { padding: 24px 0 64px; }
main.doc h1 { font-size: 34px; margin-bottom: 0; }
main.doc .updated { color: var(--muted); margin-top: 4px; }
main.doc h2 { margin-top: 32px; font-size: 21px; }
footer { border-top: 1px solid var(--line); padding: 24px 0 40px; color: var(--muted); font-size: 14px; }
