:root {
  --bg: #0b0d12;
  --bg-alt: #12151c;
  --text: #e6e8ec;
  --text-dim: #9aa1ac;
  --accent: #5b8cff;
  --border: #232735;
  --max-width: 780px;
}

* { box-sizing: border-box; }

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;
}

header {
  border-bottom: 1px solid var(--border);
  background: var(--bg-alt);
}

.header-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--text);
  text-decoration: none;
}

nav a {
  color: var(--text-dim);
  text-decoration: none;
  margin-left: 20px;
  font-size: 0.95rem;
}

nav a:hover {
  color: var(--accent);
}

main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 48px 24px 80px;
}

h1 {
  font-size: 1.9rem;
  margin-bottom: 0.25em;
}

h2 {
  font-size: 1.3rem;
  margin-top: 2em;
  border-top: 1px solid var(--border);
  padding-top: 1.2em;
}

.updated {
  color: var(--text-dim);
  font-size: 0.9rem;
  margin-bottom: 2em;
}

a {
  color: var(--accent);
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-top: 2em;
}

.card {
  border: 1px solid var(--border);
  background: var(--bg-alt);
  border-radius: 10px;
  padding: 20px;
  text-decoration: none;
  color: var(--text);
  transition: border-color 0.15s ease;
}

.card:hover {
  border-color: var(--accent);
}

.card h3 {
  margin: 0 0 8px;
  font-size: 1.05rem;
}

.card p {
  margin: 0;
  color: var(--text-dim);
  font-size: 0.9rem;
}

footer {
  border-top: 1px solid var(--border);
  color: var(--text-dim);
  font-size: 0.85rem;
  text-align: center;
  padding: 24px;
}

footer a {
  color: var(--text-dim);
}
