/* ── CHANGELOG HERO ───────────────────────────────────── */
#cl-hero {
  background: linear-gradient(135deg, #bfdbfe 0%, #bae6fd 42%, #99f6e4 100%);
  padding: 140px 5vw 80px;
  position: relative; overflow: hidden;
}
#cl-hero::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 70% 60% at 60% 50%, rgba(56,189,248,0.25) 0%, transparent 65%);
  pointer-events: none;
}
.cl-hero-inner {
  max-width: 720px; margin: 0 auto;
  position: relative; z-index: 1;
}
.cl-title {
  font-size: clamp(36px, 5vw, 58px); font-weight: 800;
  color: #0f172a; line-height: 1.1; margin-bottom: 18px;
}
.cl-sub {
  font-size: 17px; color: #475569; line-height: 1.75; margin-bottom: 36px;
  max-width: 560px;
}
.cl-dl-link {
  display: inline-flex; align-items: center; gap: 8px;
  background: linear-gradient(135deg, #2563eb, #1e40af);
  color: white; text-decoration: none;
  font-size: 15px; font-weight: 700; font-family: inherit;
  padding: 13px 26px; border-radius: 12px;
  box-shadow: 0 4px 16px rgba(37,99,235,0.35);
  transition: all .2s;
}
.cl-dl-link:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(37,99,235,0.45); }

/* ── TIMELINE ─────────────────────────────────────────── */
#cl-timeline {
  background: white;
}
.cl-timeline {
  margin-top: 20px;
  padding-left: 28px;
  border-left: 2px solid #e2e8f0;
  display: flex; flex-direction: column; gap: 48px;
  max-width: 800px;
}
.cl-item {
  position: relative;
}
.cl-dot {
  position: absolute; left: -37px; top: 22px;
  width: 14px; height: 14px; border-radius: 50%;
  background: #cbd5e1; border: 3px solid white;
  box-shadow: 0 0 0 2px #cbd5e1;
}
.cl-dot-current {
  background: #2563eb;
  box-shadow: 0 0 0 3px rgba(37,99,235,0.2);
}

/* ── VERSION CARD ─────────────────────────────────────── */
.cl-card {
  background: #f8fafc; border: 1px solid #e2e8f0;
  border-radius: 20px; padding: 32px 36px;
  transition: box-shadow .2s;
}
.cl-card:hover { box-shadow: 0 6px 28px rgba(0,0,0,0.07); }
.cl-card-header {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 24px; flex-wrap: wrap;
}
.cl-version {
  font-size: 20px; font-weight: 800; color: #0f172a;
  font-family: 'DM Mono', monospace;
}
.cl-date {
  font-size: 13px; color: #94a3b8;
  margin-left: auto;
}

/* ── TAGS ─────────────────────────────────────────────── */
.cl-tag {
  font-size: 11px; font-weight: 700; letter-spacing: .05em;
  padding: 4px 13px; border-radius: 20px; text-transform: uppercase;
}
.cl-tag-current  { background: #dcfce7; color: #166534; }
.cl-tag-stable   { background: #dbeafe; color: #1e40af; }
.cl-tag-bugfix   { background: #fef3c7; color: #92400e; }
.cl-tag-initial  { background: #f3e8ff; color: #6b21a8; }

/* ── SUB-SECTION LABELS ───────────────────────────────── */
.cl-section { margin-top: 20px; }
.cl-section:first-of-type { margin-top: 0; }
.cl-section-label {
  font-size: 11px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; margin-bottom: 12px;
  padding: 3px 10px; border-radius: 6px; display: inline-block;
}
.cl-sl-new      { background: #dbeafe; color: #1e40af; }
.cl-sl-improved { background: #dcfce7; color: #166534; }
.cl-sl-fix      { background: #fef3c7; color: #92400e; }
.cl-intro {
  font-size: 14px; color: #475569; line-height: 1.7;
  margin-bottom: 16px;
}
.cl-card code {
  font-family: 'DM Mono', monospace;
  font-size: 12px; background: #f1f5f9;
  padding: 1px 6px; border-radius: 4px; color: #334155;
}

/* ── CHANGE LIST ──────────────────────────────────────── */
.cl-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 13px;
}
.cl-list li {
  display: flex; align-items: flex-start; gap: 11px;
  font-size: 14px; color: #374151; line-height: 1.7;
}
.cl-list li svg { flex-shrink: 0; margin-top: 4px; }
.cl-list-placeholder li { color: #94a3b8; font-style: italic; }
.cl-list-placeholder li svg path { stroke: #cbd5e1; }

/* ── CTA BANNER ───────────────────────────────────────── */
#cl-cta { background: #f8fafc; padding-top: 0; padding-bottom: 80px; }
.cl-cta-banner {
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
  background: linear-gradient(135deg, #1e3a8a 0%, #1e40af 50%, #0e7490 100%);
  border-radius: 20px; padding: 36px 48px;
}
.cl-cta-title {
  font-size: 22px; font-weight: 800; color: white; margin-bottom: 8px;
}
.cl-cta-sub {
  font-size: 15px; color: rgba(255,255,255,0.75); line-height: 1.65; max-width: 480px;
}
.cl-cta-btn {
  display: inline-flex; align-items: center; gap: 8px; flex-shrink: 0;
  background: white; color: #1e3a8a;
  font-size: 15px; font-weight: 700; font-family: inherit;
  padding: 14px 28px; border-radius: 12px; text-decoration: none;
  transition: all .2s; box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}
.cl-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }

/* ── RESPONSIVE ───────────────────────────────────────── */
@media (max-width: 900px) {
  #cl-hero { padding: 120px 5vw 64px; }
  .cl-cta-banner { flex-direction: column; align-items: flex-start; padding: 28px 32px; }
}
@media (max-width: 600px) {
  .cl-timeline { padding-left: 20px; }
  .cl-dot { left: -29px; }
  .cl-card { padding: 24px 20px; }
  .cl-card-header { gap: 8px; }
  .cl-version { font-size: 17px; }
  .cl-cta-banner { padding: 24px; }
  .cl-cta-btn { width: 100%; justify-content: center; }
}
