/* Changelog — a vertical rail of releases, dots colored along the same
   ember(old) -> signal(recent) recency gradient as the paw + density strip. */

.changelog-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 24px 100px;
}

.changelog-intro h1 {
  font-size: clamp(28px, 5vw, 34px);
  font-weight: 650;
  letter-spacing: -0.01em;
  margin: 0 0 10px;
  text-wrap: balance;
}

.changelog-intro p {
  color: var(--muted);
  max-width: 56ch;
  margin: 0;
  font-size: 15px;
}

.changelog {
  position: relative;
  margin-top: 44px;
  padding-left: 30px;
  border-left: 1px solid var(--line);
}

.release {
  position: relative;
  padding-bottom: 42px;
}
.release:last-child {
  padding-bottom: 0;
}

/* Timeline dot for each release. */
.release::before {
  content: "";
  position: absolute;
  left: -36px;
  top: 7px;
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: var(--muted);
  box-shadow: 0 0 0 4px var(--ink);
}
/* Recency gradient: newest = signal (now), oldest = ember (past). */
.changelog .release:nth-child(1)::before { background: #4fd1c5; }
.changelog .release:nth-child(2)::before { background: #7fc2a1; }
.changelog .release:nth-child(3)::before { background: #b0b37c; }
.changelog .release:nth-child(4)::before { background: #e0a458; }

.release__head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px 14px;
  margin-bottom: 14px;
}

.release__version {
  font-family: var(--font-mono, ui-monospace, "SF Mono", monospace);
  font-variant-numeric: tabular-nums;
  font-size: 20px;
  font-weight: 600;
  color: var(--fg);
  margin: 0;
}

.release__title {
  font-size: 14px;
  color: var(--signal);
  letter-spacing: 0.01em;
}

.release__date {
  font-family: var(--font-mono, ui-monospace, "SF Mono", monospace);
  font-size: 12px;
  color: var(--muted);
  margin-left: auto;
  white-space: nowrap;
}

.release__changes {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.release__changes li {
  position: relative;
  padding-left: 18px;
  color: var(--fg);
  font-size: 15px;
  line-height: 1.55;
}
.release__changes li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--muted);
}
.release__changes strong {
  color: var(--fg);
  font-weight: 600;
}

@media (max-width: 520px) {
  .release__date { margin-left: 0; width: 100%; }
}
