*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--paper);
  font-family: var(--sans);
  font-size: var(--text-base);
  line-height: 1.43;
  -webkit-font-smoothing: antialiased;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

h1,
h2,
h3,
p,
ul,
figure {
  margin: 0;
}

.changelog {
  padding: clamp(56px, 7vw, 96px) 0 var(--section-y);
}

.changelog__head .eyebrow {
  color: var(--cobalt);
}

.changelog__head h1 {
  margin-top: 20px;
  font-family: var(--serif);
  font-size: clamp(32px, 3.4vw, 40px);
  font-weight: var(--weight-regular);
  letter-spacing: var(--tracking-display);
  line-height: 1.06;
}

.changelog__head > p:not(.eyebrow) {
  max-width: var(--measure-narrow);
  margin-top: 20px;
  color: #555b5b;
  font-size: var(--text-md);
  line-height: 1.55;
}

html.dark .changelog__head > p:not(.eyebrow) {
  color: #bbbdc9;
}

.changelog__entries {
  margin-top: clamp(56px, 7vw, 88px);
}

.cl-entry {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
  scroll-margin-top: calc(var(--nav-h) + 24px);
}

.cl-entry + .cl-entry {
  margin-top: clamp(64px, 7vw, 96px);
}

.cl-meta {
  position: sticky;
  top: calc(var(--nav-h) + 24px);
  padding-top: 7px;
  font-size: var(--text-sm);
  line-height: 1.4;
}

.cl-version {
  color: var(--ink);
  font-weight: var(--weight-regular);
}

.cl-version:hover {
  color: var(--cobalt);
}

.cl-date {
  display: block;
  margin-top: 4px;
  color: #555b5b;
}

html.dark .cl-date {
  color: #bbbdc9;
}

.cl-title {
  font-family: var(--serif);
  font-size: var(--text-2xl);
  font-weight: var(--weight-regular);
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.cl-section {
  margin-top: 28px;
}

.cl-section-heading {
  font-family: var(--serif);
  font-size: var(--text-lg);
  font-weight: var(--weight-regular);
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.cl-body,
.cl-bullets {
  margin-top: 10px;
  color: var(--ink-soft);
  font-size: var(--text-md);
  line-height: 1.6;
}

.cl-bullets {
  padding-left: 22px;
  list-style: disc;
}

.cl-bullets li + li {
  margin-top: 8px;
}

.cl-bullets li::marker {
  color: #555b5b;
}

html.dark .cl-bullets li::marker {
  color: #bbbdc9;
}

.cl-screenshot {
  margin-top: 20px;
}

.cl-screenshot figcaption {
  margin-top: 10px;
  color: #555b5b;
  font-size: var(--text-sm);
  line-height: 1.5;
}

html.dark .cl-screenshot figcaption {
  color: #bbbdc9;
}

.cl-empty {
  color: #555b5b;
  font-size: var(--text-md);
}

html.dark .cl-empty {
  color: #bbbdc9;
}

@media (max-width: 720px) {
  .cl-entry {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .cl-meta {
    position: static;
    display: flex;
    flex-wrap: wrap;
    gap: 4px 14px;
    align-items: baseline;
    padding-top: 0;
  }

  .cl-date {
    display: inline;
    margin-top: 0;
  }

  .cl-section {
    margin-top: 24px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}
