:root{--bg:#0B0D10;--surface:#14171B;--surface2:#1C2025;--stroke:#262B31;--text:#F3F1EA;--dim:#9A9FA6;--faint:#5C6169;--gold:#C9A227;--gold-soft:#E8C86A;--teal:#33C9A3}
*{box-sizing:border-box}
html{background:var(--bg)}
body{margin:0;background:radial-gradient(900px 400px at 50% -120px,rgba(201,162,39,.14),transparent),var(--bg);color:var(--dim);font-family:Inter,'IBM Plex Sans Arabic',system-ui,sans-serif;font-size:15px;line-height:1.7;min-height:100vh}
[lang=ar] body,body[lang=ar]{font-family:'IBM Plex Sans Arabic',Inter,system-ui,sans-serif}
.wrap{max-width:760px;margin:0 auto;padding:28px 20px 64px}
header.brand{display:flex;align-items:center;gap:12px;margin-bottom:28px}
header.brand img{width:44px;height:44px;border-radius:12px;border:1px solid var(--stroke)}
header.brand span{font-family:'Space Grotesk',Inter,sans-serif;font-weight:700;font-size:20px;color:var(--text);letter-spacing:-.01em}
header.brand em{font-style:normal;font-size:12px;color:var(--gold-soft);border:1px solid var(--stroke);background:var(--surface);padding:3px 10px;border-radius:99px;margin-inline-start:auto}
h1{font-family:'Space Grotesk',Inter,sans-serif;font-size:32px;line-height:1.2;letter-spacing:-.02em;color:var(--text);margin:0 0 8px}
.d{font-family:'JetBrains Mono',monospace;font-size:12px;color:var(--faint);margin:0 0 24px}
h2{font-family:'Space Grotesk',Inter,sans-serif;font-size:17px;color:var(--text);margin:0 0 8px;display:flex;gap:8px;align-items:baseline}
h2 .n{color:var(--gold);font-family:'JetBrains Mono',monospace;font-size:13px}
section.card{background:var(--surface);border:1px solid var(--stroke);border-radius:16px;padding:18px 20px;margin-bottom:12px}
section.card p,section.card ol,section.card ul{margin:0}
section.card p{white-space:pre-line}
a{color:var(--gold-soft);text-decoration:none;border-bottom:1px solid rgba(232,200,106,.35)}
a:hover{color:var(--gold)}
b{color:var(--text)}
footer{margin-top:28px;padding-top:18px;border-top:1px solid var(--stroke);font-size:13px;color:var(--faint);display:flex;flex-wrap:wrap;gap:6px 18px}
footer a{border:0;color:var(--dim)}
.links{display:grid;gap:10px;margin:0;padding:0;list-style:none}
.links a{display:flex;justify-content:space-between;align-items:center;border:1px solid var(--stroke);background:var(--surface2);border-radius:12px;padding:12px 16px;color:var(--text)}
.links a:hover{border-color:var(--gold)}
