/* Changelog: one column of releases. The version and date stay pinned beside each release's
   notes while you read it; notes are grouped New / Improved / Fixed, told apart by a coloured
   label only. Builds on landing.css for tokens, nav, buttons and footer. */

.cl { padding-bottom: clamp(96px, 11vw, 144px); }
.cl-hero { padding-block: clamp(64px, 9vw, 112px) clamp(40px, 5vw, 64px); display: grid; gap: 18px; justify-items: start; }
.cl-hero .eyebrow::before { display: none; }
.cl-hero h1 { font-size: clamp(40px, 6vw, 64px); line-height: 1.04; letter-spacing: -0.03em; }
.cl-hero .lead { max-width: 52ch; }
.cl-hero__row { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 22px; margin-top: 8px; }

.cl-list { display: grid; }
.cl-state { padding: 32px 0; color: var(--dim); font-size: 15px; }
.cl-state a { color: var(--text); text-decoration: underline; text-underline-offset: 3px; }

.rel { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 24px 56px; padding-block: 48px; background: linear-gradient(90deg, transparent, var(--line-2) 12%, var(--line-2) 88%, transparent) top / 100% 1px no-repeat; scroll-margin-top: 80px; }
.rel__side { position: sticky; top: 88px; align-self: start; display: grid; gap: 6px; }
.rel__ver { font-size: 28px; font-weight: 600; letter-spacing: -0.02em; font-variant-numeric: tabular-nums; }
.rel__ver a { color: inherit; }
.rel__ver a:hover { color: var(--dim); }
.rel__date { font-size: 13.5px; color: var(--faint); font-variant-numeric: tabular-nums; }
.rel__latest { font-size: 12px; font-weight: 590; color: var(--ok); }

.rel__body { display: grid; gap: 26px; min-width: 0; }
.rel__group { display: grid; gap: 10px; }
.rel__label { display: flex; align-items: center; gap: 8px; font-size: 12.5px; font-weight: 590; letter-spacing: 0.02em; color: var(--dim); }
.rel__label::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: currentColor; }
.rel .rel__label { color: var(--dim); }
.rel .rel__label--new { color: #ff9f0a; }
.rel .rel__label--improved { color: #64a8ff; }
.rel .rel__label--fixed { color: #4cb782; }
.rel ul { margin: 0; padding: 0; list-style: none; display: grid; gap: 8px; }
.rel li { position: relative; padding-left: 18px; color: #d4d6da; font-size: 15.5px; line-height: 1.6; max-width: 68ch; }
.rel li::before { content: ""; position: absolute; left: 2px; top: .72em; width: 5px; height: 1.5px; border-radius: 1px; background: var(--faint); }
.rel p { color: #d4d6da; font-size: 15.5px; line-height: 1.6; max-width: 68ch; }
.rel code { font: 400 .9em/1 var(--mono); padding: 2px 5px; border-radius: 4px; background: rgba(255, 255, 255, .07); }
.rel strong { color: var(--text); font-weight: 600; }
.rel__body p a, .rel__body li a { color: var(--text); text-decoration: underline; text-decoration-color: var(--line-2); text-underline-offset: 3px; }

.rel__dl { min-width: 0; display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px; padding: 14px 16px; border-radius: 12px; background: rgba(255, 255, 255, .025); box-shadow: inset 0 0 0 1px var(--line); }
.rel__dl .btn { gap: 8px; }
.rel__dl svg { width: 16px; height: 16px; }
.rel__file { display: grid; gap: 2px; min-width: 0; flex: 1 1 220px; }
.rel__file b { font-weight: 510; font-size: 13.5px; font-family: var(--mono); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rel__file span { font-size: 12.5px; color: var(--faint); }
.rel__gh { font-size: 13px; color: var(--dim); justify-self: start; }
.rel__gh:hover { color: var(--text); }

@media (max-width: 760px) {
  .rel { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-block: 36px; }
  .rel__side { position: static; grid-auto-flow: column; justify-content: start; align-items: baseline; gap: 12px; }
  .rel__ver { font-size: 24px; }
  .rel__dl .btn { width: 100%; justify-content: center; }
}
