/* /changelog: the roadmap above the releases. Generated page, see
   tools/changelog-page.mjs; the data lives in tools/changelog-data.mjs.

   Base comes from /to/to.css (body, wrap, section, afsluiter) and
   /chrome.css (nav, footer). This file only adds the page heading, the
   two hairline sections and their rows.

   Design: Paper, page "Website", artboard "Site · /changelog". Small
   labels use --text-secondary instead of the artboard's 0.45 white, same
   contrast rule as legal.css. */

.changelog-hero {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-top: clamp(48px, 7.2vw, 104px);
  padding-bottom: clamp(48px, 6.8vw, 96px);
}

.changelog-title {
  display: flex;
  flex-direction: column;
  font-size: clamp(32px, 3.9vw, 56px);
  font-weight: 500;
  line-height: 1.11;
  letter-spacing: -0.036em;
}

.changelog-dim {
  color: rgba(247, 244, 240, 0.42);
}

.changelog-intro {
  max-width: 640px;
  font-size: 18px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.changelog-part {
  display: flex;
  flex-direction: column;
  gap: 32px;
  border-top: 1px solid var(--hairline);
}

.changelog-heading {
  display: flex;
  flex-direction: column;
  max-width: 600px;
  padding-bottom: 24px;
  font-size: clamp(28px, 2.8vw, 40px);
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

/* Two columns: a fixed left lane, the rest on the right. Shared by the
   roadmap rows, the footnote under them and the releases. */
.changelog-row {
  display: flex;
  align-items: flex-start;
  gap: clamp(32px, 6.6vw, 96px);
}

.changelog-side {
  width: clamp(180px, 25vw, 360px);
  flex-shrink: 0;
}

.roadmap-list,
.release-list {
  list-style: none;
  border-bottom: 1px solid var(--hairline);
}

.roadmap-row {
  padding-block: 20px;
  border-top: 1px solid var(--hairline);
}

.roadmap-item {
  font-size: 18px;
  line-height: 26px;
  letter-spacing: -0.01em;
}

.roadmap-rest {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: flex-start;
  gap: clamp(24px, 3.3vw, 48px);
}

.roadmap-note,
.roadmap-status,
.roadmap-footnote {
  font-size: 16px;
  line-height: 26px;
  color: var(--text-secondary);
}

.roadmap-note {
  flex: 1;
  min-width: 0;
}

.roadmap-status {
  width: 120px;
  flex-shrink: 0;
  text-align: right;
}

.release {
  padding-block: 40px;
  border-top: 1px solid var(--hairline);
}

.release-when {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.release-date {
  font-size: 22px;
  font-weight: 500;
  line-height: 30px;
  letter-spacing: -0.02em;
}

.release-status {
  margin-left: 10px;
  color: rgba(247, 244, 240, 0.42);
}

.release-label {
  font-size: 16px;
  line-height: 24px;
  color: var(--text-secondary);
}

.release-body {
  flex: 1;
  min-width: 0;
  max-width: 840px;
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding-top: 2px;
}

.release-lines {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.release-lines li,
.release-note {
  font-size: 17px;
  line-height: 26px;
  letter-spacing: -0.005em;
  color: rgba(247, 244, 240, 0.75);
}

.release-note {
  color: var(--text-secondary);
}

@media (max-width: 720px) {
  .changelog-row {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .changelog-side {
    width: auto;
  }

  .release {
    padding-block: 32px;
  }

  .release .changelog-side {
    padding-bottom: 12px;
  }

  .roadmap-footnote-row .changelog-side {
    display: none;
  }

  .roadmap-status {
    width: auto;
    white-space: nowrap;
  }
}
