/* Changelog composition. Shared foundation owns color, type families and rails. */
.release-page {
  width: var(--launch-frame);
  max-width: var(--launch-max);
  margin-inline: auto;
  padding-block: var(--space-12) var(--space-24);
}
.release-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: var(--space-8);
  padding-bottom: var(--space-10);
  border-bottom: 1px solid var(--color-border-subtle);
}
.release-header h1 {
  margin: 0;
  color: var(--launch-ink);
  font-family: var(--font-display);
  font-size: var(--type-size-index-title);
  font-weight: 400;
  line-height: 1.15;
  letter-spacing: -.03em;
}
.release-header p {
  margin: var(--space-4) 0 0;
  color: var(--launch-copy);
  font-size: var(--type-size-body-large);
  line-height: 1.6;
  text-wrap: pretty;
}
.release-docs, .release-end a {
  display: inline-flex;
  align-items: center;
  gap: var(--space-3);
  min-height: 44px;
  color: var(--launch-ink);
  font-size: var(--type-size-label);
  line-height: 1.5;
  text-decoration: none;
}
.release-page svg { width: 16px; height: 16px; flex: none; }
.release-entry {
  display: grid;
  grid-template-columns: 200px minmax(0, 720px);
  gap: var(--space-16);
  padding-block: var(--space-12);
  border-bottom: 1px solid var(--color-border-subtle);
  scroll-margin-top: calc(var(--launch-nav-height, 60px) + var(--space-6));
}
.release-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--space-2);
}
.release-date {
  display: inline-flex;
  align-items: center;
  gap: var(--space-2);
  min-height: 44px;
  margin-top: -7px;
  color: var(--launch-copy);
  font-size: var(--type-size-label);
  line-height: 1.5;
  text-decoration: none;
}
.release-date svg { width: 14px; height: 14px; opacity: 0; }
.release-category {
  padding: var(--space-1) var(--space-2);
  border-radius: var(--radius-control);
  background: var(--color-bg-surface);
  color: var(--launch-copy);
  font-size: var(--type-size-caption);
  line-height: 1.5;
}
.release-content { min-width: 0; }
.release-content h2 {
  margin: 0 0 var(--space-4);
  font-family: var(--font-display);
  font-size: 28px;
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -.02em;
  color: var(--launch-ink);
  text-wrap: balance;
}
.release-content p, .release-content li {
  color: var(--launch-copy);
  font-size: var(--type-size-body-large);
  line-height: 1.65;
  text-wrap: pretty;
}
.release-content p { margin: 0; }
.release-content ul {
  display: grid;
  gap: var(--space-2);
  padding-left: var(--space-5);
  margin: var(--space-5) 0 0;
  list-style: disc;
}
.release-content li { padding-left: var(--space-1); }
.release-content li::marker { color: var(--launch-muted); font-size: .8em; }
.release-content ul + p { margin-top: var(--space-5); }
.release-content a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--launch-ink);
  font-size: var(--type-size-body);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.release-end {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--space-4);
  padding-top: var(--space-8);
  color: var(--launch-copy);
  font-size: var(--type-size-label);
}
.release-page a:focus-visible, .release-entry:focus-visible {
  outline: 2px solid var(--launch-focus);
  outline-offset: 5px;
  border-radius: var(--radius-control);
}
.release-date:focus-visible svg { opacity: 1; }
@media (hover: hover) {
  .release-date:hover, .release-docs:hover, .release-end a:hover { text-decoration: underline; text-underline-offset: 4px; }
  .release-date:hover svg { opacity: 1; }
}
@media (max-width: 1000px) {
  .release-entry { grid-template-columns: 176px minmax(0, 1fr); gap: var(--space-8); }
}
@media (max-width: 720px) {
  .release-page { padding-block: var(--space-8) var(--space-16); }
  .release-header { align-items: flex-start; flex-direction: column; gap: var(--space-3); padding-bottom: var(--space-6); }
  .release-header h1 { font-size: var(--type-size-index-title); }
  .release-header p { margin-top: var(--space-3); }
  .release-entry { grid-template-columns: 1fr; gap: var(--space-4); padding-block: var(--space-8); scroll-margin-top: var(--space-6); }
  .release-meta { flex-direction: row; align-items: center; flex-wrap: wrap; gap: var(--space-3); }
  .release-date { margin-top: 0; }
  .release-date svg { display: none; }
  .release-content h2 { font-size: 24px; }
  .release-content p, .release-content li { font-size: var(--type-size-body); }
  .release-end { flex-direction: column; align-items: flex-start; gap: var(--space-1); }
}
