:root {
  --bg: #0d1117;
  --panel: #161b22;
  --border: #232a33;
  --text: #e6edf3;
  --muted: #9aa4b2;
  --brand: #1db954;
  --brand-dark: #17a349;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

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

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

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

header.site {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
}

.logo {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.3px;
}
.logo span { color: var(--brand); }

nav.site a {
  color: var(--muted);
  margin-left: 20px;
  font-size: 15px;
  font-weight: 500;
}
nav.site a:hover { color: var(--text); text-decoration: none; }

.hero { padding: 72px 0 48px; text-align: center; }
.hero h1 { font-size: 44px; line-height: 1.1; margin: 0 0 16px; letter-spacing: -1px; }
.hero p { font-size: 19px; color: var(--muted); max-width: 560px; margin: 0 auto 28px; }

.btn {
  display: inline-block;
  background: var(--brand);
  color: #04140a;
  font-weight: 700;
  padding: 12px 22px;
  border-radius: 999px;
  transition: background 0.15s ease;
}
.btn:hover { background: var(--brand-dark); text-decoration: none; }

.features { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; padding: 24px 0 64px; }
.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px;
}
.card h3 { margin: 0 0 6px; font-size: 17px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.content { padding: 40px 0 72px; }
.content h1 { font-size: 32px; letter-spacing: -0.5px; margin-bottom: 4px; }
.content h2 { font-size: 20px; margin: 32px 0 8px; }
.content .updated { color: var(--muted); font-size: 14px; margin-top: 0; }
.content p, .content li { color: var(--muted); }

.contact-box {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  margin-top: 24px;
}
.contact-box a { font-weight: 600; }

footer.site {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  color: var(--muted);
  font-size: 14px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

@media (max-width: 620px) {
  .features { grid-template-columns: 1fr; }
  .hero h1 { font-size: 34px; }
  header.site { flex-direction: column; gap: 10px; }
  nav.site a:first-child { margin-left: 0; }
}
