:root {
  --cl-page: #101218;
  --cl-surface: #151821;
  --cl-band: #181b24;
  --cl-header: #101218;
  --cl-text: #f7f8fb;
  --cl-muted: #aeb4c1;
  --cl-border: #2b303b;
  --cl-rail: #343a47;
  --cl-accent: #8b78ff;
  --cl-accent-strong: #765ff2;
  --cl-preview: #ff8b7b;
  --cl-focus: #b8abff;
  --cl-date-column: 172px;
  --cl-rail-column: 48px;
}

html[data-theme="light"] {
  --cl-page: #ffffff;
  --cl-surface: #f7f8fa;
  --cl-band: #f4f5f8;
  --cl-header: #ffffff;
  --cl-text: #101116;
  --cl-muted: #5d6472;
  --cl-border: #e3e5ea;
  --cl-rail: #d8dbe2;
  --cl-accent: #654ce8;
  --cl-accent-strong: #5e43e5;
  --cl-preview: #d94e43;
  --cl-focus: #5035d8;
}

html {
  scroll-behavior: smooth;
}

body.changelog-body {
  margin: 0;
  min-width: 320px;
  background: var(--cl-page);
  color: var(--cl-text);
  font-family: Roboto, "Segoe UI", -apple-system, BlinkMacSystemFont, Helvetica, Arial, sans-serif;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

.changelog-body a {
  color: inherit;
}

.changelog-shell {
  width: min(1180px, calc(100% - 48px));
  margin-inline: auto;
}

.changelog-skip-link {
  position: fixed;
  z-index: 100;
  top: 12px;
  left: 12px;
  padding: 10px 14px;
  border-radius: 8px;
  background: var(--cl-text);
  color: var(--cl-page) !important;
  font-weight: 700;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.changelog-skip-link:focus {
  transform: translateY(0);
}

.changelog-header {
  position: sticky;
  z-index: 20;
  top: 0;
  border-bottom: 1px solid var(--cl-border);
  background: var(--cl-header);
}

.changelog-header__inner {
  min-height: 76px;
  display: flex;
  align-items: center;
  gap: 28px;
}

.changelog-logo {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 10px;
  color: var(--cl-text) !important;
  font-size: 1.33rem;
  font-weight: 800;
  letter-spacing: -0.035em;
  line-height: 1;
  text-decoration: none;
}

.changelog-logo img {
  width: 32px;
  height: 32px;
  object-fit: contain;
}

.changelog-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  gap: 34px;
}

.changelog-nav a {
  position: relative;
  padding: 27px 0 25px;
  color: var(--cl-muted) !important;
  font-size: 0.98rem;
  font-weight: 650;
  text-decoration: none;
  transition: color 180ms ease;
}

.changelog-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--cl-preview);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.changelog-nav a:hover,
.changelog-nav a[aria-current="page"] {
  color: var(--cl-text) !important;
}

.changelog-nav a:hover::after,
.changelog-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.changelog-header__actions {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
  gap: 12px;
}

.changelog-header .theme-toggle {
  flex: 0 0 auto;
  margin: 0;
}

.changelog-header__cta,
.changelog-primary-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid transparent;
  border-radius: 999px;
  background: var(--cl-accent-strong);
  color: #ffffff !important;
  font-size: 0.95rem;
  font-weight: 750;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 28px rgba(76, 52, 190, 0.2);
  transition: transform 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.changelog-header__cta {
  padding: 0 22px;
}

.changelog-header__cta:hover,
.changelog-primary-action:hover {
  background: var(--cl-accent);
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 14px 34px rgba(76, 52, 190, 0.28);
}

.changelog-header__cta:active,
.changelog-primary-action:active {
  transform: translateY(0);
}

.changelog-hero {
  padding: 72px 0 66px;
  border-bottom: 1px solid var(--cl-border);
  background: var(--cl-surface);
}

.changelog-hero h1 {
  max-width: 1080px;
  margin: 0;
  color: var(--cl-text);
  font-size: clamp(3.25rem, 4.8vw, 4.15rem);
  font-weight: 850;
  letter-spacing: -0.062em;
  line-height: 0.99;
}

.changelog-hero p {
  max-width: 690px;
  margin: 22px 0 0;
  color: var(--cl-muted);
  font-size: clamp(1.08rem, 1.8vw, 1.3rem);
  font-weight: 450;
  letter-spacing: -0.012em;
  line-height: 1.52;
}

.changelog-hero .changelog-hero__updated {
  margin-top: 18px;
  color: var(--cl-text);
  font-size: 0.87rem;
  font-weight: 700;
  letter-spacing: 0.015em;
  line-height: 1.4;
}

.changelog-hero__updated time {
  color: var(--cl-muted);
  font-weight: 600;
}

.changelog-explore {
  border-bottom: 1px solid var(--cl-border);
  background: var(--cl-band);
}

.changelog-explore__inner {
  min-height: 66px;
  display: flex;
  align-items: center;
  gap: 30px;
}

.changelog-explore p {
  flex: 0 0 auto;
  margin: 0;
  color: var(--cl-text);
  font-size: 0.86rem;
  font-weight: 800;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.changelog-explore a {
  color: var(--cl-muted) !important;
  font-size: 0.94rem;
  font-weight: 680;
  text-decoration-color: color-mix(in srgb, var(--cl-muted) 36%, transparent);
  text-underline-offset: 4px;
  transition: color 180ms ease, text-decoration-color 180ms ease;
}

.changelog-explore a:hover {
  color: var(--cl-text) !important;
  text-decoration-color: currentColor;
}

.changelog-feed {
  padding: 104px 0 110px;
  background: var(--cl-page);
}

.changelog-timeline {
  position: relative;
  width: min(100%, 980px);
  margin-inline: auto;
  --timeline-left: calc(var(--cl-date-column) + (var(--cl-rail-column) / 2) - 1px);
}

.changelog-timeline__rail {
  position: absolute;
  z-index: 0;
  top: 10px;
  bottom: 8px;
  left: var(--timeline-left);
  width: 2px;
  overflow: hidden;
  border-radius: 999px;
  background: var(--cl-rail);
}

.changelog-timeline__progress {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: var(--cl-accent);
  transform: scaleY(var(--changelog-progress, 0));
  transform-origin: top;
  will-change: transform;
}

.changelog-group {
  --group-accent: #654ce8;
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: var(--cl-date-column) var(--cl-rail-column) minmax(0, 1fr);
  align-items: start;
  margin-bottom: 76px;
}

.changelog-group:last-child {
  margin-bottom: 0;
}

.changelog-group:nth-of-type(4n + 2) {
  --group-accent: #e85b50;
}

.changelog-group:nth-of-type(4n + 3) {
  --group-accent: #00a99a;
}

.changelog-group:nth-of-type(4n + 4) {
  --group-accent: #e4a11b;
}

.changelog-group__meta {
  padding: 1px 22px 0 0;
  text-align: right;
}

.changelog-group__meta time {
  display: block;
  color: var(--cl-text);
  font-size: 0.93rem;
  font-weight: 720;
  letter-spacing: -0.012em;
  line-height: 1.35;
}

.changelog-group__status {
  display: block;
  margin-top: 7px;
  color: var(--cl-preview);
  font-size: 0.77rem;
  font-weight: 760;
  letter-spacing: 0.045em;
  line-height: 1.3;
  text-transform: uppercase;
}

.changelog-group__marker {
  position: relative;
  z-index: 2;
  justify-self: center;
  width: 15px;
  height: 15px;
  margin-top: 3px;
  border: 4px solid var(--cl-page);
  border-radius: 50%;
  background: var(--group-accent);
  box-shadow: 0 0 0 2px var(--group-accent);
}

.changelog-group__entries {
  min-width: 0;
  padding: 0 0 0 18px;
}

.changelog-entry {
  padding: 0 0 30px;
  margin: 0 0 30px;
  border-bottom: 1px solid var(--cl-border);
}

.changelog-entry:last-child {
  padding-bottom: 0;
  margin-bottom: 0;
  border-bottom: 0;
}

.changelog-entry h3 {
  max-width: 760px;
  margin: 0;
  color: var(--cl-text);
  font-size: clamp(1.32rem, 2.2vw, 1.65rem);
  font-weight: 790;
  letter-spacing: -0.035em;
  line-height: 1.18;
}

.changelog-entry p {
  max-width: 760px;
  margin: 11px 0 0;
  color: var(--cl-muted);
  font-size: 1.035rem;
  letter-spacing: -0.008em;
  line-height: 1.62;
}

.changelog-entry__link {
  width: fit-content;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 15px;
  color: var(--cl-accent-strong) !important;
  font-size: 0.94rem;
  font-weight: 760;
  line-height: 1.35;
  text-decoration: none;
}

.changelog-entry__link svg {
  width: 18px;
  height: 18px;
  transition: transform 180ms ease;
}

.changelog-entry__link:hover svg {
  transform: translateX(3px);
}

.changelog-notes {
  width: min(100%, 860px);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 42px;
  margin: 92px auto 0;
  padding-top: 34px;
  border-top: 1px solid var(--cl-border);
}

.changelog-history-note {
  min-width: 0;
}

.changelog-history-note h2 {
  margin: 0;
  color: var(--cl-text);
  font-size: 1.17rem;
  font-weight: 780;
  letter-spacing: -0.025em;
}

.changelog-history-note p {
  margin: 9px 0 0;
  color: var(--cl-muted);
  font-size: 0.98rem;
  line-height: 1.6;
}

.changelog-closing {
  padding: 74px 0;
  border-top: 1px solid var(--cl-border);
  border-bottom: 1px solid var(--cl-border);
  background: var(--cl-band);
}

.changelog-closing__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 44px;
}

.changelog-closing h2 {
  margin: 0;
  color: var(--cl-text);
  font-size: clamp(1.8rem, 3.5vw, 2.7rem);
  font-weight: 820;
  letter-spacing: -0.045em;
  line-height: 1.1;
}

.changelog-closing p {
  max-width: 650px;
  margin: 12px 0 0;
  color: var(--cl-muted);
  font-size: 1rem;
  line-height: 1.55;
}

.changelog-primary-action {
  min-width: 190px;
  padding: 0 24px;
  gap: 11px;
  white-space: nowrap;
}

.changelog-closing__actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.changelog-secondary-action {
  color: var(--cl-text) !important;
  font-size: 0.94rem;
  font-weight: 750;
  text-decoration-color: var(--cl-border);
  text-underline-offset: 5px;
}

.changelog-secondary-action:hover {
  text-decoration-color: currentColor;
}

.changelog-primary-action svg {
  width: 20px;
  height: 20px;
  transition: transform 180ms ease;
}

.changelog-primary-action:hover svg {
  transform: translateX(3px);
}

.changelog-footer {
  padding: 34px 0;
  background: var(--cl-page);
}

.changelog-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 30px;
}

.changelog-logo--footer {
  font-size: 1.05rem;
}

.changelog-logo--footer img {
  width: 28px;
  height: 28px;
}

.changelog-footer__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
}

.changelog-footer__links a,
.changelog-footer p {
  color: var(--cl-muted) !important;
  font-size: 0.9rem;
  line-height: 1.4;
}

.changelog-footer__links a {
  text-decoration: none;
  transition: color 180ms ease;
}

.changelog-footer__links a:hover {
  color: var(--cl-text) !important;
}

.changelog-footer p {
  justify-self: end;
  margin: 0;
}

.changelog-body :focus-visible {
  outline: 3px solid var(--cl-focus);
  outline-offset: 4px;
}

html.changelog-motion-ready .changelog-group[data-changelog-reveal] {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 560ms cubic-bezier(0.22, 1, 0.36, 1),
    transform 560ms cubic-bezier(0.22, 1, 0.36, 1);
}

html.changelog-motion-ready .changelog-group[data-changelog-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 880px) {
  :root {
    --cl-date-column: 136px;
    --cl-rail-column: 42px;
  }

  .changelog-header__inner {
    gap: 18px;
  }

  .changelog-nav {
    gap: 22px;
  }

  .changelog-group__meta {
    padding-right: 16px;
  }

  .changelog-group__entries {
    padding-left: 14px;
  }
}

@media (max-width: 720px) {
  :root {
    --cl-date-column: 0px;
    --cl-rail-column: 32px;
  }

  .changelog-shell {
    width: min(100% - 32px, 620px);
  }

  .changelog-header__inner {
    min-height: 68px;
  }

  .changelog-logo {
    gap: 8px;
    font-size: 1.08rem;
  }

  .changelog-logo img {
    width: 28px;
    height: 28px;
  }

  .changelog-nav {
    display: none;
  }

  .changelog-header__actions {
    margin-left: auto;
    gap: 8px;
  }

  .changelog-header__cta {
    min-height: 40px;
    padding: 0 15px;
    font-size: 0.83rem;
  }

  .changelog-header .theme-toggle {
    transform: scale(0.92);
    transform-origin: right center;
  }

  .changelog-hero {
    padding: 76px 0 70px;
  }

  .changelog-hero h1 {
    font-size: clamp(3rem, 14vw, 4rem);
    letter-spacing: -0.065em;
    line-height: 1.01;
  }

  .changelog-hero p {
    margin-top: 24px;
    font-size: 1.06rem;
    line-height: 1.55;
  }

  .changelog-hero .changelog-hero__updated {
    margin-top: 17px;
    font-size: 0.83rem;
  }

  .changelog-explore__inner {
    min-height: 0;
    flex-wrap: wrap;
    gap: 12px 22px;
    padding-block: 20px;
  }

  .changelog-explore p {
    width: 100%;
  }

  .changelog-feed {
    padding: 76px 0 84px;
  }

  .changelog-timeline {
    --timeline-left: 15px;
  }

  .changelog-group {
    grid-template-columns: var(--cl-rail-column) minmax(0, 1fr);
    margin-bottom: 62px;
  }

  .changelog-group__meta {
    grid-column: 2;
    grid-row: 1;
    padding: 0 0 17px 12px;
    text-align: left;
  }

  .changelog-group__meta time {
    font-size: 0.82rem;
    letter-spacing: 0.045em;
    text-transform: uppercase;
  }

  .changelog-group__status {
    margin-top: 5px;
  }

  .changelog-group__marker {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 14px;
    height: 14px;
    margin-top: 1px;
  }

  .changelog-group__entries {
    grid-column: 2;
    grid-row: 2;
    padding-left: 12px;
  }

  .changelog-entry {
    padding-bottom: 26px;
    margin-bottom: 26px;
  }

  .changelog-entry h3 {
    font-size: clamp(1.45rem, 7vw, 1.9rem);
    line-height: 1.16;
  }

  .changelog-entry p {
    margin-top: 12px;
    font-size: 1rem;
    line-height: 1.64;
  }

  .changelog-notes {
    width: calc(100% - 44px);
    grid-template-columns: 1fr;
    gap: 28px;
    margin-top: 70px;
    margin-left: 44px;
  }

  .changelog-closing {
    padding: 62px 0;
  }

  .changelog-closing__inner {
    align-items: flex-start;
    flex-direction: column;
    gap: 28px;
  }

  .changelog-primary-action {
    width: 100%;
    min-height: 50px;
  }

  .changelog-closing__actions {
    width: 100%;
    align-items: stretch;
    flex-direction: column-reverse;
    gap: 18px;
  }

  .changelog-secondary-action {
    align-self: center;
  }

  .changelog-footer {
    padding: 30px 0;
  }

  .changelog-footer__inner {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 22px;
    text-align: center;
  }

  .changelog-footer__links {
    flex-wrap: wrap;
    gap: 12px 22px;
  }

  .changelog-footer p {
    justify-self: center;
  }
}

@media (max-width: 390px) {
  .changelog-shell {
    width: calc(100% - 28px);
  }

  .changelog-logo span {
    font-size: 0.98rem;
  }

  .changelog-header__cta {
    padding-inline: 6px;
    font-size: 0.78rem;
  }

  .changelog-header__actions {
    gap: 4px;
  }

  .changelog-header .theme-toggle {
    width: 54px;
    padding-inline: 3px;
  }

  .changelog-hero h1 {
    font-size: 2.82rem;
  }
}

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

  .changelog-body *,
  .changelog-body *::before,
  .changelog-body *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }

  html.changelog-motion-ready .changelog-group[data-changelog-reveal] {
    opacity: 1;
    transform: none;
  }
}
