:root {
  --bg: #0b1220;
  --card: #111a2e;
  --accent: #22c55e;
  --text: #e6edf7;
  --muted: #8fa3bf;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.wrap { max-width: 980px; margin: 0 auto; padding: 0 20px; }

header {
  padding: 18px 0;
  border-bottom: 1px solid rgba(255,255,255,0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo { font-size: 22px; font-weight: 800; letter-spacing: 0.5px; }
.logo a { color: var(--text); text-decoration: none; }
.logo span { color: var(--accent); }

nav a {
  color: var(--muted);
  text-decoration: none;
  margin-left: 18px;
  font-size: 14px;
}
nav a:hover { color: var(--text); }

.hero {
  padding: 70px 0 50px;
  text-align: center;
}

.hero h1 {
  font-size: 44px;
  line-height: 1.15;
  margin-bottom: 16px;
}

.hero p {
  color: var(--muted);
  font-size: 18px;
  max-width: 640px;
  margin: 0 auto 30px;
}

.btn {
  display: inline-block;
  background: var(--accent);
  color: #06210f;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 8px;
  text-decoration: none;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-2px); opacity: 0.92; }

.articles { padding: 20px 0 60px; }

article {
  background: var(--card);
  border: 1px solid rgba(255,255,255,0.06);
  border-left: 4px solid var(--accent);
  border-radius: 12px;
  padding: 28px;
  margin-bottom: 28px;
}

article .tag {
  display: inline-block;
  color: var(--accent);
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

article h2 a {
  color: var(--text);
  text-decoration: none;
}
article h2 a:hover { color: var(--accent); }

article .meta {
  color: var(--muted);
  font-size: 13px;
  margin-bottom: 16px;
}

article p { color: var(--text); margin-bottom: 14px; }
article p:last-child { margin-bottom: 0; }

.post { padding: 40px 0 60px; }

.post article h2 { font-size: 30px; margin-bottom: 10px; }

.back {
  display: inline-block;
  color: var(--accent);
  text-decoration: none;
  font-weight: 600;
  margin-top: 10px;
  font-size: 15px;
}
.back:hover { text-decoration: underline; }

footer {
  border-top: 1px solid rgba(255,255,255,0.06);
  padding: 24px 0;
  text-align: center;
  color: var(--muted);
  font-size: 13px;
}