/* ── Changelog page - Merchant Powerpack ───────────────────────────────── */

.nav-links a[aria-current="page"] { color: var(--ink-900); }
.nav-links a[aria-current="page"]::after { transform: scaleX(1); }

/* ── Hero ──────────────────────────────────────────────────────────────── */
.ch-hero {
  padding: 80px 0 56px;
  background: var(--bg);
  border-bottom: 1px solid var(--line-2);
  position: relative;
}
.ch-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(var(--ink-400) 1px, transparent 1px);
  background-size: 22px 22px;
  opacity: .1;
  -webkit-mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000, transparent 80%);
  mask-image: radial-gradient(ellipse 60% 80% at 50% 0%, #000, transparent 80%);
  pointer-events: none;
}
.ch-hero-inner {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
  position: relative;
}
.ch-hero-inner .eyebrow { margin-bottom: 18px; }
.ch-hero-inner h1 {
  font-size: 46px;
  font-weight: 650;
  letter-spacing: -0.036em;
  line-height: 1.08;
  color: var(--ink-900);
  margin: 0 0 18px;
  text-wrap: balance;
}
.ch-hero-sub {
  font-size: 17px;
  color: var(--ink-600);
  line-height: 1.6;
  margin: 0;
}

/* ── List section ──────────────────────────────────────────────────────── */
.ch-list-section { padding: 56px 0 72px; background: #fff; }
.ch-container { max-width: 760px; }

.ch-list { position: relative; }

.ch-entry {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-top: 1px solid var(--line-2);
}
.ch-entry:first-child { border-top: none; padding-top: 0; }

.ch-entry-rail {
  display: flex;
  align-items: baseline;
  gap: 8px;
  position: sticky;
  top: 96px;
  align-self: start;
}
.ch-entry-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--blue-600);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue-600) 12%, transparent);
  flex: none;
  position: relative;
  top: -1px;
}
.ch-entry:first-child .ch-entry-dot {
  background: var(--blue-500);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--blue-500) 18%, transparent);
}
.ch-entry-version {
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 13px;
  font-weight: 500;
  color: var(--ink-900);
  letter-spacing: -0.01em;
}

.ch-entry-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ch-entry-items li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14.5px;
  line-height: 1.55;
  color: var(--ink-700);
}

.ch-tag {
  flex: none;
  display: inline-flex;
  align-items: center;
  height: 20px;
  padding: 0 8px;
  border-radius: 5px;
  font-family: 'Geist Mono', ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10.5px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-top: 1px;
}
.ch-tag-added { background: var(--blue-50); color: var(--blue-700); }
.ch-tag-improved { background: #eef2ff; color: #4338ca; }
.ch-tag-fixed { background: #fef3e8; color: #b45309; }
.ch-tag-security { background: #fee2e2; color: #b91c1c; }
.ch-tag-compatibility { background: #f1f5f9; color: var(--ink-600); }
.ch-tag-internal { background: var(--bg-tint); color: var(--ink-500); }

.ch-item-text { flex: 1; }

.ch-end {
  padding-top: 36px;
  border-top: 1px solid var(--line-2);
  text-align: center;
}
.ch-end p {
  font-size: 14px;
  color: var(--ink-500);
  margin: 0;
}

@media (max-width: 720px) {
  .ch-hero-inner h1 { font-size: 34px; }
  .ch-entry {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .ch-entry-rail { position: static; }
}
