.updates-body {
  background:
    radial-gradient(circle at 18% -10%, rgba(88, 166, 255, .12), transparent 34rem),
    radial-gradient(circle at 82% 8%, rgba(179, 140, 255, .09), transparent 30rem),
    var(--bg);
}

.updates-shell {
  width: min(1320px, 100%);
}

.updates-topbar {
  align-items: start;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(148, 163, 184, .13);
}

.updates-topbar > div:first-child {
  display: grid;
  gap: 5px;
}

.updates-page-label {
  color: var(--info);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.quick-tab[aria-current="page"] {
  border-color: color-mix(in srgb, var(--voice), transparent 20%);
  background: color-mix(in srgb, var(--voice), transparent 88%);
}

.updates-chronicle-shell {
  width: 100%;
  max-width: 1180px;
  margin: 44px auto 0;
}

.updates-hero {
  display: grid;
  justify-items: start;
  gap: 28px;
  padding: clamp(24px, 4vw, 48px);
  border: 1px solid rgba(129, 140, 248, .18);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(99, 102, 241, .08), rgba(15, 23, 42, .25) 46%, rgba(56, 189, 248, .04)),
    rgba(17, 23, 30, .78);
  box-shadow: 0 24px 64px rgba(0, 0, 0, .18);
}

.updates-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9aaeff;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.updates-back-link:hover,
.updates-back-link:focus-visible {
  color: #c7d2fe;
  outline: none;
}

.updates-hero-copy {
  display: grid;
  max-width: 820px;
  gap: 8px;
}

.updates-hero-kicker {
  color: #a5b4fc;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .14em;
  text-transform: uppercase;
}

.updates-hero h2 {
  max-width: 780px;
  font-size: clamp(38px, 6vw, 66px);
  font-weight: 900;
  letter-spacing: -.055em;
  line-height: .98;
}

.updates-hero-subtitle {
  color: #cbd5e1;
  font-size: clamp(17px, 2vw, 21px);
  line-height: 1.4;
}

.updates-hero-copy > p:last-child {
  color: var(--muted);
  line-height: 1.55;
}

.updates-feed {
  --updates-timeline-gutter: clamp(44px, 5vw, 72px);
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) var(--updates-timeline-gutter) minmax(0, 1fr);
  row-gap: clamp(72px, 8vw, 112px);
  align-items: start;
  max-width: 1120px;
  margin: 48px auto 0;
  padding: 16px 0 48px;
}

.updates-feed::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    rgba(129, 140, 248, .05),
    rgba(129, 140, 248, .38) 12%,
    rgba(56, 189, 248, .32) 50%,
    rgba(129, 140, 248, .18) 88%,
    rgba(129, 140, 248, .04)
  );
}

.update-card {
  position: relative;
  z-index: 1;
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: minmax(0, 1fr) var(--updates-timeline-gutter) minmax(0, 1fr);
  row-gap: 14px;
  width: 100%;
}

.update-card::before {
  content: "";
  position: absolute;
  top: 18px;
  left: 50%;
  width: 15px;
  height: 15px;
  border: 3px solid rgba(15, 23, 42, .96);
  border-radius: 999px;
  background: #f97316;
  box-shadow: 0 0 0 3px rgba(249, 115, 22, .22), 0 0 18px rgba(249, 115, 22, .35);
  transform: translateX(-50%);
}

.updates-latest-card::before {
  background: var(--ok);
  box-shadow: 0 0 0 3px rgba(46, 212, 122, .2), 0 0 22px rgba(46, 212, 122, .35);
}

.updates-release-header {
  align-self: start;
  display: grid;
  width: min(100%, 430px);
  gap: 12px;
  padding-top: 12px;
}

.update-card:nth-child(odd) .updates-release-header {
  grid-column: 1;
  justify-self: end;
}

.update-card:nth-child(even) .updates-release-header {
  grid-column: 3;
  justify-self: start;
}

.updates-release-title-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
}

.updates-release-badge {
  padding: 5px 8px;
  border-radius: 5px;
  color: #aeb9c7;
  background: rgba(148, 163, 184, .1);
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.updates-release-badge--latest {
  color: #6ee7a2;
  background: rgba(46, 212, 122, .1);
}

.updates-release-version {
  color: #8b9aae;
  font-size: 12px;
  font-weight: 700;
}

.updates-release-title {
  color: var(--text);
  font-size: clamp(22px, 2.4vw, 30px);
  line-height: 1.12;
}

.updates-release-meta {
  display: grid;
  gap: 5px;
  color: #718096;
  font-size: 12px;
  line-height: 1.4;
}

.updates-release-meta time {
  color: #8b9aae;
  font-size: 13px;
}

.updates-change-panel {
  display: grid;
  justify-self: stretch;
  width: min(100%, 520px);
  gap: 18px;
  padding: clamp(18px, 2.25vw, 25px);
  border: 1px solid rgba(148, 163, 184, .16);
  border-radius: 14px;
  background: rgba(15, 23, 42, .68);
  box-shadow: 0 22px 52px rgba(0, 0, 0, .2);
}

.update-card:nth-child(odd) .updates-change-panel {
  grid-column: 3;
  justify-self: start;
}

.update-card:nth-child(even) .updates-change-panel {
  grid-column: 1;
  justify-self: end;
  grid-row: 1;
}

.updates-change-panel ul {
  display: grid;
  gap: 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.updates-change-panel li {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 10px;
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.55;
}

.updates-change-panel li strong {
  color: var(--text);
}

.update-icon {
  margin-top: 2px;
  font-size: 9px;
}

.update-icon--audio { color: var(--audio); }
.update-icon--info { color: var(--info); }
.update-icon--voice { color: var(--voice); }
.update-icon--ok { color: var(--ok); }

.updates-impact {
  display: grid;
  gap: 8px;
  padding: 16px;
  border: 1px solid rgba(46, 212, 122, .18);
  border-radius: 11px;
  background: rgba(46, 212, 122, .045);
}

.updates-impact-kicker {
  color: #b9f6d1;
  font-size: 10px;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.updates-impact p {
  color: #cbd5e1;
  font-size: 13px;
  line-height: 1.55;
}

.updates-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-top: 36px;
  padding: 24px 0 8px;
  border-top: 1px solid rgba(148, 163, 184, .13);
  color: var(--muted);
  font-size: 12px;
}

.updates-footer a {
  color: #9dccff;
}

@media (max-width: 1024px) {
  .updates-feed {
    display: grid;
    grid-template-columns: 1fr;
    gap: 26px;
    max-width: 100%;
    margin-top: 32px;
    padding-top: 24px;
  }

  .updates-feed::before {
    display: none;
  }

  .update-card {
    grid-column: 1;
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .update-card::before {
    top: 22px;
    left: 18px;
  }

  .update-card .updates-release-header,
  .update-card .updates-change-panel {
    grid-column: 1 !important;
    grid-row: auto !important;
    justify-self: stretch !important;
    width: 100%;
  }

  .updates-release-header {
    padding: 14px 0 0 42px;
  }
}

@media (max-width: 700px) {
  .updates-shell {
    padding: 16px;
  }

  .updates-topbar {
    grid-template-columns: 1fr;
  }

  .updates-topbar .topbar-actions {
    justify-items: start;
  }

  .updates-topbar .quick-tabs {
    justify-content: flex-start;
  }

  .updates-chronicle-shell {
    margin-top: 24px;
  }

  .updates-hero {
    gap: 20px;
    padding: 22px;
  }

  .updates-hero h2 {
    font-size: clamp(38px, 12vw, 54px);
  }

  .updates-footer {
    display: grid;
  }
}
