/* Changelog (v2/changelog.html). Markup: tools/changelog_page.py; behaviour: ../js/changelog-page.js */
.clp { --ink: #242426; --sub: #5d5d63; --mute: #68686f; --line: #ececf1; --soft: #f6f5fa; --lav: #efe9ff; --dark: #16151b;
  --c-new: #7d40ff; --c-improved: #2b2a33; --c-security: #e0911a; --c-fixed: #b9b8c2; color: var(--ink); }
.tp-page main.clp { padding-bottom: 72px; }
.clp h1, .clp h2, .clp h3 { color: var(--ink); }
.clp .btn > i svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; stroke-linejoin: round; }
.clp .sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.clp #cl-log { scroll-margin-top: 100px; }
.cl-c--new { background: var(--c-new); } .cl-c--improved { background: var(--c-improved); } .cl-c--security { background: var(--c-security); } .cl-c--fixed { background: var(--c-fixed); }

/* hero */
.clp-hero { position: relative; isolation: isolate; margin: 86px 30px 0; padding: 40px 0 130px; border-radius: 26px; overflow: hidden; color: #fff;
  background: radial-gradient(50% 75% at 85% 20%, rgba(125, 64, 255, 0.42), rgba(125, 64, 255, 0) 65%), radial-gradient(45% 60% at 5% 115%, rgba(125, 64, 255, 0.22), rgba(125, 64, 255, 0) 70%), #111312; }
.clp-hero::before { content: ""; position: absolute; inset: 0; z-index: -1; background: radial-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1.5px) 0 0 / 24px 24px; -webkit-mask-image: radial-gradient(55% 75% at 78% 40%, #000, transparent 75%); mask-image: radial-gradient(55% 75% at 78% 40%, #000, transparent 75%); }
.clp-crumb { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255, 255, 255, 0.55); }
.clp-crumb a { color: rgba(255, 255, 255, 0.72); text-decoration: none; } .clp-crumb a:hover { color: #fff; }
.clp-crumb b { font-weight: 500; color: #c9b6ff; }
.clp-hero__grid { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); align-items: center; gap: 56px; margin-top: 40px; }
.clp .clp-hero h1 { margin: 0; font-family: var(--display); font-size: clamp(44px, 5.6vw, 80px); font-weight: 400; line-height: 1.02; letter-spacing: -0.05em; color: #fff; }
.clp-lead { max-width: 50ch; margin: 22px 0 0; font-size: 18px; line-height: 1.6; color: rgba(255, 255, 255, 0.66); }
.clp-acts { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.clp-hero .btn--line, .clp-cta .btn--line { border: 0; background: rgba(255, 255, 255, 0.06); color: #fff; box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2); backdrop-filter: none; }
.clp-hero .btn--line:hover { background: rgba(255, 255, 255, 0.12); }
.clp-hero .btn--line > i, .clp-cta .btn--line > i { background: rgba(255, 255, 255, 0.14); color: #fff; }

/* the three latest releases, stacked */
.cl-deck { position: relative; height: 330px; }
.cl-deck__chip { position: absolute; z-index: 5; top: -6px; right: 22px; display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; border-radius: 999px; background: #fff; font-size: 13.5px; font-weight: 600; color: var(--ink); box-shadow: 0 12px 24px -12px rgba(0, 0, 0, 0.5); }
.cl-deck__chip i { width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 3px rgba(125, 64, 255, 0.25); }
.cl-deck__card { position: absolute; left: 0; right: 0; padding: 22px 24px; border-radius: 22px; background: #fff; color: var(--ink); box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8); transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1); }
.cl-deck__card--3 { top: 0; transform: scale(0.88); opacity: 0.55; }
.cl-deck__card--2 { top: 34px; transform: scale(0.94); opacity: 0.8; }
.cl-deck__card--1 { top: 74px; }
.cl-deck:hover .cl-deck__card--3 { transform: scale(0.88) translateY(-10px); }
.cl-deck:hover .cl-deck__card--2 { transform: scale(0.94) translateY(-6px); }
.cl-deck__m { display: flex; justify-content: space-between; margin: 0; font-size: 13px; color: var(--mute); }
.cl-deck__m b { font-weight: 600; color: var(--brand); }
.cl-deck__h { margin: 10px 0 0; font-family: var(--display); font-size: 22px; font-weight: 500; line-height: 1.2; letter-spacing: -0.03em; }
.cl-deck__p { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 8px 0 0; font-size: 14px; line-height: 1.5; color: var(--sub); }
.cl-deck__tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.cl-t { padding: 4px 9px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.cl-t--new { background: var(--lav); color: var(--brand); } .cl-t--improved { background: #ececf1; color: var(--c-improved); }
.cl-t--security { background: #fdf1e2; color: #a3590b; } .cl-t--fixed { background: var(--soft); color: var(--mute); }
.cl-mix { display: flex; gap: 3px; height: 6px; margin-top: 14px; border-radius: 99px; overflow: hidden; }
.cl-mix i { height: 100%; border-radius: 99px; }

/* stats over the hero's lower edge */
.clp-stats-sec { position: relative; z-index: 2; margin-top: -84px; }
.clp-stats { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.clp-stat { padding: 24px 26px 26px; border-radius: 22px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 30px 60px -40px rgba(30, 20, 70, 0.55); }
.clp-stat__top { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 500; color: var(--sub); }
.clp-stat__ic { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 10px; background: var(--lav); color: var(--brand); }
.clp-stat__ic svg { width: 17px; height: 17px; fill: none; stroke: currentColor; stroke-width: 1.9; stroke-linecap: round; stroke-linejoin: round; }
.clp-stat__n { margin: 18px 0 0; font-family: var(--display); font-size: 56px; font-weight: 500; line-height: 1; letter-spacing: -0.05em; }
.clp-stat__n i { margin-left: 6px; font-style: normal; font-size: 22px; letter-spacing: -0.02em; color: var(--brand); }
.clp-stat__l { margin: 10px 0 0; font-size: 14.5px; color: var(--sub); }
.clp-bar { display: block; height: 6px; margin-top: 20px; border-radius: 99px; background: #f0eef6; overflow: hidden; }
.clp-bar i { display: block; width: var(--w); height: 100%; border-radius: inherit; background: linear-gradient(90deg, #b99bff, var(--brand)); transform: scaleX(0); transform-origin: left; transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1) 0.15s; }
.clp-segs { display: grid; grid-template-columns: repeat(10, minmax(0, 1fr)); gap: 4px; margin-top: 20px; }
.clp-segs i { height: 6px; border-radius: 99px; background: linear-gradient(90deg, #b99bff, var(--brand)); transform: scaleX(0); transform-origin: left; transition: transform 0.4s ease; }
.clp-stats.is-in .clp-bar i, .clp-stats.is-in .clp-segs i { transform: none; }
.clp-segs i:nth-child(n+2) { transition-delay: 0.05s; } .clp-segs i:nth-child(n+4) { transition-delay: 0.12s; } .clp-segs i:nth-child(n+6) { transition-delay: 0.2s; } .clp-segs i:nth-child(n+8) { transition-delay: 0.28s; }

/* statement */
.clp-say { padding: 110px 0 0; }
.clp-say p { max-width: 22ch; margin: 0; font-family: var(--display); font-size: clamp(34px, 4.6vw, 64px); font-weight: 400; line-height: 1.08; letter-spacing: -0.045em; color: var(--ink); }
.clp-say p span { color: #8e8d97; } /* large text: 3.3:1 (was 2.1:1) */

/* the log */
.clp-sec { padding: 104px 0 0; }
.clp .clp-h2 { margin: 0; font-family: var(--display); font-size: clamp(30px, 3.4vw, 48px); font-weight: 400; line-height: 1.08; letter-spacing: -0.045em; }
.clp-log__head { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; flex-wrap: wrap; }
.cl-key { display: flex; gap: 16px; margin: 0; font-size: 13.5px; color: var(--sub); }
.cl-key span { display: inline-flex; align-items: center; gap: 7px; }
.cl-key i { width: 10px; height: 10px; border-radius: 3px; }
.cl-tools { position: sticky; top: 96px; z-index: 6; display: flex; gap: 10px; margin-top: 28px; padding: 8px; border-radius: 20px; background: rgba(255, 255, 255, 0.9); box-shadow: 0 0 0 1px var(--line), 0 20px 40px -30px rgba(30, 20, 70, 0.45); backdrop-filter: blur(12px); transition: top 0.45s cubic-bezier(0.16, 1, 0.3, 1); }
body:has(.hd.is-hide) .cl-tools { top: 14px; }
.cl-search { position: relative; display: flex; flex: 1; align-items: center; gap: 10px; padding: 0 16px; border-radius: 14px; background: var(--soft); transition: box-shadow 0.2s ease, background 0.2s ease; }
.cl-search:focus-within { background: #fff; box-shadow: inset 0 0 0 2px var(--brand); }
.cl-search svg { flex: none; width: 18px; height: 18px; fill: none; stroke: var(--mute); stroke-width: 1.8; stroke-linecap: round; }
.cl-search input { flex: 1; min-width: 0; height: 48px; border: 0; outline: 0; background: none; font: inherit; font-size: 15.5px; color: var(--ink); }
.cl-sel { display: flex; align-items: center; gap: 8px; padding: 0 6px 0 16px; border-radius: 14px; background: var(--soft); font-size: 13px; color: var(--mute); }
.cl-sel select { height: 48px; padding: 0 30px 0 4px; border: 0; outline: 0; background: transparent url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238a8a90' stroke-width='2' stroke-linecap='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") right 8px center / 14px no-repeat; font: inherit; font-size: 15px; font-weight: 500; color: var(--ink); appearance: none; cursor: pointer; }
.cl-count { margin: 14px 4px 0; font-size: 13.5px; color: var(--mute); }
.cl-list { position: relative; margin: 34px 0 0; padding: 0; list-style: none; }
.cl-list::before { content: ""; position: absolute; top: 12px; bottom: 12px; left: 251px; width: 2px; border-radius: 2px; background: linear-gradient(180deg, var(--brand), #e6defb 30%, #ececf1); }
.cl-rel { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 60px; }
.cl-rel + .cl-rel { margin-top: 28px; }
.cl-rel[hidden] { display: none; }
.cl-rel__meta { position: sticky; top: 190px; align-self: start; padding-top: 6px; text-align: right; }
.cl-rel__dot { position: absolute; top: 12px; right: -37px; width: 14px; height: 14px; border-radius: 50%; background: #fff; box-shadow: inset 0 0 0 3px var(--brand); }
.cl-rel.is-latest .cl-rel__dot { background: var(--brand); box-shadow: 0 0 0 5px rgba(125, 64, 255, 0.2); }
.cl-latest { display: inline-block; margin-bottom: 8px; padding: 4px 10px; border-radius: 999px; background: var(--brand); font-size: 12px; font-weight: 600; color: #fff; }
.cl-rel__m { margin: 0; font-family: var(--display); font-size: 26px; font-weight: 500; letter-spacing: -0.035em; color: var(--ink); }
.cl-rel__d { margin: 4px 0 0; font-size: 13.5px; color: var(--mute); }
.cl-rel__meta .cl-mix { width: 140px; margin: 14px 0 0 auto; }
.cl-rel__n { margin: 8px 0 0; font-size: 13px; font-weight: 500; color: var(--sub); }
.cl-rel__card { padding: 28px 30px 20px; border-radius: 24px; background: #fff; box-shadow: 0 0 0 1px var(--line), 0 24px 48px -42px rgba(30, 20, 70, 0.5); }
.cl-rel.is-latest .cl-rel__card { background: radial-gradient(70% 50% at 100% 0%, rgba(184, 155, 255, 0.28), rgba(184, 155, 255, 0) 70%), linear-gradient(180deg, #faf8ff, #fff 40%); box-shadow: 0 0 0 1.5px rgba(125, 64, 255, 0.35), 0 30px 60px -40px rgba(60, 30, 140, 0.55); }
.clp .cl-rel__t { margin: 0 0 14px; font-family: var(--display); font-size: 24px; font-weight: 500; line-height: 1.25; letter-spacing: -0.03em; }
.cl-items { margin: 0; padding: 0; list-style: none; }
.cl-item { display: grid; grid-template-columns: 92px minmax(0, 1fr); align-items: start; gap: 14px; padding: 12px 0; border-top: 1px solid var(--line); }
.cl-item[hidden] { display: none; }
.cl-item p { margin: 0; font-size: 15px; line-height: 1.6; color: var(--sub); }
.cl-tag { justify-self: start; margin-top: 1px; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 600; }
.cl-tag--new { background: var(--lav); color: var(--brand); }
.cl-tag--improved { background: var(--c-improved); color: #fff; }
.cl-tag--security { background: #fdf1e2; color: #a3590b; }
.cl-tag--fixed { background: var(--soft); color: var(--mute); box-shadow: inset 0 0 0 1px var(--line); }
.cl-empty { margin: 30px 0 0; padding: 40px; border-radius: 22px; background: var(--soft); text-align: center; font-size: 16px; color: var(--sub); }

/* closing */
.clp-cta { padding: 104px 0 0; }
.clp .clp-cta h2 { margin: 0; font-family: var(--display); font-size: clamp(30px, 3.2vw, 44px); font-weight: 400; line-height: 1.1; letter-spacing: -0.04em; color: #fff; }
.clp-cta__acts { position: relative; flex: none; display: flex; flex-direction: column; gap: 10px; margin: 0; }
.clp .clp-cta .tp-cta p.clp-cta__acts { margin: 0; }

@media (max-width: 1100px) {
  .clp-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 50px; }
  .cl-deck { max-width: 560px; }
  .cl-list::before { left: 7px; }
  .cl-rel { grid-template-columns: minmax(0, 1fr); gap: 14px; padding-left: 34px; }
  .cl-rel__meta { position: relative; top: auto; text-align: left; }
  .cl-rel__dot { right: auto; left: -34px; top: 10px; }
  .cl-rel__meta .cl-mix { margin-left: 0; }
}
@media (max-width: 760px) {
  .clp-hero { margin: 78px 12px 0; padding: 28px 0 100px; border-radius: 22px; }
  .clp-lead { font-size: 16.5px; }
  .clp-acts .btn { width: 100%; }
  .cl-deck { height: 300px; }
  .clp-stats-sec { margin-top: -64px; }
  .clp-stats { grid-template-columns: minmax(0, 1fr); }
  .clp-stat__n { font-size: 46px; }
  .clp-say, .clp-sec, .clp-cta { padding-top: 72px; }
  .cl-tools { position: static; flex-wrap: wrap; }
  .cl-search { flex-basis: 100%; }
  .cl-sel { flex: 1 1 0; min-width: 0; padding-left: 12px; }
  .cl-sel select { min-width: 0; width: 100%; }
  .cl-key { flex-wrap: wrap; gap: 10px 14px; }
  .cl-rel { padding-left: 26px; }
  .cl-rel__dot { left: -26px; }
  .cl-rel__card { padding: 22px 18px 14px; }
  .cl-item { grid-template-columns: minmax(0, 1fr); gap: 6px; }
}
/* the cards behind show only their month line */
.cl-deck__card--2 > :not(.cl-deck__m), .cl-deck__card--3 > :not(.cl-deck__m) { visibility: hidden; }
.cl-deck { height: 300px; margin-top: 10px; }

/* ---- responsive rhythm pass (tablets ~88px between sections, compact stat cards on phones) ---- */
@media (min-width: 761px) and (max-width: 1024px) { .clp-say, .clp-sec, .clp-cta { padding-top: 88px; } }
@media (max-width: 760px) {
  .clp-stats { gap: 10px; }
  .clp-stat { padding: 18px 20px 20px; border-radius: 20px; }
  .clp-stat__n { margin-top: 12px; font-size: 40px; }
  .clp-stat__l { margin-top: 6px; font-size: 14px; }
  .clp-stat .clp-bar, .clp-stat .clp-segs { margin-top: 14px; }
}

/* ---- desktop/tablet pass: small laptops (961-1100px) keep the two-column hero instead of stacking it ---- */
@media (min-width: 961px) and (max-width: 1100px) { .clp-hero__grid { grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr); gap: 36px; align-items: center; } }

/* phones: release titles at a size that fits the card (24px ran two words a line) */
@media (max-width: 760px) { .clp .cl-rel__t { font-size: 21px; } }

/* No status dots in front of labels anywhere on the site */
.cl-deck__chip i { display: none !important; }
