/* ---------- The Updates page ----------
   updates/index.html only. The hero's "What's New" card is whatsnew.css.
   A new entry is a <section class="update-entry"> at the TOP of the list,
   newest first, so the nightly job prepends and never reorders.
   ASCII only, per house rules. */

.updates-main {
  max-width: 900px;
  margin: 0 auto;
  padding: clamp(28px, 5vw, 64px) clamp(18px, 5vw, 40px) 80px;
}

.updates-intro h1 {
  margin: 0;
  color: var(--text);
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 800;
  letter-spacing: -1px;
}

.updates-intro p {
  margin: 14px 0 0;
  max-width: 640px;
  color: var(--muted);
  font-size: clamp(14px, 1.2vw, 16px);
  line-height: 1.6;
}

.updates-list {
  margin-top: clamp(28px, 4vw, 48px);
}

.update-entry {
  padding: clamp(20px, 2.4vw, 28px) 0;
  border-top: 1px solid var(--line);
}

.update-entry:first-child { border-top: none; }

.update-date {
  margin: 0 0 4px;
  color: var(--accent-2, #dfff3f);
  font-family: var(--font-mono);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.update-entry h2 {
  margin: 0 0 16px;
  color: var(--text);
  font-size: clamp(19px, 2.1vw, 25px);
  font-weight: 700;
  letter-spacing: -0.4px;
}

.update-items {
  margin: 0;
  padding: 0;
  list-style: none;
}

.update-items > li {
  position: relative;
  margin: 0 0 14px;
  padding-left: 20px;
  color: var(--text);
  font-size: clamp(14px, 1.15vw, 15.5px);
  line-height: 1.6;
}

.update-items > li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 9px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-2, #dfff3f);
}

.update-items > li:last-child { margin-bottom: 0; }

.update-item-title {
  font-weight: 700;
}

.update-items a {
  color: var(--accent-2, #dfff3f);
  text-decoration: none;
  border-bottom: 1px solid rgba(223, 255, 63, 0.35);
}

.update-items a:hover {
  color: var(--text);
  border-bottom-color: var(--text);
}

/* A group heading inside one day's entry, for a day big enough that a flat
   list stops reading as anything. Optional, entries without one are fine. */
.update-group {
  margin: 22px 0 10px;
  color: var(--muted);
  font-family: var(--font-mono);
  font-size: 11.5px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.update-group:first-child { margin-top: 0; }

.updates-foot {
  margin-top: clamp(32px, 4vw, 56px);
  padding-top: 22px;
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.6;
}

.updates-foot a {
  color: var(--accent-2, #dfff3f);
  text-decoration: none;
}

.updates-foot a:hover { color: var(--text); }
