:root {
  --bg: #0f1419;
  --panel: #161c24;
  --border: #2a3441;
  --text: #e6edf3;
  --muted: #8b949e;
  --accent: #f59e0b;
  --link: #58a6ff;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Inter, Roboto, system-ui, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
.wrap { max-width: 760px; margin: 0 auto; padding: 60px 24px 40px; flex: 1; width: 100%; }
header { padding-bottom: 32px; border-bottom: 1px solid var(--border); margin-bottom: 32px; display: flex; align-items: center; gap: 14px; }
header img { width: 40px; height: 40px; }
header .brand { font-weight: 600; font-size: 20px; letter-spacing: -0.01em; color: var(--text); text-decoration: none; }
header .brand small { display: block; color: var(--muted); font-weight: 400; font-size: 12px; letter-spacing: 0.04em; text-transform: uppercase; }
h1 { font-size: 36px; letter-spacing: -0.02em; margin-bottom: 16px; line-height: 1.15; }
h2 { font-size: 22px; margin: 32px 0 12px; color: var(--text); }
p { color: #c9d1d9; margin-bottom: 14px; max-width: 60ch; }
p.lead { font-size: 18px; color: var(--text); margin-bottom: 24px; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
.card { background: var(--panel); border: 1px solid var(--border); border-radius: 12px; padding: 22px; margin-top: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 18px; }
.tag { background: rgba(245,158,11,0.08); border: 1px solid rgba(245,158,11,0.25); color: var(--accent); padding: 4px 10px; border-radius: 999px; font-size: 12px; }
.btn { display: inline-block; padding: 10px 20px; background: var(--accent); color: #0f1419; border-radius: 8px; font-weight: 600; margin-top: 12px; }
.btn:hover { text-decoration: none; opacity: 0.9; }
.btn.secondary { background: transparent; color: var(--accent); border: 1px solid var(--accent); }
footer { border-top: 1px solid var(--border); padding: 24px; text-align: center; color: var(--muted); font-size: 13px; }
footer a { color: var(--muted); margin: 0 8px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-top: 24px; }
.grid .item { background: var(--panel); border: 1px solid var(--border); border-radius: 10px; padding: 16px; }
.grid .item h3 { font-size: 15px; margin-bottom: 6px; }
.grid .item p { font-size: 13px; color: var(--muted); margin: 0; }
@media (prefers-color-scheme: light) {
  :root { --bg: #ffffff; --panel: #f6f8fa; --border: #d1d9e0; --text: #1f2328; --muted: #59636e; --link: #0969da; }
  p { color: #1f2328; }
}
