/* Changelog page — shared with build-changelog.mjs output */
:root {
  --bg: #0a0a0a;
  --border: #262626;
  --text: #f5f5f5;
  --text-dim: #a3a3a3;
  --text-faint: #737373;
  --accent: #818cf8;
  --accent-bright: #a5b4fc;
  --max-w: 720px;
}

html, body { margin: 0; padding: 0; }
html { scroll-padding-top: 84px; scroll-behavior: smooth; }
:target { scroll-margin-top: 84px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Inter', system-ui, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

.wrap { max-width: var(--max-w); margin: 0 auto; padding: 0 24px 80px; }

header.site {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(10, 10, 10, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  margin-bottom: 48px;
}

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

nav.site-nav { display: flex; gap: 28px; align-items: center; font-size: 14px; }
nav.site-nav a:not(.btn) { color: var(--text-dim); text-decoration: none; }
nav.site-nav a:not(.btn):hover { color: var(--text); }

.btn {
  display: inline-flex;
  align-items: center;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  border: 1px solid transparent;
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary { background: var(--accent); color: #0a0a0a; }
.btn-secondary { background: transparent; color: var(--text); border-color: #404040; }

h1.page-title {
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 8px;
}

.page-lead {
  color: var(--text-dim);
  font-size: 15px;
  margin: 0 0 40px;
  max-width: 52ch;
}

.release {
  border-top: 1px solid var(--border);
  padding: 28px 0;
}
.release:first-of-type { border-top: none; padding-top: 0; }

.release h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 4px;
  scroll-margin-top: 24px;
}

.release-meta {
  font-size: 13px;
  color: var(--text-faint);
  margin: 0 0 14px;
}

.release-body ul {
  margin: 0;
  padding-left: 1.2em;
  color: var(--text-dim);
}
.release-body li { margin-bottom: 0.45em; }
.release-body li strong { color: var(--text); font-weight: 600; }
.release-body code {
  font-family: 'JetBrains Mono', ui-monospace, monospace;
  font-size: 0.9em;
}

footer {
  margin-top: 48px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  color: var(--text-faint);
}
