/* ==========================================================================
   Changelog page
   ========================================================================== */

.changelog-hero {
  padding: clamp(4rem, 8vw, 7rem) 0 clamp(2rem, 4vw, 4rem);
  text-align: center;
}
.changelog-hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  font-weight: 300;
  letter-spacing: -0.04em;
  line-height: 1.05;
  margin: 0.5rem auto 1.5rem;
  max-width: 22ch;
}

/* ──────────────────────────────────────────────────────────────────────────
   Release card — timeline-style with date marker on left
   ────────────────────────────────────────────────────────────────────────── */
.releases {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  max-width: 880px;
  margin: 0 auto;
  position: relative;
}

.releases::before {
  content: '';
  position: absolute;
  left: 8px;
  top: 12px;
  bottom: 12px;
  width: 1px;
  background: linear-gradient(180deg, var(--border-accent) 0%, var(--border) 30%, var(--border) 70%, transparent 100%);
}
@media (max-width: 720px) {
  .releases::before { display: none; }
}

.release {
  position: relative;
  padding-left: 3rem;
}
@media (max-width: 720px) {
  .release { padding-left: 0; }
}

.release::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 17px;
  height: 17px;
  border-radius: 50%;
  background: var(--bg-base);
  border: 2px solid var(--accent-teal);
  box-shadow: 0 0 0 4px rgba(94, 234, 212, 0.12), 0 0 18px rgba(94, 234, 212, 0.2);
  z-index: 1;
}
@media (max-width: 720px) {
  .release::before { display: none; }
}

.release-head {
  display: flex;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 0.5rem;
}
.release-version {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 400;
  letter-spacing: -0.025em;
  line-height: 1;
  margin: 0;
}
.release-version .v {
  color: var(--text-muted);
  margin-right: 0.2em;
}
.release-date {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
}
.release-tag {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  border: 1px solid;
}
.release-tag.beta {
  background: rgba(94, 234, 212, 0.1);
  color: var(--accent-teal);
  border-color: rgba(94, 234, 212, 0.3);
}
.release-tag.latest {
  background: rgba(34, 197, 94, 0.1);
  color: var(--accent-green-bright);
  border-color: rgba(34, 197, 94, 0.3);
}

.release-blurb {
  background: linear-gradient(135deg, rgba(94, 234, 212, 0.03), rgba(34, 197, 94, 0.03));
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 1.25rem 1.5rem;
  margin: 1.5rem 0 2rem;
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}
.release-blurb strong { color: var(--text-primary); }

/* Section grouping inside a release */
.release-group {
  margin: 2rem 0;
}
.release-group h3 {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent-teal);
  margin: 0 0 1rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}
.release-group h3::before {
  content: '';
  width: 24px;
  height: 1px;
  background: var(--accent-teal);
  opacity: 0.5;
}

.release-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.release-list li {
  padding: 1rem 1.25rem;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}
.release-list li strong {
  color: var(--text-primary);
  font-weight: 600;
}
.release-list li code {
  font-size: 0.85em;
}

/* Subscribe block */
.subscribe-block {
  margin-top: 4rem;
  padding: 2.5rem;
  text-align: center;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--bg-card);
}
.subscribe-block h3 {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 400;
  margin: 0 0 0.75rem;
}
.subscribe-block p {
  max-width: 50ch;
  margin: 0 auto 1.5rem;
}
