/* ------------------------------------------------------------------
   norm1e69 — changelog
   Loaded after norm1e69.css. The page is built from the landing's own
   parts (nav, tags, buttons, terminal, FAQ, forest CTA, footer); this
   file adds only what a release entry needs.
------------------------------------------------------------------ */

.nav-links a[aria-current="page"] {
  color: var(--ink);
  background: rgba(14, 21, 17, 0.06);
}

/* ---------- hero ---------- */

.page-hero {
  padding: clamp(124px, 14vw, 184px) 0 0;
  text-align: center;
}
.page-hero .display {
  margin: 28px auto 0;
  max-width: 13em;
  font-size: clamp(2.45rem, 6.6vw, 5.8rem);
  line-height: 0.95;
  letter-spacing: -0.058em;
}
.page-hero .lead {
  margin: 28px auto 0;
  max-width: 54ch;
}

/* ---------- releases ---------- */

.releases {
  padding-top: clamp(48px, 6vw, 80px);
}
.timeline {
  list-style: none;
  margin: 0;
  padding: 0;
}
.release {
  scroll-margin-top: 96px;
}
.release + .release {
  margin-top: clamp(72px, 9vw, 128px);
}

/* One release opens with a tile: what it is on the left, the config it
   ships with on the right. */
.release-tile {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  gap: clamp(24px, 4vw, 64px);
  align-items: center;
  padding: clamp(24px, 4vw, 56px);
  border-radius: var(--r-xl);
  background: var(--tile);
}
.release-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.release-badge {
  padding: 7px 13px;
  border-radius: 999px;
  background: var(--lime);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
.release-meta time {
  margin-left: 8px;
  font-size: 14px;
  color: var(--ink-2);
  font-variant-numeric: tabular-nums;
}
.release-tile .h2 {
  margin-top: 28px;
  font-size: clamp(1.9rem, 3.6vw, 3.1rem);
}
.release-tile .lead {
  margin-top: 20px;
  font-size: 1.06rem;
}
.release-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
  margin: 28px 0 0;
  padding: 0;
}
.release-tags li {
  display: inline-flex;
  align-items: center;
  height: 36px;
  padding: 0 15px;
  border-radius: 999px;
  background: var(--paper);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.01em;
}
/* The landing's terminal, on a light tile: a softer shadow than on forest. */
.release-tile .shot {
  box-shadow: 0 30px 60px -32px rgba(14, 21, 17, 0.45);
}
/* A short config, not a log: on a narrow screen its comments wrap instead
   of running off the edge. */
.release-tile .term {
  white-space: pre-wrap;
}

/* What the build adds, group by group. */
.groups {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(40px, 5vw, 72px) clamp(32px, 6vw, 96px);
  margin-top: clamp(48px, 6vw, 88px);
}
.group {
  padding-top: 22px;
  border-top: 1px solid var(--ink);
}
.group h3 {
  font-size: clamp(1.3rem, 2vw, 1.6rem);
  letter-spacing: -0.035em;
  line-height: 1.1;
}
.group ul {
  list-style: none;
  margin: 22px 0 0;
  padding: 0;
}
.group li {
  position: relative;
  padding: 15px 0 15px 32px;
  border-top: 1px solid var(--line);
  font-size: 16px;
  color: var(--ink-2);
  text-wrap: pretty;
}
.group li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 19px;
  width: 18px;
  height: 18px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230b7a47' stroke-width='2'><path d='M20 6L9 17l-5-5'/></svg>")
    center / contain no-repeat;
}

/* ---------- responsive ---------- */

@media (max-width: 900px) {
  .release-tile,
  .groups {
    grid-template-columns: minmax(0, 1fr);
  }
}

@media (max-width: 640px) {
  /* The landing keeps room for its sticky buy bar; this page has none. */
  body {
    padding-bottom: 0;
  }
  .release-tile {
    margin-left: -8px;
    margin-right: -8px;
    padding: 22px 18px 18px;
  }
}
