:root {
  --bg: #0f172a;
  --fg: #e2e8f0;
  --muted: #94a3b8;
  --accent: #38bdf8;
  --card: #1e293b;
  --border: #334155;
}
* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; }
body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
  background: var(--bg);
  color: var(--fg);
  line-height: 1.6;
}
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.container { max-width: 960px; margin: 0 auto; padding: 0 1.2rem; }

.site-header {
  border-bottom: 1px solid var(--border);
  background: #0b1120;
  position: sticky; top: 0; z-index: 10;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.2rem; }
.brand { font-weight: 700; font-size: 1.1rem; color: var(--fg); }
.brand:hover { text-decoration: none; }
.site-nav a { margin-left: 1.2rem; color: var(--muted); }
.site-nav a:hover { color: var(--fg); }

.hero { padding: 4rem 0 2rem; text-align: center; }
.hero h1 { font-size: 2.8rem; margin: 0 0 .4rem; }
.role { color: var(--accent); font-size: 1.3rem; margin: 0 0 .8rem; font-weight: 600; }
.tagline { color: var(--muted); max-width: 40rem; margin: 0 auto 1.2rem; }
.location { color: var(--muted); font-size: .95rem; }
.btn {
  display: inline-block; background: var(--accent); color: #0b1120;
  padding: .6rem 1.4rem; border-radius: 8px; font-weight: 600; margin-top: 1rem;
}
.btn:hover { text-decoration: none; filter: brightness(1.1); }

.section { padding: 2rem 0; }
.section h2 { border-bottom: 1px solid var(--border); padding-bottom: .5rem; }
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.2rem; }
.card {
  background: var(--card); border: 1px solid var(--border); border-radius: 10px;
  padding: 1.2rem;
}
.card h2, .card h3 { margin-top: 0; }
.card .meta { color: var(--muted); font-size: .85rem; }
.repo a { color: var(--accent); font-size: .85rem; text-decoration: none; }
.repo a:hover { text-decoration: underline; }
.tags em { display: inline-block; background: #0b1120; color: var(--accent); font-style: normal;
  font-size: .75rem; padding: .15rem .5rem; border-radius: 999px; margin-right: .3rem; }

.page { padding: 2rem 0; }
.content img { max-width: 100%; }
.content pre { background: var(--card); padding: 1rem; border-radius: 8px; overflow: auto; }

.site-footer { border-top: 1px solid var(--border); margin-top: 3rem; padding: 1.5rem 0; color: var(--muted); font-size: .9rem; }
.site-footer p { margin: 0; }
